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.ProjectiveDiagonalEuler |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.EtaleProjectiveNeighborhood |
| 3 | |
| 4 | /-! # Geometric Diagonal Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.GeometricDiagonalEuler.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Genuine geometric reduction to the diagonal for the original |
| 11 | local-support Tor Euler sum. The proof constructs coordinates and |
| 12 | discharges their hypotheses at every scheme point. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped TensorProduct Classical |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Support.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveDiagonalEuler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportEuler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.StalkSupport.Constructions.Restriction |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.EtaleProjectiveNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Local.QuotientEulerEquiv.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | def supportPairEuler (X : Scheme) (A B : IrreducibleCloseds X) (x : X) (d : ℕ) : ℚ := |
| 26 | if h : x ∈ (A : Set X) ∩ (B : Set X) then |
| 27 | TorAlgebra.Euler.Tor.euler (X.presheaf.stalk x) (IntersectionGeometry.localSupportModule X A x h.1) (IntersectionGeometry.localSupportModule X B x h.2) d |
| 28 | else 0 |
| 29 | |
| 30 | theorem supportPairEuler_eq_quotients (X : Scheme) (A B : IrreducibleCloseds X) |
| 31 | (x : X) (hxA : x ∈ (A : Set X)) (hxB : x ∈ (B : Set X)) (d : ℕ) : |
| 32 | supportPairEuler X A B x d = TorAlgebra.Euler.Tor.euler (X.presheaf.stalk x) |
| 33 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X A x hxA)) (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X B x hxB)) d := by |
| 34 | rw [supportPairEuler, dite_eq_left ⟨hxA, hxB⟩] |
| 35 | exact Open.SupportEuler.Constructions.nativeEuler_eq_quotients X A B x hxA hxB d |
| 36 | |
| 37 | theorem supportPairEuler_in_chart (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 38 | [IsAffine X.left] [IsIntegral X.left] [IsOpenImmersion j.left] [LocallyOfFiniteType X.hom] |
| 39 | (p q : ℕ) (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 40 | (x : X.left) (hxA : j.left x ∈ (A.val : Set V.carrier)) (hxB : j.left x ∈ (B.val : Set V.carrier)) |
| 41 | (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 42 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 43 | [Algebra.FormallyUnramified (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 44 | [IsNoetherianRing (Γ(X.left, ⊤) ⊗[MvPolynomial (Fin n) ℂ] Γ(X.left, ⊤))] (d : ℕ) : |
| 45 | supportPairEuler V.carrier A.val B.val (j.left x) d = |
| 46 | supportPairEuler (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.Support.Constructions.diagonalClosedSupport V) (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val |
| 47 | (Diagonal.OpenEquations.Constructions.center V X j x) d := by |
| 48 | have hA := Open.StalkSupport.Constructions.Restriction.generic_mem_range j.left A.val x hxA |
| 49 | have hB := Open.StalkSupport.Constructions.Restriction.generic_mem_range j.left B.val x hxB |
| 50 | have h₁ := supportPairEuler_eq_quotients V.carrier A.val B.val (j.left x) hxA hxB d |
| 51 | have h₂ := ProjectiveDiagonalEuler.Constructions.projective_diagonal_euler V X j p q A B hA hB x hxA hxB n d |
| 52 | have h₃ := Local.QuotientEulerEquiv.Constructions.euler_quotients_congr (Diagonal.OpenEquations.Constructions.ambientLocalRing V X j x) |
| 53 | (Ideal.ofList (Diagonal.OpenEquations.Constructions.diagonalGerms V X j n x)) |
| 54 | (StalkPrimeQuotient.Constructions.kernelPrime (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val |
| 55 | (Diagonal.OpenEquations.Constructions.center V X j x) (ProjectiveDiagonalEuler.Constructions.pair_center_mem V X j p q A B x hxA hxB)).asIdeal |
| 56 | (StalkPrimeQuotient.Constructions.kernelPrime (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.Support.Constructions.diagonalClosedSupport V) |
| 57 | (Diagonal.OpenEquations.Constructions.center V X j x) (Diagonal.OpenNeighborhood.Constructions.diagonal_mem V X j x)).asIdeal |
| 58 | (StalkPrimeQuotient.Constructions.kernelPrime (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val |
| 59 | (Diagonal.OpenEquations.Constructions.center V X j x) (ProjectiveDiagonalEuler.Constructions.pair_center_mem V X j p q A B x hxA hxB)).asIdeal |
| 60 | (Diagonal.OpenEquations.Constructions.diagonalGerms_ideal V X j n x) rfl d |
| 61 | have h₄ := supportPairEuler_eq_quotients (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.Support.Constructions.diagonalClosedSupport V) |
| 62 | (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val (Diagonal.OpenEquations.Constructions.center V X j x) (Diagonal.OpenNeighborhood.Constructions.diagonal_mem V X j x) |
| 63 | (ProjectiveDiagonalEuler.Constructions.pair_center_mem V X j p q A B x hxA hxB) d |
| 64 | exact h₁.trans (h₂.trans (h₃.trans h₄.symm)) |
| 65 | |
| 66 | theorem supportPairEuler_diagonal (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) |
| 67 | (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 68 | (x : V.carrier) (hxA : x ∈ (A.val : Set V.carrier)) (hxB : x ∈ (B.val : Set V.carrier)) (d : ℕ) : |
| 69 | supportPairEuler V.carrier A.val B.val x d = |
| 70 | supportPairEuler (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.Support.Constructions.diagonalClosedSupport V) (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val |
| 71 | ((Diagonal.Ambient.Constructions.diagonal V).left x) d := by |
| 72 | obtain ⟨X, hX, j, hj, hI, hS, ⟨y, hy⟩, a, ht, he⟩ := EtaleProjectiveNeighborhood.Constructions.exists_etale_projective_neighborhood V x |
| 73 | let := hX |
| 74 | let := hj |
| 75 | let := hI |
| 76 | let := hS |
| 77 | let := a |
| 78 | let := ht |
| 79 | let := he |
| 80 | let P := MvPolynomial (Fin V.complexDimension) ℂ |
| 81 | let : IsNoetherianRing Γ(X.left, ⊤) := Algebra.FiniteType.isNoetherianRing P Γ(X.left, ⊤) |
| 82 | let : IsNoetherianRing (Γ(X.left, ⊤) ⊗[P] Γ(X.left, ⊤)) := Algebra.FiniteType.isNoetherianRing Γ(X.left, ⊤) _ |
| 83 | have hya : j.left y ∈ (A.val : Set V.carrier) := hy.symm ▸ hxA |
| 84 | have hyb : j.left y ∈ (B.val : Set V.carrier) := hy.symm ▸ hxB |
| 85 | have hc : Diagonal.OpenEquations.Constructions.center V X j y = (Diagonal.Ambient.Constructions.diagonal V).left x := |
| 86 | (Diagonal.OpenNeighborhood.Constructions.diagonal_point V X j y).trans (congrArg (Diagonal.Ambient.Constructions.diagonal V).left hy) |
| 87 | simpa only [hy, hc] using supportPairEuler_in_chart V X j p q A B y hya hyb V.complexDimension d |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.CycleClass.Thom.GeometricDiagonalEuler.Constructions |