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.Open.SmoothWittFrameProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ProductLocalization |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ProductFlatnessTransport |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ProjectionNeighborhoods |
| 5 | |
| 6 | /-! # Witt Frame Local Flatness -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.WittFrameLocalFlatness.Smooth |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual product projections are flat on principal neighborhoods contained in a smooth Witt chart. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Localization |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k A C σ : Type u) [Field k] [CharP k p] [Finite σ] |
| 21 | [CommRing A] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] |
| 22 | [CommRing C] [Algebra k C] |
| 23 | [Algebra (MvPolynomial σ (WittVector p k)) A] |
| 24 | [IsScalarTower (WittVector p k) (MvPolynomial σ (WittVector p k)) A] |
| 25 | [Algebra.Etale (MvPolynomial σ (WittVector p k)) A] |
| 26 | (ρ : A →+* C) (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 27 | (hbase : ∀ w : WittVector p k, ρ (algebraMap (WittVector p k) A w) = |
| 28 | algebraMap k C (WittVector.constantCoeff w)) |
| 29 | (X : Over (Spec (CommRingCat.of k))) |
| 30 | (j : (Crystalline.Presentation.affineScheme k C).left ⟶ X.left) [IsOpenImmersion j] |
| 31 | (hj : j ≫ X.hom = (Crystalline.Presentation.affineScheme k C).hom) (n : ℕ) |
| 32 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 33 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X)) |
| 34 | (hn : (p : U.ring) ^ (n + 1) = 0) |
| 35 | (P : BinaryFan U (SmoothWittFrame.frame p k A C ρ hρ hker hbase X j hj n)) (hP : IsLimit P) |
| 36 | |
| 37 | include σ hn hP in |
| 38 | theorem localized_projection (r : U.ring) (hr : Set.range (Crystalline.Localization.object U r).mapToX ⊆ Set.range j) : |
| 39 | (Crystalline.ProductLocalization.cone P r).fst.ringMap.toRingHom.Flat := by |
| 40 | let V := Crystalline.Localization.object U r |
| 41 | let t := IsOpenImmersion.lift j V.mapToX hr |
| 42 | have ht : t ≫ j = V.mapToX := IsOpenImmersion.lift_fac j V.mapToX hr |
| 43 | have hv : (p : V.ring) ^ (n + 1) = 0 := |
| 44 | BoundedCrystalline.Site.property_of_hom (Witt.Crystalline.wittStructureMap p k X) n (Crystalline.Localization.hom U r) hn |
| 45 | let : Fintype σ := Fintype.ofFinite σ |
| 46 | let : Algebra.Smooth (WittVector p k) (MvPolynomial σ (WittVector p k)) := ⟨inferInstance, inferInstance⟩ |
| 47 | let : Algebra.Smooth (WittVector p k) A := |
| 48 | Algebra.Smooth.comp (WittVector p k) (MvPolynomial σ (WittVector p k)) A |
| 49 | obtain ⟨α⟩ := SmoothWittFrame.exists_map p k A C ρ hρ hker hbase X j hj n V t ht hv |
| 50 | exact Crystalline.ProductFlatnessTransport.fst (Crystalline.ProductLocalization.cone P r) |
| 51 | (SmoothWittFrameProduct.cone p k A C σ ρ hρ hker hbase X j hj n V α) |
| 52 | (Crystalline.ProductLocalization.isProduct P hP r) |
| 53 | (SmoothWittFrameProduct.isProduct p k A C σ ρ hρ hker hbase X j hj n V α) |
| 54 | (SmoothWittFrameProduct.projection_flat p k A C σ ρ hρ hker hbase X j hj n V α) |
| 55 | |
| 56 | include σ hn hP in |
| 57 | theorem localized_composite (r : U.ring) (hr : Set.range (Crystalline.Localization.object U r).mapToX ⊆ Set.range j) : |
| 58 | (Crystalline.Localization.hom P.pt (P.fst.ringMap r) ≫ P.fst).ringMap.toRingHom.Flat := by |
| 59 | have hbaseFlat : (algebraMap U.ring (Crystalline.Localization.Ring U r)).Flat := |
| 60 | RingHom.flat_algebraMap_iff.mpr (IsLocalization.flat _ (Submonoid.powers r)) |
| 61 | have h := hbaseFlat.comp (localized_projection p k A C σ ρ hρ hker hbase X j hj n U hn P hP r hr) |
| 62 | have he := congrArg (fun a : (Crystalline.ProductLocalization.cone P r).pt ⟶ U => a.ringMap.toRingHom) |
| 63 | (Crystalline.LocalizationMaps.localizedHom_square P.fst r) |
| 64 | exact he ▸ h |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.WittFrameLocalFlatness.Smooth |