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.SmoothProper.WittTupleReductionCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittFrameTransitionComposition |
| 3 | |
| 4 | /-! # Witt Tuple Transition Composition -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittTupleTransitionComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every native Witt tuple reduction satisfies the inverse-system composition laws. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.StandardCover OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittFrameFamily.Family |
| 15 | WittTupleReduction |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | private theorem compose_projection {C : Type u} [Category.{v} C] |
| 20 | {A B D E F G : C} {f : A ⟶ B} {g : B ⟶ D} {x : A ⟶ E} {y : B ⟶ F} {z : D ⟶ G} |
| 21 | {a : E ⟶ F} {b : F ⟶ G} {c : E ⟶ G} |
| 22 | (hf : f ≫ y = x ≫ a) (hg : g ≫ z = y ≫ b) (hc : a ≫ b = c) : |
| 23 | (f ≫ g) ≫ z = x ≫ c := by |
| 24 | rw [Category.assoc, hg, ← Category.assoc, hf, Category.assoc, hc] |
| 25 | |
| 26 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 27 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 28 | |
| 29 | local instance separated : IsSeparated (Witt.Crystalline.wittStructureMap p k X) := by |
| 30 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 31 | infer_instance |
| 32 | |
| 33 | theorem identity (n a : ℕ) (t : Fin (a + 1) → StandardCover.Index k X) : WittTupleReduction.morphism p k X n n le_rfl a t = 𝟙 _ := by |
| 34 | let L := BoundedCrystalline.Site.inclusion (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 35 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) n |
| 36 | let c := limit.cone (Discrete.functor (fun d : Fin (a + 1) => WittFrameFamily.Family.frame p k X n (t d))) |
| 37 | let hc : IsLimit (L.mapCone c) := isLimitOfPreserves L (limit.isLimit _) |
| 38 | apply hc.hom_ext |
| 39 | rintro ⟨d⟩ |
| 40 | exact (WittTupleReductionCoordinates.morphism_projection p k X n n le_rfl a t d).trans |
| 41 | ((congrArg (fun f => (Pi.π (fun j => WittFrameFamily.Family.frame p k X n (t j)) d).hom ≫ f) |
| 42 | (WittFrameTransitionComposition.identity p k X n (t d))).trans |
| 43 | ((Category.comp_id _).trans (Category.id_comp _).symm)) |
| 44 | |
| 45 | theorem composition (n m l : ℕ) (hnm : n ≤ m) (hml : m ≤ l) (a : ℕ) (t : Fin (a + 1) → StandardCover.Index k X) : |
| 46 | WittTupleReduction.morphism p k X n m hnm a t ≫ WittTupleReduction.morphism p k X m l hml a t = |
| 47 | WittTupleReduction.morphism p k X n l (hnm.trans hml) a t := by |
| 48 | let L := BoundedCrystalline.Site.inclusion (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 49 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) l |
| 50 | let c := limit.cone (Discrete.functor (fun d : Fin (a + 1) => WittFrameFamily.Family.frame p k X l (t d))) |
| 51 | let hc : IsLimit (L.mapCone c) := isLimitOfPreserves L (limit.isLimit _) |
| 52 | apply hc.hom_ext |
| 53 | rintro ⟨d⟩ |
| 54 | exact (compose_projection |
| 55 | (WittTupleReductionCoordinates.morphism_projection p k X n m hnm a t d) |
| 56 | (WittTupleReductionCoordinates.morphism_projection p k X m l hml a t d) |
| 57 | (WittFrameTransitionComposition.composition p k X n m l hnm hml (t d))).trans |
| 58 | (WittTupleReductionCoordinates.morphism_projection p k X n l (hnm.trans hml) a t d).symm |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittTupleTransitionComposition |