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.ChartRestrictedCoefficient |
| 2 | |
| 3 | /-! # Cover Units -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.CoverUnits |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Properness against the actual numerator and denominator supports |
| 10 | already makes the rational function a unit at every expected generic |
| 11 | intersection point. No additional unit strata are required. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ChartGerm.FiniteSupportCharts OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartEquations OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 19 | |
| 20 | theorem fraction_unit {R F : Type} [CommRing R] [Field F] |
| 21 | (f : R →+* F) (a b : R) (ha : IsUnit a) (hb : IsUnit b) |
| 22 | (g : F) (hg : g = f a / f b) : ∃ u : R, IsUnit u ∧ f u = g := by |
| 23 | obtain ⟨ua, rfl⟩ := ha |
| 24 | obtain ⟨ub, rfl⟩ := hb |
| 25 | refine ⟨↑(ua * ub⁻¹), ⟨_, rfl⟩, ?_⟩ |
| 26 | rw [hg] |
| 27 | simp [div_eq_mul_inv] |
| 28 | |
| 29 | theorem unit (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p k : ℕ) |
| 30 | [SmoothOfRelativeDimension m X.structureMap] |
| 31 | (W : X.DimensionCycleSupport k) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (hg : g ≠ 0) |
| 32 | (a : X.RationalDimensionCycle p) |
| 33 | (hp : a ∈ Proper.SupportCycles.submodule X p (ChartSupportCover.family X m k W g hg)) |
| 34 | (A : X.DimensionCycleSupport p) (hAa : A ∈ a.support) |
| 35 | (D : X.DimensionCycleSupport (p + k)) (hDA : D.val ≤ A.val) (hDW : D.val ≤ W.val) : |
| 36 | ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk |
| 37 | (NestedGenericRestriction.point X.carrier D.val W.val hDW), |
| 38 | IsUnit u ∧ algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField u = g := by |
| 39 | have hηD : CycleClass.Thom.IntersectionGeometry.supportPoint D.val ∈ (D.val : Set X.carrier) := |
| 40 | (D.val.isIrreducible.isGenericPoint_genericPoint D.val.isClosed).mem |
| 41 | have hηA := hDA hηD |
| 42 | have hηW := hDW hηD |
| 43 | obtain ⟨i, hi⟩ := Affine.ChartGerm.FiniteSupportCharts.covers X W.val (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hηW |
| 44 | have hirange := hi |
| 45 | rw [← (Affine.ChartGerm.FiniteSupportCharts.affine X W.val i).opensRange_fromSpec] at hirange |
| 46 | obtain ⟨x, hx⟩ := hirange |
| 47 | change Affine.ChartGerm.FiniteSupportCharts.chart X W.val i x = CycleClass.Thom.IntersectionGeometry.supportPoint D.val at hx |
| 48 | have hvx : (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i).asIdeal ≤ x.asIdeal := by |
| 49 | apply (Affine.Prime.mem_iff (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i) x).mp |
| 50 | rw [Affine.ChartGerm.FiniteSupportCharts.prime_support, hx] |
| 51 | exact hηW |
| 52 | have hu (b : Bool) : IsUnit (X.carrier.presheaf.germ (Affine.ChartGerm.FiniteSupportCharts.opens X W.val i) (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hi |
| 53 | (ChartEquations.equation X W.val g hg (i, b))) := |
| 54 | (ChartRestrictedCoefficient.Function.germ_unit_congr X.carrier (Affine.ChartGerm.FiniteSupportCharts.opens X W.val i) |
| 55 | (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i x) (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hx |
| 56 | (ChartComponentSum.mem_opens X W.val i x) hi _).mp |
| 57 | (ChartComponentSum.GenericUnit.unit X m p k W g hg a hp (i, b) A hAa D x hx hηA hvx) |
| 58 | let σ := Local.Principal.supportStalkMap X.carrier W.val (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hηW |
| 59 | let a₀ := X.carrier.presheaf.germ (Affine.ChartGerm.FiniteSupportCharts.opens X W.val i) (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hi (ChartEquations.numerator X W.val g hg i) |
| 60 | let b₀ := X.carrier.presheaf.germ (Affine.ChartGerm.FiniteSupportCharts.opens X W.val i) (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hi (ChartEquations.denominator X W.val g hg i) |
| 61 | exact fraction_unit (algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (σ a₀) (σ b₀) |
| 62 | ((hu true).map σ.hom) ((hu false).map σ.hom) g |
| 63 | (ChartEquations.fraction X W.val g hg i (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hηW hi).2.2 |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.CoverUnits |