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.IntersectionTheory.ProjectionFormula.Principal.ChartEquations |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ModuleSupportCover |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalCodimension |
| 4 | |
| 5 | /-! # Chart Support Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartSupportCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Fixed finite ambient support covers control the full zero loci |
| 12 | of every chosen numerator and denominator on the finite affine charts. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ChartGerm.FiniteSupportCharts OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartEquations |
| 20 | |
| 21 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m k : ℕ) |
| 22 | [SmoothOfRelativeDimension m X.structureMap] (W : X.DimensionCycleSupport k) |
| 23 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (hg : g ≠ 0) |
| 24 | |
| 25 | def module (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool) : ModuleCat (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) := |
| 26 | .of _ (QuotSMulTop (ChartEquations.equation X W.val g hg i) ((Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) ⧸ (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i.1).asIdeal)) |
| 27 | |
| 28 | instance (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool) : Module.Finite (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) (module X k W g hg i) := by |
| 29 | unfold module |
| 30 | infer_instance |
| 31 | |
| 32 | include m |
| 33 | |
| 34 | theorem exists_data (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool) : |
| 35 | ∃ S : Finset (IrreducibleCloseds X.carrier), |
| 36 | (∀ B ∈ S, k + 1 ≤ X.supportCodimension B) ∧ |
| 37 | ∀ z ∈ Module.support (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) (module X k W g hg i), |
| 38 | ∃ B ∈ S, Affine.ChartGerm.FiniteSupportCharts.chart X W.val i.1 z ∈ (B : Set X.carrier) := by |
| 39 | apply Affine.ModuleSupportCover.exists_data (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) X (k + 1) |
| 40 | (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i.1) (module X k W g hg i) |
| 41 | apply Affine.PrincipalCodimension.bound X m k (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i.1) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i.1) |
| 42 | · exact (congrArg X.supportCodimension (Affine.ChartGerm.FiniteSupportCharts.prime_support X W.val i.1)).trans W.property |
| 43 | · exact ChartEquations.equation_avoid X W.val g hg i |
| 44 | |
| 45 | def supports (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool) : Finset (IrreducibleCloseds X.carrier) := |
| 46 | (exists_data X m k W g hg i).choose |
| 47 | |
| 48 | theorem codimension (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool) (B : IrreducibleCloseds X.carrier) |
| 49 | (hB : B ∈ supports X m k W g hg i) : k + 1 ≤ X.supportCodimension B := |
| 50 | (exists_data X m k W g hg i).choose_spec.1 B hB |
| 51 | |
| 52 | theorem covers (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool) (z : PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1)) |
| 53 | (hz : z ∈ Module.support (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) (module X k W g hg i)) : |
| 54 | ∃ B ∈ supports X m k W g hg i, Affine.ChartGerm.FiniteSupportCharts.chart X W.val i.1 z ∈ (B : Set X.carrier) := |
| 55 | (exists_data X m k W g hg i).choose_spec.2 z hz |
| 56 | |
| 57 | def Index : Type := Σ i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool, supports X m k W g hg i |
| 58 | |
| 59 | instance : Finite (Index X m k W g hg) := by unfold Index; infer_instance |
| 60 | |
| 61 | def family (i : Index X m k W g hg) : IrreducibleCloseds X.carrier := i.2.val |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartSupportCover |