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.GeometricComparison.CharacteristicDividedFrobenius |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.WittPrime |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.PrimeZero |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.PrimeFieldSchemeFrobenius |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence |
| 6 | |
| 7 | /-! # Crystalline Frobenius -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! On the original level-zero crystalline site, p-power Frobenius |
| 14 | gives a natural frame morphism over the actual prime-field Frobenius. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 19 | variable (p : ℕ) [Fact p.Prime] (Y : Over (Spec (CommRingCat.of (ZMod p)))) |
| 20 | |
| 21 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 22 | local notation "g" => Over.Hom.left (OAI.AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldSchemeFrobenius (ZMod p) Y) |
| 23 | |
| 24 | theorem over_witt : g ≫ w = w := by |
| 25 | simp only [IntegralComparison.Witt.Crystalline.wittStructureMap, ← Category.assoc, Over.w] |
| 26 | |
| 27 | def postcompose := IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) |
| 28 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 29 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) g (over_witt p Y) 0 |
| 30 | |
| 31 | variable (U : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 32 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 33 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) 0) |
| 34 | |
| 35 | theorem prime_zero : (p : U.obj.ring) = 0 := by |
| 36 | simpa only [IntegralComparison.BoundedCrystalline.Site.property, Nat.zero_add, pow_one] using U.property |
| 37 | |
| 38 | theorem quotient_prime_zero : (p : U.obj.ring ⧸ U.obj.ideal) = 0 := by |
| 39 | have h := congrArg (Ideal.Quotient.mk U.obj.ideal) (prime_zero p Y U) |
| 40 | simpa only [map_natCast, map_zero] using h |
| 41 | |
| 42 | def map : (postcompose p Y).obj U ⟶ U := ObjectProperty.homMk |
| 43 | { ringMap := CharacteristicDividedFrobenius.CharacteristicPDividedFrobenius.map p (prime_zero p Y U) U.obj.dividedPowers |
| 44 | overBase := WittPrime.WittPrimeZeroFrobenius.comp p (prime_zero p Y U) U.obj.base |
| 45 | overX := by |
| 46 | change Spec.map (CommRingCat.ofHom |
| 47 | (AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.powerRingHom p Fact.out (U.obj.ring ⧸ U.obj.ideal) (quotient_prime_zero p Y U))) ≫ |
| 48 | U.obj.mapToX = U.obj.mapToX ≫ g |
| 49 | exact (PrimeZero.PrimeZeroSpecFrobenius.naturality p (U.obj.ring ⧸ U.obj.ideal) (quotient_prime_zero p Y U) |
| 50 | (IntegralComparison.Global.FrobeniusGeometry.scheme_prime_zero p (ZMod p) Y.hom) U.obj.mapToX).trans |
| 51 | (congrArg (fun a => U.obj.mapToX ≫ a) (PrimeFieldSchemeFrobenius.Crystalline.schemeFrobenius_eq_finiteField p Y)) } |
| 52 | |
| 53 | theorem map_apply (x : U.obj.ring) : (LevelZeroCrystallineFrobenius.map p Y U).hom.ringMap x = x ^ p := rfl |
| 54 | |
| 55 | def transformation : postcompose p Y ⟶ 𝟭 _ where |
| 56 | app := LevelZeroCrystallineFrobenius.map p Y |
| 57 | naturality := by |
| 58 | intro U V α |
| 59 | apply ObjectProperty.hom_ext |
| 60 | apply IntegralComparison.BigCrystallineSite.Object.Hom.ext |
| 61 | apply DividedPowers.DPMorphism.ext |
| 62 | funext x |
| 63 | exact map_pow α.hom.ringMap.toRingHom x p |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius |