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.Truncated.FrameAlgebras |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DividedLiftIdeal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates |
| 4 | |
| 5 | /-! # Frame Divided Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameDividedMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native divided coordinates map to an actual smooth truncated-Witt |
| 12 | frame through any étale coordinate chart. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 17 | |
| 18 | attribute [local instance] IntegralComparison.Etale.DividedCoordinateLift.scalarAlgebra |
| 19 | IntegralComparison.Etale.DividedCoordinateLift.scalarTower |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) (A C : Type) [CommRing A] [CommRing C] |
| 23 | [Algebra (Witt.Ring p k n) A] |
| 24 | [Algebra.Smooth (Witt.Ring p k n) A] [Algebra k C] |
| 25 | (ρ : A →+* C) (hρ : Function.Surjective ρ) |
| 26 | (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 27 | (hbase : ∀ w : WittVector p k, |
| 28 | ρ (algebraMap (Witt.Ring p k n) A (Witt.quotient p k n w)) = |
| 29 | algebraMap k C (WittVector.constantCoeff w)) |
| 30 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 31 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 32 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 33 | (β : U ⟶ SmoothFrame.object p A C ρ hρ hker k n hbase) |
| 34 | (σ : Type) |
| 35 | |
| 36 | local notation "W" => WittVector p k |
| 37 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 38 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.object p A C ρ hρ hker k n hbase |
| 39 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates.object U σ |
| 40 | |
| 41 | include β in |
| 42 | omit [Fintype k] in |
| 43 | theorem extension_property : (p : (G).ring) ^ (n + 1) = 0 := by |
| 44 | simpa only [map_pow, map_natCast, map_zero] using congrArg (algebraMap U.ring (G).ring) |
| 45 | (FrameAlgebras.frame_property p k n A C ρ hρ hker hbase U β) |
| 46 | |
| 47 | variable [Algebra (MvPolynomial σ (Witt.Ring p k n)) A] |
| 48 | [IsScalarTower (Witt.Ring p k n) |
| 49 | (MvPolynomial σ (Witt.Ring p k n)) A] |
| 50 | [Algebra.Etale (MvPolynomial σ (Witt.Ring p k n)) A] |
| 51 | |
| 52 | def chartLift : letI := FrameAlgebras.ambientAlgebra p k n A C ρ hρ hker hbase U β; |
| 53 | A →ₐ[S] DividedPowerAlgebra U.ring (σ →₀ U.ring) := by |
| 54 | letI := FrameAlgebras.ambientAlgebra p k n A C ρ hρ hker hbase U β |
| 55 | exact IntegralComparison.Etale.DividedCoordinateLift.lift S σ A U.ring U.ideal p U.dividedPowers |
| 56 | U.primeNilpotent (FrameAlgebras.chartMap p k n A C ρ hρ hker hbase U β) |
| 57 | |
| 58 | def chartLiftRingHom : A →+* DividedPowerAlgebra U.ring (σ →₀ U.ring) := by |
| 59 | letI := FrameAlgebras.ambientAlgebra p k n A C ρ hρ hker hbase U β |
| 60 | exact (chartLift p k n A C ρ hρ hker hbase U β σ).toRingHom |
| 61 | |
| 62 | omit [Fintype k] in |
| 63 | theorem chartLift_overBase : |
| 64 | (chartLiftRingHom p k n A C ρ hρ hker hbase U β σ).comp (F).base = (G).base := by |
| 65 | let := FrameAlgebras.ambientAlgebra p k n A C ρ hρ hker hbase U β |
| 66 | apply RingHom.ext |
| 67 | intro w |
| 68 | exact (chartLift p k n A C ρ hρ hker hbase U β σ).commutes |
| 69 | (Witt.quotient p k n w) |
| 70 | |
| 71 | def relativeMap : DividedPowers.DPMorphism (F).dividedPowers (G).dividedPowers := by |
| 72 | apply DividedPowers.DPMorphism.mk' |
| 73 | apply DividedPowers.IsDPMorphism.of_comp |
| 74 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 75 | (F).dividedPowers (G).dividedPowers (F).base |
| 76 | (chartLiftRingHom p k n A C ρ hρ hker hbase U β σ) |
| 77 | (by rw [Ideal.map_span, Set.image_singleton, map_natCast]; rfl) (F).baseCompatible |
| 78 | exact (congrArg (fun φ : W →+* (G).ring => |
| 79 | DividedPowers.IsDPMorphism (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 80 | (G).dividedPowers φ) (chartLift_overBase p k n A C ρ hρ hker hbase U β σ)).mpr |
| 81 | (G).baseCompatible |
| 82 | |
| 83 | omit [Fintype k] in |
| 84 | theorem augmentation_relativeMap : (Crystalline.DividedCoordinates.augmentationPD U σ).comp |
| 85 | (relativeMap p k n A C ρ hρ hker hbase U β σ) = β.ringMap := by |
| 86 | let := FrameAlgebras.ambientAlgebra p k n A C ρ hρ hker hbase U β |
| 87 | have he := IntegralComparison.Etale.DividedLiftIdeal.augmentation_comp S σ A U.ring U.ideal p U.dividedPowers |
| 88 | U.primeNilpotent (FrameAlgebras.chartMap p k n A C ρ hρ hker hbase U β) |
| 89 | apply DFunLike.ext |
| 90 | intro a |
| 91 | exact AlgHom.congr_fun he a |
| 92 | |
| 93 | omit [Fintype k] in |
| 94 | theorem relativeMap_overBase : |
| 95 | (relativeMap p k n A C ρ hρ hker hbase U β σ).toRingHom.comp (F).base = (G).base := |
| 96 | chartLift_overBase p k n A C ρ hρ hker hbase U β σ |
| 97 | |
| 98 | omit [Fintype k] in |
| 99 | theorem quotient_augmentation_relativeMap : (Crystalline.DividedCoordinates.residueAugmentation U σ).comp |
| 100 | (BigCrystallineSite.Object.quotientMap G F (relativeMap p k n A C ρ hρ hker hbase U β σ)) = |
| 101 | BigCrystallineSite.Object.quotientMap U F β.ringMap := by |
| 102 | have h := congrArg (fun φ => BigCrystallineSite.Object.quotientMap U F φ) |
| 103 | (augmentation_relativeMap p k n A C ρ hρ hker hbase U β σ) |
| 104 | exact (BigCrystallineSite.Object.quotientMap_comp U G F (Crystalline.DividedCoordinates.augmentationPD U σ) |
| 105 | (relativeMap p k n A C ρ hρ hker hbase U β σ)).symm.trans h |
| 106 | |
| 107 | omit [Fintype k] in |
| 108 | theorem quotient_relativeMap : BigCrystallineSite.Object.quotientMap G F (relativeMap p k n A C ρ hρ hker hbase U β σ) = |
| 109 | (Crystalline.DividedCoordinates.residueInclusion U σ).comp (BigCrystallineSite.Object.quotientMap U F β.ringMap) := by |
| 110 | have h := congrArg (fun φ => (Crystalline.DividedCoordinates.residueInclusion U σ).comp φ) |
| 111 | (quotient_augmentation_relativeMap p k n A C ρ hρ hker hbase U β σ) |
| 112 | erw [← RingHom.comp_assoc, Crystalline.DividedCoordinates.residue_augmentation_inclusion, |
| 113 | RingHom.id_comp] at h |
| 114 | exact h |
| 115 | |
| 116 | omit [Fintype k] in |
| 117 | theorem relativeMap_overX : Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap G F |
| 118 | (relativeMap p k n A C ρ hρ hker hbase U β σ))) ≫ (F).mapToX = (G).mapToX := by |
| 119 | have hs : Spec.map (CommRingCat.ofHom |
| 120 | (BigCrystallineSite.Object.quotientMap G F (relativeMap p k n A C ρ hρ hker hbase U β σ))) = |
| 121 | Spec.map (CommRingCat.ofHom (Crystalline.DividedCoordinates.residueInclusion U σ)) ≫ |
| 122 | Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U F β.ringMap)) := by |
| 123 | rw [← Spec.map_comp] |
| 124 | congr 1 |
| 125 | apply CommRingCat.hom_ext |
| 126 | exact quotient_relativeMap p k n A C ρ hρ hker hbase U β σ |
| 127 | rw [hs, Category.assoc, β.overX] |
| 128 | exact (Crystalline.DividedCoordinates.object_mapToX U σ).symm |
| 129 | |
| 130 | def frameMap : G ⟶ F where |
| 131 | ringMap := relativeMap p k n A C ρ hρ hker hbase U β σ |
| 132 | overBase := relativeMap_overBase p k n A C ρ hρ hker hbase U β σ |
| 133 | overX := relativeMap_overX p k n A C ρ hρ hker hbase U β σ |
| 134 | |
| 135 | omit [Fintype k] in |
| 136 | theorem zeroSection_frameMap : Crystalline.DividedCoordinates.zeroSection U σ ≫ |
| 137 | frameMap p k n A C ρ hρ hker hbase U β σ = β := by |
| 138 | apply BigCrystallineSite.Object.Hom.ext |
| 139 | exact augmentation_relativeMap p k n A C ρ hρ hker hbase U β σ |
| 140 | |
| 141 | def cone : BinaryFan U F := BinaryFan.mk (Crystalline.DividedCoordinates.projection U σ) |
| 142 | (frameMap p k n A C ρ hρ hker hbase U β σ) |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameDividedMap |