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.Diagonal.OpenEquations |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.EtaleProjectiveNeighborhood |
| 3 | |
| 4 | /-! # Projective Diagonal Equations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveDiagonalEquations.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original geometric diagonal has actual local regular section |
| 11 | equations of length equal to the variety's complex dimension at every |
| 12 | scheme point. No local-equation hypothesis is assumed. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace RingTheory.Sequence |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Support.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNeighborhood.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.EtaleProjectiveNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions.VectorGerms OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | def IsDiagonalEquationVector (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (x : (Diagonal.Ambient.Constructions.productVariety V V).carrier) |
| 24 | (hx : x ∈ (Diagonal.Support.Constructions.diagonalClosedSupport V : Set (Diagonal.Ambient.Constructions.productVariety V V).carrier)) |
| 25 | (B : (Diagonal.Ambient.Constructions.productVariety V V).carrier.Opens) (hxB : x ∈ B) |
| 26 | (n : ℕ) (s : Fin n → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) : Prop := |
| 27 | IsWeaklyRegular ((Diagonal.Ambient.Constructions.productVariety V V).carrier.presheaf.stalk x) |
| 28 | (Section.StalkMap.Constructions.VectorGerms.vectorGerms (Diagonal.Ambient.Constructions.productVariety V V) B x hxB n s) ∧ |
| 29 | (∀ a ∈ Section.StalkMap.Constructions.VectorGerms.vectorGerms (Diagonal.Ambient.Constructions.productVariety V V) B x hxB n s, |
| 30 | a ∈ IsLocalRing.maximalIdeal ((Diagonal.Ambient.Constructions.productVariety V V).carrier.presheaf.stalk x)) ∧ |
| 31 | Ideal.ofList (Section.StalkMap.Constructions.VectorGerms.vectorGerms (Diagonal.Ambient.Constructions.productVariety V V) B x hxB n s) = |
| 32 | (StalkPrimeQuotient.Constructions.kernelPrime (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.Support.Constructions.diagonalClosedSupport V) x hx).asIdeal |
| 33 | |
| 34 | theorem point_mem_diagonal (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (x : V.carrier) : |
| 35 | (Diagonal.Ambient.Constructions.diagonal V).left x ∈ (Diagonal.Support.Constructions.diagonalClosedSupport V : Set (Diagonal.Ambient.Constructions.productVariety V V).carrier) := by |
| 36 | rw [Diagonal.Support.Constructions.diagonalClosedSupport_coe] |
| 37 | exact ⟨x, rfl⟩ |
| 38 | |
| 39 | theorem exists_diagonal_equations (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (x : V.carrier) : |
| 40 | ∃ B : (Diagonal.Ambient.Constructions.productVariety V V).carrier.Opens, ∃ hxB : (Diagonal.Ambient.Constructions.diagonal V).left x ∈ B, |
| 41 | ∃ s : Fin V.complexDimension → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤), |
| 42 | IsDiagonalEquationVector V ((Diagonal.Ambient.Constructions.diagonal V).left x) (point_mem_diagonal V x) |
| 43 | B hxB V.complexDimension s := by |
| 44 | obtain ⟨X, hX, j, hj, hI, hS, ⟨y, hy⟩, a, ht, he⟩ := EtaleProjectiveNeighborhood.Constructions.exists_etale_projective_neighborhood V x |
| 45 | let := hX |
| 46 | let := hj |
| 47 | let := hI |
| 48 | let := hS |
| 49 | let := a |
| 50 | let := ht |
| 51 | let := he |
| 52 | let P := MvPolynomial (Fin V.complexDimension) ℂ |
| 53 | let : IsNoetherianRing Γ(X.left, ⊤) := Algebra.FiniteType.isNoetherianRing P Γ(X.left, ⊤) |
| 54 | let : IsNoetherianRing (Γ(X.left, ⊤) ⊗[P] Γ(X.left, ⊤)) := |
| 55 | Algebra.FiniteType.isNoetherianRing Γ(X.left, ⊤) _ |
| 56 | have hc : Diagonal.OpenEquations.Constructions.center V X j y = (Diagonal.Ambient.Constructions.diagonal V).left x := |
| 57 | (Diagonal.OpenNeighborhood.Constructions.diagonal_point V X j y).trans (congrArg (Diagonal.Ambient.Constructions.diagonal V).left hy) |
| 58 | have h : ∃ B : (Diagonal.Ambient.Constructions.productVariety V V).carrier.Opens, ∃ hxB : Diagonal.OpenEquations.Constructions.center V X j y ∈ B, |
| 59 | ∃ s : Fin V.complexDimension → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤), |
| 60 | IsDiagonalEquationVector V (Diagonal.OpenEquations.Constructions.center V X j y) (Diagonal.OpenNeighborhood.Constructions.diagonal_mem V X j y) |
| 61 | B hxB V.complexDimension s := by |
| 62 | exact ⟨Diagonal.OpenEquations.Constructions.productOpen V X j, Diagonal.OpenEquations.Constructions.center_mem V X j y, Diagonal.OpenEquations.Constructions.diagonalSection V X j V.complexDimension, |
| 63 | Diagonal.OpenEquations.Constructions.diagonalGerms_regular V X j V.complexDimension y, |
| 64 | Diagonal.OpenEquations.Constructions.diagonalGerms_maximal V X j V.complexDimension y, |
| 65 | Diagonal.OpenEquations.Constructions.diagonalGerms_ideal V X j V.complexDimension y⟩ |
| 66 | simpa only [hc] using h |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveDiagonalEquations.Constructions |