Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | /- |
| 2 | This file has been modified. |
| 3 | -/ |
| 4 | |
| 5 | import Mathlib.LinearAlgebra.Dual.Defs |
| 6 | |
| 7 | namespace OAI.LinearAlgebra.Foundations.DualDefs |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-- The dual of the zero map is zero. -/ |
| 12 | @[simp] |
| 13 | theorem LinearMap.dualMap_zero {R M₁ M₂ : Type*} [CommSemiring R] [AddCommMonoid M₁] [Module R M₁] |
| 14 | [AddCommMonoid M₂] [Module R M₂] : (0 : M₁ →ₗ[R] M₂).dualMap = 0 := by |
| 15 | rw [LinearMap.dualMap_def, map_zero] |
| 16 | |
| 17 | /-- The dual of a sum of maps is the sum of the duals. -/ |
| 18 | theorem LinearMap.dualMap_add {R M₁ M₂ : Type*} [CommRing R] [AddCommGroup M₁] [Module R M₁] |
| 19 | [AddCommGroup M₂] [Module R M₂] (f g : M₁ →ₗ[R] M₂) : |
| 20 | (f + g).dualMap = f.dualMap + g.dualMap := by |
| 21 | rw [LinearMap.dualMap_def, LinearMap.dualMap_def, LinearMap.dualMap_def, map_add] |
| 22 | |
| 23 | /-- The dual of a difference of maps is the difference of the duals. -/ |
| 24 | theorem LinearMap.dualMap_sub {R M₁ M₂ : Type*} [CommRing R] [AddCommGroup M₁] [Module R M₁] |
| 25 | [AddCommGroup M₂] [Module R M₂] (f g : M₁ →ₗ[R] M₂) : |
| 26 | (f - g).dualMap = f.dualMap - g.dualMap := by |
| 27 | rw [LinearMap.dualMap_def, LinearMap.dualMap_def, LinearMap.dualMap_def, map_sub] |
| 28 | |
| 29 | /-- The dual of a split injection is surjective: extend a functional by precomposing with the |
| 30 | retraction. Over a field use `LinearMap.dualMap_surjective_of_injective`, which needs no |
| 31 | splitting. -/ |
| 32 | theorem LinearMap.dualMap_surjective_of_comp_eq_id {R M₁ M₂ : Type*} [CommSemiring R] |
| 33 | [AddCommMonoid M₁] [Module R M₁] [AddCommMonoid M₂] [Module R M₂] |
| 34 | {f : M₁ →ₗ[R] M₂} {g : M₂ →ₗ[R] M₁} (h : g.comp f = LinearMap.id) : |
| 35 | Function.Surjective f.dualMap := |
| 36 | fun φ => ⟨φ.comp g, LinearMap.ext fun x => congrArg φ (LinearMap.congr_fun h x)⟩ |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.LinearAlgebra.Foundations.DualDefs |