File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,21 +24,37 @@ def isBasis (B : Set V) : Prop :=
2424Prove that the definition above is equivalent to saying $B$ is linearly independent and spans $V$.
2525"
2626
27+ open VectorSpace Finset
28+ variable (K V : Type ) [Field K] [AddCommGroup V] [DecidableEq V] [VectorSpace K V]
2729
2830/--
2931`isBasis K V B` means $B$ is a basis: linearly independent and spans $V$.
3032-/
3133def isBasis (B : Set V) : Prop :=
32- linear_independent K V B ∧ span K V B = ⊤
34+ linear_independent_v K V B ∧ span K V B = ⊤
35+
36+ /--
37+ `isBasis K V B` means $B$ is a basis: linearly independent and spans $V$.
38+ -/
39+ DefinitionDoc isBasis as "isBasis"
40+
41+ NewDefinition isBasis
42+
43+ /--
44+ The definition of a basis is just linear independence and spanning.
45+ -/
46+ TheoremDoc basis_iff_independent_and_spanning as "basis_iff_independent_and_spanning" in "Bases"
47+
48+ TheoremTab "Bases"
3349
3450/--
3551The definition of a basis is just linear independence and spanning.
3652-/
3753Statement basis_iff_independent_and_spanning (B : Set V) :
38- isBasis K V B ↔ (linear_independent K V B ∧ span K V B = ⊤) := by
54+ isBasis K V B ↔ (linear_independent_v K V B ∧ span K V B = ⊤) := by
3955 Hint "Try `unfold isBasis` to see the definition directly."
4056 unfold isBasis
41- exact Iff. rfl
57+ rfl
4258
4359Conclusion "
4460You have formalized the mathematical definition of a basis for a vector space.
You can’t perform that action at this time.
0 commit comments