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.Resolution.Blowups.Uniform.CarrierCommonAmbientProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.CoefficientSheaf |
| 3 | |
| 4 | /-! # Coefficient Carrier Program -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.CoefficientCarrierProgram.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Intrinsic coefficient programs from any established dimension retain their actual ambient carrier lifts. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | structure UniformCoefficientCarrierProgram {d : ℕ} (𝒮 : ControlProgramSystem.Construction.UniformControlProgramSystem d) |
| 15 | {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] (s : 𝒮.Schedule (n + 1).factorial β) |
| 16 | {X Y : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J H : X.IdealSheafData) |
| 17 | [Smooth (H.subschemeι ≫ f)] (D : β → X.IdealSheafData) |
| 18 | {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K) where |
| 19 | endpoint : Scheme |
| 20 | structureMap : endpoint ⟶ Foundations.Scheme.ProjectiveSpace.complexBase |
| 21 | ideal : endpoint.IdealSheafData |
| 22 | coefficientPrefix : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1).factorial H.subscheme (H.subschemeι ≫ f) |
| 23 | (GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι) endpoint structureMap ideal |
| 24 | program : 𝒮.Program s (H.subschemeι ≫ f) (GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι) |
| 25 | (fun l => (D l).comap H.subschemeι) coefficientPrefix |
| 26 | carrierMap : endpoint ⟶ Y |
| 27 | comparison : P.CarrierComparison coefficientPrefix H.subschemeι carrierMap |
| 28 | |
| 29 | theorem UniformCoefficientCarrierProgram.stepCount |
| 30 | {d : ℕ} {𝒮 : ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 31 | {s : 𝒮.Schedule (n + 1).factorial β} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] |
| 32 | {J H : X.IdealSheafData} [Smooth (H.subschemeι ≫ f)] {D : β → X.IdealSheafData} |
| 33 | {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 34 | (A : UniformCoefficientCarrierProgram 𝒮 s f J H D P) : P.stepCount = (𝒮.incidenceTrace s).length := |
| 35 | (A.comparison.stepCount_eq P A.coefficientPrefix H.subschemeι A.carrierMap).trans |
| 36 | ((𝒮.hasTrace A.program).stepCount A.coefficientPrefix _ (𝒮.incidenceTrace s)) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.CoefficientCarrierProgram.Construction |