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.CycleClass.Thom.StalkPrimeQuotient |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |
| 3 | |
| 4 | /-! # Equal Codimension Stalk Primes -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.EqualCodimensionStalkPrimes.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! At a common point, distinct integral supports of one codimension |
| 11 | give incomparable primes in the actual ambient stalk. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | theorem support_le_of_kernel_le (X : Scheme) (A B : IrreducibleCloseds X) (x : X) |
| 21 | (hxA : x ∈ (A : Set X)) (hxB : x ∈ (B : Set X)) |
| 22 | (h : (StalkPrimeQuotient.Constructions.kernelPrime X A x hxA).asIdeal ≤ (StalkPrimeQuotient.Constructions.kernelPrime X B x hxB).asIdeal) : B ≤ A := by |
| 23 | have hs := (PrimeSpectrum.le_iff_specializes (StalkPrimeQuotient.Constructions.kernelPrime X A x hxA) (StalkPrimeQuotient.Constructions.kernelPrime X B x hxB)).mp h |
| 24 | have ht := Scheme.le_iff_specializes.mpr (hs.map (X.fromSpecStalk x).continuous) |
| 25 | rw [StalkPrimeQuotient.Constructions.kernelPrime_image, StalkPrimeQuotient.Constructions.kernelPrime_image] at ht |
| 26 | exact irreducibleSetEquivPoints.le_iff_le.mp ht |
| 27 | |
| 28 | theorem support_eq_of_kernel_le (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 29 | (A B : X.DimensionCycleSupport p) (x : X.carrier) |
| 30 | (hxA : x ∈ (A.val : Set X.carrier)) (hxB : x ∈ (B.val : Set X.carrier)) |
| 31 | (h : (StalkPrimeQuotient.Constructions.kernelPrime X.carrier A.val x hxA).asIdeal ≤ (StalkPrimeQuotient.Constructions.kernelPrime X.carrier B.val x hxB).asIdeal) : A = B := by |
| 32 | have hBA := support_le_of_kernel_le X.carrier A.val B.val x hxA hxB h |
| 33 | apply Subtype.ext |
| 34 | by_contra hn |
| 35 | have hl := Intersection.Supports.codimension_strictAnti X (lt_of_le_of_ne hBA (Ne.symm hn)) |
| 36 | rw [A.property, B.property] at hl |
| 37 | exact Nat.lt_irrefl p hl |
| 38 | |
| 39 | theorem kernel_antichain (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 40 | (A B : X.DimensionCycleSupport p) (x : X.carrier) |
| 41 | (hxA : x ∈ (A.val : Set X.carrier)) (hxB : x ∈ (B.val : Set X.carrier)) |
| 42 | (h : (StalkPrimeQuotient.Constructions.kernelPrime X.carrier A.val x hxA).asIdeal ≤ (StalkPrimeQuotient.Constructions.kernelPrime X.carrier B.val x hxB).asIdeal) : |
| 43 | (StalkPrimeQuotient.Constructions.kernelPrime X.carrier A.val x hxA).asIdeal = (StalkPrimeQuotient.Constructions.kernelPrime X.carrier B.val x hxB).asIdeal := by |
| 44 | obtain rfl := support_eq_of_kernel_le X p A B x hxA hxB h |
| 45 | rfl |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.CycleClass.Thom.EqualCodimensionStalkPrimes.Constructions |