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.Affine.PairSupportKernel |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEquations |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Local.QuotientEulerEquiv |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalSequence |
| 6 | |
| 7 | /-! # Diagonal Euler -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEuler.Constructions |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Reduction to the diagonal for the actual geometric affine stalk |
| 14 | quotients and actual coordinate-difference section germs. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PairSupportKernel.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PairSupportKernel.Constructions.Prime OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions.CoordinateMaps |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalStalk.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Local.QuotientEulerEquiv.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalEuler OAI.AlgebraicGeometry.CycleClass.Thom.Local.PolynomialDiagonalIdeal.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalQuotient |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | |
| 27 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] [LocallyOfFiniteType X.hom] |
| 28 | (A B : IrreducibleCloseds X.left) (x : X.left) (hxA : x ∈ (A : Set X.left)) (hxB : x ∈ (B : Set X.left)) |
| 29 | |
| 30 | omit [LocallyOfFiniteType X.hom] in |
| 31 | theorem affine_support_euler (d : ℕ) : |
| 32 | TorAlgebra.Euler.Tor.euler (X.left.presheaf.stalk x) (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X.left A x hxA)) |
| 33 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X.left B x hxB)) d = |
| 34 | TorAlgebra.Euler.Tor.euler (Localization.AtPrime (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x).asIdeal) |
| 35 | (TorAlgebra.LocalDiagonalEuler.localizedQuotient Γ(X.left, ⊤) (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x) (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X (IntersectionGeometry.supportPoint A)).asIdeal) |
| 36 | (TorAlgebra.LocalDiagonalEuler.localizedQuotient Γ(X.left, ⊤) (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x) (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X (IntersectionGeometry.supportPoint B)).asIdeal) d := by |
| 37 | have h := Local.QuotientEulerEquiv.Constructions.euler_quotients_ringEquiv (X.left.presheaf.stalk x) |
| 38 | (Localization.AtPrime (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x).asIdeal) (PairSupportKernel.Constructions.affineSupportStalkIso X x).commRingCatIsoToRingEquiv |
| 39 | (StalkPrimeQuotient.Constructions.kernelPrime X.left A x hxA).asIdeal (StalkPrimeQuotient.Constructions.kernelPrime X.left B x hxB).asIdeal d |
| 40 | exact h.trans (Local.QuotientEulerEquiv.Constructions.euler_quotients_congr _ _ _ _ _ |
| 41 | (PairSupportKernel.Constructions.affine_support_kernel X A x hxA) (PairSupportKernel.Constructions.affine_support_kernel X B x hxB) d) |
| 42 | |
| 43 | variable (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 44 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 45 | |
| 46 | omit [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] in |
| 47 | theorem affine_diagonal_euler_coordinates (d : ℕ) : |
| 48 | TorAlgebra.Euler.Tor.euler (DiagonalEquations.Constructions.productLocalRing X x) |
| 49 | (ModuleCat.of _ ((DiagonalEquations.Constructions.productLocalRing X x) ⧸ Ideal.ofList (DiagonalEquations.Constructions.coordinateDifferenceGerms X n x))) |
| 50 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing (pullback X.hom X.hom) (PairSupportKernel.Constructions.Prime.affinePairSupport X X A B) |
| 51 | (pullback.diagonal X.hom x) (PairSupportKernel.Constructions.diagonal_mem_affinePairSupport X A B x hxA hxB))) d = |
| 52 | TorAlgebra.Euler.Tor.euler (Localization.AtPrime (DiagonalStalk.Constructions.diagonalCoordinatePrime X x).asIdeal) |
| 53 | (ModuleCat.of _ ((Localization.AtPrime (DiagonalStalk.Constructions.diagonalCoordinatePrime X x).asIdeal) ⧸ |
| 54 | Ideal.ofList (Local.PolynomialDiagonalIdeal.Constructions.localEquations ℂ Γ(X.left, ⊤) n (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x)))) |
| 55 | (TorAlgebra.LocalDiagonalEuler.localizedQuotient (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤)) (DiagonalStalk.Constructions.diagonalCoordinatePrime X x) (PairSupportKernel.Constructions.Prime.affinePairIdeal X X A B)) d := by |
| 56 | have h := Local.QuotientEulerEquiv.Constructions.euler_quotients_ringEquiv (DiagonalEquations.Constructions.productLocalRing X x) |
| 57 | (Localization.AtPrime (DiagonalStalk.Constructions.diagonalCoordinatePrime X x).asIdeal) (DiagonalStalk.Constructions.diagonalStalkIso X x).commRingCatIsoToRingEquiv |
| 58 | (Ideal.ofList (DiagonalEquations.Constructions.coordinateDifferenceGerms X n x)) |
| 59 | (StalkPrimeQuotient.Constructions.kernelPrime (pullback X.hom X.hom) (PairSupportKernel.Constructions.Prime.affinePairSupport X X A B) (pullback.diagonal X.hom x) |
| 60 | (PairSupportKernel.Constructions.diagonal_mem_affinePairSupport X A B x hxA hxB)).asIdeal d |
| 61 | have hI : (Ideal.ofList (DiagonalEquations.Constructions.coordinateDifferenceGerms X n x)).map (DiagonalStalk.Constructions.diagonalStalkIso X x).hom.hom = |
| 62 | Ideal.ofList (Local.PolynomialDiagonalIdeal.Constructions.localEquations ℂ Γ(X.left, ⊤) n (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x)) := by |
| 63 | rw [Ideal.map_ofList, DiagonalEquations.Constructions.coordinateDifferenceGerms_map] |
| 64 | rfl |
| 65 | exact h.trans (Local.QuotientEulerEquiv.Constructions.euler_quotients_congr _ _ _ _ _ hI (PairSupportKernel.Constructions.affine_pair_support_kernel X A B x hxA hxB) d) |
| 66 | |
| 67 | theorem affine_diagonal_euler |
| 68 | [Algebra.FormallyUnramified (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 69 | [IsNoetherianRing (Γ(X.left, ⊤) ⊗[MvPolynomial (Fin n) ℂ] Γ(X.left, ⊤))] (d : ℕ) : |
| 70 | TorAlgebra.Euler.Tor.euler (X.left.presheaf.stalk x) (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X.left A x hxA)) |
| 71 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X.left B x hxB)) d = |
| 72 | TorAlgebra.Euler.Tor.euler (DiagonalEquations.Constructions.productLocalRing X x) |
| 73 | (ModuleCat.of _ ((DiagonalEquations.Constructions.productLocalRing X x) ⧸ Ideal.ofList (DiagonalEquations.Constructions.coordinateDifferenceGerms X n x))) |
| 74 | (ModuleCat.of _ (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing (pullback X.hom X.hom) (PairSupportKernel.Constructions.Prime.affinePairSupport X X A B) |
| 75 | (pullback.diagonal X.hom x) (PairSupportKernel.Constructions.diagonal_mem_affinePairSupport X A B x hxA hxB))) d := |
| 76 | (affine_support_euler X A B x hxA hxB d).trans |
| 77 | ((TorAlgebra.LocalDiagonalSequence.euler_eq_sequence ℂ Γ(X.left, ⊤) n (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x) |
| 78 | (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X (IntersectionGeometry.supportPoint A)).asIdeal (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X (IntersectionGeometry.supportPoint B)).asIdeal d).trans |
| 79 | (affine_diagonal_euler_coordinates X A B x hxA hxB n d).symm) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEuler.Constructions |