refactor: Lint

This commit is contained in:
jstoobysmith 2024-10-03 07:32:46 +00:00
parent 24a20aef81
commit ce32218654
5 changed files with 70 additions and 55 deletions

View file

@ -26,7 +26,6 @@ open SpaceTime
noncomputable section
/-!
## Some basic properties about SL(2, )
@ -36,7 +35,8 @@ Possibly to be moved to mathlib at some point.
lemma inverse_coe (M : SL(2, )) : M.1⁻¹ = (M⁻¹).1 := by
apply Matrix.inv_inj
simp
simp only [SpecialLinearGroup.det_coe, isUnit_iff_ne_zero, ne_eq, one_ne_zero, not_false_eq_true,
nonsing_inv_nonsing_inv, SpecialLinearGroup.coe_inv]
have h1 : IsUnit M.1.det := by
simp
rw [Matrix.inv_adjugate M.1 h1]