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