Skip to content

Commit 650e8b8

Browse files
committed
chore: remove redundant have:s in Geometry/ and GroupTheory/ (leanprover-community#28999)
Co-authored-by: euprunin <euprunin@users.noreply.github.com>
1 parent 237433f commit 650e8b8

4 files changed

Lines changed: 0 additions & 5 deletions

File tree

Mathlib/Geometry/Euclidean/Inversion/ImageHyperplane.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ hyperplane. -/
3737
theorem inversion_mem_perpBisector_inversion_iff (hR : R ≠ 0) (hx : x ≠ c) (hy : y ≠ c) :
3838
inversion c R x ∈ perpBisector c (inversion c R y) ↔ dist x y = dist y c := by
3939
rw [mem_perpBisector_iff_dist_eq, dist_inversion_inversion hx hy, dist_inversion_center]
40-
have hx' := dist_ne_zero.2 hx
4140
have hy' := dist_ne_zero.2 hy
4241
-- takes 300ms, but the "equivalent" simp call fails -> hard to speed up
4342
field_simp [mul_assoc, mul_comm, hx, hx.symm, eq_comm]

Mathlib/GroupTheory/FiniteAbelian/Duality.lean

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ lemma exists_apply_ne_one_aux
4343
obtain ⟨i, hi⟩ : ∃ i : ι, e a i ≠ 1 := by
4444
contrapose! ha
4545
exact (MulEquiv.map_eq_one_iff e).mp <| funext ha
46-
have hi : (e a i).toAdd ≠ 0 := by
47-
simp only [ne_eq, toAdd_eq_zero, hi, not_false_eq_true]
4846
obtain ⟨φi, hφi⟩ := H (n i) (dvd_exponent e i) ((e a i).toAdd) hi
4947
use (φi.comp (Pi.evalMonoidHom (fun (i : ι) ↦ Multiplicative (ZMod (n i))) i)).comp e
5048
simpa only [coe_comp, coe_coe, Function.comp_apply, Pi.evalMonoidHom_apply, ne_eq] using hφi

Mathlib/GroupTheory/Perm/Cycle/Basic.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ theorem IsCycle.sign {f : Perm α} (hf : IsCycle f) : sign f = -(-1) ^ #f.suppor
448448
have h : #(swap x (f x) * f).support + 1 = #f.support := by
449449
rw [← insert_erase (mem_support.2 hx.1), support_swap_mul_eq _ _ h1,
450450
card_insert_of_notMem (notMem_erase _ _), sdiff_singleton_eq_erase]
451-
have : #(swap x (f x) * f).support < #f.support := card_support_swap_mul hx.1
452451
rw [sign_mul, sign_swap hx.1.symm, (hf.swap_mul hx.1 h1).sign, ← h]
453452
simp only [mul_neg, neg_mul, one_mul, neg_neg, pow_add, pow_one, mul_one]
454453
termination_by #f.support

Mathlib/GroupTheory/Sylow.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,6 @@ theorem exists_subgroup_card_pow_prime_le [Finite G] (p : ℕ) :
622622
(lt_or_eq_of_le hnm).elim
623623
(fun hnm : n < m =>
624624
have h0m : 0 < m := lt_of_le_of_lt n.zero_le hnm
625-
have _wf : m - 1 < m := Nat.sub_lt h0m zero_lt_one
626625
have hnm1 : n ≤ m - 1 := le_tsub_of_add_le_right hnm
627626
let ⟨K, hK⟩ :=
628627
@exists_subgroup_card_pow_prime_le _ _ n (m - 1) _

0 commit comments

Comments
 (0)