Skip to content

Commit 0830fb0

Browse files
authored
Structures: remove unneccesary names/sentence (#292)
This no longer appears to be necessary with current versions of Lean. Closes #255
1 parent 44ac7c1 commit 0830fb0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

MIL/C06_Structures/S02_Algebraic_Structures.lean

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -586,13 +586,13 @@ because Lean knows that these are defined for every ring.
586586
We can use this method to specify notation for our ``Group₂`` class:
587587
EXAMPLES: -/
588588
-- QUOTE:
589-
instance hasMulGroup₂ {α : Type*} [Group₂ α] : Mul α :=
589+
instance {α : Type*} [Group₂ α] : Mul α :=
590590
⟨Group₂.mul⟩
591591

592-
instance hasOneGroup₂ {α : Type*} [Group₂ α] : One α :=
592+
instance {α : Type*} [Group₂ α] : One α :=
593593
⟨Group₂.one⟩
594594

595-
instance hasInvGroup₂ {α : Type*} [Group₂ α] : Inv α :=
595+
instance {α : Type*} [Group₂ α] : Inv α :=
596596
⟨Group₂.inv⟩
597597

598598
section
@@ -607,8 +607,6 @@ end
607607
-- QUOTE.
608608

609609
/- TEXT:
610-
In this case, we have to supply names for the instances, because
611-
Lean has a hard time coming up with good defaults.
612610
What makes this approach work is that Lean carries out a recursive search.
613611
According to the instances we have declared, Lean can find an instance of
614612
``Mul (Equiv.Perm α)`` by finding an

0 commit comments

Comments
 (0)