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.BigCrystallineCover |
| 2 | |
| 3 | /-! # Open Presentation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenPresentation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: small presentations over an affine open of X |
| 11 | |
| 12 | If the closed map of a big crystalline object factors through an affine |
| 13 | open of X, its affine polynomial presentation gives an actual morphism |
| 14 | to a small crystalline object over X. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] (k C : Type u) [Field k] [CharP k p] |
| 25 | variable [CommRing C] [Algebra k C] (X : Over (Spec (CommRingCat.of k))) |
| 26 | variable (j : (Presentation.affineScheme k C).left ⟶ X.left) [IsOpenImmersion j] |
| 27 | variable (hj : j ≫ X.hom = (Presentation.affineScheme k C).hom) |
| 28 | |
| 29 | include hj in |
| 30 | omit [IsOpenImmersion j] [CharP k p] in |
| 31 | lemma overWitt : j ≫ (Witt.Crystalline.wittStructureMap p k X) = (Witt.Crystalline.wittStructureMap p k (Presentation.affineScheme k C)) := by |
| 32 | unfold Witt.Crystalline.wittStructureMap |
| 33 | rw [← Category.assoc, hj] |
| 34 | |
| 35 | variable (T : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : (WittVector p k))}) (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X)) |
| 36 | (closedFactor : Spec (CommRingCat.of (T.ring ⧸ T.ideal)) ⟶ (Presentation.affineScheme k C).left) |
| 37 | (ht : closedFactor ≫ j = T.mapToX) |
| 38 | |
| 39 | abbrev affineObject : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : (WittVector p k))}) (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Presentation.affineScheme k C)) where |
| 40 | ring := T.ring |
| 41 | base := T.base |
| 42 | ideal := T.ideal |
| 43 | dividedPowers := T.dividedPowers |
| 44 | baseCompatible := T.baseCompatible |
| 45 | primeNilpotent := T.primeNilpotent |
| 46 | nilIdeal := T.nilIdeal |
| 47 | mapToX := closedFactor |
| 48 | overBase := by |
| 49 | rw [← overWitt p k C X j hj, ← Category.assoc, ht] |
| 50 | exact T.overBase |
| 51 | |
| 52 | variable (n : ℕ) |
| 53 | |
| 54 | abbrev presentation : Site.AffineThickening p (WittVector p k) (Ideal.span {(p : (WittVector p k))}) (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) where |
| 55 | ring := (Presentation.presentationObject p k C n).ring |
| 56 | base := (Presentation.presentationObject p k C n).base |
| 57 | ideal := (Presentation.presentationObject p k C n).ideal |
| 58 | dividedPowers := (Presentation.presentationObject p k C n).dividedPowers |
| 59 | baseCompatible := (Presentation.presentationObject p k C n).baseCompatible |
| 60 | primeNilpotent := (Presentation.presentationObject p k C n).primeNilpotent |
| 61 | nilIdeal := (Presentation.presentationObject p k C n).nilIdeal |
| 62 | openMap := (Presentation.presentationObject p k C n).openMap ≫ j |
| 63 | overBase := by |
| 64 | rw [Category.assoc, overWitt p k C X j hj] |
| 65 | exact (Presentation.presentationObject p k C n).overBase |
| 66 | |
| 67 | omit n in |
| 68 | def presentationMorphism : T ⟶ BigCrystallineSite.fromSmall.obj |
| 69 | (presentation p k C X j hj (BigCrystallineCover.levelBound p k C |
| 70 | (affineObject p k C X j hj T closedFactor ht))) where |
| 71 | ringMap := (BigCrystallineCover.presentationMorphism p k C |
| 72 | (affineObject p k C X j hj T closedFactor ht)).ringMap |
| 73 | overBase := (BigCrystallineCover.presentationMorphism p k C |
| 74 | (affineObject p k C X j hj T closedFactor ht)).overBase |
| 75 | overX := by |
| 76 | let α := BigCrystallineCover.presentationMorphism p k C |
| 77 | (affineObject p k C X j hj T closedFactor ht) |
| 78 | change BigCrystallineSite.Object.closed.map α ≫ ((Presentation.presentationObject p k C _).openMap ≫ j) = T.mapToX |
| 79 | exact (Category.assoc _ _ _).symm.trans |
| 80 | ((congrArg (fun m => m ≫ j) α.overX).trans ht) |
| 81 | |
| 82 | omit n in |
| 83 | include hj ht in |
| 84 | lemma incoming_nonempty : Nonempty (StructuredArrow T |
| 85 | (BigCrystallineSite.fromSmall (p := p) (B := (WittVector p k)) (J := Ideal.span {(p : (WittVector p k))}) (δ := (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k)) (f := (Witt.Crystalline.wittStructureMap p k X)))) := |
| 86 | ⟨StructuredArrow.mk (presentationMorphism p k C X j hj T closedFactor ht)⟩ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenPresentation |