Skip to content

Commit

Permalink
chore(group_theory/congruence): fix docstring (#8162)
Browse files Browse the repository at this point in the history
This fixes a docstring which didn't match the code.
  • Loading branch information
dwarn committed Jul 2, 2021
1 parent f5a8b8a commit f8ca790
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/group_theory/congruence.lean
Expand Up @@ -210,10 +210,8 @@ See Note [use has_coe_t]. -/
relation", priority 0]
instance : has_coe_t M c.quotient := ⟨@quotient.mk _ c.to_setoid⟩

/-- The quotient of a type with decidable equality by a congruence relation also has
decidable equality. -/
@[to_additive "The quotient of a type with decidable equality by an additive congruence relation
also has decidable equality."]
/-- The quotient by a decidable congruence relation has decidable equality. -/
@[to_additive "The quotient by a decidable additive congruence relation has decidable equality."]
instance [d : ∀ a b, decidable (c a b)] : decidable_eq c.quotient :=
@quotient.decidable_eq M c.to_setoid d

Expand Down

0 comments on commit f8ca790

Please sign in to comment.