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.Crystalline.Cartesian |
| 2 | |
| 3 | /-! # Coverings -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Coverings |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: functoriality of crystalline covering families |
| 11 | |
| 12 | The inclusion of the small site and postcomposition on the big site preserve |
| 13 | the actual covering families, including the cartesian closed subschemes. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Site |
| 22 | |
| 23 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 24 | variable {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 25 | |
| 26 | instance fromSmall_faithful : |
| 27 | (BigCrystallineSite.fromSmall (p := p) (B := B) (J := J) (δ := δ) (f := f)).Faithful where |
| 28 | map_injective h := Site.AffineThickening.Hom.ext _ _ (congrArg BigCrystallineSite.Object.Hom.ringMap h) |
| 29 | |
| 30 | instance fromSmall_full : |
| 31 | (BigCrystallineSite.fromSmall (p := p) (B := B) (J := J) (δ := δ) (f := f)).Full where |
| 32 | map_surjective α := ⟨{ ringMap := α.ringMap, overBase := α.overBase, overX := α.overX }, rfl⟩ |
| 33 | |
| 34 | lemma fromSmall_ambient_presieve {U : Site.AffineThickening p B J δ f} (R : Presieve U) : |
| 35 | (R.map BigCrystallineSite.fromSmall).map BigCrystallineSite.Object.ambient = R.map Site.AffineThickening.ambient := by |
| 36 | obtain ⟨ι, V, α, rfl⟩ := R.exists_eq_ofArrows |
| 37 | simp only [Presieve.map_ofArrows] |
| 38 | rfl |
| 39 | |
| 40 | lemma fromSmall_preserves_coverings : |
| 41 | Site.AffineThickening.precoverage (p := p) (B := B) (J := J) (δB := δ) (f := f) ≤ |
| 42 | BigCrystallineSite.Object.precoverage.comap BigCrystallineSite.fromSmall := by |
| 43 | intro U R hR |
| 44 | change (R.map BigCrystallineSite.fromSmall).map BigCrystallineSite.Object.ambient ∈ Scheme.precoverage IsOpenImmersion _ ∧ _ |
| 45 | refine ⟨?_, ?_⟩ |
| 46 | · rw [fromSmall_ambient_presieve] |
| 47 | exact hR |
| 48 | · intro V α hα |
| 49 | cases hα with |
| 50 | | of hα => |
| 51 | have : IsOpenImmersion (Site.AffineThickening.ambient.map _) := hR.2 (Presieve.map.of hα) |
| 52 | exact Cartesian.small_cover_cartesian _ |
| 53 | |
| 54 | variable {Y : Scheme.{u}} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 55 | variable (g : X ⟶ Y) (hg : g ≫ fY = f) |
| 56 | |
| 57 | instance postcompose_faithful : |
| 58 | (BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg).Faithful where |
| 59 | map_injective {U V} α β h := by |
| 60 | have he := congrArg (fun t : (BigCrystallineSite.postcompose g hg).obj U ⟶ (BigCrystallineSite.postcompose g hg).obj V => t.ringMap) h |
| 61 | exact BigCrystallineSite.Object.Hom.ext U V he |
| 62 | |
| 63 | lemma postcompose_ambient_presieve {U : BigCrystallineSite.Object p B J δ f} (R : Presieve U) : |
| 64 | (R.map (BigCrystallineSite.postcompose g hg)).map BigCrystallineSite.Object.ambient = R.map BigCrystallineSite.Object.ambient := by |
| 65 | obtain ⟨ι, V, α, rfl⟩ := R.exists_eq_ofArrows |
| 66 | simp only [Presieve.map_ofArrows] |
| 67 | rfl |
| 68 | |
| 69 | lemma postcompose_preserves_coverings : |
| 70 | BigCrystallineSite.Object.precoverage (p := p) (J := J) (δ := δ) (f := f) ≤ |
| 71 | BigCrystallineSite.Object.precoverage.comap (BigCrystallineSite.postcompose g hg) := by |
| 72 | intro U R hR |
| 73 | refine ⟨?_, ?_⟩ |
| 74 | · rw [postcompose_ambient_presieve] |
| 75 | exact hR.1 |
| 76 | · intro V α hα |
| 77 | cases hα with |
| 78 | | of hα => exact hR.2 _ hα |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Coverings |