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 | import Mathlib.Algebra.Exact.Basic |
| 2 | import Mathlib.Algebra.Module.Injective |
| 3 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 4 | |
| 5 | /-! # Injective Coefficient Duality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveCoefficientDuality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Dualization into an injective coefficient ring is exact. In particular, |
| 12 | this applies to the genuine finite Witt coefficient rings. -/ |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [Module.Injective R R] |
| 17 | {M N P : Type u} [AddCommGroup M] [AddCommGroup N] [AddCommGroup P] |
| 18 | [Module R M] [Module R N] [Module R P] |
| 19 | |
| 20 | theorem dualMap_surjective (f : M →ₗ[R] N) (hf : Function.Injective f) : |
| 21 | Function.Surjective f.dualMap := by |
| 22 | intro φ |
| 23 | obtain ⟨ψ, hψ⟩ := Module.Injective.out f hf φ |
| 24 | exact ⟨ψ, LinearMap.ext hψ⟩ |
| 25 | |
| 26 | theorem range_dualMap (f : M →ₗ[R] N) : |
| 27 | LinearMap.range f.dualMap = (LinearMap.ker f).dualAnnihilator := |
| 28 | LinearMap.range_dualMap_eq_dualAnnihilator_ker_of_subtype_range_surjective f |
| 29 | (dualMap_surjective (LinearMap.range f).subtype Subtype.val_injective) |
| 30 | |
| 31 | theorem dual_exact (f : M →ₗ[R] N) (g : N →ₗ[R] P) (h : Function.Exact f g) : |
| 32 | Function.Exact g.dualMap f.dualMap := by |
| 33 | rw [LinearMap.exact_iff, LinearMap.ker_dualMap_eq_dualAnnihilator_range, range_dualMap, |
| 34 | LinearMap.exact_iff.mp h] |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveCoefficientDuality |