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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.Transitions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.OpenFunctionScalars |
| 3 | |
| 4 | /-! # Section Modules -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.SectionModules |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible regular-function coordinates for a frame cocycle form actual modules over the functions on each open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type u} (U : ι → X.Opens) |
| 17 | |
| 18 | abbrev OpenFrameLocalTuple (V : X.Opens) := |
| 19 | (i : ι) → Relative.OpenFunctionModules.relativeOpenFunctionModule V (V ⊓ U i) inf_le_left |
| 20 | |
| 21 | def openFrameDifference (D : Transitions.OpenFrameTransitions U) (V : X.Opens) (i j : ι) : |
| 22 | OpenFrameLocalTuple U V →ₗ[Γ(X, V)] Relative.OpenFunctionModules.relativeOpenFunctionModule V ((V ⊓ U i) ⊓ U j) |
| 23 | (inf_le_left.trans inf_le_left) := |
| 24 | (Relative.OpenFunctionModules.relativeOpenFunctionRestriction V inf_le_left (inf_le_left.trans inf_le_left) inf_le_left).hom.comp |
| 25 | (LinearMap.proj i) - |
| 26 | (Relative.OpenFunctionScalars.relativeOpenFunctionScalar V ((V ⊓ U i) ⊓ U j) (inf_le_left.trans inf_le_left) |
| 27 | (D.value ((V ⊓ U i) ⊓ U j) i j (inf_le_left.trans inf_le_right) inf_le_right).val).hom.comp |
| 28 | ((Relative.OpenFunctionModules.relativeOpenFunctionRestriction V inf_le_left (inf_le_left.trans inf_le_left) |
| 29 | (le_inf (inf_le_left.trans inf_le_left) inf_le_right)).hom.comp (LinearMap.proj j)) |
| 30 | |
| 31 | def openFrameSectionModule (D : Transitions.OpenFrameTransitions U) (V : X.Opens) : Submodule Γ(X, V) (OpenFrameLocalTuple U V) := |
| 32 | ⨅ i, ⨅ j, (openFrameDifference U D V i j).ker |
| 33 | |
| 34 | theorem openFrameSectionModule_mem_iff (D : Transitions.OpenFrameTransitions U) (V : X.Opens) (x : OpenFrameLocalTuple U V) : |
| 35 | x ∈ openFrameSectionModule U D V ↔ ∀ i j, |
| 36 | X.presheaf.map (homOfLE (show (V ⊓ U i) ⊓ U j ≤ V ⊓ U i from inf_le_left)).op (x i) = |
| 37 | (D.value ((V ⊓ U i) ⊓ U j) i j (inf_le_left.trans inf_le_right) inf_le_right).val * |
| 38 | X.presheaf.map (homOfLE (show (V ⊓ U i) ⊓ U j ≤ V ⊓ U j from |
| 39 | le_inf (inf_le_left.trans inf_le_left) inf_le_right)).op (x j) := by |
| 40 | simp only [openFrameSectionModule, Submodule.mem_iInf, LinearMap.mem_ker] |
| 41 | apply forall₂_congr |
| 42 | intro i j |
| 43 | exact sub_eq_zero |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.SectionModules |