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 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PositiveTwistCoproduct |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistShiftIso |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PositiveTwistEquivalence |
| 10 | |
| 11 | /-! # Positive Twist Tensor Cech -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PositiveTwistTensorCech.MvPolynomial |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open _root_.MvPolynomial |
| 18 | |
| 19 | /-! |
| 20 | # Cech exactness after an additional positive projective twist |
| 21 | |
| 22 | Positive coordinate twists add under tensor product. Consequently, |
| 23 | tensoring a finite coproduct of positive twists by another positive twist |
| 24 | preserves its positive-degree ordered-Cech exactness. |
| 25 | -/ |
| 26 | |
| 27 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomogeneousIdeal |
| 28 | MonoidalCategory Opposite TopologicalSpace |
| 29 | |
| 30 | universe u |
| 31 | |
| 32 | variable {R : Type u} {σ : Type} [CommRing R] |
| 33 | |
| 34 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 35 | |
| 36 | noncomputable local instance positiveTwistTensorMonoidalCategory |
| 37 | (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 38 | Monoidal.Scheme.Modules.monoidalCategory X |
| 39 | |
| 40 | /-- Reassociating two positive coordinate twists adds their degrees. -/ |
| 41 | noncomputable def moduleTensorCoordinateHyperplanePoleSheafPowerAddIso |
| 42 | (M : (Proj (homogeneousSubmodule σ R)).Modules) |
| 43 | (j : σ) (m n : ℕ) : |
| 44 | (M ⊗ TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m) ⊗ |
| 45 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n ≅ |
| 46 | M ⊗ TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (m + n) := |
| 47 | α_ M |
| 48 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m) |
| 49 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) ≪≫ |
| 50 | (Iso.refl M ⊗ᵢ |
| 51 | (TwistShiftIso.MvPolynomial.coordinateHyperplanePoleSheafPower_addIso |
| 52 | (R := R) j m n).symm) |
| 53 | |
| 54 | /-- Tensoring a finite coproduct of positive coordinate twists by another |
| 55 | positive twist adds its degree to every summand. -/ |
| 56 | noncomputable def |
| 57 | coordinateHyperplanePoleSheafPowerCoproductTensorIso |
| 58 | {I : Type} [Finite I] (j : σ) (n : I → ℕ) (N : ℕ) : |
| 59 | (∐ fun i : I ↦ |
| 60 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (n i)) ⊗ |
| 61 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j N ≅ |
| 62 | ∐ fun i : I ↦ |
| 63 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (n i + N) := by |
| 64 | let E := |
| 65 | PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence |
| 66 | (R := R) j N |
| 67 | let L : I → (Proj (homogeneousSubmodule σ R)).Modules := fun i ↦ |
| 68 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (n i) |
| 69 | let P : I → (Proj (homogeneousSubmodule σ R)).Modules := fun i ↦ |
| 70 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (n i + N) |
| 71 | let e₀ : E.functor.obj (∐ L) ≅ ∐ fun i ↦ E.functor.obj (L i) := |
| 72 | PreservesCoproduct.iso E.functor L |
| 73 | let e₁ : (∐ fun i ↦ E.functor.obj (L i)) ≅ ∐ P := |
| 74 | Sigma.mapIso fun i => |
| 75 | (TwistShiftIso.MvPolynomial.coordinateHyperplanePoleSheafPower_addIso |
| 76 | (R := R) j (n i) N).symm |
| 77 | exact e₀ ≪≫ e₁ |
| 78 | |
| 79 | /-- A finite coproduct of positive twists remains ordered-Cech acyclic in |
| 80 | positive degrees after tensoring by another positive twist. -/ |
| 81 | theorem |
| 82 | coordinateHyperplanePoleSheafPowerCoproductTensor_orderedBaseCechComplex_exactAt_succ |
| 83 | [Fintype σ] [LinearOrder σ] {I : Type} [Finite I] |
| 84 | (j : σ) (n : I → ℕ) (N q : ℕ) : |
| 85 | (OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex |
| 86 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 87 | ((∐ fun i : I ↦ |
| 88 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (n i)) ⊗ |
| 89 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j N) |
| 90 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ))).ExactAt (q + 1) := by |
| 91 | let F := |
| 92 | OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor |
| 93 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 94 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 95 | let e := |
| 96 | coordinateHyperplanePoleSheafPowerCoproductTensorIso |
| 97 | (R := R) j n N |
| 98 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 99 | apply |
| 100 | (HomologicalComplex.homologyMapIso |
| 101 | (F.mapIso e) (q + 1)).isZero_iff.mpr |
| 102 | apply HomologicalComplex.ExactAt.isZero_homology |
| 103 | exact |
| 104 | PositiveTwistCoproduct.MvPolynomial.coordinateHyperplanePoleSheafPowerCoproduct_orderedBaseCechComplex_exactAt_succ |
| 105 | (R := R) (fun _ : I ↦ j) (fun i ↦ n i + N) q |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PositiveTwistTensorCech.MvPolynomial |