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.EtaleZero.FrameProductLift |
| 2 | |
| 3 | /-! # Frame Product -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.FrameProduct |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: products with original étale zero frames are free divided-coordinate extensions |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k C σ : Type u) [Field k] [CharP k p] |
| 20 | [CommRing C] [Algebra k C] [Algebra (MvPolynomial σ k) C] |
| 21 | [IsScalarTower k (MvPolynomial σ k) C] [Algebra.Etale (MvPolynomial σ k) C] |
| 22 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 23 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 24 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 25 | (β : U ⟶ ZeroLevel.LevelFrame.frame p k C) |
| 26 | (V : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 27 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 28 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 29 | (α : V ⟶ U) (ζ : V ⟶ ZeroLevel.LevelFrame.frame p k C) |
| 30 | |
| 31 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.LevelFrame.frame p k C |
| 32 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates.object U σ |
| 33 | local notation "l" => OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.FrameAlgebras.chartMap p k C U β |
| 34 | local notation "a" => OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.FrameAlgebras.map p k C U β V ζ α |
| 35 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.FrameAlgebras.chartMap p k C V ζ |
| 36 | local notation "hc" => OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.FrameAlgebras.closed_agreement p k C U β V ζ α |
| 37 | |
| 38 | def asAlgHom (g : V ⟶ G) (hfst : g ≫ Crystalline.DividedCoordinates.projection U σ = α) : |
| 39 | letI := Zero.FrameAlgebras.ambientAlgebra p k C U β |
| 40 | letI := Zero.FrameAlgebras.ambientAlgebra p k C V ζ |
| 41 | DividedPowerAlgebra U.ring (σ →₀ U.ring) →ₐ[k] V.ring := by |
| 42 | letI := Zero.FrameAlgebras.ambientAlgebra p k C U β |
| 43 | letI := Zero.FrameAlgebras.ambientAlgebra p k C V ζ |
| 44 | refine { g.ringMap.toRingHom with commutes' := ?_ } |
| 45 | intro r |
| 46 | have he := congrArg (fun m : V ⟶ U => m.ringMap (algebraMap k U.ring r)) hfst |
| 47 | exact he.trans ((a).commutes r) |
| 48 | |
| 49 | theorem lift_unique (g : V ⟶ G) |
| 50 | (hfst : g ≫ Crystalline.DividedCoordinates.projection U σ = α) |
| 51 | (hsnd : g ≫ FrameMap.frameMap p k C σ U β = ζ) : |
| 52 | g = FrameProductLift.lift p k C σ U β V α ζ := by |
| 53 | let := Zero.FrameAlgebras.ambientAlgebra p k C U β |
| 54 | let := Zero.FrameAlgebras.ambientAlgebra p k C V ζ |
| 55 | let gA := asAlgHom p k C σ U β V α ζ g hfst |
| 56 | have hbase (t : U.ring) : gA (algebraMap U.ring (G).ring t) = a t := |
| 57 | congrArg (fun m : V ⟶ U => m.ringMap t) hfst |
| 58 | have hchart : gA.comp (FrameMap.chartLift p k C σ U β) = b := by |
| 59 | apply AlgHom.ext |
| 60 | intro c |
| 61 | exact congrArg (fun m : V ⟶ F => m.ringMap c) hsnd |
| 62 | have he := IntegralComparison.Etale.DividedUniversal.lift_unique k σ C U.ring U.ideal p U.dividedPowers |
| 63 | U.primeNilpotent l V.ring V.ideal V.dividedPowers a b hc gA g.ringMap.isDPMorphism hbase hchart |
| 64 | apply BigCrystallineSite.Object.Hom.ext |
| 65 | apply DFunLike.ext |
| 66 | intro z |
| 67 | exact AlgHom.congr_fun he z |
| 68 | |
| 69 | /-- The actual zero-frame product in the original crystalline category. -/ |
| 70 | def isProduct : IsLimit (FrameMap.cone p k C σ U β) := |
| 71 | BinaryFan.isLimitMk |
| 72 | (fun c => FrameProductLift.lift p k C σ U β c.pt c.fst c.snd) |
| 73 | (fun c => FrameProductLift.lift_fst p k C σ U β c.pt c.fst c.snd) |
| 74 | (fun c => FrameProductLift.lift_snd p k C σ U β c.pt c.fst c.snd) |
| 75 | (fun c m hfst hsnd => lift_unique p k C σ U β c.pt c.fst c.snd m hfst hsnd) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.FrameProduct |