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.TwistCechFactors |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.IntegerTwistTransitions |
| 9 | |
| 10 | /-! # Twist Cech First Frame -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistCechFirstFrame.MvPolynomial |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.MvPolynomial |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 19 | universe u |
| 20 | variable {R : Type u} {σ : Type} [CommRing R] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | |
| 23 | /-- Deleting the first Cech entry changes the anchor frame by the restricted |
| 24 | integer power of the standard-chart transition unit. -/ |
| 25 | theorem coordinateHyperplaneTwistCechTrivialization_restrict_delete_zero |
| 26 | [LinearOrder σ] {n : ℕ} |
| 27 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 28 | (j : σ) (d : ℤ) : |
| 29 | (TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization (R := R) a.1 j d).hom = |
| 30 | (OpenFrames.Scheme.Modules.restrictOpenTrivialization |
| 31 | (TwistCechFactors.MvPolynomial.coordinateOpenCechDelete_le (R := R) a 0) |
| 32 | (TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization |
| 33 | (R := R) (a.delete 0).1 j d)).hom ≫ |
| 34 | UnitScalar.unitEndomorphismOfTopSection |
| 35 | ((TwistCechFactors.MvPolynomial.coordinateOpenCechFirstTransitionTopUnit (R := R) a ^ d : |
| 36 | Γ((StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme, |
| 37 | (⊤ : (StandardCech.MvPolynomial.coordinateOpenCechIntersection |
| 38 | (R := R) a.1).toScheme.Opens))ˣ) : |
| 39 | Γ((StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme, |
| 40 | (⊤ : (StandardCech.MvPolynomial.coordinateOpenCechIntersection |
| 41 | (R := R) a.1).toScheme.Opens))) := by |
| 42 | let i := (a.1 0).down |
| 43 | let k := (a.1 1).down |
| 44 | let U := CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k |
| 45 | let V := StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1 |
| 46 | let hVU := TwistCechFactors.MvPolynomial.coordinateOpenCechIntersection_le_firstOverlap (R := R) a |
| 47 | let eI := OpenFrames.Scheme.Modules.restrictOpenTrivialization |
| 48 | (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) i k) |
| 49 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwistTrivialization (R := R) i j d) |
| 50 | let eK := OpenFrames.Scheme.Modules.restrictOpenTrivialization |
| 51 | (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) i k) |
| 52 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwistTrivialization (R := R) k j d) |
| 53 | let r : Γ(Proj (homogeneousSubmodule σ R), U) := |
| 54 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k ^ d : |
| 55 | Γ(Proj (homogeneousSubmodule σ R), U)ˣ) : |
| 56 | Γ(Proj (homogeneousSubmodule σ R), U)) |
| 57 | have hOverlap : eI.hom = eK.hom ≫ |
| 58 | UnitScalar.unitEndomorphismOfTopSection |
| 59 | (OpenFrames.Scheme.Modules.openTopSection U r) := by |
| 60 | rw [← TwistCechFactors.MvPolynomial.coordinateOpenTransitionTopUnit_zpow_coe_aux] |
| 61 | exact IntegerTwistTransitions.MvPolynomial.coordinateHyperplaneTwistTrivialization_restrict_transition |
| 62 | (R := R) i k j d |
| 63 | have hV := TwistCechFactors.MvPolynomial.restrictOpenTrivialization_hom_eq_comp_scalar_aux |
| 64 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := R) j d) hVU eI eK r hOverlap |
| 65 | have hIFrame : |
| 66 | TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization (R := R) a.1 j d = |
| 67 | OpenFrames.Scheme.Modules.restrictOpenTrivialization hVU eI := by |
| 68 | rw [TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization] |
| 69 | dsimp only [eI] |
| 70 | rw [OpenFrameTransitivity.Scheme.Modules.restrictOpenTrivialization_comp] |
| 71 | have hKFrame : |
| 72 | OpenFrames.Scheme.Modules.restrictOpenTrivialization |
| 73 | (TwistCechFactors.MvPolynomial.coordinateOpenCechDelete_le (R := R) a 0) |
| 74 | (TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization |
| 75 | (R := R) (a.delete 0).1 j d) = |
| 76 | OpenFrames.Scheme.Modules.restrictOpenTrivialization hVU eK := by |
| 77 | rw [TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization] |
| 78 | dsimp only [eK] |
| 79 | rw [OpenFrameTransitivity.Scheme.Modules.restrictOpenTrivialization_comp, |
| 80 | OpenFrameTransitivity.Scheme.Modules.restrictOpenTrivialization_comp] |
| 81 | dsimp only [k] |
| 82 | change OpenFrames.Scheme.Modules.restrictOpenTrivialization _ |
| 83 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwistTrivialization |
| 84 | (R := R) (a.1 1).down j d) = |
| 85 | OpenFrames.Scheme.Modules.restrictOpenTrivialization _ |
| 86 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwistTrivialization |
| 87 | (R := R) (a.1 1).down j d) |
| 88 | rfl |
| 89 | rw [hIFrame, hKFrame, |
| 90 | TwistCechFactors.MvPolynomial.coordinateOpenCechFirstTransitionTopUnit_zpow_coe] |
| 91 | exact hV |
| 92 | |
| 93 | /-- Every noninitial Cech face is ordinary restriction in the chosen twist |
| 94 | coordinates. -/ |
| 95 | theorem coordinateHyperplaneTwistBaseCechFactorIsoUnit_naturality_delete_of_ne_zero |
| 96 | [LinearOrder σ] {n : ℕ} |
| 97 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 98 | (k : Fin (n + 2)) (hk : k ≠ 0) (j : σ) (d : ℤ) : |
| 99 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf |
| 100 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 101 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := R) j d)).map |
| 102 | (StandardCech.MvPolynomial.coordinateOpenCechDelete (R := R) a k).op ≫ |
| 103 | (TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistBaseCechFactorIsoUnit |
| 104 | (R := R) a.1 j d).hom = |
| 105 | (TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistBaseCechFactorIsoUnit |
| 106 | (R := R) (a.delete k).1 j d).hom ≫ |
| 107 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf |
| 108 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 109 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R)))).map |
| 110 | (StandardCech.MvPolynomial.coordinateOpenCechDelete (R := R) a k).op := by |
| 111 | let M := TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := R) j d |
| 112 | let U := StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) (a.delete k).1 |
| 113 | let V := StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1 |
| 114 | let hVU := TwistCechFactors.MvPolynomial.coordinateOpenCechDelete_le (R := R) a k |
| 115 | let eU := Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U |
| 116 | (TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization (R := R) (a.delete k).1 j d) |
| 117 | have hframe := |
| 118 | TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization_restrict_delete_of_ne_zero |
| 119 | (R := R) a k hk j d |
| 120 | have hover : |
| 121 | Invertible.Scheme.Modules.overTrivializationOfRestrictIso M V |
| 122 | (TwistCechFactors.MvPolynomial.coordinateHyperplaneTwistCechTrivialization (R := R) a.1 j d) = |
| 123 | Dual.SheafOfModules.restrictOverTrivialization |
| 124 | (Proj (homogeneousSubmodule σ R)).ringCatSheaf M U eU |
| 125 | (Over.mk (homOfLE hVU)) := by |
| 126 | rw [← hframe] |
| 127 | exact OpenFrames.Scheme.Modules.overTrivializationOfRestrictOpenTrivialization hVU _ |
| 128 | change (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf |
| 129 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) M).map (homOfLE hVU).op ≫ |
| 130 | (TwistCechFactors.MvPolynomial.baseModulePresheafObjIsoUnitOfOverIso |
| 131 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) M V _).hom = |
| 132 | (TwistCechFactors.MvPolynomial.baseModulePresheafObjIsoUnitOfOverIso |
| 133 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) M U eU).hom ≫ |
| 134 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf |
| 135 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 136 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R)))).map |
| 137 | (homOfLE hVU).op |
| 138 | rw [hover] |
| 139 | exact TwistCechFactors.MvPolynomial.baseModulePresheafObjIsoUnitOfOverIso_naturality |
| 140 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) M hVU eU |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistCechFirstFrame.MvPolynomial |