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.CrystallinePrincipal.PrincipalPullback |
| 2 | |
| 3 | /-! # Covers -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.Covers |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: principal crystalline coverings and base change |
| 11 | |
| 12 | Functions generating the unit ideal give a genuine covering family of |
| 13 | principal crystalline localizations. Pulling it back gives the covering |
| 14 | by the images of those functions, with the previously proved pullbacks. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Localization |
| 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 | variable (U : BigCrystallineSite.Object p B J δ f) {ι : Type v} (r : ι → U.ring) |
| 26 | |
| 27 | def presieve : Presieve U := Presieve.ofArrows (fun i => Crystalline.Localization.object U (r i)) (fun i => Crystalline.Localization.hom U (r i)) |
| 28 | |
| 29 | lemma covering (hr : Ideal.span (Set.range r) = ⊤) : presieve U r ∈ BigCrystallineSite.Object.precoverage U := by |
| 30 | constructor |
| 31 | · change (Presieve.ofArrows _ _).map BigCrystallineSite.Object.ambient ∈ Scheme.precoverage IsOpenImmersion _ |
| 32 | rw [Presieve.map_ofArrows, Scheme.ofArrows_mem_precoverage_iff] |
| 33 | refine ⟨?_, fun i => inferInstance⟩ |
| 34 | intro x |
| 35 | have hex : ∃ i, r i ∉ x.asIdeal := by |
| 36 | by_contra! h |
| 37 | have hs : Ideal.span (Set.range r) ≤ x.asIdeal := Ideal.span_le.mpr (by |
| 38 | rintro _ ⟨i, rfl⟩ |
| 39 | exact h i) |
| 40 | rw [hr, top_le_iff] at hs |
| 41 | exact x.isPrime.ne_top hs |
| 42 | obtain ⟨i, hi⟩ := hex |
| 43 | refine ⟨i, ?_⟩ |
| 44 | change x ∈ (BigCrystallineSite.Object.ambient.map (Crystalline.Localization.hom U (r i))).opensRange |
| 45 | rw [Crystalline.Localization.hom_range] |
| 46 | exact hi |
| 47 | · intro V α hα |
| 48 | cases hα with |
| 49 | | mk i => exact Crystalline.Localization.hom_cartesian U (r i) |
| 50 | |
| 51 | lemma coveringSieve (hr : Ideal.span (Set.range r) = ⊤) : |
| 52 | Sieve.generate (presieve U r) ∈ BigCrystallineSite.Object.topology U := |
| 53 | BigCrystallineSite.Object.precoverage.generate_mem_toGrothendieck (covering U r hr) |
| 54 | |
| 55 | variable {U} {V : BigCrystallineSite.Object p B J δ f} (α : V ⟶ U) |
| 56 | |
| 57 | lemma image_generates (hr : Ideal.span (Set.range r) = ⊤) : |
| 58 | Ideal.span (Set.range (fun i => α.ringMap (r i))) = ⊤ := by |
| 59 | have h := congrArg (Ideal.map α.ringMap.toRingHom) hr |
| 60 | rw [Ideal.map_span, ← Set.range_comp, Ideal.map_top] at h |
| 61 | exact h |
| 62 | |
| 63 | lemma basechange_covering (hr : Ideal.span (Set.range r) = ⊤) : |
| 64 | presieve V (fun i => α.ringMap (r i)) ∈ BigCrystallineSite.Object.precoverage V := |
| 65 | covering V _ (image_generates r α hr) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.Covers |