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.SmoothWittFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameProduct |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.MonomorphismProducts |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Free.DividedFlatness |
| 5 | |
| 6 | /-! # Smooth Witt Frame Product -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SmoothWittFrameProduct |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual products with smooth Witt frames on monomorphic charts have free divided coordinates. -/ |
| 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 |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k A C σ : Type u) [Field k] [CharP k p] |
| 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) [Mono 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 | (α : U ⟶ SmoothWittFrame.frame p k A C ρ hρ hker hbase X j hj n) |
| 35 | |
| 36 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.WittFrame.object p k A C ρ hρ hker hbase n |
| 37 | local notation "FG" => OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SmoothWittFrame.frame p k A C ρ hρ hker hbase X j hj n |
| 38 | local notation "hjW" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenPresentation.overWitt p k C X j hj |
| 39 | |
| 40 | abbrev localObject := Crystalline.Lifts.liftedObject j hjW (U := F) α |
| 41 | abbrev localMap := Crystalline.Lifts.liftedHom j hjW (U := F) α |
| 42 | |
| 43 | local notation "V" => OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SmoothWittFrameProduct.localObject p k A C ρ hρ hker hbase X j hj n U α |
| 44 | local notation "β" => OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SmoothWittFrameProduct.localMap p k A C ρ hρ hker hbase X j hj n U α |
| 45 | |
| 46 | def localCone : BinaryFan V F := |
| 47 | SmoothWitt.FrameDividedMap.cone p k A C ρ hρ hker hbase n V β σ |
| 48 | |
| 49 | def mappedCone : BinaryFan ((BigCrystallineSite.postcompose j hjW).obj V) FG := |
| 50 | (localCone p k A C σ ρ hρ hker hbase X j hj n U α).map (BigCrystallineSite.postcompose j hjW) |
| 51 | |
| 52 | def cone : BinaryFan U FG := BinaryFan.mk |
| 53 | ((mappedCone p k A C σ ρ hρ hker hbase X j hj n U α).fst ≫ |
| 54 | (Crystalline.Lifts.liftedIso j hjW (U := F) α).hom) |
| 55 | (mappedCone p k A C σ ρ hρ hker hbase X j hj n U α).snd |
| 56 | |
| 57 | def isProduct : IsLimit (cone p k A C σ ρ hρ hker hbase X j hj n U α) := |
| 58 | BinaryFan.isLimitCompLeftIso (mappedCone p k A C σ ρ hρ hker hbase X j hj n U α) |
| 59 | (Crystalline.Lifts.liftedIso j hjW (U := F) α).hom |
| 60 | (Crystalline.MonomorphismProducts.productIsLimit j hjW |
| 61 | (localCone p k A C σ ρ hρ hker hbase X j hj n U α) |
| 62 | (SmoothWitt.FrameProduct.isProduct p k A C ρ hρ hker hbase n V β σ)) |
| 63 | |
| 64 | abbrev productObject := (cone p k A C σ ρ hρ hker hbase X j hj n U α).pt |
| 65 | |
| 66 | omit [Mono j] in |
| 67 | theorem projection_flat : (cone p k A C σ ρ hρ hker hbase X j hj n U α).fst.ringMap.toRingHom.Flat := |
| 68 | Free.DividedFlatness.algebraMap_flat U.ring σ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SmoothWittFrameProduct |