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.Product.SupportOpen |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEuler |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportEuler |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations |
| 5 | |
| 6 | /-! # Projective Diagonal Euler -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveDiagonalEuler.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original projective support Tor Euler sum equals the Euler |
| 13 | sum for its actual product support and the constructed diagonal germs. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportOpen.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.StalkSupport.Constructions.Restriction OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportEuler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEuler.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PairSupportKernel.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PairSupportKernel.Constructions.Prime OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEquations.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.StalkSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.Local.QuotientEulerEquiv.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 27 | [IsAffine X.left] [IsOpenImmersion j.left] [LocallyOfFiniteType X.hom] |
| 28 | (p q : ℕ) (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 29 | |
| 30 | omit [IsAffine X.left] [LocallyOfFiniteType X.hom] [IsOpenImmersion j.left] in |
| 31 | theorem pair_center_mem (x : X.left) (hxA : j.left x ∈ (A.val : Set V.carrier)) |
| 32 | (hxB : j.left x ∈ (B.val : Set V.carrier)) : |
| 33 | Diagonal.OpenEquations.Constructions.center V X j x ∈ ((Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val : Set (Diagonal.Ambient.Constructions.productVariety V V).carrier) := by |
| 34 | change Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j (pullback.diagonal X.hom x) ∈ _ |
| 35 | rw [Diagonal.OpenNeighborhood.Constructions.diagonal_point] |
| 36 | exact (congrArg (fun S : Set V.carrier => j.left x ∈ S) (Diagonal.Ambient.Constructions.diagonal_product_preimage V p q A B)).mpr ⟨hxA, hxB⟩ |
| 37 | |
| 38 | variable (hA : IntersectionGeometry.supportPoint A.val ∈ Set.range j.left) (hB : IntersectionGeometry.supportPoint B.val ∈ Set.range j.left) |
| 39 | (x : X.left) (hxA : j.left x ∈ (A.val : Set V.carrier)) (hxB : j.left x ∈ (B.val : Set V.carrier)) |
| 40 | |
| 41 | omit [IsAffine X.left] in |
| 42 | include hxA hxB in |
| 43 | theorem source_center_mem : pullback.diagonal X.hom x ∈ |
| 44 | (Product.SupportOpen.Constructions.sourcePairSupport V X j p q A B hA hB : Set (pullback X.hom X.hom : Scheme)) := |
| 45 | Affine.PairSupportKernel.Constructions.diagonal_mem_affinePairSupport X (Open.StalkSupport.Constructions.Restriction.restrictedSupport j.left A.val hA) (Open.StalkSupport.Constructions.Restriction.restrictedSupport j.left B.val hB) x |
| 46 | (Open.StalkSupport.Constructions.Restriction.restrictedSupport_mem j.left A.val hA x hxA) (Open.StalkSupport.Constructions.Restriction.restrictedSupport_mem j.left B.val hB x hxB) |
| 47 | |
| 48 | variable (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 49 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 50 | |
| 51 | omit [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] in |
| 52 | theorem product_open_euler (d : ℕ) : |
| 53 | TorAlgebra.Euler.Tor.euler (Diagonal.OpenEquations.Constructions.ambientLocalRing V X j x) |
| 54 | (ModuleCat.of _ ((Diagonal.OpenEquations.Constructions.ambientLocalRing V X j x) ⧸ Ideal.ofList (Diagonal.OpenEquations.Constructions.diagonalGerms V X j n x))) |
| 55 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val |
| 56 | (Diagonal.OpenEquations.Constructions.center V X j x) (pair_center_mem V X j p q A B x hxA hxB))) d = |
| 57 | TorAlgebra.Euler.Tor.euler (Affine.DiagonalEquations.Constructions.productLocalRing X x) |
| 58 | (ModuleCat.of _ ((Affine.DiagonalEquations.Constructions.productLocalRing X x) ⧸ Ideal.ofList (Affine.DiagonalEquations.Constructions.coordinateDifferenceGerms X n x))) |
| 59 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing (pullback X.hom X.hom) (Product.SupportOpen.Constructions.sourcePairSupport V X j p q A B hA hB) |
| 60 | (pullback.diagonal X.hom x) (source_center_mem V X j p q A B hA hB x hxA hxB))) d := by |
| 61 | let f := (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j).stalkMap (pullback.diagonal X.hom x) |
| 62 | have h := Local.QuotientEulerEquiv.Constructions.euler_quotients_ringEquiv (Diagonal.OpenEquations.Constructions.ambientLocalRing V X j x) (Affine.DiagonalEquations.Constructions.productLocalRing X x) |
| 63 | (asIso f).commRingCatIsoToRingEquiv (Ideal.ofList (Diagonal.OpenEquations.Constructions.diagonalGerms V X j n x)) |
| 64 | (StalkPrimeQuotient.Constructions.kernelPrime (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val |
| 65 | (Diagonal.OpenEquations.Constructions.center V X j x) (pair_center_mem V X j p q A B x hxA hxB)).asIdeal d |
| 66 | have hI : (Ideal.ofList (Diagonal.OpenEquations.Constructions.diagonalGerms V X j n x)).map f.hom = Ideal.ofList (Affine.DiagonalEquations.Constructions.coordinateDifferenceGerms X n x) := by |
| 67 | rw [Ideal.map_ofList] |
| 68 | exact congrArg Ideal.ofList (Diagonal.OpenEquations.Constructions.diagonalGerms_map V X j n x) |
| 69 | have hJ := Open.StalkSupport.Constructions.kernelPrime_map (Diagonal.OpenNeighborhood.Constructions.productOpenMap V X j) (Product.SupportOpen.Constructions.sourcePairSupport V X j p q A B hA hB) |
| 70 | (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val (Product.SupportOpen.Constructions.pair_support_genericPoint V X j p q A B hA hB) |
| 71 | (pullback.diagonal X.hom x) (source_center_mem V X j p q A B hA hB x hxA hxB) |
| 72 | (pair_center_mem V X j p q A B x hxA hxB) |
| 73 | exact h.trans (Local.QuotientEulerEquiv.Constructions.euler_quotients_congr _ _ _ _ _ hI hJ d) |
| 74 | |
| 75 | include hA hB in |
| 76 | theorem projective_diagonal_euler |
| 77 | [Algebra.FormallyUnramified (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 78 | [IsNoetherianRing (Γ(X.left, ⊤) ⊗[MvPolynomial (Fin n) ℂ] Γ(X.left, ⊤))] (d : ℕ) : |
| 79 | TorAlgebra.Euler.Tor.euler (V.carrier.presheaf.stalk (j.left x)) |
| 80 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier A.val (j.left x) hxA)) |
| 81 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier B.val (j.left x) hxB)) d = |
| 82 | TorAlgebra.Euler.Tor.euler (Diagonal.OpenEquations.Constructions.ambientLocalRing V X j x) |
| 83 | (ModuleCat.of _ ((Diagonal.OpenEquations.Constructions.ambientLocalRing V X j x) ⧸ Ideal.ofList (Diagonal.OpenEquations.Constructions.diagonalGerms V X j n x))) |
| 84 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing (Diagonal.Ambient.Constructions.productVariety V V).carrier (Diagonal.LocalIsolation.Constructions.pairedSupport V p q A B).val |
| 85 | (Diagonal.OpenEquations.Constructions.center V X j x) (pair_center_mem V X j p q A B x hxA hxB))) d := by |
| 86 | let C := Open.StalkSupport.Constructions.Restriction.restrictedSupport j.left A.val hA |
| 87 | let D := Open.StalkSupport.Constructions.Restriction.restrictedSupport j.left B.val hB |
| 88 | have hxC := Open.StalkSupport.Constructions.Restriction.restrictedSupport_mem j.left A.val hA x hxA |
| 89 | have hxD := Open.StalkSupport.Constructions.Restriction.restrictedSupport_mem j.left B.val hB x hxB |
| 90 | have h := Open.SupportEuler.Constructions.open_support_euler j.left C D A.val B.val |
| 91 | (Open.StalkSupport.Constructions.Restriction.restrictedSupport_genericPoint j.left A.val hA) (Open.StalkSupport.Constructions.Restriction.restrictedSupport_genericPoint j.left B.val hB) |
| 92 | x hxC hxD hxA hxB d |
| 93 | exact h.trans ((Affine.DiagonalEuler.Constructions.affine_diagonal_euler X C D x hxC hxD n d).trans |
| 94 | (product_open_euler V X j p q A B hA hB x hxA hxB n d).symm) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveDiagonalEuler.Constructions |