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.ChartDifference |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoveredPrincipalExpansion |
| 3 | |
| 4 | /-! # Chart Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On the simultaneously moved representative, the complete original |
| 11 | principal-divisor pairing is the difference of the native numerator |
| 12 | and denominator quotient Euler characteristics. -/ |
| 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 | theorem equation (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p k : ℕ) |
| 22 | [SmoothOfRelativeDimension m X.structureMap] |
| 23 | (W : X.DimensionCycleSupport k) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (hg : g ≠ 0) |
| 24 | (F : ∀ i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool, Finset (PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1))) |
| 25 | (a : X.RationalDimensionCycle p) |
| 26 | (he : DescentPosition.Expansions X p k W.val g hg F a) |
| 27 | (hp : a ∈ Proper.SupportCycles.submodule X p (ChartSupportCover.family X m k W g hg)) |
| 28 | (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool) (A : X.DimensionCycleSupport p) (hAa : A ∈ a.support) |
| 29 | (A₀ : IrreducibleCloseds (Spec (.of (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1)))) |
| 30 | (hA : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i.1 (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 31 | (C : X.DimensionCycleSupport (p + (k + 1))) (x : PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1)) |
| 32 | (hx : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i.1 x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 33 | (hxA : x ∈ (A₀ : Set (Spec (.of (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1))))) |
| 34 | (hvx : (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i.1).asIdeal ≤ x.asIdeal) : |
| 35 | CoveredPrincipalExpansion.pairing (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i.1) |
| 36 | (ChartEquations.equation X W.val g hg i) A₀ x hxA hvx m = |
| 37 | ∑ z ∈ F i, Affine.PrincipalWeight.weight (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i.1) |
| 38 | (ChartEquations.equation X W.val g hg i) z * |
| 39 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Affine.FiltrationAvoidance.support (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i.1) z) A.val C.val := by |
| 40 | apply CoveredPrincipalExpansion.coefficient X m p (k + 1) (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1) |
| 41 | (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i.1) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i.1) (ChartEquations.equation X W.val g hg i) |
| 42 | (F i) a (he i) (ChartSupportCover.supports X m k W g hg i) |
| 43 | (ChartSupportCover.codimension X m k W g hg i) |
| 44 | (ChartSupportCover.covers X m k W g hg i) A hAa A₀ hA ?_ C x hx hxA hvx |
| 45 | intro B hB |
| 46 | exact hp ⟨i, ⟨B, hB⟩⟩ A hAa |
| 47 | |
| 48 | theorem coefficient (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p k : ℕ) |
| 49 | [SmoothOfRelativeDimension m X.structureMap] |
| 50 | (W : X.DimensionCycleSupport k) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (hg : g ≠ 0) |
| 51 | (F : ∀ i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool, Finset (PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1))) |
| 52 | (hF : DescentPosition.PrimeData X k W.val g hg F) |
| 53 | (hout : DescentPosition.Outside X k W.val g hg F) |
| 54 | (a : X.RationalDimensionCycle p) |
| 55 | (he : DescentPosition.Expansions X p k W.val g hg F a) |
| 56 | (hp : a ∈ Proper.SupportCycles.submodule X p (ChartSupportCover.family X m k W g hg)) |
| 57 | (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val) (A : X.DimensionCycleSupport p) (hAa : A ∈ a.support) |
| 58 | (A₀ : IrreducibleCloseds (Spec (.of (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i)))) |
| 59 | (hA : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 60 | (C : X.DimensionCycleSupport (p + (k + 1))) (x : PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i)) |
| 61 | (hx : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 62 | (hxA : x ∈ (A₀ : Set (Spec (.of (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i))))) |
| 63 | (hvx : (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i).asIdeal ≤ x.asIdeal) : |
| 64 | (ClosedSectionCycle.principalCycle X (k + 1) W.val g).sum |
| 65 | (fun B c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B.val A.val C.val) = |
| 66 | CoveredPrincipalExpansion.pairing (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i) |
| 67 | (ChartEquations.numerator X W.val g hg i) A₀ x hxA hvx m - |
| 68 | CoveredPrincipalExpansion.pairing (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i) |
| 69 | (ChartEquations.denominator X W.val g hg i) A₀ x hxA hvx m := by |
| 70 | rw [ChartDifference.coefficient X k W g hg F hF hout i x A.val C.val hx] |
| 71 | exact congrArg₂ (fun a b : ℚ => a - b) |
| 72 | (equation X m p k W g hg F a he hp (i, true) A hAa A₀ hA C x hx hxA hvx).symm |
| 73 | (equation X m p k W g hg F a he hp (i, false) A hAa A₀ hA C x hx hxA hvx).symm |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartEuler |