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.ProductIs |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalEuler |
| 3 | |
| 4 | /-! # Diagonal Stalk -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalStalk.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! At an actual affine diagonal point, the geometric product stalk |
| 11 | is the localization at the native tensor-product diagonal prime. |
| 12 | The comparison sends each coordinate section to its actual localization. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions.CoordinateMaps OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions.StalkCoordinates |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalEuler |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | def stalkCoordinateIsoAt (R : CommRingCat) (Y : Scheme) (e : Y ≅ Spec R) (y : Y) |
| 24 | (q : PrimeSpectrum R) (hq : e.hom y = q) : |
| 25 | Y.presheaf.stalk y ≅ CommRingCat.of (Localization.AtPrime q.asIdeal) := |
| 26 | ProductIs.Constructions.StalkCoordinates.stalkCoordinateIso R Y e y ≪≫ |
| 27 | eqToIso (congrArg (fun p : PrimeSpectrum R => CommRingCat.of (Localization.AtPrime p.asIdeal)) hq) |
| 28 | |
| 29 | theorem coordinateSection_germ_at (R : CommRingCat) (Y : Scheme) (e : Y ≅ Spec R) (y : Y) |
| 30 | (q : PrimeSpectrum R) (hq : e.hom y = q) (r : R) : |
| 31 | (stalkCoordinateIsoAt R Y e y q hq).hom (Y.presheaf.germ ⊤ y trivial (ProductIs.Constructions.StalkCoordinates.coordinateSection R Y e r)) = |
| 32 | algebraMap R (Localization.AtPrime q.asIdeal) r := by |
| 33 | cases hq |
| 34 | exact ProductIs.Constructions.StalkCoordinates.coordinateSection_germ R Y e y r |
| 35 | |
| 36 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] |
| 37 | |
| 38 | def diagonalCoordinatePrime (x : X.left) : PrimeSpectrum (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤)) := |
| 39 | TorAlgebra.LocalDiagonalEuler.diagonalPrime ℂ Γ(X.left, ⊤) (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x) |
| 40 | |
| 41 | theorem coordinate_diagonal_point (x : X.left) : |
| 42 | (ProductIs.Constructions.affineProductCoordinateIso X X).hom (pullback.diagonal X.hom x) = diagonalCoordinatePrime X x := |
| 43 | congrArg (fun f : X.left ⟶ Spec (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤))) => f x) |
| 44 | (ProductIs.Constructions.CoordinateMaps.coordinateIso_diagonal X) |
| 45 | |
| 46 | def diagonalStalkIso (x : X.left) : |
| 47 | (pullback X.hom X.hom).presheaf.stalk (pullback.diagonal X.hom x) ≅ |
| 48 | CommRingCat.of (Localization.AtPrime (diagonalCoordinatePrime X x).asIdeal) := |
| 49 | stalkCoordinateIsoAt (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤))) |
| 50 | (pullback X.hom X.hom) (ProductIs.Constructions.affineProductCoordinateIso X X) (pullback.diagonal X.hom x) |
| 51 | (diagonalCoordinatePrime X x) (coordinate_diagonal_point X x) |
| 52 | |
| 53 | theorem diagonalStalkIso_section (x : X.left) (r : Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤)) : |
| 54 | (diagonalStalkIso X x).hom |
| 55 | ((pullback X.hom X.hom).presheaf.germ ⊤ (pullback.diagonal X.hom x) trivial |
| 56 | (ProductIs.Constructions.StalkCoordinates.coordinateSection (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤))) |
| 57 | (pullback X.hom X.hom) (ProductIs.Constructions.affineProductCoordinateIso X X) r)) = |
| 58 | algebraMap (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤)) (Localization.AtPrime (diagonalCoordinatePrime X x).asIdeal) r := |
| 59 | coordinateSection_germ_at (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤))) |
| 60 | (pullback X.hom X.hom) (ProductIs.Constructions.affineProductCoordinateIso X X) (pullback.diagonal X.hom x) |
| 61 | (diagonalCoordinatePrime X x) (coordinate_diagonal_point X x) r |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalStalk.Constructions |