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.FixedNegativeQuotient |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistShiftIso |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PositiveTwistEquivalence |
| 10 | |
| 11 | /-! # Shifted Quotient -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.ShiftedQuotient.MvPolynomial |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open _root_.MvPolynomial |
| 18 | |
| 19 | /-! |
| 20 | # Shifted presentations by projective twists |
| 21 | |
| 22 | Tensoring a fixed-coordinate negative-twist presentation by a sufficiently |
| 23 | large positive twist produces a presentation by nonnegative twists. |
| 24 | -/ |
| 25 | |
| 26 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomogeneousIdeal |
| 27 | MonoidalCategory |
| 28 | |
| 29 | universe u |
| 30 | |
| 31 | variable {R : Type u} {σ : Type} [CommRing R] |
| 32 | |
| 33 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 34 | |
| 35 | noncomputable local instance shiftedPresentationMonoidalCategory |
| 36 | (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 37 | Monoidal.Scheme.Modules.monoidalCategory X |
| 38 | |
| 39 | /-- Tensoring a finite coproduct of fixed-coordinate negative twists by a |
| 40 | sufficiently large positive twist produces nonnegative twists. -/ |
| 41 | noncomputable def fixedCoordinateNegativeTwistCoproductTensorIso |
| 42 | (j : σ) {r : ℕ} (d : Fin r → ℕ) (N : ℕ) |
| 43 | (hN : ∀ i, d i ≤ N) : |
| 44 | (∐ fun i : Fin r ↦ |
| 45 | TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i)) ⊗ |
| 46 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j N ≅ |
| 47 | ∐ fun i : Fin r ↦ |
| 48 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (N - d i) := by |
| 49 | let E := PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence |
| 50 | (R := R) j N |
| 51 | let L : Fin r → (Proj (homogeneousSubmodule σ R)).Modules := fun i ↦ |
| 52 | TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i) |
| 53 | let P : Fin r → (Proj (homogeneousSubmodule σ R)).Modules := fun i ↦ |
| 54 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (N - d i) |
| 55 | let e₀ : E.functor.obj (∐ L) ≅ ∐ fun i ↦ E.functor.obj (L i) := |
| 56 | PreservesCoproduct.iso E.functor L |
| 57 | let e₁ : (∐ fun i ↦ E.functor.obj (L i)) ≅ ∐ P := |
| 58 | Sigma.mapIso fun i => |
| 59 | TwistShiftIso.MvPolynomial.coordinateHyperplaneIdealModulePowerTensorPoleSheafPowerIsoOfLE |
| 60 | (R := R) j (d i) N (hN i) |
| 61 | exact e₀ ≪≫ e₁ |
| 62 | |
| 63 | /-- After one fixed positive twist, a finite-type quasicoherent module is a |
| 64 | quotient of finitely many nonnegative powers of the same coordinate twist. -/ |
| 65 | theorem exists_fin_coordinateNonnegativeTwist_quotient [Fintype σ] |
| 66 | (M : (Proj (homogeneousSubmodule σ R)).Modules) |
| 67 | [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) : |
| 68 | ∃ (r : ℕ) (d : Fin r → ℕ) (N : ℕ) |
| 69 | (f : (∐ fun i : Fin r ↦ |
| 70 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (N - d i)) ⟶ |
| 71 | M ⊗ TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j N), |
| 72 | Epi f := by |
| 73 | classical |
| 74 | obtain ⟨r, d, f, hf⟩ := |
| 75 | FixedNegativeQuotient.MvPolynomial.exists_fin_fixedCoordinateNegativeTwist_quotient M j |
| 76 | let : Epi f := hf |
| 77 | let N := Finset.univ.sup d |
| 78 | have hN (i : Fin r) : d i ≤ N := |
| 79 | Finset.le_sup (Finset.mem_univ i) |
| 80 | let E := PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence |
| 81 | (R := R) j N |
| 82 | let : E.functor.PreservesEpimorphisms := inferInstance |
| 83 | let e := fixedCoordinateNegativeTwistCoproductTensorIso |
| 84 | (R := R) j d N hN |
| 85 | let g : (∐ fun i : Fin r ↦ |
| 86 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (N - d i)) ⟶ |
| 87 | M ⊗ TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j N := |
| 88 | e.inv ≫ E.functor.map f |
| 89 | refine ⟨r, d, N, g, ?_⟩ |
| 90 | change Epi (e.inv ≫ E.functor.map f) |
| 91 | exact @epi_comp _ _ _ _ _ e.inv (by infer_instance) |
| 92 | (E.functor.map f) (E.functor.map_epi f) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.ShiftedQuotient.MvPolynomial |