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.GeometricComparison.WittDividedPowerNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.PDTruncationFunctor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.WittFrame |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence |
| 5 | |
| 6 | /-! # Witt Frame Map -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Smooth.WittFrameMap.SmoothWittFrameGeometricMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Compatible maps of actual flat Witt lifts induce morphisms of their original |
| 13 | bounded crystalline frames over the corresponding special-fiber morphism. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing |
| 18 | |
| 19 | universe u |
| 20 | variable (p : ℕ) [Fact p.Prime] (k A B C D : Type u) [Field k] [CharP k p] |
| 21 | [CommRing A] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] |
| 22 | [CommRing B] [Algebra (WittVector p k) B] [Module.Flat (WittVector p k) B] |
| 23 | [CommRing C] [Algebra k C] [CommRing D] [Algebra k D] |
| 24 | (ρA : A →+* C) (hsA : Function.Surjective ρA) (hkA : RingHom.ker ρA = Ideal.span {(p : A)}) |
| 25 | (hbA : ∀ w : WittVector p k, ρA (algebraMap (WittVector p k) A w) = |
| 26 | algebraMap k C (WittVector.constantCoeff w)) |
| 27 | (ρB : B →+* D) (hsB : Function.Surjective ρB) (hkB : RingHom.ker ρB = Ideal.span {(p : B)}) |
| 28 | (hbB : ∀ w : WittVector p k, ρB (algebraMap (WittVector p k) B w) = |
| 29 | algebraMap k D (WittVector.constantCoeff w)) |
| 30 | (α : A →ₐ[WittVector p k] B) (β : C →+* D) |
| 31 | (hρ : ∀ a, ρB (α a) = β (ρA a)) |
| 32 | (g : (IntegralComparison.Crystalline.Presentation.affineScheme k D).left ⟶ (IntegralComparison.Crystalline.Presentation.affineScheme k C).left) |
| 33 | (hg : g ≫ IntegralComparison.Witt.Crystalline.wittStructureMap p k (IntegralComparison.Crystalline.Presentation.affineScheme k C) = IntegralComparison.Witt.Crystalline.wittStructureMap p k (IntegralComparison.Crystalline.Presentation.affineScheme k D)) |
| 34 | (hβ : g = Spec.map (CommRingCat.ofHom β)) (n : ℕ) |
| 35 | |
| 36 | local notation "FA" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.WittFrame.object p k A C ρA hsA hkA hbA n |
| 37 | local notation "FB" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.WittFrame.object p k B D ρB hsB hkB hbB n |
| 38 | local notation "GB" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite.postcompose g hg) FB |
| 39 | local notation "eA" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing.quotientEquiv p A C ρA hsA hkA n |
| 40 | local notation "eB" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing.quotientEquiv p B D ρB hsB hkB n |
| 41 | |
| 42 | def integralDPMap : DividedPowers.DPMorphism |
| 43 | (IntegralComparison.FlatWittDividedPowers.dividedPowers p k A) (IntegralComparison.FlatWittDividedPowers.dividedPowers p k B) where |
| 44 | toRingHom := α.toRingHom |
| 45 | ideal_comp := (WittDividedPowerNaturality.FlatWittDividedPowerNaturality.isDPMorphism p k A B α.toRingHom).ideal_comp |
| 46 | dpow_comp := (WittDividedPowerNaturality.FlatWittDividedPowerNaturality.isDPMorphism p k A B α.toRingHom).dpow_comp |
| 47 | |
| 48 | def frameDPMap : DividedPowers.DPMorphism (IntegralComparison.SmoothWitt.FrameRing.dividedPowers p k A n) (IntegralComparison.SmoothWitt.FrameRing.dividedPowers p k B n) := |
| 49 | PDTruncationFunctor.PDTruncationMap.dpMap (integralDPMap p k A B α) n |
| 50 | |
| 51 | def residueMap : (IntegralComparison.SmoothWitt.FrameRing.Ring p A n ⧸ IntegralComparison.SmoothWitt.FrameRing.ideal p A n) →+* (IntegralComparison.SmoothWitt.FrameRing.Ring p B n ⧸ IntegralComparison.SmoothWitt.FrameRing.ideal p B n) := |
| 52 | Ideal.quotientMap (IntegralComparison.SmoothWitt.FrameRing.ideal p B n) (frameDPMap p k A B α n).toRingHom |
| 53 | (Ideal.map_le_iff_le_comap.mp (frameDPMap p k A B α n).ideal_comp) |
| 54 | |
| 55 | include hρ in |
| 56 | omit [Algebra k C] [Algebra k D] in |
| 57 | theorem residueMap_eq : (eB).toRingHom.comp (residueMap p k A B α n) = β.comp (eA).toRingHom := by |
| 58 | apply RingHom.ext |
| 59 | intro a |
| 60 | obtain ⟨b, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 61 | change eB (Ideal.Quotient.mk (IntegralComparison.SmoothWitt.FrameRing.ideal p B n) |
| 62 | (PDTruncationFunctor.PDTruncationMap.map (integralDPMap p k A B α) n b)) = |
| 63 | β (eA (Ideal.Quotient.mk (IntegralComparison.SmoothWitt.FrameRing.ideal p A n) b)) |
| 64 | rw [IntegralComparison.SmoothWitt.FrameRing.quotientEquiv_mk, IntegralComparison.SmoothWitt.FrameRing.quotientEquiv_mk] |
| 65 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective b |
| 66 | exact hρ a |
| 67 | |
| 68 | include hρ in |
| 69 | theorem quotientMap_eq : (eB).toRingHom.comp (IntegralComparison.BigCrystallineSite.Object.quotientMap GB FA |
| 70 | (frameDPMap p k A B α n)) = β.comp (eA).toRingHom := |
| 71 | residueMap_eq p k A B C D ρA hsA hkA ρB hsB hkB α β hρ n |
| 72 | |
| 73 | def morphism : GB ⟶ FA where |
| 74 | ringMap := frameDPMap p k A B α n |
| 75 | overBase := by |
| 76 | apply RingHom.ext |
| 77 | intro w |
| 78 | change Ideal.Quotient.mk ((Ideal.span {(p : B)}) ^ (n + 1)) (α (algebraMap (WittVector p k) A w)) = |
| 79 | Ideal.Quotient.mk ((Ideal.span {(p : B)}) ^ (n + 1)) (algebraMap (WittVector p k) B w) |
| 80 | rw [α.commutes] |
| 81 | overX := by |
| 82 | change Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap GB FA |
| 83 | (frameDPMap p k A B α n))) ≫ |
| 84 | Spec.map (CommRingCat.ofHom (eA).symm.toRingHom) = |
| 85 | Spec.map (CommRingCat.ofHom (eB).symm.toRingHom) ≫ g |
| 86 | conv_rhs => rw [hβ] |
| 87 | erw [← Spec.map_comp, ← Spec.map_comp] |
| 88 | congr 1 |
| 89 | apply CommRingCat.hom_ext |
| 90 | apply RingHom.ext |
| 91 | intro c |
| 92 | apply (eB).injective |
| 93 | change eB (IntegralComparison.BigCrystallineSite.Object.quotientMap GB FA |
| 94 | (frameDPMap p k A B α n) ((eA).symm c)) = |
| 95 | eB ((eB).symm (β c)) |
| 96 | rw [RingEquiv.apply_symm_apply] |
| 97 | exact (RingHom.congr_fun |
| 98 | (quotientMap_eq p k A B C D ρA hsA hkA hbA ρB hsB hkB hbB α β hρ g hg n) ((eA).symm c)).trans |
| 99 | (congrArg β ((eA).apply_symm_apply c)) |
| 100 | |
| 101 | def boundedMorphism : |
| 102 | (IntegralComparison.BoundedOpen.Equivalence.postcompose g hg n).obj |
| 103 | (IntegralComparison.SmoothWitt.WittFrame.boundedFrame p k B D ρB hsB hkB hbB n) ⟶ |
| 104 | IntegralComparison.SmoothWitt.WittFrame.boundedFrame p k A C ρA hsA hkA hbA n := |
| 105 | ObjectProperty.homMk (morphism p k A B C D ρA hsA hkA hbA ρB hsB hkB hbB α β hρ g hg hβ n) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Smooth.WittFrameMap.SmoothWittFrameGeometricMap |