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 OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.Difference |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 3 | |
| 4 | /-! # Short Exact -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.ShortExact |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: the short exact sequence governing compatible bounded sections |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustivePresheafSections OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveLinearSections OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.Difference |
| 17 | |
| 18 | universe u v w z t |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] {D : Type w} [Category.{z} D] |
| 21 | [Preadditive D] (R : Type t) [CommRing R] [Linear R D] |
| 22 | (P : ℕ → ObjectProperty C) (hP : Monotone P) (M : D) (F : Cᵒᵖ ⥤ D) |
| 23 | |
| 24 | def sequence : ShortComplex (ModuleCat.{max u z} R) := |
| 25 | ShortComplex.mk (ModuleCat.ofHom (ExhaustiveLinearSections.compatibleSubmodule R P hP M F).subtype) |
| 26 | (ModuleCat.ofHom (Difference.difference P hP M F R)) (by |
| 27 | apply ModuleCat.hom_ext |
| 28 | apply LinearMap.ext |
| 29 | intro x |
| 30 | exact (Difference.compatible_iff_difference_zero P hP M F R x.val).mp x.property) |
| 31 | |
| 32 | theorem exact_sequence : (sequence R P hP M F).Exact := |
| 33 | (ShortComplex.moduleCat_exact_iff_range_eq_ker _).mpr |
| 34 | ((Submodule.range_subtype (ExhaustiveLinearSections.compatibleSubmodule R P hP M F)).trans |
| 35 | (Difference.compatibleSubmodule_eq_ker P hP M F R)) |
| 36 | |
| 37 | theorem shortExact |
| 38 | (ht : ∀ n, Function.Surjective (ExhaustivePresheafSections.restrict P hP M F n (n + 1) (Nat.le_succ n))) : |
| 39 | (sequence R P hP M F).ShortExact where |
| 40 | exact := exact_sequence R P hP M F |
| 41 | mono_f := (ModuleCat.mono_iff_injective _).mpr Subtype.val_injective |
| 42 | epi_g := (ModuleCat.epi_iff_surjective _).mpr |
| 43 | (SequentialModuleDifference.surjective R (fun n => ExhaustivePresheafSections.Stage P M F n) |
| 44 | (fun n => ((Limit.diagram R P hP M F).map (homOfLE (Nat.le_succ n)).op).hom) ht) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.ShortExact |