Skip to content

Commit 60616c1

Browse files
committed
Make Normal a record called IsNormal
1 parent e3baf59 commit 60616c1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/Algebra/NormalSubgroup.agda

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,23 @@ private
1919
module G = Group G
2020

2121
-- every element of the subgroup commutes in G
22+
record IsNormal {c′ ℓ′} (subgroup : Subgroup c′ ℓ′) : Set (c ⊔ ℓ ⊔ c′) where
23+
open Subgroup subgroup
24+
field
25+
normal : n g ∃[ n′ ] ι n′ G.∙ g G.≈ g G.∙ ι n
26+
2227
Normal : {c′ ℓ′} Subgroup c′ ℓ′ Set (c ⊔ ℓ ⊔ c′)
2328
Normal subgroup = n g ∃[ n′ ] ι n′ G.∙ g G.≈ g G.∙ ι n
2429
where open Subgroup subgroup
2530

2631
record NormalSubgroup c′ ℓ′ : Set (c ⊔ ℓ ⊔ suc (c′ ⊔ ℓ′)) where
2732
field
2833
subgroup : Subgroup c′ ℓ′
29-
normal : Normal subgroup
34+
isNormal : IsNormal subgroup
3035

3136
open Subgroup subgroup public
37+
open IsNormal isNormal public
3238

33-
abelian⇒subgroup-normal : {c′ ℓ′} Commutative G._≈_ G._∙_ (subgroup : Subgroup c′ ℓ′) Normal subgroup
34-
abelian⇒subgroup-normal ∙-comm subgroup n g = n , ∙-comm (ι n) g
39+
abelian⇒subgroup-normal : {c′ ℓ′} Commutative G._≈_ G._∙_ (subgroup : Subgroup c′ ℓ′) IsNormal subgroup
40+
abelian⇒subgroup-normal ∙-comm subgroup = record { normal = λ n g n , ∙-comm (ι n) g }
3541
where open Subgroup subgroup

0 commit comments

Comments
 (0)