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.Divisor.GenericUnit |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicDivisorRatio |
| 4 | |
| 5 | /-! # Restricted Divisor Order -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RestrictedDivisorOrder |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A rational function with zero order on a divisor restricts to one |
| 12 | nonzero rational function on that divisor. At every codimension-two point, |
| 13 | its order is the sum of the ambient divisor orders times the exact |
| 14 | geometric Tor intersection multiplicities. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction.Restriction OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 21 | |
| 22 | theorem exists_restriction (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 23 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 24 | (A : X.DimensionCycleSupport 1) (f : X.carrier.functionField) (hf : f ≠ 0) |
| 25 | (hord : X.carrier.ord f (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = 0) : |
| 26 | ∃ g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).functionField, g ≠ 0 ∧ |
| 27 | ∀ (C : X.DimensionCycleSupport 2) (hx : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier)), |
| 28 | ∃ S : Finset (Spec (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val))), |
| 29 | (∀ p ∈ S, p.asIdeal.height = 1 ∧ |
| 30 | X.supportCodimension (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) = 1) ∧ |
| 31 | (∀ p : Spec (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)), |
| 32 | p.asIdeal.height = 1 → p ∉ S → |
| 33 | X.carrier.ord f (X.carrier.fromSpecStalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) = 0) ∧ |
| 34 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).ord g (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx) : ℚ) = |
| 35 | ∑ p ∈ S, (X.carrier.ord f (X.carrier.fromSpecStalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) : ℚ) * |
| 36 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) A.val C.val := by |
| 37 | have hz : CycleClass.Thom.IntersectionGeometry.supportPoint A.val ∈ (A.val : Set X.carrier) := |
| 38 | (A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem |
| 39 | obtain ⟨u, hu, huf⟩ := Divisor.GenericUnit.exists_unit_of_order_zero X m A f hf hord |
| 40 | let g := Support.LocalFraction.Restriction.toFunctionField X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) hz u |
| 41 | have hg : g ≠ 0 := (hu.map (Support.LocalFraction.Restriction.toFunctionField X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) hz).hom).ne_zero |
| 42 | refine ⟨g, hg, ?_⟩ |
| 43 | intro C hx |
| 44 | obtain ⟨a, b, ha, hb, habf, habg⟩ := Support.LocalFraction.exists_fraction X.carrier A.val hz |
| 45 | (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx u hu |
| 46 | rw [huf] at habf |
| 47 | obtain ⟨S, hS, hout, he⟩ := IntrinsicDivisorRatio.Intrinsic.order_ratio_eq_sum X m A C hx a b ha hb |
| 48 | rw [← habf] at hout he |
| 49 | change g = |
| 50 | algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx)) |
| 51 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).functionField |
| 52 | (Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx a) / |
| 53 | algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx)) |
| 54 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).functionField |
| 55 | (Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx b) at habg |
| 56 | rw [← habg] at he |
| 57 | exact ⟨S, hS, hout, he⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RestrictedDivisorOrder |