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.PolynomialChartFrameCoefficient |
| 2 | |
| 3 | /-! # Projective Chart Polynomial Map -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveChartPolynomialMap.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every affine projective chart is generated by dehomogenized coordinate polynomials. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] |
| 16 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 17 | |
| 18 | def singleProjectiveChartTuple (j : σ) : Fin 1 → ULift.{u} σ := fun _ => ⟨j⟩ |
| 19 | |
| 20 | omit [Fintype σ] in |
| 21 | theorem singleProjectiveChartIntersection (j : σ) : |
| 22 | AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) (singleProjectiveChartTuple j) = |
| 23 | AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j := by |
| 24 | rw [show AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) (singleProjectiveChartTuple j) = |
| 25 | ⨅ k : Fin 1, AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (singleProjectiveChartTuple j k) from |
| 26 | (IsLimit.conePointUniqueUpToIso (limit.isLimit _) (Preorder.isLimitIInf _)).to_eq] |
| 27 | simp only [singleProjectiveChartTuple, AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover, iInf_const] |
| 28 | |
| 29 | omit [Fintype σ] in |
| 30 | theorem singleProjectiveChartCoefficient_bijective (j : σ) : |
| 31 | Function.Bijective (AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartFrameCoefficient.MvPolynomial.coordinateChartCoefficientRingHom (R := R) |
| 32 | (singleProjectiveChartTuple j)) := by |
| 33 | let U := AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j |
| 34 | let V := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) (singleProjectiveChartTuple j) |
| 35 | let h : V ≤ U := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection_le (singleProjectiveChartTuple j) 0 |
| 36 | have hh : IsIso (homOfLE h) := by |
| 37 | have he : homOfLE h = (eqToIso (singleProjectiveChartIntersection (R := R) j)).hom := |
| 38 | Subsingleton.elim _ _ |
| 39 | rw [he] |
| 40 | infer_instance |
| 41 | exact (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseLaurentRingEquiv (R := R) |
| 42 | (singleProjectiveChartTuple j)).bijective.comp |
| 43 | (ConcreteCategory.bijective_of_isIso |
| 44 | ((Proj (homogeneousSubmodule σ R)).presheaf.map (homOfLE h).op)) |
| 45 | |
| 46 | def singleProjectiveChartCoefficientEquiv (j : σ) : |
| 47 | Γ(Proj (homogeneousSubmodule σ R), AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) ≃+* |
| 48 | AddMonoidAlgebra Γ(Spec (.of R), ⊤) |
| 49 | (AlgebraicGeometry.SheafCohomology.Projective.LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid (AlgebraicGeometry.SheafCohomology.Projective.StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun _ : Fin 1 => j))) := |
| 50 | RingEquiv.ofBijective (AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartFrameCoefficient.MvPolynomial.coordinateChartCoefficientRingHom (R := R) |
| 51 | (singleProjectiveChartTuple j)) (singleProjectiveChartCoefficient_bijective j) |
| 52 | |
| 53 | theorem singleProjectiveChartExponent_surjective (j : σ) : |
| 54 | Function.Surjective (AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial.polynomialChartExponent (fun _ : Fin 1 => j)) := by |
| 55 | classical |
| 56 | intro e |
| 57 | have hn (i : {i : σ // i ≠ j}) : 0 ≤ e.val i := by |
| 58 | by_contra h |
| 59 | have hh := e.property i (lt_of_not_ge h) |
| 60 | apply hh |
| 61 | simp only [AlgebraicGeometry.SheafCohomology.Projective.StandardIntersectionRing.MvPolynomial.coordinateTailExponent, Finset.univ_eq_empty, Finset.sum_empty, |
| 62 | Finsupp.zero_apply] |
| 63 | let d : σ →₀ ℕ := Finsupp.equivFunOnFinite.symm |
| 64 | (fun k => if h : k ≠ j then (e.val ⟨k, h⟩).toNat else 0) |
| 65 | refine ⟨d, ?_⟩ |
| 66 | apply Subtype.ext |
| 67 | ext i |
| 68 | change ((d i.val : ℕ) : ℤ) = e.val i |
| 69 | simp only [d, Finsupp.coe_equivFunOnFinite_symm, dite_eq_left i.property] |
| 70 | exact Int.toNat_of_nonneg (hn i) |
| 71 | |
| 72 | theorem singleProjectivePolynomialChart_surjective (j : σ) : |
| 73 | Function.Surjective (AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial.polynomialChartRingHom Γ(Spec (.of R), ⊤) |
| 74 | (fun _ : Fin 1 => j)) := by |
| 75 | intro p |
| 76 | obtain ⟨q, hq⟩ := Finsupp.mapDomain_surjective |
| 77 | (M := Γ(Spec (.of R), ⊤)) (singleProjectiveChartExponent_surjective j) p.coeff |
| 78 | refine ⟨AddMonoidAlgebra.ofCoeff q, ?_⟩ |
| 79 | apply AddMonoidAlgebra.coeff_injective |
| 80 | exact hq |
| 81 | |
| 82 | def projectiveChartPolynomialMap (j : σ) : |
| 83 | MvPolynomial σ Γ(Spec (.of R), ⊤) →+* |
| 84 | Γ(Proj (homogeneousSubmodule σ R), AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) := |
| 85 | (singleProjectiveChartCoefficientEquiv (R := R) j).symm.toRingHom.comp |
| 86 | (AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial.polynomialChartRingHom Γ(Spec (.of R), ⊤) (fun _ : Fin 1 => j)) |
| 87 | |
| 88 | theorem projectiveChartPolynomialMap_surjective (j : σ) : |
| 89 | Function.Surjective (projectiveChartPolynomialMap (R := R) j) := |
| 90 | (singleProjectiveChartCoefficientEquiv (R := R) j).symm.surjective.comp |
| 91 | (singleProjectivePolynomialChart_surjective j) |
| 92 | |
| 93 | theorem projectiveChartPolynomialMap_anchor (j : σ) : |
| 94 | projectiveChartPolynomialMap (R := R) j (X j) = 1 := by |
| 95 | classical |
| 96 | have he : AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial.polynomialChartExponent (fun _ : Fin 1 => j) (Finsupp.single j 1) = 0 := by |
| 97 | apply Subtype.ext |
| 98 | ext i |
| 99 | simp [AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial.polynomialChartExponent, Finsupp.single_eq_of_ne i.property] |
| 100 | apply (singleProjectiveChartCoefficientEquiv (R := R) j).injective |
| 101 | change (singleProjectiveChartCoefficientEquiv (R := R) j) |
| 102 | ((singleProjectiveChartCoefficientEquiv (R := R) j).symm _) = _ |
| 103 | rw [RingEquiv.apply_symm_apply, map_one] |
| 104 | change AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial.polynomialChartRingHom Γ(Spec (.of R), ⊤) (fun _ : Fin 1 => j) |
| 105 | (monomial (Finsupp.single j 1) 1) = 1 |
| 106 | rw [AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial.polynomialChartRingHom_monomial, he] |
| 107 | rfl |
| 108 | |
| 109 | theorem projectiveChartPolynomialMap_section [LinearOrder σ] (j : σ) (n : ℕ) |
| 110 | (x : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n, ⊤)) : |
| 111 | projectiveChartPolynomialMap (R := R) j |
| 112 | (AlgebraicGeometry.SheafCohomology.Projective.DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j n x).val = |
| 113 | AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationCoefficient (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) |
| 114 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) (AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.MvPolynomial.coordinateHyperplanePoleSheafPowerOverFrame j j n) x := by |
| 115 | let a : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) 0 := |
| 116 | ⟨singleProjectiveChartTuple j, fun i k hik => False.elim (by omega)⟩ |
| 117 | apply (singleProjectiveChartCoefficientEquiv (R := R) j).injective |
| 118 | change (singleProjectiveChartCoefficientEquiv (R := R) j) |
| 119 | ((singleProjectiveChartCoefficientEquiv (R := R) j).symm _) = _ |
| 120 | rw [RingEquiv.apply_symm_apply] |
| 121 | exact AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartFrameCoefficient.MvPolynomial.coordinateTwistPolynomial_chartCoefficientRingHom j n x a |
| 122 | |
| 123 | theorem projectiveChartPolynomialMap_section_symm [LinearOrder σ] (j : σ) (n : ℕ) |
| 124 | (p : homogeneousSubmodule σ Γ(Spec (.of R), ⊤) n) : |
| 125 | projectiveChartPolynomialMap (R := R) j p.val = |
| 126 | AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationCoefficient (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) |
| 127 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) (AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.MvPolynomial.coordinateHyperplanePoleSheafPowerOverFrame j j n) |
| 128 | ((AlgebraicGeometry.SheafCohomology.Projective.DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j n).symm p) := by |
| 129 | obtain ⟨x, rfl⟩ := (AlgebraicGeometry.SheafCohomology.Projective.DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j n).surjective p |
| 130 | rw [LinearEquiv.symm_apply_apply] |
| 131 | exact projectiveChartPolynomialMap_section j n x |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveChartPolynomialMap.Construction |