Skip to content

Commit 6bc8824

Browse files
committed
chore(Geometry/Euclidean/Sphere/Basic): remove an erw (leanprover-community#38682)
- rewrites through `Matrix.vecCons` before `Fin.cons_injective_iff`, so the affine-independence proof uses `rw` Extracted from leanprover-community#38415 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
1 parent e4e4fc2 commit 6bc8824

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mathlib/Geometry/Euclidean/Sphere/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ theorem Cospherical.affineIndependent_of_mem_of_ne {s : Set P} (hs : Cospherical
415415
AffineIndependent ℝ ![p₁, p₂, p₃] := by
416416
refine hs.affineIndependent ?_ ?_
417417
· simp [h₁, h₂, h₃, Set.insert_subset_iff]
418-
· erw [Fin.cons_injective_iff, Fin.cons_injective_iff]
418+
· simp only [Matrix.vecCons, Fin.cons_injective_iff]
419419
simp [h₁₂, h₁₃, h₂₃, Function.Injective, eq_iff_true_of_subsingleton]
420420

421421
/-- The three points of a cospherical set are affinely independent. -/

0 commit comments

Comments
 (0)