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.TwistShiftIso |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorFrameSections |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.InvertibleCancellationPairing |
| 10 | |
| 11 | /-! # Power Cancellation Pairing -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PowerCancellationPairing |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open _root_.MvPolynomial |
| 18 | |
| 19 | /-! Canonical power cancellation evaluated on recursively formed local sections. -/ |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory Opposite |
| 23 | universe u |
| 24 | |
| 25 | section |
| 26 | |
| 27 | local instance cancellationPairingMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 28 | Monoidal.Scheme.Modules.monoidalCategory X |
| 29 | local instance cancellationPairingSymmetric (X : Scheme.{u}) : SymmetricCategory X.Modules := |
| 30 | Monoidal.Scheme.Modules.symmetricCategory X |
| 31 | |
| 32 | theorem tensorPairing_unit_conversion {X : Scheme.{u}} |
| 33 | {A B C D : X.Modules} (e : A ⊗ C ⟶ 𝟙_ X.Modules) |
| 34 | (f : B ⊗ D ⟶ 𝟙_ X.Modules) : |
| 35 | TensorFrameSections.tensorPairing (e ≫ (TensorSections.monoidalUnitObjIso X).hom) |
| 36 | (f ≫ (TensorSections.monoidalUnitObjIso X).hom) = |
| 37 | tensorμ A B C D ≫ (e ⊗ₘ f) ≫ |
| 38 | (λ_ (𝟙_ X.Modules)).hom ≫ (TensorSections.monoidalUnitObjIso X).hom := by |
| 39 | unfold TensorFrameSections.tensorPairing TensorSections.unitObjTensorIso |
| 40 | simp only [Iso.trans_hom, tensorIso_hom, Iso.symm_hom] |
| 41 | simp only [tensorHom_comp_tensorHom_assoc, Category.assoc, |
| 42 | Iso.hom_inv_id, Category.comp_id] |
| 43 | |
| 44 | def localMonoidalUnitSection (X : Scheme.{u}) (U : X.Opens) : |
| 45 | Γ(𝟙_ X.Modules, U) := |
| 46 | (TensorSections.monoidalUnitObjIso X).inv.val.app (op U) (show Γ(X, U) from 1) |
| 47 | |
| 48 | theorem unitPairing_localMonoidalUnitSection (X : Scheme.{u}) (U : X.Opens) : |
| 49 | ((λ_ (𝟙_ X.Modules)).hom ≫ (TensorSections.monoidalUnitObjIso X).hom).val.app (op U) |
| 50 | (TensorSections.tensorSection (𝟙_ X.Modules) (𝟙_ X.Modules) U |
| 51 | (localMonoidalUnitSection X U) (localMonoidalUnitSection X U)) = |
| 52 | (show Γ(X, U) from 1) := by |
| 53 | have he : (λ_ (𝟙_ X.Modules)).hom ≫ (TensorSections.monoidalUnitObjIso X).hom = |
| 54 | ((TensorSections.monoidalUnitObjIso X).hom ⊗ₘ (TensorSections.monoidalUnitObjIso X).hom) ≫ |
| 55 | (TensorSections.unitObjTensorIso X).hom := by |
| 56 | simp only [TensorSections.unitObjTensorIso, Iso.trans_hom, tensorIso_hom, Iso.symm_hom] |
| 57 | rw [← Category.assoc, tensorHom_comp_tensorHom] |
| 58 | simp only [Iso.hom_inv_id, tensorHom_id, id_whiskerRight, Category.id_comp] |
| 59 | rw [he] |
| 60 | erw [SheafOfModules.comp_val, PresheafOfModules.comp_app, ModuleCat.comp_apply] |
| 61 | rw [TensorFrameSections.tensorSection_map] |
| 62 | have h1 : (TensorSections.monoidalUnitObjIso X).hom.val.app (op U) |
| 63 | (localMonoidalUnitSection X U) = (show Γ(X, U) from 1) := |
| 64 | SectionIdentities.Scheme.Modules.iso_inv_hom_app_applyT (TensorSections.monoidalUnitObjIso X) (op U) |
| 65 | (show Γ(X, U) from 1) |
| 66 | rw [h1, TensorFrameSections.unitObjTensorIso_hom_tensorSection, one_mul] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | namespace MvPolynomial |
| 71 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.PowerCancellationPairing |
| 72 | variable {R : Type u} [CommRing R] {σ : Type} |
| 73 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 74 | local instance cancellationPowerMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 75 | Monoidal.Scheme.Modules.monoidalCategory X |
| 76 | local instance cancellationPowerSymmetric (X : Scheme.{u}) : SymmetricCategory X.Modules := |
| 77 | Monoidal.Scheme.Modules.symmetricCategory X |
| 78 | |
| 79 | def coordinateHyperplanePowerPairing (j : σ) (n : ℕ) : |
| 80 | TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n ⊗ |
| 81 | TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n ⟶ |
| 82 | Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R)) := |
| 83 | (TwistShiftIso.MvPolynomial.coordinateHyperplanePowerCancellationIso (R := R) j n).hom ≫ |
| 84 | (TensorSections.monoidalUnitObjIso _).hom |
| 85 | |
| 86 | theorem coordinateHyperplanePowerPairing_zero (j : σ) : |
| 87 | coordinateHyperplanePowerPairing (R := R) j 0 = |
| 88 | (λ_ (𝟙_ (Proj (homogeneousSubmodule σ R)).Modules)).hom ≫ |
| 89 | (TensorSections.monoidalUnitObjIso _).hom := rfl |
| 90 | |
| 91 | theorem coordinateHyperplaneBaseCancellationIso_hom_pairing (j : σ) : |
| 92 | (TwistShiftIso.MvPolynomial.coordinateHyperplaneBaseCancellationIso (R := R) j).hom ≫ |
| 93 | (TensorSections.monoidalUnitObjIso (Proj (homogeneousSubmodule σ R))).hom = |
| 94 | TensorFrameSections.dualPairing (IdealModule.idealModule (SpaceHyperplane.MvPolynomial.coordinateHyperplaneι (R := R) j)) := by |
| 95 | simp only [TwistShiftIso.MvPolynomial.coordinateHyperplaneBaseCancellationIso, Iso.trans_hom, |
| 96 | Iso.symm_hom, Category.assoc, Iso.inv_hom_id, Category.comp_id, |
| 97 | InvertibleCancellationPairing.invertibleDualPairingIso_hom] |
| 98 | |
| 99 | theorem coordinateHyperplanePowerPairing_succ (j : σ) (n : ℕ) : |
| 100 | coordinateHyperplanePowerPairing (R := R) j (n + 1) = |
| 101 | TensorFrameSections.tensorPairing (coordinateHyperplanePowerPairing (R := R) j n) |
| 102 | (TensorFrameSections.dualPairing (IdealModule.idealModule (SpaceHyperplane.MvPolynomial.coordinateHyperplaneι (R := R) j))) := by |
| 103 | simp only [coordinateHyperplanePowerPairing] |
| 104 | rw [TwistShiftIso.MvPolynomial.coordinateHyperplanePowerCancellationIso_succ_hom, |
| 105 | ← coordinateHyperplaneBaseCancellationIso_hom_pairing] |
| 106 | rw [tensorPairing_unit_conversion] |
| 107 | simp only [Category.assoc, HyperplanePole.MvPolynomial.coordinateHyperplanePoleSheaf] |
| 108 | |
| 109 | end MvPolynomial |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PowerCancellationPairing |