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.Finite.PrincipalPrimes |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.FractionIdentity |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeOrder |
| 4 | |
| 5 | /-! # Prime Fractions -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeFractions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Unit representations along all local components of a divisor give |
| 12 | a single fraction in the ambient stalk which restricts nontrivially to |
| 13 | every component. No normality assumption is used. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 20 | |
| 21 | theorem notMem_of_image_ne_zero (X : Scheme) (x : X) (p : PrimeSpectrum (X.presheaf.stalk x)) |
| 22 | (r : X.presheaf.stalk x) |
| 23 | (hr : Local.Principal.supportStalkMap X (DivisorSupport.primeClosure X x p) x (DivisorSupport.point_mem_primeClosure X x p) r ≠ 0) : |
| 24 | r ∉ p.asIdeal := by |
| 25 | have hk := PrimeQuotient.kernel_eq X (DivisorSupport.primeClosure X x p) x |
| 26 | (DivisorSupport.point_mem_primeClosure X x p) p (DivisorSupport.primeClosure_point X x p).symm |
| 27 | intro h |
| 28 | apply hr |
| 29 | exact RingHom.mem_ker.mp (hk.symm ▸ h) |
| 30 | |
| 31 | theorem exists_fraction (X : Scheme) [IsIntegral X] [IsLocallyNoetherian X] |
| 32 | (x : X) (f : X.presheaf.stalk x) (hf : f ≠ 0) (g : X.functionField) (hg : g ≠ 0) |
| 33 | (hunit : ∀ p : PrimeSpectrum (X.presheaf.stalk x), p.asIdeal.height = 1 → f ∈ p.asIdeal → |
| 34 | ∃ u : X.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint (DivisorSupport.primeClosure X x p)), IsUnit u ∧ |
| 35 | algebraMap (X.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint (DivisorSupport.primeClosure X x p))) X.functionField u = g) : |
| 36 | ∃ a b : X.presheaf.stalk x, a ≠ 0 ∧ b ≠ 0 ∧ |
| 37 | (∀ p : PrimeSpectrum (X.presheaf.stalk x), p.asIdeal.height = 1 → f ∈ p.asIdeal → |
| 38 | a ∉ p.asIdeal ∧ b ∉ p.asIdeal) ∧ |
| 39 | g = algebraMap (X.presheaf.stalk x) X.functionField a / |
| 40 | algebraMap (X.presheaf.stalk x) X.functionField b := by |
| 41 | apply Finite.PrincipalPrimes.exists_fraction (X.presheaf.stalk x) X.functionField f hf g hg |
| 42 | intro p hp hfp |
| 43 | obtain ⟨u, hu, hug⟩ := hunit p hp hfp |
| 44 | let W := DivisorSupport.primeClosure X x p |
| 45 | have hz : CycleClass.Thom.IntersectionGeometry.supportPoint W ∈ (W : Set X) := |
| 46 | (W.isIrreducible.isGenericPoint_genericPoint W.isClosed).mem |
| 47 | obtain ⟨a, b, ha, hb, hab, _⟩ := Support.LocalFraction.exists_fraction X W hz x |
| 48 | (DivisorSupport.point_mem_primeClosure X x p) u hu |
| 49 | rw [hug] at hab |
| 50 | exact ⟨a, b, notMem_of_image_ne_zero X x p a ha, notMem_of_image_ne_zero X x p b hb, hab⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeFractions |