Download data/lean/OAI/LinearAlgebra/Foundations/DualDefs.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.96 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/LinearAlgebra/Foundations/DualDefs.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/LinearAlgebra/Foundations/DualDefs.lean
-
curl -L -o DualDefs.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/LinearAlgebra/Foundations/DualDefs.lean
1.96 kB
| /- | |
| Derived from Formal Conjectures: | |
| HodgeConjecture/Mathlib/LinearAlgebra/Dual/Defs.lean | |
| The upstream Formal Conjectures repository is licensed under Apache 2.0. | |
| This file has been modified. | |
| -/ | |
| import Mathlib.LinearAlgebra.Dual.Defs | |
| /-! # Dual Defs -/ | |
| namespace OAI.LinearAlgebra.Foundations.DualDefs | |
| /-- The dual of the zero map is zero. -/ | |
| @[simp] | |
| theorem LinearMap.dualMap_zero {R Mβ Mβ : Type*} [CommSemiring R] [AddCommMonoid Mβ] [Module R Mβ] | |
| [AddCommMonoid Mβ] [Module R Mβ] : (0 : Mβ ββ[R] Mβ).dualMap = 0 := by | |
| rw [LinearMap.dualMap_def, map_zero] | |
| /-- The dual of a sum of maps is the sum of the duals. -/ | |
| theorem LinearMap.dualMap_add {R Mβ Mβ : Type*} [CommRing R] [AddCommGroup Mβ] [Module R Mβ] | |
| [AddCommGroup Mβ] [Module R Mβ] (f g : Mβ ββ[R] Mβ) : | |
| (f + g).dualMap = f.dualMap + g.dualMap := by | |
| rw [LinearMap.dualMap_def, LinearMap.dualMap_def, LinearMap.dualMap_def, map_add] | |
| /-- The dual of a difference of maps is the difference of the duals. -/ | |
| theorem LinearMap.dualMap_sub {R Mβ Mβ : Type*} [CommRing R] [AddCommGroup Mβ] [Module R Mβ] | |
| [AddCommGroup Mβ] [Module R Mβ] (f g : Mβ ββ[R] Mβ) : | |
| (f - g).dualMap = f.dualMap - g.dualMap := by | |
| rw [LinearMap.dualMap_def, LinearMap.dualMap_def, LinearMap.dualMap_def, map_sub] | |
| /-- The dual of a split injection is surjective: extend a functional by precomposing with the | |
| retraction. Over a field use `LinearMap.dualMap_surjective_of_injective`, which needs no | |
| splitting. -/ | |
| theorem LinearMap.dualMap_surjective_of_comp_eq_id {R Mβ Mβ : Type*} [CommSemiring R] | |
| [AddCommMonoid Mβ] [Module R Mβ] [AddCommMonoid Mβ] [Module R Mβ] | |
| {f : Mβ ββ[R] Mβ} {g : Mβ ββ[R] Mβ} (h : g.comp f = LinearMap.id) : | |
| Function.Surjective f.dualMap := | |
| fun Ο => β¨Ο.comp g, LinearMap.ext fun x => congrArg Ο (LinearMap.congr_fun h x)β© | |
| end OAI.LinearAlgebra.Foundations.DualDefs | |