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.Affine.MorphismOrdinaryCechCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.TripleSquare |
| 3 | |
| 4 | /-! # Morphism Ordinary Cech Total -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.MorphismOrdinaryCechTotal.Ordinary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original affine 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 | universe u |
| 16 | variable (R : Type u) [CommRing R] |
| 17 | {X Y : Over (Spec (CommRingCat.of R))} [X.left.IsSeparated] [Y.left.IsSeparated] |
| 18 | (f : X ⟶ Y) |
| 19 | {ι κ : Type} (U : ι → AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts f.left) (V : κ → Y.left.affineOpens) |
| 20 | (r : FormalCoproduct.mk ι ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target f.left).obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 21 | |
| 22 | local instance source_preserves (n : ℕ) (t : Fin (n + 1) → ι) : |
| 23 | PreservesLimit (Discrete.functor (U ∘ t)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismOrdinaryForms.AffineMorphismOrdinaryForms.sourceOpens R f) := |
| 24 | GeometricComparison.Semilattice.FiniteProductPreservation.SemilatticeFiniteProductPreservation.preserves |
| 25 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismOrdinaryForms.AffineMorphismOrdinaryForms.sourceOpens R f) (fun _ _ => rfl) (U ∘ t) |
| 26 | |
| 27 | local instance cover_preserves (n : ℕ) (t : Fin (n + 1) → κ) : |
| 28 | PreservesLimit (Discrete.functor (V ∘ t)) (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion Y.left) := |
| 29 | AlgebraicGeometry.Crystalline.Cohomology.Affine.OpenFiniteProductPreservation.AffineOpenFiniteProductPreservation.inclusion_preserves Y.left (V ∘ t) |
| 30 | |
| 31 | def refinement := HomologicalComplex₂.total.map |
| 32 | (MorphismOrdinaryCechCoordinates.Ordinary.refinement R f U V r) (.up ℕ) |
| 33 | def geometricMap := HomologicalComplex₂.total.map |
| 34 | (MorphismOrdinaryCechCoordinates.Ordinary.geometricMap R f U) (.up ℕ) |
| 35 | def sourceIso := HomologicalComplex₂.total.mapIso |
| 36 | (IndexedOrdinaryCech.Ordinary.bicomplexIso R X (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismOrdinaryForms.AffineMorphismOrdinaryForms.sourceOpens R f) U ) (.up ℕ) |
| 37 | def targetIso := HomologicalComplex₂.total.mapIso (IndexedOrdinaryCech.Ordinary.bicomplexIso R Y (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion Y.left) V) (.up ℕ) |
| 38 | def directMap := HomologicalComplex₂.total.map (MorphismOrdinaryCechCoordinates.Ordinary.directMap R f U V r) (.up ℕ) |
| 39 | |
| 40 | theorem total : refinement R f U V r ≫ geometricMap R f U ≫ (sourceIso R f U).hom = |
| 41 | (targetIso R V).hom ≫ directMap R f U V r := |
| 42 | GeometricComparison.Functor.TripleSquare.FunctorTripleSquare.square |
| 43 | (HomologicalComplex₂.totalFunctor (ModuleCat.{u} R) (.up ℕ) (.up ℕ) (.up ℕ)) |
| 44 | (MorphismOrdinaryCechCoordinates.Ordinary.refinement R f U V r) |
| 45 | (MorphismOrdinaryCechCoordinates.Ordinary.geometricMap R f U) |
| 46 | (IndexedOrdinaryCech.Ordinary.bicomplexIso R X (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismOrdinaryForms.AffineMorphismOrdinaryForms.sourceOpens R f) U ).hom |
| 47 | (IndexedOrdinaryCech.Ordinary.bicomplexIso R Y (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion Y.left) V).hom |
| 48 | (MorphismOrdinaryCechCoordinates.Ordinary.directMap R f U V r) |
| 49 | (MorphismOrdinaryCechCoordinates.Ordinary.bicomplex R f U V r) |
| 50 | |
| 51 | theorem refinement_component (q : ℕ) : (GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.map (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target f.left) U V r |
| 52 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (IndexedOrdinaryCech.Ordinary.diagram R Y (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion Y.left)))).f q = |
| 53 | (refinement R f U V r).f q := rfl |
| 54 | |
| 55 | theorem geometric_component (q : ℕ) : |
| 56 | ((GeometricComparison.CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor (NonemptyCechNerve.nerve U)).map |
| 57 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismOrdinaryForms.AffineMorphismOrdinaryForms.transformation R f)).f q = (geometricMap R f U).f q := rfl |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.MorphismOrdinaryCechTotal.Ordinary |