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.GeometricComparison.Affine.PairQuotientCechCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.TripleSquare |
| 3 | |
| 4 | /-! # Pair Quotient Cech Total -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.PairQuotientCechTotal.AffinePairQuotientCechTotal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original affine quotient total coordinates preserve the actual |
| 11 | geometric pullback through the common affine-pair cover. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (R : Type) [CommRing R] |
| 16 | {X Y : Over (Spec (CommRingCat.of R))} [X.left.IsSeparated] [Y.left.IsSeparated] |
| 17 | (f : X ⟶ Y) (I : Ideal R) |
| 18 | {ι κ : Type} (U : ι → MapPairs.AffineMapPairs.Charts f.left) (V : κ → Y.left.affineOpens) |
| 19 | (r : FormalCoproduct.mk ι ((MapPairs.AffineMapPairs.target f.left).obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 20 | |
| 21 | local instance source_preserves (n : ℕ) (t : Fin (n + 1) → ι) : |
| 22 | PreservesLimit (Discrete.functor (U ∘ t)) (PairOrdinaryForms.AffinePairOrdinaryForms.sourceOpens R f) := |
| 23 | Semilattice.FiniteProductPreservation.SemilatticeFiniteProductPreservation.preserves |
| 24 | (PairOrdinaryForms.AffinePairOrdinaryForms.sourceOpens R f) (fun _ _ => rfl) (U ∘ t) |
| 25 | |
| 26 | def refinement := HomologicalComplex₂.total.map |
| 27 | (PairQuotientCechCoordinates.AffinePairQuotientCechCoordinates.refinement R f I U V r) (.up ℕ) |
| 28 | def geometricMap := HomologicalComplex₂.total.map |
| 29 | (PairQuotientCechCoordinates.AffinePairQuotientCechCoordinates.geometricMap R f I U) (.up ℕ) |
| 30 | def sourceIso := HomologicalComplex₂.total.mapIso |
| 31 | (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.bicomplexIso R X (PairOrdinaryForms.AffinePairOrdinaryForms.sourceOpens R f) U I) (.up ℕ) |
| 32 | def targetIso := HomologicalComplex₂.total.mapIso (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.bicomplexIso R Y V I) (.up ℕ) |
| 33 | def directMap := HomologicalComplex₂.total.map (PairQuotientCechCoordinates.AffinePairQuotientCechCoordinates.directMap R f I U V r) (.up ℕ) |
| 34 | |
| 35 | theorem total : refinement R f I U V r ≫ geometricMap R f I U ≫ (sourceIso R f I U).hom = |
| 36 | (targetIso R I V).hom ≫ directMap R f I U V r := |
| 37 | Functor.TripleSquare.FunctorTripleSquare.square |
| 38 | (HomologicalComplex₂.totalFunctor (ModuleCat.{0} R) (.up ℕ) (.up ℕ) (.up ℕ)) |
| 39 | (PairQuotientCechCoordinates.AffinePairQuotientCechCoordinates.refinement R f I U V r) |
| 40 | (PairQuotientCechCoordinates.AffinePairQuotientCechCoordinates.geometricMap R f I U) |
| 41 | (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.bicomplexIso R X (PairOrdinaryForms.AffinePairOrdinaryForms.sourceOpens R f) U I).hom |
| 42 | (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.bicomplexIso R Y V I).hom |
| 43 | (PairQuotientCechCoordinates.AffinePairQuotientCechCoordinates.directMap R f I U V r) |
| 44 | (PairQuotientCechCoordinates.AffinePairQuotientCechCoordinates.bicomplex R f I U V r) |
| 45 | |
| 46 | theorem refinement_component (q : ℕ) : (CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.map (MapPairs.AffineMapPairs.target f.left) U V r |
| 47 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.diagram R Y I))).f q = |
| 48 | (refinement R f I U V r).f q := rfl |
| 49 | |
| 50 | theorem geometric_component (q : ℕ) : |
| 51 | ((CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor (IntegralComparison.NonemptyCechNerve.nerve U)).map |
| 52 | (PairQuotientPullback.AffinePairQuotientPullback.transformation R f I)).f q = (geometricMap R f I U).f q := rfl |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.PairQuotientCechTotal.AffinePairQuotientCechTotal |