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.GeometricComparison.IntrinsicPadic.ChartImage |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SmoothWittFrame |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PrincipalCovers |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OpenCover |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringObjectsSheafDetection |
| 6 | |
| 7 | /-! # Frame Cover -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameCover.IntrinsicPadicFrameCover |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An actual affine cover of the integral model gives a covering family of |
| 14 | its native bounded crystalline frames on the original special fiber. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] |
| 21 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 22 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (n : ℕ) |
| 25 | |
| 26 | local notation "W" => WittVector p (ZMod p) |
| 27 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 28 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 29 | |
| 30 | theorem exists_map (U : X.left.Opens) (hU : IsAffineOpen U) |
| 31 | (T : IntegralComparison.BigCrystallineSite.Object p W (Ideal.span {(p : W)}) γ w) |
| 32 | (t : Spec (CommRingCat.of (T.ring ⧸ T.ideal)) ⟶ |
| 33 | Spec (CommRingCat.of (AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f U))) |
| 34 | (ht : t ≫ ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp U hU = T.mapToX) |
| 35 | (hn : (p : T.ring) ^ (n + 1) = 0) : |
| 36 | Nonempty (T ⟶ (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n).obj) := by |
| 37 | let : Algebra ℤ_[p] (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U) := |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X U |
| 39 | let : Algebra W (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U) := |
| 40 | WittAlgebra.PadicWittAlgebra.algebra p (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U) |
| 41 | let : Algebra (ZMod p) (AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f U) := |
| 42 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ U) |
| 43 | let := AffineFrame.IntrinsicPadicAffineFrame.source_smooth p X U hU |
| 44 | let := AffineFrame.IntrinsicPadicAffineFrame.source_flat p X U hU |
| 45 | exact IntegralComparison.Open.SmoothWittFrame.exists_map p (ZMod p) |
| 46 | (AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U) (AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f U) |
| 47 | (AffineFrame.IntrinsicPadicAffineFrame.reduction p X Y f U) |
| 48 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_surjective p X Y f hp U hU) |
| 49 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_kernel p X Y f hp U hU) |
| 50 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_base p X Y f hp U) Y |
| 51 | (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp U hU) (ChartImage.IntrinsicPadicOpenFrame.chart_over p X Y f hp U hU) |
| 52 | n T t ht hn |
| 53 | |
| 54 | variable {ι : Type} (U : ι → X.left.Opens) (hU : ∀ i, IsAffineOpen (U i)) |
| 55 | (hcover : ∀ x : X.left, ∃ i, x ∈ U i) |
| 56 | |
| 57 | include hcover in |
| 58 | omit [Smooth X.hom] in |
| 59 | theorem charts_cover (y : Y.left) : ∃ i, y ∈ Set.range (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp (U i) (hU i)) := by |
| 60 | obtain ⟨i, hi⟩ := hcover (f y) |
| 61 | refine ⟨i, ?_⟩ |
| 62 | change y ∈ Set.range (ChartImage.IntrinsicPadicOpenFrame.special_affine p X Y f hp (U i) (hU i)).fromSpec |
| 63 | rw [IsAffineOpen.range_fromSpec] |
| 64 | exact hi |
| 65 | |
| 66 | include hcover in |
| 67 | theorem covering (T : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) : |
| 68 | IntegralComparison.CoveringObjectsSheafDetection.sieve (fun i => ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp (U i) (hU i) n) T ∈ |
| 69 | IntegralComparison.BoundedCrystalline.Site.topology w n T := by |
| 70 | obtain ⟨s, hspan, hs⟩ := @IntegralComparison.Principal.OpenCover.finite_principal_refinement p W inferInstance |
| 71 | (Ideal.span {(p : W)}) γ Y.left w T.obj ι |
| 72 | (fun i => Spec (CommRingCat.of (AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f (U i)))) |
| 73 | (fun i => ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp (U i) (hU i)) |
| 74 | (fun i => ChartImage.IntrinsicPadicOpenFrame.chart_open p X Y f hp (U i) (hU i)) |
| 75 | (charts_cover p X Y f hp U hU hcover) |
| 76 | have hc : Sieve.generate (IntegralComparison.Bounded.PrincipalCovers.presieve T (fun r : s => r.val)) ∈ IntegralComparison.BoundedCrystalline.Site.topology w n T := by |
| 77 | apply IntegralComparison.Bounded.PrincipalCovers.coveringSieve |
| 78 | have he : Set.range (fun r : s => r.val) = (s : Set T.obj.ring) := by |
| 79 | ext a |
| 80 | exact ⟨fun ⟨b, hb⟩ => hb ▸ b.property, fun ha => ⟨⟨a, ha⟩, rfl⟩⟩ |
| 81 | rw [he] |
| 82 | exact hspan |
| 83 | apply (IntegralComparison.BoundedCrystalline.Site.topology w n).superset_covering _ hc |
| 84 | apply (Sieve.generate_le_iff _ _).mpr |
| 85 | intro V α hα |
| 86 | cases hα with |
| 87 | | mk r => |
| 88 | obtain ⟨i, hi⟩ := hs r.val r.property |
| 89 | let L := IntegralComparison.Crystalline.Localization.object T.obj r.val |
| 90 | let j := ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp (U i) (hU i) |
| 91 | let t := IsOpenImmersion.lift j L.mapToX hi |
| 92 | have ht : t ≫ j = L.mapToX := IsOpenImmersion.lift_fac j L.mapToX hi |
| 93 | obtain ⟨a⟩ := exists_map p X Y f hp n (U i) (hU i) L t ht |
| 94 | (IntegralComparison.Bounded.PrincipalCovers.object T r.val).property |
| 95 | exact ⟨i, ⟨ObjectProperty.homMk a⟩⟩ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameCover.IntrinsicPadicFrameCover |