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.ProperAffineCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Open.FiniteFrame |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OpenCover |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Small.CrystallineLocalization |
| 5 | |
| 6 | /-! # Proper Crystalline Frames -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProperCrystallineFrames |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: a fixed finite family of charts supplies global crystalline frames |
| 14 | |
| 15 | For a proper scheme, choose finite polynomial generators once on its |
| 16 | finite affine cover. Every original crystalline object has a finite |
| 17 | principal covering whose members map into frames on these fixed charts. |
| 18 | The construction uses the original crystalline objects and morphisms. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProperAffineCover OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 24 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Small.CrystallineLocalization OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 29 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] |
| 30 | |
| 31 | def affineChartMap (i : (ProperAffineCover.cover X.hom).I₀) : |
| 32 | (Crystalline.Presentation.affineScheme k (ProperAffineCover.coordinateRing X.hom i)).left ⟶ X.left := ProperAffineCover.chartMap X.hom i |
| 33 | |
| 34 | instance affineChartMap_open (i : (ProperAffineCover.cover X.hom).I₀) : IsOpenImmersion (affineChartMap k X i) := |
| 35 | ProperAffineCover.chartMap_open X.hom i |
| 36 | |
| 37 | omit [Fintype k] in |
| 38 | theorem affineChartMap_over (i : (ProperAffineCover.cover X.hom).I₀) : |
| 39 | affineChartMap k X i ≫ X.hom = (Crystalline.Presentation.affineScheme k (ProperAffineCover.coordinateRing X.hom i)).hom := |
| 40 | ProperAffineCover.chartMap_over X.hom i |
| 41 | |
| 42 | /-- A fixed finite affine cover with finite polynomial coordinates controls every |
| 43 | original crystalline object after a finite principal refinement. -/ |
| 44 | theorem exists_frames : |
| 45 | ∃ (σ : (ProperAffineCover.cover X.hom).I₀ → Type u) (_ : ∀ i, Fintype (σ i)) |
| 46 | (x : ∀ i, σ i → ProperAffineCover.coordinateRing X.hom i) |
| 47 | (hx : ∀ i, Function.Surjective |
| 48 | (MvPolynomial.aeval (x i) : MvPolynomial (σ i) k →ₐ[k] ProperAffineCover.coordinateRing X.hom i)), |
| 49 | ∀ U : Witt.Crystalline.CrystallineObject p k X, |
| 50 | ∃ s : Finset U.ring, Ideal.span (s : Set U.ring) = ⊤ ∧ |
| 51 | Small.CrystallineLocalization.smallPresieve U (fun r : s => r.val) ∈ Crystalline.Site.AffineThickening.precoverage U ∧ |
| 52 | ∀ r ∈ s, ∃ (i : (ProperAffineCover.cover X.hom).I₀) (n : ℕ), |
| 53 | Nonempty (Small.CrystallineLocalization.smallObject U r ⟶ Open.FiniteFrame.frame p k |
| 54 | (ProperAffineCover.coordinateRing X.hom i) (σ i) (x i) (hx i) X |
| 55 | (affineChartMap k X i) (affineChartMap_over k X i) n) := by |
| 56 | choose σ hσ x hx using ProperAffineCover.chart_generators X.hom |
| 57 | refine ⟨σ, hσ, x, hx, ?_⟩ |
| 58 | intro U |
| 59 | have hcover : ∀ z : X.left, ∃ i, z ∈ Set.range (ProperAffineCover.chartMap X.hom i) := by |
| 60 | intro z |
| 61 | have hz : z ∈ (⨆ i, (ProperAffineCover.chartMap X.hom i).opensRange : X.left.Opens) := by |
| 62 | rw [ProperAffineCover.chartMaps_cover] |
| 63 | trivial |
| 64 | exact (TopologicalSpace.Opens.mem_iSup.mp hz) |
| 65 | obtain ⟨s, hspan, hs⟩ := Principal.OpenCover.finite_principal_refinement (BigCrystallineSite.fromSmall.obj U) |
| 66 | (fun i => Spec (ProperAffineCover.coordinateRing X.hom i)) (ProperAffineCover.chartMap X.hom) hcover |
| 67 | change Finset U.ring at s |
| 68 | change Ideal.span (s : Set U.ring) = ⊤ at hspan |
| 69 | refine ⟨s, hspan, ?_, ?_⟩ |
| 70 | · apply Small.CrystallineLocalization.small_covering |
| 71 | have he : Set.range (fun r : s => r.val) = (s : Set U.ring) := by |
| 72 | ext a |
| 73 | constructor |
| 74 | · rintro ⟨b, rfl⟩ |
| 75 | exact b.property |
| 76 | · intro ha |
| 77 | exact ⟨⟨a, ha⟩, rfl⟩ |
| 78 | rw [he] |
| 79 | exact hspan |
| 80 | intro r hr |
| 81 | obtain ⟨i, hi⟩ := hs r hr |
| 82 | let V := Small.CrystallineLocalization.smallObject U r |
| 83 | let j : (Crystalline.Presentation.affineScheme k (ProperAffineCover.coordinateRing X.hom i)).left ⟶ X.left := ProperAffineCover.chartMap X.hom i |
| 84 | have : IsOpenImmersion j := ProperAffineCover.chartMap_open X.hom i |
| 85 | have hj : j ≫ X.hom = (Crystalline.Presentation.affineScheme k (ProperAffineCover.coordinateRing X.hom i)).hom := ProperAffineCover.chartMap_over X.hom i |
| 86 | have hv : Set.range V.openMap ⊆ Set.range j := hi |
| 87 | let t := IsOpenImmersion.lift j V.openMap hv |
| 88 | have ht : t ≫ j = V.openMap := IsOpenImmersion.lift_fac j V.openMap hv |
| 89 | obtain ⟨n, hn⟩ := Open.FiniteFrame.exists_presentation p k (ProperAffineCover.coordinateRing X.hom i) |
| 90 | (σ i) (x i) (hx i) X j hj V t ht |
| 91 | exact ⟨i, n, hn⟩ |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProperCrystallineFrames |