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.ZeroLevel.SmoothLift |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.IdealPDMap |
| 3 | |
| 4 | /-! # Level Frame -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.LevelFrame |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: the original smooth affine chart is a frame at crystalline level zero |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.Frobenius |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k C : Type u) [Field k] [Fintype k] [CharP k p] |
| 21 | [CommRing C] [Algebra k C] |
| 22 | |
| 23 | omit [Fact p.Prime] [Fintype k] in |
| 24 | include k in |
| 25 | theorem prime_zero : (p : C) = 0 := by |
| 26 | simpa only [map_natCast, map_zero] using congrArg (algebraMap k C) (CharP.cast_eq_zero k p) |
| 27 | |
| 28 | def frame : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 29 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 30 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) where |
| 31 | ring := CommRingCat.of C |
| 32 | base := Polynomial.Frobenius.coefficientReduction p k C |
| 33 | ideal := ⊥ |
| 34 | dividedPowers := dividedPowersBot C |
| 35 | baseCompatible := (DividedPower.Transfer.mapToBot _ (Polynomial.Frobenius.coefficientReduction p k C) (by |
| 36 | apply Ideal.span_le.mpr |
| 37 | rintro a (rfl : a = _) |
| 38 | change Polynomial.Frobenius.coefficientReduction p k C (p : WittVector p k) = 0 |
| 39 | rw [map_natCast, prime_zero p k C])).isDPMorphism |
| 40 | primeNilpotent := ⟨1, (pow_one (p : C)).trans (prime_zero p k C)⟩ |
| 41 | nilIdeal := fun a ha => by rw [Ideal.mem_bot.mp ha]; exact ⟨1, pow_one 0⟩ |
| 42 | mapToX := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (⊥ : Ideal C))) |
| 43 | overBase := by |
| 44 | rw [Crystalline.Presentation.affine_wittStructureMap] |
| 45 | rfl |
| 46 | |
| 47 | def boundedFrame : BoundedCrystalline.Site.Objects (p := p) |
| 48 | (J := Ideal.span {(p : WittVector p k)}) |
| 49 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 50 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) 0 := |
| 51 | ⟨frame p k C, (pow_one (p : C)).trans (prime_zero p k C)⟩ |
| 52 | |
| 53 | variable (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 54 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 55 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 56 | |
| 57 | def mapOfLift (l : C →+* U.ring) |
| 58 | (hl : (Ideal.Quotient.mk U.ideal).comp l = BigCrystallineCover.closedRingMap p k C U) |
| 59 | (hb : l.comp (Polynomial.Frobenius.coefficientReduction p k C) = U.base) : U ⟶ frame p k C where |
| 60 | ringMap := Zero.IdealPDMap.map U.dividedPowers l |
| 61 | overBase := hb |
| 62 | overX := by |
| 63 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U (frame p k C) |
| 64 | (Zero.IdealPDMap.map U.dividedPowers l))) ≫ |
| 65 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (⊥ : Ideal C))) = U.mapToX |
| 66 | rw [← Spec.map_comp] |
| 67 | have hc : (BigCrystallineSite.Object.quotientMap U (frame p k C) (Zero.IdealPDMap.map U.dividedPowers l)).comp |
| 68 | (Ideal.Quotient.mk (⊥ : Ideal C)) = BigCrystallineCover.closedRingMap p k C U := hl |
| 69 | change Spec.map (CommRingCat.ofHom ((BigCrystallineSite.Object.quotientMap U (frame p k C) |
| 70 | (Zero.IdealPDMap.map U.dividedPowers l)).comp (Ideal.Quotient.mk (⊥ : Ideal C)))) = U.mapToX |
| 71 | rw [hc] |
| 72 | exact BigCrystallineCover.closedRingMap_spec p k C U |
| 73 | |
| 74 | theorem exists_map [Algebra.Smooth k C] (h : (p : U.ring) = 0) : Nonempty (U ⟶ frame p k C) := by |
| 75 | obtain ⟨l, hl, hb⟩ := SmoothLift.exists_lift p k C U h |
| 76 | refine ⟨mapOfLift p k C U l hl ?_⟩ |
| 77 | change l.comp ((algebraMap k C).comp WittVector.constantCoeff) = U.base |
| 78 | rw [← RingHom.comp_assoc, hb, Bounded.WittBase.residueBase_constantCoeff] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.LevelFrame |