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 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PowerFrameSections |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OpenFrames |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.RankOneMapCoordinates |
| 5 | |
| 6 | /-! # Positive Power Chart Generator -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | /-! The canonical positive-power section is a generator on its distinguished chart. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | universe u |
| 19 | section |
| 20 | |
| 21 | theorem overCoefficient_eq_localCoefficient {X : Scheme.{u}} |
| 22 | (M : X.Modules) (U : X.affineOpens) |
| 23 | (e : M.restrict U.1.ι ≅ Invertible.Scheme.Modules.unitObj U.1.toScheme) |
| 24 | (x : Γ(M, ⊤)) : |
| 25 | FrameSections.overTrivializationCoefficient M U.1 |
| 26 | (Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U.1 e) x = |
| 27 | FrameSections.localTrivializationCoefficient M U e x := by |
| 28 | rw [FrameSectionComparison.overTrivializationCoefficient_eq_local_of_overIso, |
| 29 | OpenFrames.restrictTrivializationOfOverTrivializationOfRestrictIso] |
| 30 | |
| 31 | theorem restrict_eq_coefficient_smul_generator {X : Scheme.{u}} |
| 32 | (M : X.Modules) (U : X.Opens) |
| 33 | (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 34 | (s x : Γ(M, ⊤)) (hs : FrameSections.overTrivializationCoefficient M U e s = 1) : |
| 35 | M.presheaf.map (homOfLE (le_top : U ≤ ⊤)).op x = |
| 36 | FrameSections.overTrivializationCoefficient M U e x • |
| 37 | M.presheaf.map (homOfLE (le_top : U ≤ ⊤)).op s := by |
| 38 | let q := RankOneMapCoordinates.overFrameSectionEquiv M U e |
| 39 | apply q.symm.injective |
| 40 | change FrameSections.overTrivializationCoefficient M U e x = |
| 41 | q.symm (FrameSections.overTrivializationCoefficient M U e x • |
| 42 | M.presheaf.map (homOfLE (le_top : U ≤ ⊤)).op s) |
| 43 | rw [q.symm.map_smul] |
| 44 | change FrameSections.overTrivializationCoefficient M U e x = |
| 45 | FrameSections.overTrivializationCoefficient M U e x * FrameSections.overTrivializationCoefficient M U e s |
| 46 | rw [hs, mul_one] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | namespace MvPolynomial |
| 51 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator |
| 52 | variable {R : Type u} [CommRing R] {σ : Type} |
| 53 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 54 | |
| 55 | def coordinateHyperplanePoleSheafPowerOverFrame (i j : σ) (n : ℕ) : |
| 56 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n).over (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) ≅ |
| 57 | SheafOfModules.unit ((Proj (homogeneousSubmodule σ R)).ringCatSheaf.over |
| 58 | (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i)) := |
| 59 | Invertible.Scheme.Modules.overTrivializationOfRestrictIso |
| 60 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 61 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPowerTrivialization (R := R) i j n) |
| 62 | |
| 63 | theorem coordinateHyperplanePoleSectionPower_coefficient_self (j : σ) (n : ℕ) : |
| 64 | FrameSections.overTrivializationCoefficient (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) |
| 65 | (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) (coordinateHyperplanePoleSheafPowerOverFrame (R := R) j j n) |
| 66 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSectionPower (R := R) j n) = 1 := by |
| 67 | rw [coordinateHyperplanePoleSheafPowerOverFrame, |
| 68 | overCoefficient_eq_localCoefficient _ ⟨_, MvPolynomialClosure.MvPolynomial.coordinateOpen_isAffineOpen j⟩] |
| 69 | unfold FrameSections.localTrivializationCoefficient |
| 70 | rw [PowerFrameSections.MvPolynomial.coordinateHyperplanePoleSectionPower_localTrivializationTopSection, |
| 71 | CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_self] |
| 72 | simp only [FrameSections.affineOpenTopSection, map_one, one_pow, FrameSections.affineOpenAmbientSection] |
| 73 | |
| 74 | theorem coordinateHyperplanePoleSectionPower_generates_chart (j : σ) (n : ℕ) |
| 75 | (x : Γ(TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n, ⊤)) : |
| 76 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n).presheaf.map |
| 77 | (homOfLE (le_top : MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j ≤ ⊤)).op x = |
| 78 | FrameSections.overTrivializationCoefficient (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) |
| 79 | (MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) (coordinateHyperplanePoleSheafPowerOverFrame (R := R) j j n) x • |
| 80 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n).presheaf.map |
| 81 | (homOfLE le_top).op (TwistPowers.MvPolynomial.coordinateHyperplanePoleSectionPower (R := R) j n) := |
| 82 | restrict_eq_coefficient_smul_generator _ _ _ _ x |
| 83 | (coordinateHyperplanePoleSectionPower_coefficient_self j n) |
| 84 | |
| 85 | end MvPolynomial |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator |