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.Affine.RestrictedPullbackBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MultiplicationCharacter.PullbackLineBundles |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MultiplicationCharacter.Quasicoherence |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LevelMultiplication.Surjectivity |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FlatRankOneDescent |
| 6 | |
| 7 | /-! # Affine Rank One -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual character comparison gives rank-one scalar-extended sections. Faithfully flat descent proves the original character-section modules finite, flat and everywhere of rank one. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | variable {K : Type u} [Field K] [IsAlgClosed K] {g N : ℕ} [NeZero N] |
| 17 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (level : A.FullLevel N) |
| 18 | |
| 19 | theorem Abelian.Schemes.AbelianScheme.multiplicationCharacter_affine_rankOne |
| 20 | (χ : ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ) (hN : (N : K) ≠ 0) |
| 21 | (U : A.scheme.left.Opens) (hU : IsAffineOpen U) : |
| 22 | Module.Finite Γ(U.toScheme, ⊤) Γ((A.multiplicationCharacterSheaf level χ).restrict U.ι, ⊤) ∧ |
| 23 | Module.Flat Γ(U.toScheme, ⊤) Γ((A.multiplicationCharacterSheaf level χ).restrict U.ι, ⊤) ∧ |
| 24 | ∀ p : PrimeSpectrum Γ(U.toScheme, ⊤), |
| 25 | Module.rankAtStalk Γ((A.multiplicationCharacterSheaf level χ).restrict U.ι, ⊤) p = 1 := by |
| 26 | let f := (A.multiplication N).left |
| 27 | let G := ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) |
| 28 | let c := Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom |
| 29 | have := A.fullLevel_multiplication_isFinite level |
| 30 | have := A.fullLevel_multiplication_etale level |
| 31 | have := A.fullLevel_multiplication_surjective level |
| 32 | have : IsAffine U.toScheme := hU |
| 33 | have : IsAffine (f ⁻¹ᵁ U).toScheme := hU.preimage f |
| 34 | have := A.multiplicationCharacterSheaf_quasicoherent level χ |
| 35 | have : Surjective (f ∣_ U) := |
| 36 | MorphismProperty.IsStableUnderBaseChange.of_isPullback (P := @Surjective) |
| 37 | (isPullback_morphismRestrict f U).flip (A.fullLevel_multiplication_surjective level) |
| 38 | let : Algebra Γ(U.toScheme, ⊤) Γ((f ⁻¹ᵁ U).toScheme, ⊤) := |
| 39 | (f ∣_ U).appTop.hom.toAlgebra |
| 40 | have hfaithful : (f ∣_ U).appTop.hom.FaithfullyFlat := |
| 41 | (Flat.flat_and_surjective_iff_faithfullyFlat_of_isAffine (f ∣_ U)).mp |
| 42 | ⟨inferInstance, inferInstance⟩ |
| 43 | have : Module.FaithfullyFlat Γ(U.toScheme, ⊤) Γ((f ⁻¹ᵁ U).toScheme, ⊤) := hfaithful |
| 44 | have hG := TameCharacters.fullLevelCharacter_order_nonzero K g N hN |
| 45 | have := TameCharacters.tameFiniteAbelian_hasEnoughRoots K G hG |
| 46 | let e := Affine.RestrictedPullbackBasis.affineRestrictedPullbackBasis f U (A.multiplicationCharacterSheaf level χ) |
| 47 | (Constant.CharacterSheafSections.constantCharacterSheaf c G χ) (A.multiplicationCharacterComparisonIso level χ hN) |
| 48 | (Constant.CharacterSheafSections.constantCharacterSheafSectionsEquiv c G χ hG (f ⁻¹ᵁ U)) |
| 49 | exact FlatRankOneDescent.faithfullyFlat_rankOne_descent e |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |