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.Zero.FrameAlgebras |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DividedLiftIdeal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates |
| 4 | |
| 5 | /-! # Frame Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.FrameMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: free divided coordinates map to the original étale zero frame |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k C σ : Type u) [Field k] [CharP k p] |
| 22 | [CommRing C] [Algebra k C] [Algebra (MvPolynomial σ k) C] |
| 23 | [IsScalarTower k (MvPolynomial σ k) C] [Algebra.Etale (MvPolynomial σ k) C] |
| 24 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 25 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 26 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 27 | (β : U ⟶ ZeroLevel.LevelFrame.frame p k C) |
| 28 | |
| 29 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.LevelFrame.frame p k C |
| 30 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates.object U σ |
| 31 | |
| 32 | def chartLift : letI := Zero.FrameAlgebras.ambientAlgebra p k C U β |
| 33 | C →ₐ[k] DividedPowerAlgebra U.ring (σ →₀ U.ring) := by |
| 34 | letI := Zero.FrameAlgebras.ambientAlgebra p k C U β |
| 35 | exact IntegralComparison.Etale.DividedCoordinateLift.lift k σ C U.ring U.ideal p U.dividedPowers |
| 36 | U.primeNilpotent (Zero.FrameAlgebras.chartMap p k C U β) |
| 37 | |
| 38 | def relativeMap : DividedPowers.DPMorphism (F).dividedPowers (G).dividedPowers := by |
| 39 | letI := Zero.FrameAlgebras.ambientAlgebra p k C U β |
| 40 | exact Zero.IdealPDMap.map (G).dividedPowers (chartLift p k C σ U β).toRingHom |
| 41 | |
| 42 | theorem augmentation_relativeMap : (Crystalline.DividedCoordinates.augmentationPD U σ).comp |
| 43 | (relativeMap p k C σ U β) = β.ringMap := by |
| 44 | let := Zero.FrameAlgebras.ambientAlgebra p k C U β |
| 45 | have he := IntegralComparison.Etale.DividedLiftIdeal.augmentation_comp k σ C U.ring U.ideal p U.dividedPowers |
| 46 | U.primeNilpotent (Zero.FrameAlgebras.chartMap p k C U β) |
| 47 | apply DFunLike.ext |
| 48 | intro c |
| 49 | exact AlgHom.congr_fun he c |
| 50 | |
| 51 | theorem relativeMap_overBase : (relativeMap p k C σ U β).toRingHom.comp (F).base = (G).base := by |
| 52 | let := Zero.FrameAlgebras.ambientAlgebra p k C U β |
| 53 | apply RingHom.ext |
| 54 | intro w |
| 55 | change chartLift p k C σ U β (algebraMap k C (WittVector.constantCoeff w)) = |
| 56 | algebraMap U.ring (G).ring (U.base w) |
| 57 | rw [AlgHom.commutes] |
| 58 | change algebraMap U.ring (G).ring (β.ringMap (algebraMap k C (WittVector.constantCoeff w))) = _ |
| 59 | rw [Zero.FrameAlgebras.coefficient_base] |
| 60 | |
| 61 | theorem quotient_augmentation_relativeMap : (Crystalline.DividedCoordinates.residueAugmentation U σ).comp |
| 62 | (BigCrystallineSite.Object.quotientMap G F (relativeMap p k C σ U β)) = BigCrystallineSite.Object.quotientMap U F β.ringMap := by |
| 63 | have h := congrArg (fun φ => BigCrystallineSite.Object.quotientMap U F φ) (augmentation_relativeMap p k C σ U β) |
| 64 | exact (BigCrystallineSite.Object.quotientMap_comp U G F (Crystalline.DividedCoordinates.augmentationPD U σ) |
| 65 | (relativeMap p k C σ U β)).symm.trans h |
| 66 | |
| 67 | theorem quotient_relativeMap : BigCrystallineSite.Object.quotientMap G F (relativeMap p k C σ U β) = |
| 68 | (Crystalline.DividedCoordinates.residueInclusion U σ).comp (BigCrystallineSite.Object.quotientMap U F β.ringMap) := by |
| 69 | have h := congrArg (fun φ => (Crystalline.DividedCoordinates.residueInclusion U σ).comp φ) |
| 70 | (quotient_augmentation_relativeMap p k C σ U β) |
| 71 | erw [← RingHom.comp_assoc, Crystalline.DividedCoordinates.residue_augmentation_inclusion, |
| 72 | RingHom.id_comp] at h |
| 73 | exact h |
| 74 | |
| 75 | theorem relativeMap_overX : Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap G F |
| 76 | (relativeMap p k C σ U β))) ≫ (F).mapToX = (G).mapToX := by |
| 77 | have hs : Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap G F (relativeMap p k C σ U β))) = |
| 78 | Spec.map (CommRingCat.ofHom (Crystalline.DividedCoordinates.residueInclusion U σ)) ≫ |
| 79 | Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U F β.ringMap)) := by |
| 80 | rw [← Spec.map_comp] |
| 81 | congr 1 |
| 82 | apply CommRingCat.hom_ext |
| 83 | exact quotient_relativeMap p k C σ U β |
| 84 | rw [hs, Category.assoc, β.overX] |
| 85 | exact (Crystalline.DividedCoordinates.object_mapToX U σ).symm |
| 86 | |
| 87 | def frameMap : G ⟶ F where |
| 88 | ringMap := relativeMap p k C σ U β |
| 89 | overBase := relativeMap_overBase p k C σ U β |
| 90 | overX := relativeMap_overX p k C σ U β |
| 91 | |
| 92 | theorem zeroSection_frameMap : Crystalline.DividedCoordinates.zeroSection U σ ≫ |
| 93 | frameMap p k C σ U β = β := by |
| 94 | apply BigCrystallineSite.Object.Hom.ext |
| 95 | exact augmentation_relativeMap p k C σ U β |
| 96 | |
| 97 | def cone : BinaryFan U F := BinaryFan.mk (Crystalline.DividedCoordinates.projection U σ) |
| 98 | (frameMap p k C σ U β) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.FrameMap |