Skip to content

Commit

Permalink
chore: adaptation for leanprover/lean4#6602 (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
cppio authored Jan 12, 2025
1 parent 66225aa commit 8690c0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Batteries/Data/UnionFind/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ theorem root_link {self : UnionFind} {x y : Fin self.size}
this yroot xroot fun i => by simp [parent_link, h, hr]

nonrec theorem Equiv.rfl : Equiv self a a := rfl
theorem Equiv.symm : Equiv self a b → Equiv self b a := .symm
theorem Equiv.trans : Equiv self a b → Equiv self b c → Equiv self a c := .trans
nonrec theorem Equiv.symm : Equiv self a b → Equiv self b a := .symm
nonrec theorem Equiv.trans : Equiv self a b → Equiv self b c → Equiv self a c := .trans

@[simp] theorem equiv_empty : Equiv empty a b ↔ a = b := by simp [Equiv]

Expand Down

0 comments on commit 8690c0b

Please sign in to comment.