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.NegativeTwistTransitions |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverFrameScalarTransfer |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleHomOverlapGluing |
| 10 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateCompatibleExtensions |
| 11 | |
| 12 | /-! # Negative Twist Maps -/ |
| 13 | |
| 14 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistMaps |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | open _root_.MvPolynomial |
| 19 | |
| 20 | /-! Maps from negative twists, constructed by gluing actual local module maps. -/ |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 24 | universe u |
| 25 | namespace MvPolynomial |
| 26 | variable {R : Type u} {σ : Type} [CommRing R] |
| 27 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 28 | |
| 29 | def coordinateHyperplaneIdealModulePowerOverFrame (i j : σ) (n : ℕ) := |
| 30 | Invertible.Scheme.Modules.overTrivializationOfRestrictIso |
| 31 | (TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n) (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 32 | (TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization (R := R) i j n) |
| 33 | |
| 34 | def coordinateHyperplaneIdealModulePowerFrameSection (i j : σ) (n : ℕ) : |
| 35 | Γ(TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n, MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) := |
| 36 | FrameSections.overTrivializationSection (TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n) |
| 37 | (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (coordinateHyperplaneIdealModulePowerOverFrame i j n) 1 |
| 38 | |
| 39 | theorem coordinateHyperplaneIdealModulePowerOverFrame_transition (i k j : σ) (n : ℕ) : |
| 40 | let X := Proj (homogeneousSubmodule σ R) |
| 41 | let N := TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n |
| 42 | let W := CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k |
| 43 | (Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N |
| 44 | (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) (coordinateHyperplaneIdealModulePowerOverFrame k j n) |
| 45 | (Over.mk (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) i k)))).hom = |
| 46 | (Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N |
| 47 | (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (coordinateHyperplaneIdealModulePowerOverFrame i j n) |
| 48 | (Over.mk (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) i k)))).hom ≫ |
| 49 | Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W |
| 50 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k : Γ(X, W)) ^ n) := by |
| 51 | let N := TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n |
| 52 | let W := CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k |
| 53 | let a := OpenFrames.Scheme.Modules.restrictOpenTrivialization |
| 54 | (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) i k) |
| 55 | (TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization (R := R) i j n) |
| 56 | let b := OpenFrames.Scheme.Modules.restrictOpenTrivialization |
| 57 | (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) i k) |
| 58 | (TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization (R := R) k j n) |
| 59 | let r : Γ(Proj (homogeneousSubmodule σ R), W) := CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k |
| 60 | have hp : b.hom = a.hom ≫ UnitScalar.unitEndomorphismOfTopSection |
| 61 | (OpenFrames.Scheme.Modules.openTopSection W (r ^ n)) := by |
| 62 | simpa only [OpenFrames.Scheme.Modules.openTopSection, map_pow] using |
| 63 | NegativeTwistTransitions.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization_restrict_transition (R := R) i k j n |
| 64 | have h := OverFrameScalarTransfer.overTrivializationOfRestrictIso_hom_eq_comp_scalar N W b a (r ^ n) hp |
| 65 | dsimp only [a, b] at h |
| 66 | rw [OpenFrames.Scheme.Modules.overTrivializationOfRestrictOpenTrivialization, |
| 67 | OpenFrames.Scheme.Modules.overTrivializationOfRestrictOpenTrivialization] at h |
| 68 | exact h |
| 69 | |
| 70 | theorem exists_coordinateNegativeTwistHom_of_coefficients |
| 71 | (M : (Proj (homogeneousSubmodule σ R)).Modules) (j : σ) (n : ℕ) |
| 72 | (t : ∀ i : σ, Γ(M, MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i)) |
| 73 | (ht : ∀ i k : σ, |
| 74 | M.presheaf.map (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) i k)).op (t i) = |
| 75 | (CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k : |
| 76 | Γ(Proj (homogeneousSubmodule σ R), CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k)) ^ n • |
| 77 | M.presheaf.map (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) i k)).op (t k)) : |
| 78 | ∃ f : TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n ⟶ M, |
| 79 | ∀ i, f.val.app (.op (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i)) |
| 80 | (coordinateHyperplaneIdealModulePowerFrameSection (R := R) i j n) = t i := by |
| 81 | let X := Proj (homogeneousSubmodule σ R) |
| 82 | let N := TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n |
| 83 | let U : σ → X.Opens := MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) |
| 84 | let W : σ → σ → X.Opens := CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) |
| 85 | let e := fun i => coordinateHyperplaneIdealModulePowerOverFrame (R := R) i j n |
| 86 | let f := fun i => FramedLocalHom.framedLocalHom N M (U i) (e i) (t i) |
| 87 | have hf (i k : σ) : |
| 88 | LinearHom.linearHomRestrict X.ringCatSheaf N M |
| 89 | (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) i k)).op (f i) = |
| 90 | LinearHom.linearHomRestrict X.ringCatSheaf N M |
| 91 | (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) i k)).op (f k) := by |
| 92 | dsimp only [f] |
| 93 | rw [FramedLocalHom.framedLocalHom_restrict, FramedLocalHom.framedLocalHom_restrict] |
| 94 | exact FramedLocalHom.framedLocalHom_eq_of_transition N M (W i k) _ _ |
| 95 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k : Γ(X, W i k)) ^ n) _ _ |
| 96 | (coordinateHyperplaneIdealModulePowerOverFrame_transition (R := R) i k j n) (ht i k) |
| 97 | obtain ⟨g, hg⟩ := ModuleHomOverlapGluing.exists_moduleHom_of_overlap_localMaps N M U |
| 98 | (MvPolynomialClosure.MvPolynomial.iSup_coordinateOpen_eq_top (R := R)) W |
| 99 | (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R)) (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R)) |
| 100 | (fun i k => by dsimp only [U, W]; rw [CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_eq]) f hf |
| 101 | refine ⟨g, fun i => ?_⟩ |
| 102 | have hi := congrArg |
| 103 | (fun q => q.val.app (.op (Over.mk (𝟙 (U i)))) |
| 104 | (coordinateHyperplaneIdealModulePowerFrameSection (R := R) i j n)) (hg i) |
| 105 | exact hi.trans (FramedLocalHom.framedLocalHom_apply_frame N M (U i) (e i) (t i)) |
| 106 | |
| 107 | /-- Every chart section is the image of the standard frame under a map from |
| 108 | some actual negative twist. -/ |
| 109 | theorem exists_coordinateNegativeTwistHom_frameSection_eq [Fintype σ] |
| 110 | (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] |
| 111 | (j : σ) (s : Γ(M, MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j)) : |
| 112 | ∃ (n : ℕ) (f : TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j n ⟶ M), |
| 113 | f.val.app (.op (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j)) |
| 114 | (coordinateHyperplaneIdealModulePowerFrameSection (R := R) j j n) = s := by |
| 115 | obtain ⟨n, t, hj, ht⟩ := CoordinateCompatibleExtensions.MvPolynomial.exists_compatible_coordinateCoefficients M j s |
| 116 | obtain ⟨f, hf⟩ := exists_coordinateNegativeTwistHom_of_coefficients M j n t ht |
| 117 | exact ⟨n, f, (hf j).trans hj⟩ |
| 118 | |
| 119 | end MvPolynomial |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistMaps |