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.AbelianModuli.HilbertConstruction.Flat.GlobalTensorComparison |
| 2 | |
| 3 | /-! # Global Functions Pushout -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.GlobalFunctionsPushout |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The global-function square is a pushout after flat affine base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine Y] [CompactSpace X] |
| 16 | [IsAffineHom (pullback.diagonal (terminal.from X))] |
| 17 | |
| 18 | theorem flatBaseChange_globalFunctions_isPushout |
| 19 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 20 | (H : IsPullback a b f g) [Module.Flat Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g)] : |
| 21 | IsPushout f.appTop g.appTop a.appTop b.appTop := by |
| 22 | let B := Affine.TensorSectionComparison.morphismGlobalAlgebra g |
| 23 | let A := Coefficient.AlgebraPresheaf.coefficientAlgebraSections f.appTop.hom ⊤ |
| 24 | let C := Coefficient.AlgebraPresheaf.coefficientAlgebraSections (a.appTop.hom.comp f.appTop.hom) (a ⁻¹ᵁ ⊤) |
| 25 | let i : B →ₐ[Γ(S, ⊤)] C := |
| 26 | (Coefficient.AlgebraPullback.coefficientAlgebraGlobalRestriction _ B b.appTop.hom |
| 27 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) (a ⁻¹ᵁ ⊤)).hom |
| 28 | let j : A →ₐ[Γ(S, ⊤)] C := (Coefficient.AlgebraPullback.coefficientAlgebraPullbackApp a f.appTop.hom ⊤).hom |
| 29 | have h := RingPushoutTensorComparison.isPushout_of_tensorLift_bijective i j (GlobalTensorComparison.flat_globalTensorComparison_bijective H) |
| 30 | have hA : CommRingCat.ofHom (algebraMap Γ(S, ⊤) A) = f.appTop := by |
| 31 | change f.appTop ≫ X.presheaf.map (𝟙 (Opposite.op (⊤ : X.Opens))) = f.appTop |
| 32 | rw [X.presheaf.map_id, Category.comp_id] |
| 33 | have hi : CommRingCat.ofHom i.toRingHom = b.appTop := by |
| 34 | change b.appTop ≫ P.presheaf.map (𝟙 (Opposite.op (⊤ : P.Opens))) = b.appTop |
| 35 | rw [P.presheaf.map_id, Category.comp_id] |
| 36 | have hB : CommRingCat.ofHom (algebraMap Γ(S, ⊤) B) = g.appTop := rfl |
| 37 | have hj : CommRingCat.ofHom j.toRingHom = a.appTop := rfl |
| 38 | rw [hA, hB, hi, hj] at h |
| 39 | exact h.flip |
| 40 | |
| 41 | theorem flatBaseChange_globalFunctions_isIso |
| 42 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 43 | (H : IsPullback a b f g) [Module.Flat Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g)] |
| 44 | [IsIso f.appTop] : IsIso b.appTop := |
| 45 | (flatBaseChange_globalFunctions_isPushout H).isIso_inr_of_isIso |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.GlobalFunctionsPushout |