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.SmoothWitt.FrameRing |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 4 | |
| 5 | /-! # Witt Frame -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.WittFrame |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The smooth Witt lift defines actual frames in every original bounded crystalline site. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k A C : Type u) [Field k] [Fintype k] [CharP k p] |
| 20 | [CommRing A] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] |
| 21 | [CommRing C] [Algebra k C] |
| 22 | (ρ : A →+* C) (hρ : Function.Surjective ρ) |
| 23 | (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 24 | (hbase : ∀ w : WittVector p k, ρ (algebraMap (WittVector p k) A w) = |
| 25 | algebraMap k C (WittVector.constantCoeff w)) (n : ℕ) |
| 26 | |
| 27 | local notation "W" => WittVector p k |
| 28 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing.quotientEquiv p A C ρ hρ hker n |
| 29 | |
| 30 | def object : BigCrystallineSite.Object p W (Ideal.span {(p : W)}) |
| 31 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) where |
| 32 | ring := CommRingCat.of (FrameRing.Ring p A n) |
| 33 | base := FrameRing.base p k A n |
| 34 | ideal := FrameRing.ideal p A n |
| 35 | dividedPowers := FrameRing.dividedPowers p k A n |
| 36 | baseCompatible := FrameRing.base_isDPMorphism p k A n |
| 37 | primeNilpotent := ⟨n + 1, FrameRing.prime_power_zero p A n⟩ |
| 38 | nilIdeal := fun _ ha => DividedPower.Nilpotence.nilpotent_of_mem (FrameRing.dividedPowers p k A n) |
| 39 | p (Fact.out : p.Prime).pos ⟨n + 1, FrameRing.prime_power_zero p A n⟩ ha |
| 40 | mapToX := Spec.map (CommRingCat.ofHom (e).symm.toRingHom) |
| 41 | overBase := by |
| 42 | rw [Crystalline.Presentation.affine_wittStructureMap] |
| 43 | change Spec.map (CommRingCat.ofHom (e).symm.toRingHom) ≫ |
| 44 | Spec.map (CommRingCat.ofHom ((algebraMap k C).comp WittVector.constantCoeff)) = |
| 45 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (FrameRing.ideal p A n))) ≫ |
| 46 | Spec.map (CommRingCat.ofHom (FrameRing.base p k A n)) |
| 47 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 48 | congr 1 |
| 49 | apply CommRingCat.hom_ext |
| 50 | apply RingHom.ext |
| 51 | intro w |
| 52 | apply (e).injective |
| 53 | change (e) ((e).symm (algebraMap k C (WittVector.constantCoeff w))) = |
| 54 | (e) (Ideal.Quotient.mk (FrameRing.ideal p A n) (FrameRing.base p k A n w)) |
| 55 | rw [RingEquiv.apply_symm_apply, FrameRing.quotientEquiv_base p k A C ρ hρ hker hbase] |
| 56 | |
| 57 | def boundedFrame : BoundedCrystalline.Site.Objects (p := p) |
| 58 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 59 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n := |
| 60 | ⟨object p k A C ρ hρ hker hbase n, FrameRing.prime_power_zero p A n⟩ |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.WittFrame |