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.FormalGeometry.Completion.Infinitesimal.CechFaces |
| 2 | |
| 3 | /-! # Cech Complex -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.CechComplex.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual infinitesimal base-change comparison is an isomorphism of native Cech complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] (I : Ideal R) {X : Scheme.{u}} |
| 21 | (f : X ⟶ Spec (CommRingCat.of R)) |
| 22 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 23 | |
| 24 | theorem relativeStructureCechComplex_d_succ (q : ℕ) : |
| 25 | (RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).d q (q + 1) = |
| 26 | ∑ k : Fin (q + 2), (-1 : ℤ) ^ (k : ℕ) • RelativeCechFaces.Construction.relativeStructureCechCoface f U q k := by |
| 27 | change (ModuleCat.restrictScalars (Scheme.ΓSpecIso (.of R)).inv.hom).map |
| 28 | ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U).d q (q + 1)) = _ |
| 29 | rw [SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex_d] |
| 30 | simp only [SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechDifferential, Functor.map_sum, Functor.map_zsmul, |
| 31 | RelativeCechFaces.Construction.relativeStructureCechCoface] |
| 32 | |
| 33 | variable [X.IsSeparated] [Finite ι] (hU : ∀ i, IsAffineOpen (U i)) |
| 34 | |
| 35 | theorem infinitesimalCechTermIso_d_succ (n q : ℕ) : |
| 36 | (CechTerms.Construction.infinitesimalCechTermIso I f U hU n q).hom ≫ |
| 37 | (RelativeCechZeroCycles.Construction.relativeStructureCechComplex (pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n) ≫ f) |
| 38 | (fun i => pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n) ⁻¹ᵁ U i)).d q (q + 1) = |
| 39 | (AdicReduction.Construction.adicReductionComplex (I ^ (n + 1)) (RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U)).d q (q + 1) ≫ |
| 40 | (CechTerms.Construction.infinitesimalCechTermIso I f U hU n (q + 1)).hom := by |
| 41 | change _ = (AdicReduction.Construction.adicReductionFunctor (I ^ (n + 1))).map |
| 42 | ((RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).d q (q + 1)) ≫ _ |
| 43 | rw [relativeStructureCechComplex_d_succ, relativeStructureCechComplex_d_succ] |
| 44 | simp only [Functor.map_sum, Functor.map_zsmul, Preadditive.comp_sum, Preadditive.sum_comp, |
| 45 | Preadditive.comp_zsmul, Preadditive.zsmul_comp] |
| 46 | apply Finset.sum_congr rfl |
| 47 | intro k _hk |
| 48 | rw [CechFaces.Construction.infinitesimalCechTermIso_coface] |
| 49 | |
| 50 | /-- Actual reduction of the native Cech complex is the native complex on the actual infinitesimal scheme. -/ |
| 51 | def infinitesimalCechComplexIso (n : ℕ) : |
| 52 | AdicReduction.Construction.adicReductionComplex (I ^ (n + 1)) (RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U) ≅ |
| 53 | RelativeCechZeroCycles.Construction.relativeStructureCechComplex (pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n) ≫ f) |
| 54 | (fun i => pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n) ⁻¹ᵁ U i) := |
| 55 | HomologicalComplex.Hom.isoOfComponents (CechTerms.Construction.infinitesimalCechTermIso I f U hU n) (by |
| 56 | intro i j hij |
| 57 | change i + 1 = j at hij |
| 58 | subst j |
| 59 | exact infinitesimalCechTermIso_d_succ I f U hU n i) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.CechComplex.Construction |