2
{-# OPTIONS --universe-polymorphism #-}
6
------------------------------------------------------------------------
11
suc : (i : Level) → Level
12
_⊔_ : Level → Level → Level
14
{-# BUILTIN LEVEL Level #-}
15
{-# BUILTIN LEVELZERO zero #-}
16
{-# BUILTIN LEVELSUC suc #-}
17
{-# BUILTIN LEVELMAX _⊔_ #-}
19
------------------------------------------------------------------------
21
record RawMonoid c ℓ : Set (suc (c ⊔ ℓ)) where
26
_≈_ : Carrier → Carrier → Set ℓ
27
_∙_ : Carrier → Carrier → Carrier
30
module M (rm : RawMonoid zero zero) where
37
-- agda2-goal-and-context:
39
-- rm : RawMonoid zero zero
40
-- ------------------------
41
-- Goal: (x : RawMonoid.Carrier rm) →
42
-- RawMonoid._≈_ rm (RawMonoid._∙_ rm x (RawMonoid.ε rm)) x
44
------------------------------------------------------------------------
46
record RawMonoid′ : Set₁ where
51
_≈_ : Carrier → Carrier → Set
52
_∙_ : Carrier → Carrier → Carrier
56
module M′ (rm : RawMonoid′) where
60
thm′ : ∀ x → x ∙ ε ≈ x
63
-- agda2-goal-and-context:
67
-- Goal: (x : Carrier) → x ∙ ε ≈ x
70
------------------------------------------------------------------------
73
record RawMonoid″ (Carrier : Set) : Set₁ where
77
_≈_ : Carrier → Carrier → Set
78
_∙_ : Carrier → Carrier → Carrier
84
data List (A : Set) : Set where
86
_∷_ : (x : A)(xs : List A) → List A
88
module M″ (rm : RawMonoid″ (List Bool)) where
92
thm″ : ∀ x → x ∙ ε ≈ x
95
-- agda2-goal-and-context:
97
-- rm : RawMonoid″ (List Bool)
98
-- ---------------------------
99
-- Goal: (x : List Bool) →
100
-- RawMonoid″._≈_ rm (RawMonoid″._∙_ rm x (RawMonoid″.ε rm)) x
102
module M₁ (Z : Set₁) where
108
module M₂ (X Y : Set) where
b'\\ No newline at end of file'