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.Cech.RefinementProductCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.RefinementFamilyEquality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.CoverRefinementQuasiIso |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity |
| 5 | |
| 6 | /-! # Cover Refinement Quasi Iso -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.CoverRefinementQuasiIso.Cech |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original full Čech refinement is a quasi-isomorphism when two |
| 13 | affine families cover the same open subset of a separated scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | variable {X Z : Scheme.{u}} |
| 23 | |
| 24 | theorem image_quasiIso (f : Z ⟶ X) [IsOpenImmersion f] [Z.IsSeparated] |
| 25 | {ι κ : Type u} (U : ι → Z.Opens) (V : κ → Z.Opens) |
| 26 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 27 | (M : X.Modules) [M.IsQuasicoherent] |
| 28 | (hU : iSup U = ⊤) (hV : iSup V = ⊤) |
| 29 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) : |
| 30 | QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map (f.opensFunctor.obj ∘ U) |
| 31 | (f.opensFunctor.obj ∘ V) |
| 32 | (Cech.RefinementProductCoordinates.mappedCover f.opensFunctor U V r) M.presheaf) := by |
| 33 | let : ∀ (n : ℕ) (z : Fin (n + 1) → ι), |
| 34 | PreservesLimit (Discrete.functor (U ∘ z)) f.opensFunctor := fun n z => by |
| 35 | change PreservesLimit (Discrete.functor (U ∘ z)) f.isOpenEmbedding.functor |
| 36 | infer_instance |
| 37 | let : ∀ (n : ℕ) (z : Fin (n + 1) → κ), |
| 38 | PreservesLimit (Discrete.functor (V ∘ z)) f.opensFunctor := fun n z => by |
| 39 | change PreservesLimit (Discrete.functor (V ∘ z)) f.isOpenEmbedding.functor |
| 40 | infer_instance |
| 41 | let : QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r |
| 42 | (f.opensFunctor.op ⋙ M.presheaf)) := |
| 43 | Cech.CoverRefinementQuasiIso.quasiIso U V r |
| 44 | ((SheafOfModules.toSheaf Z.ringCatSheaf).obj (M.restrict f)) hU hV |
| 45 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic (M.restrict f) U haU) |
| 46 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic (M.restrict f) V haV) |
| 47 | exact Cech.RefinementProductCoordinates.quasiIso f.opensFunctor U V r M.presheaf |
| 48 | |
| 49 | theorem quasiIso [X.IsSeparated] {ι κ : Type u} |
| 50 | (U : ι → X.Opens) (V : κ → X.Opens) |
| 51 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 52 | (M : X.Modules) [M.IsQuasicoherent] (O : X.Opens) |
| 53 | (hU : iSup U = O) (hV : iSup V = O) |
| 54 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) : |
| 55 | QuasiIso (Cech.CoverRefinement.map U V r M.presheaf) := by |
| 56 | let : O.toScheme.IsSeparated := ⟨by |
| 57 | have h : IsSeparated (O.ι ≫ terminal.from X) := inferInstance |
| 58 | simpa only [terminal.comp_from] using h⟩ |
| 59 | let U' : ι → O.toScheme.Opens := fun i => O.ι ⁻¹ᵁ U i |
| 60 | let V' : κ → O.toScheme.Opens := fun i => O.ι ⁻¹ᵁ V i |
| 61 | let r' : FormalCoproduct.mk κ V' ⟶ FormalCoproduct.mk ι U' := |
| 62 | ⟨r.f, fun i => (Opens.map O.ι.base).map (r.φ i)⟩ |
| 63 | have hU' : iSup U' = ⊤ := by |
| 64 | dsimp only [U'] |
| 65 | rw [← O.ι.preimage_iSup, hU, O.ι_preimage_self] |
| 66 | have hV' : iSup V' = ⊤ := by |
| 67 | dsimp only [V'] |
| 68 | rw [← O.ι.preimage_iSup, hV, O.ι_preimage_self] |
| 69 | have hUi (i : ι) : U i ≤ O := hU ▸ le_iSup U i |
| 70 | have hVi (i : κ) : V i ≤ O := hV ▸ le_iSup V i |
| 71 | have haU' (i : ι) : IsAffineOpen (U' i) := |
| 72 | (haU i).preimage_of_isOpenImmersion O.ι (by simpa using hUi i) |
| 73 | have haV' (i : κ) : IsAffineOpen (V' i) := |
| 74 | (haV i).preimage_of_isOpenImmersion O.ι (by simpa using hVi i) |
| 75 | let := image_quasiIso O.ι U' V' r' M hU' hV' haU' haV' |
| 76 | have heU : O.ι.opensFunctor.obj ∘ U' = U := by |
| 77 | funext i |
| 78 | change O.ι ''ᵁ (O.ι ⁻¹ᵁ U i) = U i |
| 79 | rw [O.ι.image_preimage_eq_opensRange_inf, O.opensRange_ι, inf_eq_right.mpr (hUi i)] |
| 80 | have heV : O.ι.opensFunctor.obj ∘ V' = V := by |
| 81 | funext i |
| 82 | change O.ι ''ᵁ (O.ι ⁻¹ᵁ V i) = V i |
| 83 | rw [O.ι.image_preimage_eq_opensRange_inf, O.opensRange_ι, inf_eq_right.mpr (hVi i)] |
| 84 | exact Cech.RefinementFamilyEquality.Family.quasiIso |
| 85 | (Cech.RefinementProductCoordinates.mappedCover O.ι.opensFunctor U' V' r') |
| 86 | r M.presheaf heU heV rfl |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.CoverRefinementQuasiIso.Cech |