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.TruncatedModel.OpenFactor |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.AmbientMono |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.BaseImage |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ProductMap |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.ChangeOnSliceMap |
| 7 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Products |
| 8 | |
| 9 | /-! # Local Product -/ |
| 10 | |
| 11 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalProduct |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Restricting a model chart to an affine intersection does not change |
| 16 | its crystalline product over a frame mapping into the second chart. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 23 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 24 | [Smooth X.hom] [X.left.IsSeparated] |
| 25 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 26 | (hp : IsPullback f Y.hom X.hom |
| 27 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 28 | (V I : X.left.Opens) (hV : IsAffineOpen V) (hI : IsAffineOpen I) |
| 29 | |
| 30 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 31 | local notation "FV" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.frame p k n X Y f hp V hV |
| 32 | local notation "FI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.frame p k n X Y f hp I hI |
| 33 | local notation "FVI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.frame p k n X Y f hp (V ⊓ I) (hV.inf hI) |
| 34 | |
| 35 | local instance separated : IsSeparated w := by |
| 36 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 37 | infer_instance |
| 38 | |
| 39 | def restriction : FVI ⟶ FV := |
| 40 | FrameFunctor.map p k n X Y f hp (V ⊓ I) V (hV.inf hI) hV inf_le_left |
| 41 | |
| 42 | variable (T : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 43 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k Y) n) |
| 44 | (τ : T ⟶ Truncated.AffineModelFrame.frame p k n X Y f hp I hI) |
| 45 | |
| 46 | include τ in |
| 47 | omit [X.left.IsSeparated] in |
| 48 | theorem base_image : Set.range (FV ⨯ T).obj.mapToX ⊆ (f ⁻¹ᵁ (V ⊓ I) : Set Y.left) := by |
| 49 | have hv := GeometricComparison.Crystalline.BaseImage.CrystallineBaseImage.range_subset (prod.fst : FV ⨯ T ⟶ FV).hom |
| 50 | have hi := GeometricComparison.Crystalline.BaseImage.CrystallineBaseImage.range_subset ((prod.snd : FV ⨯ T ⟶ T) ≫ τ).hom |
| 51 | rw [FrameClosed.range] at hv hi |
| 52 | intro y hy |
| 53 | exact ⟨hv hy, hi hy⟩ |
| 54 | |
| 55 | def factor : FV ⨯ T ⟶ FVI := |
| 56 | ObjectProperty.homMk (OpenFactor.lift p k n X Y f hp (V ⊓ I) V |
| 57 | (hV.inf hI) hV inf_le_left (FV ⨯ T).obj (prod.fst : FV ⨯ T ⟶ FV).hom |
| 58 | (base_image p k n X Y f hp V I hV hI T τ)) |
| 59 | |
| 60 | theorem factor_comp : factor p k n X Y f hp V I hV hI T τ ≫ restriction p k n X Y f hp V I hV hI = |
| 61 | (prod.fst : FV ⨯ T ⟶ FV) := by |
| 62 | apply (BoundedCrystalline.Site.inclusion w n).map_injective |
| 63 | exact OpenFactor.lift_comp p k n X Y f hp (V ⊓ I) V |
| 64 | (hV.inf hI) hV inf_le_left (FV ⨯ T).obj (prod.fst : FV ⨯ T ⟶ FV).hom |
| 65 | (base_image p k n X Y f hp V I hV hI T τ) |
| 66 | |
| 67 | def iso : FVI ⨯ T ≅ FV ⨯ T := by |
| 68 | letI : Mono (restriction p k n X Y f hp V I hV hI) := |
| 69 | GeometricComparison.Bounded.AmbientMono.BoundedAmbientMono.mono _ (OpenFactor.ambient_open p k n X Y f hp |
| 70 | (V ⊓ I) V (hV.inf hI) hV inf_le_left) |
| 71 | exact GeometricComparison.ProductMap.ProductMapOfFactorization.iso (restriction p k n X Y f hp V I hV hI) |
| 72 | (factor p k n X Y f hp V I hV hI T τ) (factor_comp p k n X Y f hp V I hV hI T τ) |
| 73 | |
| 74 | include τ in |
| 75 | theorem map_isIso : IsIso (prod.map (restriction p k n X Y f hp V I hV hI) (𝟙 T)) := |
| 76 | (iso p k n X Y f hp V I hV hI T τ).isIso_hom |
| 77 | |
| 78 | theorem sliceMap_isIso : IsIso |
| 79 | (((Relative.ComplexRestriction.restriction (B := WittVector p k) |
| 80 | (Over.forget FI)).mapHomologicalComplex (.up ℕ)).map |
| 81 | (BoundedFrame.Change.presheafMap (restriction p k n X Y f hp V I hV hI))) := |
| 82 | GeometricComparison.Frame.ChangeOnSliceMap.FrameChangeOnSliceMap.isIso w n FI FV FVI (restriction p k n X Y f hp V I hV hI) |
| 83 | (fun T τ => map_isIso p k n X Y f hp V I hV hI T τ) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalProduct |