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.SmoothWitt.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.SmoothWitt.FrameDividedMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native free divided-coordinate extension maps to the actual smooth Witt frame. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k A C : Type u) [Field k] [CharP k p] |
| 20 | [CommRing A] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] |
| 21 | [CommRing C] [Algebra k C] |
| 22 | (ρ : A →+* C) (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 23 | (hbase : ∀ w : WittVector p k, ρ (algebraMap (WittVector p k) A w) = |
| 24 | algebraMap k C (WittVector.constantCoeff w)) (n : ℕ) |
| 25 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 27 | (β : U ⟶ WittFrame.object p k A C ρ hρ hker hbase n) |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.WittFrame.object p k A C ρ hρ hker hbase n |
| 31 | |
| 32 | include β in |
| 33 | theorem frame_property : (p : U.ring) ^ (n + 1) = 0 := by |
| 34 | have hzero : (p : (F).ring) ^ (n + 1) = 0 := FrameRing.prime_power_zero p A n |
| 35 | simpa only [map_pow, map_natCast, map_zero] using congrArg β.ringMap.toRingHom hzero |
| 36 | |
| 37 | variable (σ : Type u) |
| 38 | |
| 39 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates.object U σ |
| 40 | |
| 41 | local instance coefficientAlgebra : Algebra W U.ring := |
| 42 | FrameLifting.ambientAlgebra p k C U |
| 43 | |
| 44 | include β in |
| 45 | theorem extension_property : (p : (G).ring) ^ (n + 1) = 0 := by |
| 46 | simpa only [map_pow, map_natCast, map_zero] using congrArg (algebraMap U.ring (G).ring) |
| 47 | (frame_property p k A C ρ hρ hker hbase n U β) |
| 48 | |
| 49 | variable [Algebra (MvPolynomial σ (WittVector p k)) A] |
| 50 | [IsScalarTower (WittVector p k) (MvPolynomial σ (WittVector p k)) A] |
| 51 | [Algebra.Etale (MvPolynomial σ (WittVector p k)) A] |
| 52 | |
| 53 | def chartLift : letI := FrameLifting.ambientAlgebra p k C U |
| 54 | A →ₐ[W] DividedPowerAlgebra U.ring (σ →₀ U.ring) := by |
| 55 | letI := FrameLifting.ambientAlgebra p k C U |
| 56 | exact IntegralComparison.Etale.DividedCoordinateLift.lift W σ A U.ring U.ideal p U.dividedPowers |
| 57 | U.primeNilpotent (FrameAlgebras.chartMap p k A C ρ hρ hker hbase n U β) |
| 58 | |
| 59 | theorem chartLift_overBase : |
| 60 | (chartLift p k A C ρ hρ hker hbase n U β σ).toRingHom.comp (algebraMap W A) = (G).base := by |
| 61 | apply RingHom.ext |
| 62 | intro w |
| 63 | exact (chartLift p k A C ρ hρ hker hbase n U β σ).commutes w |
| 64 | |
| 65 | def relativeMap : DividedPowers.DPMorphism (F).dividedPowers (G).dividedPowers := |
| 66 | FrameMap.ringMap p k A C n G (extension_property p k A C ρ hρ hker hbase n U β σ) |
| 67 | (chartLift p k A C ρ hρ hker hbase n U β σ).toRingHom |
| 68 | (chartLift_overBase p k A C ρ hρ hker hbase n U β σ) |
| 69 | |
| 70 | theorem augmentation_relativeMap : (Crystalline.DividedCoordinates.augmentationPD U σ).comp |
| 71 | (relativeMap p k A C ρ hρ hker hbase n U β σ) = β.ringMap := by |
| 72 | let := FrameLifting.ambientAlgebra p k C U |
| 73 | have he := IntegralComparison.Etale.DividedLiftIdeal.augmentation_comp W σ A U.ring U.ideal p U.dividedPowers |
| 74 | U.primeNilpotent (FrameAlgebras.chartMap p k A C ρ hρ hker hbase n U β) |
| 75 | apply DFunLike.ext |
| 76 | intro a |
| 77 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 78 | exact AlgHom.congr_fun he a |
| 79 | |
| 80 | theorem relativeMap_overBase : |
| 81 | (relativeMap p k A C ρ hρ hker hbase n U β σ).toRingHom.comp (F).base = (G).base := |
| 82 | FrameMap.overBase p k A C n G (extension_property p k A C ρ hρ hker hbase n U β σ) |
| 83 | (chartLift p k A C ρ hρ hker hbase n U β σ).toRingHom |
| 84 | (chartLift_overBase p k A C ρ hρ hker hbase n U β σ) |
| 85 | |
| 86 | theorem quotient_augmentation_relativeMap : (Crystalline.DividedCoordinates.residueAugmentation U σ).comp |
| 87 | (BigCrystallineSite.Object.quotientMap G F (relativeMap p k A C ρ hρ hker hbase n U β σ)) = BigCrystallineSite.Object.quotientMap U F β.ringMap := by |
| 88 | have h := congrArg (fun φ => BigCrystallineSite.Object.quotientMap U F φ) (augmentation_relativeMap p k A C ρ hρ hker hbase n U β σ) |
| 89 | exact (BigCrystallineSite.Object.quotientMap_comp U G F (Crystalline.DividedCoordinates.augmentationPD U σ) |
| 90 | (relativeMap p k A C ρ hρ hker hbase n U β σ)).symm.trans h |
| 91 | |
| 92 | theorem quotient_relativeMap : BigCrystallineSite.Object.quotientMap G F (relativeMap p k A C ρ hρ hker hbase n U β σ) = |
| 93 | (Crystalline.DividedCoordinates.residueInclusion U σ).comp (BigCrystallineSite.Object.quotientMap U F β.ringMap) := by |
| 94 | have h := congrArg (fun φ => (Crystalline.DividedCoordinates.residueInclusion U σ).comp φ) |
| 95 | (quotient_augmentation_relativeMap p k A C ρ hρ hker hbase n U β σ) |
| 96 | erw [← RingHom.comp_assoc, Crystalline.DividedCoordinates.residue_augmentation_inclusion, |
| 97 | RingHom.id_comp] at h |
| 98 | exact h |
| 99 | |
| 100 | theorem relativeMap_overX : Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap G F |
| 101 | (relativeMap p k A C ρ hρ hker hbase n U β σ))) ≫ (F).mapToX = (G).mapToX := by |
| 102 | have hs : Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap G F (relativeMap p k A C ρ hρ hker hbase n U β σ))) = |
| 103 | Spec.map (CommRingCat.ofHom (Crystalline.DividedCoordinates.residueInclusion U σ)) ≫ |
| 104 | Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U F β.ringMap)) := by |
| 105 | rw [← Spec.map_comp] |
| 106 | congr 1 |
| 107 | apply CommRingCat.hom_ext |
| 108 | exact quotient_relativeMap p k A C ρ hρ hker hbase n U β σ |
| 109 | rw [hs, Category.assoc, β.overX] |
| 110 | exact (Crystalline.DividedCoordinates.object_mapToX U σ).symm |
| 111 | |
| 112 | def frameMap : G ⟶ F where |
| 113 | ringMap := relativeMap p k A C ρ hρ hker hbase n U β σ |
| 114 | overBase := relativeMap_overBase p k A C ρ hρ hker hbase n U β σ |
| 115 | overX := relativeMap_overX p k A C ρ hρ hker hbase n U β σ |
| 116 | |
| 117 | theorem zeroSection_frameMap : Crystalline.DividedCoordinates.zeroSection U σ ≫ |
| 118 | frameMap p k A C ρ hρ hker hbase n U β σ = β := by |
| 119 | apply BigCrystallineSite.Object.Hom.ext |
| 120 | exact augmentation_relativeMap p k A C ρ hρ hker hbase n U β σ |
| 121 | |
| 122 | def cone : BinaryFan U F := BinaryFan.mk (Crystalline.DividedCoordinates.projection U σ) |
| 123 | (frameMap p k A C ρ hρ hker hbase n U β σ) |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameDividedMap |