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.Proper.PrincipalExpansion |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartComponentSum |
| 3 | |
| 4 | /-! # Principal Chart Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Proper.PrincipalChartEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Properness against the actual chart zero loci gives the complete |
| 11 | principal-divisor Euler comparison. All finite prime data and native |
| 12 | expansions are constructed here from the principal quotients. -/ |
| 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 coefficient (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 | (a : X.RationalDimensionCycle p) |
| 25 | (hp : a ∈ SupportCycles.submodule X p (Principal.ChartSupportCover.family X m k W g hg)) |
| 26 | (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val) (A : X.DimensionCycleSupport p) (hAa : A ∈ a.support) |
| 27 | (A₀ : IrreducibleCloseds (Spec (.of (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i)))) |
| 28 | (hA : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 29 | (C : X.DimensionCycleSupport (p + (k + 1))) (x : PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i)) |
| 30 | (hx : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 31 | (hxA : x ∈ (A₀ : Set (Spec (.of (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i))))) |
| 32 | (hvx : (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i).asIdeal ≤ x.asIdeal) : |
| 33 | (Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g).sum |
| 34 | (fun B c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B.val A.val C.val) = |
| 35 | CoveredPrincipalExpansion.pairing (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i) |
| 36 | (Principal.ChartEquations.numerator X W.val g hg i) A₀ x hxA hvx m - |
| 37 | CoveredPrincipalExpansion.pairing (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i) |
| 38 | (Principal.ChartEquations.denominator X W.val g hg i) A₀ x hxA hvx m := by |
| 39 | have hv (j : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool) : |
| 40 | X.supportCodimension (Affine.FiltrationAvoidance.support (Affine.ChartGerm.FiniteSupportCharts.chart X W.val j.1) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val j.1)) = k := by |
| 41 | rw [Affine.ChartGerm.FiniteSupportCharts.prime_support] |
| 42 | exact W.property |
| 43 | choose F hF hout he using fun j : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool => |
| 44 | PrincipalExpansion.exists_data X m k (Affine.ChartGerm.FiniteSupportCharts.ring X W.val j.1) (Affine.ChartGerm.FiniteSupportCharts.chart X W.val j.1) |
| 45 | (Affine.ChartGerm.FiniteSupportCharts.prime X W.val j.1) (hv j) (Principal.ChartEquations.equation X W.val g hg j) (Principal.ChartEquations.equation_avoid X W.val g hg j) |
| 46 | rw [Principal.ChartDifference.coefficient X k W g hg F hF hout i x A.val C.val hx] |
| 47 | have hpair (b : Bool) := he (i, b) p (Principal.ChartSupportCover.supports X m k W g hg (i, b)) |
| 48 | (Principal.ChartSupportCover.codimension X m k W g hg (i, b)) |
| 49 | (Principal.ChartSupportCover.covers X m k W g hg (i, b)) A A₀ hA |
| 50 | (fun B hB => hp ⟨(i, b), ⟨B, hB⟩⟩ A hAa) C x hx hxA hvx |
| 51 | exact congrArg₂ (fun u v : ℚ => u - v) (hpair true).symm (hpair false).symm |
| 52 | |
| 53 | theorem component_sum (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p k : ℕ) |
| 54 | [SmoothOfRelativeDimension m X.structureMap] |
| 55 | (W : X.DimensionCycleSupport k) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (hg : g ≠ 0) |
| 56 | (a : X.RationalDimensionCycle p) |
| 57 | (hp : a ∈ SupportCycles.submodule X p (Principal.ChartSupportCover.family X m k W g hg)) |
| 58 | (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val) (A : X.DimensionCycleSupport p) (hAa : A ∈ a.support) |
| 59 | (A₀ : IrreducibleCloseds (Spec (.of (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i)))) |
| 60 | (hA : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 61 | (C : X.DimensionCycleSupport (p + (k + 1))) (x : PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i)) |
| 62 | (hx : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 63 | (hxA : x ∈ (A₀ : Set (Spec (.of (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i))))) |
| 64 | (hvx : (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i).asIdeal ≤ x.asIdeal) : |
| 65 | (Principal.ClosedSectionCycle.principalCycle X (k + 1) W.val g).sum |
| 66 | (fun B c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B.val A.val C.val) = |
| 67 | ∑ D ∈ Finite.ClosedComponents.components X.carrier |
| 68 | (IsolatedGeometricComponents.intersection X.carrier W.val A.val), |
| 69 | TotalTorCoefficient.coefficient X.carrier W.val A.val (CycleClass.Thom.IntersectionGeometry.supportPoint D) m * |
| 70 | (GlobalParameterSum.Weights.weight X.carrier (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i x) |
| 71 | (Principal.ChartComponentSum.germ X W.val g hg (i, true) x) D - |
| 72 | GlobalParameterSum.Weights.weight X.carrier (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i x) |
| 73 | (Principal.ChartComponentSum.germ X W.val g hg (i, false) x) D) := by |
| 74 | refine (coefficient X m p k W g hg a hp i A hAa A₀ hA C x hx hxA hvx).trans ?_ |
| 75 | refine (congrArg₂ (fun u v : ℚ => u - v) |
| 76 | (Principal.ChartComponentSum.equation X m p k W g hg a hp (i, true) A hAa A₀ hA C x hx hxA hvx) |
| 77 | (Principal.ChartComponentSum.equation X m p k W g hg a hp (i, false) A hAa A₀ hA C x hx hxA hvx)).trans ?_ |
| 78 | simp only [mul_sub, Finset.sum_sub_distrib] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Proper.PrincipalChartEuler |