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.Local.SupportMultiplicity |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeFractions |
| 3 | |
| 4 | /-! # Support Fractions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.SupportFractions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The unit condition on the actual divisor intersection gives a |
| 11 | single fraction on every support stalk that is valid along all local |
| 12 | components of the divisor equation. -/ |
| 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.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 20 | |
| 21 | theorem exists_fraction (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m k : ℕ) |
| 22 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 23 | (D : X.DimensionCycleSupport 1) (W : X.DimensionCycleSupport k) (hDW : ¬ W.val ≤ D.val) (x : X.carrier) |
| 24 | (hxD : x ∈ (D.val : Set X.carrier)) (hxW : x ∈ (W.val : Set X.carrier)) |
| 25 | (r : X.carrier.presheaf.stalk x) (hr : r ≠ 0) |
| 26 | (he : RingHom.ker (Principal.supportStalkMap X.carrier D.val x hxD).hom = Ideal.span {r}) |
| 27 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (hg : g ≠ 0) |
| 28 | (hunit : ∀ y : CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val, Order.coheight y = 1 → |
| 29 | CycleClass.Geometric.GenericPoint.reducedSupportι W.val y ∈ (D.val : Set X.carrier) → |
| 30 | ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk y, IsUnit u ∧ |
| 31 | algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk y) |
| 32 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField u = g) : |
| 33 | let R := (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) |
| 34 | ∃ a b : R, a ≠ 0 ∧ b ≠ 0 ∧ |
| 35 | (∀ p : PrimeSpectrum R, p.asIdeal.height = 1 → |
| 36 | Principal.supportStalkMap X.carrier W.val x hxW r ∈ p.asIdeal → a ∉ p.asIdeal ∧ b ∉ p.asIdeal) ∧ |
| 37 | g = algebraMap R (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField a / |
| 38 | algebraMap R (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField b := by |
| 39 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val |
| 40 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW |
| 41 | let f := Principal.supportStalkMap X.carrier W.val x hxW r |
| 42 | have hf : f ≠ 0 := SupportMultiplicity.restricted_nonzero X k D W hDW x hxD hxW r he |
| 43 | apply Stalk.PrimeFractions.exists_fraction Y y f hf g hg |
| 44 | intro p hp hfp |
| 45 | let A : X.DimensionCycleSupport (1 + k) := ⟨Support.LocalDivisor.support X k W x hxW p, |
| 46 | by rw [Support.LocalDivisor.codimension X k W x hxW p m hp]; omega⟩ |
| 47 | have hA : A ∈ (Divisor.SupportCycle.cycle X m k D W).support := |
| 48 | SupportMultiplicity.mem_cycle X m k D W hDW x hxD hxW r hr he p hp hfp |
| 49 | have hAD := (Divisor.SupportCycle.support_subset X m k D W hDW A hA).1 |
| 50 | have hheight : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint (Stalk.DivisorSupport.primeClosure Y y p)) = 1 := by |
| 51 | rw [Stalk.DivisorSupport.primeClosure_point, ← Stalk.Localization.height_eq_coheight_image] |
| 52 | exact hp |
| 53 | apply hunit _ hheight |
| 54 | rw [Stalk.DivisorSupport.primeClosure_point, ← Support.LocalDivisor.support_point X k W x hxW p] |
| 55 | exact hAD (A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.SupportFractions |