File size: 1,955 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | /-
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
|