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.TwistCechHigher |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor |
| 9 | |
| 10 | /-! # Positive Twist Coproduct -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PositiveTwistCoproduct.MvPolynomial |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.MvPolynomial |
| 17 | |
| 18 | /-! |
| 19 | # Cech exactness for finite coproducts of positive projective twists |
| 20 | |
| 21 | The ordered standard-cover Cech complex of a finite coproduct of |
| 22 | nonnegative coordinate twists is exact in every positive degree. |
| 23 | -/ |
| 24 | |
| 25 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 26 | |
| 27 | universe u |
| 28 | |
| 29 | variable {R : Type u} {σ : Type} [CommRing R] |
| 30 | |
| 31 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 32 | |
| 33 | /-- Finite coproducts of nonnegative coordinate twists are ordered-Cech |
| 34 | acyclic in every positive degree. -/ |
| 35 | theorem coordinateHyperplanePoleSheafPowerCoproduct_orderedBaseCechComplex_exactAt_succ |
| 36 | [Fintype σ] [LinearOrder σ] {I : Type} [Finite I] |
| 37 | (j : I → σ) (n : I → ℕ) (q : ℕ) : |
| 38 | (OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex |
| 39 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 40 | (∐ fun i : I ↦ TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) (j i) (n i)) |
| 41 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ))).ExactAt (q + 1) := by |
| 42 | classical |
| 43 | let := Fintype.ofFinite I |
| 44 | let : HasFiniteBiproducts (Proj (homogeneousSubmodule σ R)).Modules := |
| 45 | HasFiniteBiproducts.of_hasFiniteProducts |
| 46 | let : HasFiniteBiproducts |
| 47 | (ModuleCat.{u} |
| 48 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens))) := |
| 49 | HasFiniteBiproducts.of_hasFiniteProducts |
| 50 | let M : I → (Proj (homogeneousSubmodule σ R)).Modules := fun i ↦ |
| 51 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) (j i) (n i) |
| 52 | let F := OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor |
| 53 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 54 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) ⋙ |
| 55 | HomologicalComplex.homologyFunctor |
| 56 | (ModuleCat.{u} |
| 57 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens))) |
| 58 | (ComplexShape.up ℕ) (q + 1) |
| 59 | let : F.Additive := by |
| 60 | dsimp only [F] |
| 61 | infer_instance |
| 62 | let : PreservesFiniteBiproducts F := |
| 63 | Functor.preservesFiniteBiproductsOfAdditive F |
| 64 | have hcomponent (i : I) : IsZero (F.obj (M i)) := by |
| 65 | change IsZero |
| 66 | ((OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex |
| 67 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 68 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) (j i) (n i)) |
| 69 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ))).homology (q + 1)) |
| 70 | apply HomologicalComplex.ExactAt.isZero_homology |
| 71 | (TwistCechHigher.MvPolynomial.coordinateHyperplaneTwist_orderedBaseCechComplex_exactAt_succ |
| 72 | (R := R) (j i) (n i : ℤ) (Int.natCast_nonneg (n i)) q) |
| 73 | let (i : I) : Subsingleton (F.obj (M i)) := |
| 74 | ModuleCat.subsingleton_of_isZero (hcomponent i) |
| 75 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 76 | change IsZero (F.obj (∐ M)) |
| 77 | let e₀ : F.obj (∐ M) ≅ F.obj (⨁ M) := |
| 78 | F.mapIso (biproduct.isoCoproduct M).symm |
| 79 | let e₁ : F.obj (⨁ M) ≅ ⨁ (F.obj ∘ M) := F.mapBiproduct M |
| 80 | let e₂ : (⨁ (F.obj ∘ M)) ≅ ∏ᶜ (F.obj ∘ M) := |
| 81 | biproduct.isoProduct (F.obj ∘ M) |
| 82 | let e₃ : (∏ᶜ (F.obj ∘ M)) ≅ |
| 83 | ModuleCat.of |
| 84 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 85 | (∀ i : I, F.obj (M i)) := |
| 86 | ModuleCat.piIsoPi (F.obj ∘ M) |
| 87 | apply (e₀ ≪≫ e₁ ≪≫ e₂ ≪≫ e₃).isZero_iff.mpr |
| 88 | exact ModuleCat.isZero_of_subsingleton _ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PositiveTwistCoproduct.MvPolynomial |