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.ClosedTopology |
| 2 | |
| 3 | /-! # Local Affine -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LocalAffine |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: principal neighborhoods with affine closed image |
| 11 | |
| 12 | Every ambient point of a big crystalline object has a principal |
| 13 | neighborhood whose closed map lands in an affine open of X. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Localization |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ClosedTopology |
| 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 (T : BigCrystallineSite.Object p B J δ f) |
| 26 | |
| 27 | lemma exists_principal_affine (x : Spec (CommRingCat.of T.ring)) : |
| 28 | ∃ (r : T.ring) (C : CommRingCat.{u}) (j : Spec C ⟶ X), |
| 29 | IsOpenImmersion j ∧ r ∉ x.asIdeal ∧ |
| 30 | Set.range (Localization.object T r).mapToX ⊆ Set.range j := by |
| 31 | obtain ⟨y, hy⟩ := ClosedTopology.quotientSpec_surjective T x |
| 32 | obtain ⟨C, j, hj, z, hz⟩ := Scheme.exists_Spec_apply_eq (T.mapToX y) |
| 33 | let : IsOpenImmersion j := hj |
| 34 | have hm : y ∈ T.mapToX ⁻¹' Set.range j := ⟨z, hz⟩ |
| 35 | have hopen : IsOpen (T.mapToX ⁻¹' Set.range j) := |
| 36 | j.isOpenEmbedding.isOpen_range.preimage T.mapToX.continuous |
| 37 | obtain ⟨_, ⟨c, rfl⟩, hc, hsub⟩ := |
| 38 | PrimeSpectrum.isTopologicalBasis_basic_opens.exists_subset_of_mem_open hm hopen |
| 39 | obtain ⟨r, hr⟩ := Ideal.Quotient.mk_surjective c |
| 40 | refine ⟨r, C, j, hj, ?_, ?_⟩ |
| 41 | · rw [← hy] |
| 42 | change Ideal.Quotient.mk T.ideal r ∉ y.asIdeal |
| 43 | rw [hr] |
| 44 | exact hc |
| 45 | · rintro _ ⟨w, rfl⟩ |
| 46 | apply hsub |
| 47 | rw [← hr] |
| 48 | exact ClosedTopology.closedMap_mem_basicOpen T r w |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LocalAffine |