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