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.Picard.PoincareBundle.PositiveFormulaIsomorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.AffinePullback |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointLineBundleTriviality |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.SchemePullback |
| 5 | |
| 6 | /-! # Positive Formula Affine Square -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.PositiveFormulaAffineSquare |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A normalized positive formula pulls back through an actual affine comparison of field groups and their product squares. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | /-- The native inverse-image comparison associated with a commuting square. -/ |
| 21 | def squareIso {W X Y Z : Scheme.{u}} (a : X ⟶ Y) (b : Y ⟶ Z) |
| 22 | (c : X ⟶ W) (d : W ⟶ Z) (h : a ≫ b = c ≫ d) (M : Z.Modules) : |
| 23 | (Scheme.Modules.pullback a).obj ((Scheme.Modules.pullback b).obj M) ≅ |
| 24 | (Scheme.Modules.pullback c).obj ((Scheme.Modules.pullback d).obj M) := |
| 25 | (Scheme.Modules.pullbackComp a b).app M ≪≫ (Scheme.Modules.pullbackCongr h).app M ≪≫ |
| 26 | (Scheme.Modules.pullbackComp c d).symm.app M |
| 27 | |
| 28 | variable {k K : Type u} [Field k] [Field K] |
| 29 | (A : Over (Spec (.of k))) [GrpObj A] (B : Over (Spec (.of K))) [GrpObj B] |
| 30 | (q : B.left ⟶ A.left) [IsAffineHom q] (r : (B ⊗ B).left ⟶ (A ⊗ A).left) |
| 31 | (h1 : r ≫ (fst A A).left = (fst B B).left ≫ q) |
| 32 | (h2 : r ≫ (snd A A).left = (snd B B).left ≫ q) |
| 33 | (hm : r ≫ μ[A].left = μ[B].left ≫ q) |
| 34 | (Q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (A ⊗ A).left) (R : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (B ⊗ B).left) |
| 35 | (eQ : R.sheaf ≅ (Scheme.Modules.pullback r).obj Q.sheaf) |
| 36 | |
| 37 | include h1 h2 hm eQ |
| 38 | |
| 39 | /-- Affine pullback preserves ampleness and the actual tensor formula; the target field supplies its identity frame. -/ |
| 40 | theorem positive (hp : AbelianScheme.IsogenyQuotient.PositiveFormula.Construction.PositivePoincareFormula A Q) : AbelianScheme.IsogenyQuotient.PositiveFormula.Construction.PositivePoincareFormula B R := by |
| 41 | obtain ⟨L, hL, _, ⟨e⟩⟩ := hp |
| 42 | let L' := L.pullback q |
| 43 | refine ⟨L', hL.pullback_of_isAffineHom q, ?_, ⟨?_⟩⟩ |
| 44 | · have : Subsingleton (𝟙_ (Over (Spec (.of K)))).left := inferInstanceAs (Subsingleton (Spec (.of K))) |
| 45 | have : Nonempty (𝟙_ (Over (Spec (.of K)))).left := inferInstanceAs (Nonempty (Spec (.of K))) |
| 46 | exact (L'.pullback η[B].left).exists_trivialization_of_subsingleton |
| 47 | · let M := (L.pullback (fst A A).left).sheaf |
| 48 | let N := (L.pullback (snd A A).left).sheaf |
| 49 | let e1 := squareIso (fst B B).left q r (fst A A).left h1.symm L.sheaf |
| 50 | let e2 := squareIso (snd B B).left q r (snd A A).left h2.symm L.sheaf |
| 51 | exact AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr |
| 52 | (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr eQ e1 ≪≫ (Homomorphisms.SchemePullback.Construction.tensorModuleArbitraryPullbackIso r Q.sheaf M).symm) e2 ≪≫ |
| 53 | (Homomorphisms.SchemePullback.Construction.tensorModuleArbitraryPullbackIso r (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule Q.sheaf M) N).symm ≪≫ |
| 54 | (Scheme.Modules.pullback r).mapIso e ≪≫ squareIso r μ[A].left μ[B].left q hm L.sheaf |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.PositiveFormulaAffineSquare |