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.NumberTheory.PadicHodge.IntegralComparison.LaurentCechPolynomialAction |
| 2 | |
| 3 | /-! # Laurent Top Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.LaurentTopCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The existing top-cohomology coordinates evaluate a cocycle on the |
| 10 | actual full projective intersection and take its Laurent coefficients. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.LaurentPolynomialAction OAI.NumberTheory.PadicHodge.IntegralComparison.LaurentCechPolynomialAction |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 19 | |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | |
| 22 | def topIndex (n : ℕ) (hn : Fintype.card σ = n + 1) : |
| 23 | AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n := |
| 24 | AlgebraicGeometry.SheafCohomology.Projective.OrderedCechTopSupport.orderedCechTopIndex n (by simpa using hn) |
| 25 | |
| 26 | theorem topIndex_allowed (d : ℤ) (n : ℕ) (hn : Fintype.card σ = n + 1) |
| 27 | (e : AlgebraicGeometry.SheafCohomology.Projective.LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) : |
| 28 | e.IsAllowedOn (fun k => ((topIndex.{u} (σ := σ) n hn).1 k).down) := by |
| 29 | intro i _ |
| 30 | obtain ⟨k, hk⟩ := AlgebraicGeometry.SheafCohomology.Projective.OrderedCechTopSupport.orderedCechTopIndex_surjective n |
| 31 | (show Fintype.card (ULift.{u} σ) = n + 1 by simpa using hn) |
| 32 | (topIndex.{u} n hn) (ULift.up i) |
| 33 | exact ⟨k, congrArg (fun x : ULift.{u} σ => x.down) hk⟩ |
| 34 | |
| 35 | def topAmbient (d : ℤ) (n : ℕ) (hn : Fintype.card σ = n + 1) : |
| 36 | AlgebraicGeometry.SheafCohomology.Projective.LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject (R := R) (σ := σ) d n →ₗ[ |
| 37 | Γ(Spec (CommRingCat.of R), ⊤)] |
| 38 | AddMonoidAlgebra Γ(Spec (CommRingCat.of R), ⊤) (σ →₀ ℤ) := |
| 39 | (LaurentPolynomialAction.ambient Γ(Spec (CommRingCat.of R), ⊤) d |
| 40 | (fun k => ((topIndex.{u} (σ := σ) n hn).1 k).down)).comp |
| 41 | (Pi.π (LaurentCechPolynomialAction.Factor (R := R) d) (topIndex.{u} n hn)).hom |
| 42 | |
| 43 | theorem topAmbient_coefficient (d : ℤ) (n : ℕ) (hn : Fintype.card σ = n + 1) |
| 44 | (x : AlgebraicGeometry.SheafCohomology.Projective.LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject (R := R) (σ := σ) d n) |
| 45 | (e : AlgebraicGeometry.SheafCohomology.Projective.LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) : |
| 46 | (topAmbient (R := R) d n hn x).coeff e.val = |
| 47 | ((Pi.π (LaurentCechPolynomialAction.Factor (R := R) d) (topIndex.{u} n hn)).hom x).coeff |
| 48 | ⟨e, topIndex_allowed d n hn e⟩ := by |
| 49 | have hinj : Function.Injective (fun f : LaurentPolynomialAction.Allowed d |
| 50 | (fun k => ((topIndex.{u} (σ := σ) n hn).1 k).down) => f.val.val) := by |
| 51 | intro e f h |
| 52 | exact Subtype.ext (Subtype.ext h) |
| 53 | exact Finsupp.mapDomain_apply_of_injective hinj _ ⟨e, topIndex_allowed d n hn e⟩ |
| 54 | |
| 55 | theorem fullNegativeTopEquiv_apply (d : ℤ) (n : ℕ) (hn : Fintype.card σ = n + 1) |
| 56 | (s : AlgebraicGeometry.SheafCohomology.Projective.LaurentExceptionalWeights.MvPolynomial.coordinateHomogeneousLaurentFullNegativeCochain.{u, u} (R := R) (σ := σ) d n) |
| 57 | (e : {e : AlgebraicGeometry.SheafCohomology.Projective.LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 58 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}) : |
| 59 | AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentTop.MvPolynomial.coordinateFullNegativeCochainTopEquiv (R := R) d n hn s e = |
| 60 | (s e).val (topIndex.{u} n hn) := by |
| 61 | simp only [AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentTop.MvPolynomial.coordinateFullNegativeCochainTopEquiv, LinearEquiv.piCongrRight_apply, |
| 62 | LinearEquiv.trans_apply, AlgebraicGeometry.SheafCohomology.Projective.OrderedCechTopSupport.orderedCechFullSupportTopEquiv] |
| 63 | rfl |
| 64 | |
| 65 | theorem projection_top (d : ℤ) (n : ℕ) (hn : Fintype.card σ = n + 1) |
| 66 | (x : AlgebraicGeometry.SheafCohomology.Projective.LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject (R := R) (σ := σ) d n) |
| 67 | (e : {e : AlgebraicGeometry.SheafCohomology.Projective.LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 68 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}) : |
| 69 | AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentTop.MvPolynomial.coordinateFullNegativeCochainTopEquiv (R := R) d n hn |
| 70 | (AlgebraicGeometry.SheafCohomology.Projective.LaurentExceptionalWeights.MvPolynomial.coordinateHomogeneousLaurentFullNegativeProjection (R := R) d n x) e = |
| 71 | (topAmbient (R := R) d n hn x).coeff e.val.val := by |
| 72 | rw [fullNegativeTopEquiv_apply, AlgebraicGeometry.SheafCohomology.Projective.LaurentExceptionalWeights.MvPolynomial.coordinateHomogeneousLaurentFullNegativeProjection_apply, |
| 73 | AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent_apply_of_allowed d e.val (topIndex.{u} n hn) |
| 74 | (topIndex_allowed d n hn e.val), topAmbient_coefficient] |
| 75 | |
| 76 | theorem positiveEquiv_projection (j : σ) (d : ℤ) (n : ℕ) |
| 77 | (y : (AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j d).homology (n + 1)) : |
| 78 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentHomology.MvPolynomial.coordinateHomogeneousLaurentPositiveHomologyEquivFullNegativeCycles (R := R) j d n y).val = |
| 79 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentHomology.MvPolynomial.coordinateFullNegativeHomologyProjection (R := R) j d n).hom y := by |
| 80 | obtain ⟨s, hs⟩ := |
| 81 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentHomology.MvPolynomial.coordinateHomogeneousLaurentPositiveHomologyEquivFullNegativeCycles (R := R) j d n).symm.surjective y |
| 82 | subst y |
| 83 | rw [LinearEquiv.apply_symm_apply] |
| 84 | exact (ConcreteCategory.congr_hom |
| 85 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentHomology.MvPolynomial.coordinateFullNegativeCyclesToHomology_projection (R := R) j d n) s).symm |
| 86 | |
| 87 | theorem homology_coordinates (j : σ) (d : ℤ) (n : ℕ) (hn : Fintype.card σ = n + 2) |
| 88 | (z : (AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j d).cycles (n + 1)) |
| 89 | (e : {e : AlgebraicGeometry.SheafCohomology.Projective.LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 90 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}) : |
| 91 | AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentTop.MvPolynomial.coordinateHomogeneousLaurentTopHomologyEquivCoefficients (R := R) j d n hn |
| 92 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j d).homologyπ (n + 1) z) e = |
| 93 | (topAmbient (R := R) d (n + 1) hn |
| 94 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j d).iCycles (n + 1) z)).coeff |
| 95 | e.val.val := by |
| 96 | change AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentTop.MvPolynomial.coordinateFullNegativeCochainTopEquiv (R := R) d (n + 1) hn |
| 97 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentHomology.MvPolynomial.coordinateHomogeneousLaurentPositiveHomologyEquivFullNegativeCycles (R := R) j d n |
| 98 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j d).homologyπ (n + 1) z)).val e = _ |
| 99 | rw [positiveEquiv_projection] |
| 100 | have h := ConcreteCategory.congr_hom |
| 101 | (AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentHomology.MvPolynomial.coordinateFullNegativeHomologyProjection_homologyπ (R := R) j d n) z |
| 102 | change (AlgebraicGeometry.SheafCohomology.Projective.NegativeLaurentHomology.MvPolynomial.coordinateFullNegativeHomologyProjection (R := R) j d n).hom |
| 103 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j d).homologyπ (n + 1) z) = |
| 104 | AlgebraicGeometry.SheafCohomology.Projective.LaurentExceptionalWeights.MvPolynomial.coordinateHomogeneousLaurentFullNegativeProjection (R := R) d (n + 1) |
| 105 | ((AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeights.MvPolynomial.coordinateHomogeneousLaurentOrderedCechComplex (R := R) j d).iCycles (n + 1) z) at h |
| 106 | rw [h] |
| 107 | exact projection_top d (n + 1) hn _ e |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.NumberTheory.PadicHodge.IntegralComparison.LaurentTopCoordinates |