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.Spec.CoefficientCechComparison |
| 2 | import Mathlib.Algebra.Algebra.Tower |
| 3 | |
| 4 | /-! # Coefficient Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.CoefficientComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Composition of affine test-scheme maps gives the actual scalar tower on their coordinate rings. The coefficient functions on the pulled-back families satisfy the same geometric square. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | variable {S : Scheme.{u}} {B C : Type u} [CommRing B] [CommRing C] |
| 14 | |
| 15 | def specCoordinateRingMap (a : Spec (.of C) ⟶ Spec (.of B)) : B →+* C := |
| 16 | (CoefficientCechComparison.specBaseCoefficientMap a).comp (Scheme.ΓSpecIso (.of B)).inv.hom |
| 17 | |
| 18 | theorem specCoordinateRingMap_comp |
| 19 | (a : Spec (.of C) ⟶ Spec (.of B)) (g : Spec (.of B) ⟶ S) : |
| 20 | (specCoordinateRingMap a).comp (CoefficientCechComparison.specBaseCoefficientMap g) = CoefficientCechComparison.specBaseCoefficientMap (a ≫ g) := by |
| 21 | ext x |
| 22 | change (Scheme.ΓSpecIso (.of C)).hom |
| 23 | (a.appTop ((Scheme.ΓSpecIso (.of B)).inv ((Scheme.ΓSpecIso (.of B)).hom (g.appTop x)))) = |
| 24 | (Scheme.ΓSpecIso (.of C)).hom ((a ≫ g).appTop x) |
| 25 | exact congrArg (fun z : Γ(Spec (.of B), ⊤) => (Scheme.ΓSpecIso (.of C)).hom (a.appTop z)) |
| 26 | (ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of B)).hom_inv_id (g.appTop x)) |
| 27 | |
| 28 | theorem specCoefficient_isScalarTower |
| 29 | (a : Spec (.of C) ⟶ Spec (.of B)) (g : Spec (.of B) ⟶ S) : |
| 30 | letI : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra |
| 31 | letI : Algebra B C := (specCoordinateRingMap a).toAlgebra |
| 32 | letI : Algebra Γ(S, ⊤) C := (CoefficientCechComparison.specBaseCoefficientMap (a ≫ g)).toAlgebra |
| 33 | IsScalarTower Γ(S, ⊤) B C := by |
| 34 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra |
| 35 | let : Algebra B C := (specCoordinateRingMap a).toAlgebra |
| 36 | let : Algebra Γ(S, ⊤) C := (CoefficientCechComparison.specBaseCoefficientMap (a ≫ g)).toAlgebra |
| 37 | exact IsScalarTower.of_algebraMap_eq' (specCoordinateRingMap_comp a g).symm |
| 38 | |
| 39 | theorem specCoordinateRingMap_coefficients (a : Spec (.of C) ⟶ Spec (.of B)) : |
| 40 | (Scheme.ΓSpecIso (.of C)).inv.hom.comp (specCoordinateRingMap a) = |
| 41 | a.appTop.hom.comp (Scheme.ΓSpecIso (.of B)).inv.hom := by |
| 42 | ext x |
| 43 | exact ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of C)).hom_inv_id |
| 44 | (a.appTop ((Scheme.ΓSpecIso (.of B)).inv x)) |
| 45 | |
| 46 | theorem specPullbackCoefficient_refinement |
| 47 | {X Y : Scheme.{u}} (σ : X ⟶ Y) (b : Y ⟶ Spec (.of B)) (c : X ⟶ Spec (.of C)) |
| 48 | (a : Spec (.of C) ⟶ Spec (.of B)) (h : σ ≫ b = c ≫ a) : |
| 49 | (CoefficientCechComparison.specPullbackCoefficientMap (b := c)).comp (specCoordinateRingMap a) = |
| 50 | σ.appTop.hom.comp (CoefficientCechComparison.specPullbackCoefficientMap (b := b)) := by |
| 51 | ext x |
| 52 | exact (congrArg c.appTop (DFunLike.congr_fun (specCoordinateRingMap_coefficients a) x)).trans |
| 53 | (congrArg (fun v : X ⟶ Spec (.of B) => v.appTop ((Scheme.ΓSpecIso (.of B)).inv x)) h).symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.CoefficientComposition |