Skip to content

Commit 8bfad47

Browse files
feat(Projectivization/Independence): add lemma about independence (leanprover-community#39778)
1 parent 8174933 commit 8bfad47

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Mathlib/LinearAlgebra/Projectivization/Independence.lean

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,11 @@ theorem dependent_pair_iff_eq (u v : ℙ K V) : Dependent ![u, v] ↔ u = v := b
112112
theorem independent_pair_iff_ne (u v : ℙ K V) : Independent ![u, v] ↔ u ≠ v := by
113113
rw [independent_iff_not_dependent, dependent_pair_iff_eq u v]
114114

115+
/-- Two points are independent if and only if their underlying vectors are linearly independent. -/
116+
lemma independent_mk_iff_LinearIndependent {u v : V} (hu : u ≠ 0) (hv : v ≠ 0) :
117+
Independent ![mk K u hu, mk K v hv] ↔ LinearIndependent K ![u, v] := by
118+
rw [independent_pair_iff_ne, ne_eq, mk_eq_mk_iff' K u v hu hv, linearIndependent_fin2]
119+
simp only [Matrix.cons_val_zero, Matrix.cons_val_one]
120+
exact ⟨fun h ↦ ⟨hv, fun a ha ↦ h ⟨a, ha⟩⟩, fun ⟨_, h⟩ ⟨a, ha⟩ ↦ h a ha⟩
121+
115122
end Projectivization

0 commit comments

Comments
 (0)