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.SmoothFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence |
| 3 | |
| 4 | /-! # Smooth Frame Morphism -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrameMorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual maps of smooth finite-level algebras induce the original |
| 11 | crystalline frame maps, with their prescribed reduction maps. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (A B : Type) [CommRing A] [CommRing B] |
| 22 | [Algebra (Witt.Ring p k n) A] [Algebra (Witt.Ring p k n) B] |
| 23 | [Algebra.Smooth (Witt.Ring p k n) A] |
| 24 | [Algebra.Smooth (Witt.Ring p k n) B] |
| 25 | (φ : A →ₐ[Witt.Ring p k n] B) |
| 26 | |
| 27 | local notation "W" => WittVector p k |
| 28 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 29 | |
| 30 | omit [Fintype k] [CharP k p] |
| 31 | [Algebra.Smooth (Witt.Ring p k n) A] |
| 32 | [Algebra.Smooth (Witt.Ring p k n) B] in |
| 33 | theorem overBase : φ.toRingHom.comp (SmoothFrame.base p A k n) = |
| 34 | SmoothFrame.base p B k n := by |
| 35 | ext w |
| 36 | exact φ.commutes (Witt.quotient p k n w) |
| 37 | |
| 38 | def dpMap : DividedPowers.DPMorphism (SmoothDividedPowers.dividedPowers p k n A) |
| 39 | (SmoothDividedPowers.dividedPowers p k n B) := |
| 40 | DividedPowers.DPMorphism.mk' (by |
| 41 | apply DividedPowers.IsDPMorphism.of_comp |
| 42 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 43 | (SmoothDividedPowers.dividedPowers p k n A) |
| 44 | (SmoothDividedPowers.dividedPowers p k n B) |
| 45 | (SmoothFrame.base p A k n) φ.toRingHom |
| 46 | (by rw [Ideal.map_span, Set.image_singleton, map_natCast]) |
| 47 | (SmoothDividedPowers.wittBase_isDPMorphism p k n A) |
| 48 | rw [SmoothFrameMorphism.overBase p k n A B φ] |
| 49 | exact SmoothDividedPowers.wittBase_isDPMorphism p k n B) |
| 50 | |
| 51 | variable (C D : Type) [CommRing C] [CommRing D] [Algebra k C] [Algebra k D] |
| 52 | (ρ : A →+* C) (hρ : Function.Surjective ρ) (hkerρ : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 53 | (hbaseρ : ∀ w : WittVector p k, |
| 54 | ρ (algebraMap (Witt.Ring p k n) A (Witt.quotient p k n w)) = |
| 55 | algebraMap k C (WittVector.constantCoeff w)) |
| 56 | (τ : B →+* D) (hτ : Function.Surjective τ) (hkerτ : RingHom.ker τ = Ideal.span {(p : B)}) |
| 57 | (hbaseτ : ∀ w : WittVector p k, |
| 58 | τ (algebraMap (Witt.Ring p k n) B (Witt.quotient p k n w)) = |
| 59 | algebraMap k D (WittVector.constantCoeff w)) |
| 60 | (ψ : C →ₐ[k] D) (hφ : ∀ a, τ (φ a) = ψ (ρ a)) |
| 61 | |
| 62 | omit [Fintype k] [CharP k p] in |
| 63 | theorem base_square : Spec.map (CommRingCat.ofHom ψ.toRingHom) ≫ |
| 64 | Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C) = Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k D) := by |
| 65 | rw [Crystalline.Presentation.affine_wittStructureMap, Crystalline.Presentation.affine_wittStructureMap, ← Spec.map_comp] |
| 66 | congr 1 |
| 67 | apply CommRingCat.hom_ext |
| 68 | ext w |
| 69 | exact ψ.commutes (WittVector.constantCoeff w) |
| 70 | |
| 71 | local notation "FA" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.object p A C ρ hρ hkerρ k n hbaseρ |
| 72 | local notation "FB" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.object p B D τ hτ hkerτ k n hbaseτ |
| 73 | local notation "eA" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.quotientEquiv p A C ρ hρ hkerρ |
| 74 | local notation "eB" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.quotientEquiv p B D τ hτ hkerτ |
| 75 | local notation "aDP" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrameMorphism.dpMap p k n A B φ |
| 76 | |
| 77 | def pulledFrame : BigCrystallineSite.Object p W (Ideal.span {(p : W)}) |
| 78 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 79 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) := |
| 80 | (BigCrystallineSite.postcompose (Spec.map (CommRingCat.ofHom ψ.toRingHom)) (base_square p k C D ψ)).obj FB |
| 81 | |
| 82 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrameMorphism.pulledFrame p k n B C D τ hτ hkerτ hbaseτ ψ |
| 83 | |
| 84 | include hφ in |
| 85 | omit [Fintype k] in |
| 86 | theorem quotientMap_eq : BigCrystallineSite.Object.quotientMap P FA aDP = |
| 87 | (eB).symm.toRingHom.comp (ψ.toRingHom.comp (eA).toRingHom) := by |
| 88 | apply RingHom.ext |
| 89 | intro a |
| 90 | change A ⧸ Ideal.span {(p : A)} at a |
| 91 | obtain ⟨x, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 92 | apply (eB).injective |
| 93 | change (eB) (Ideal.Quotient.mk (Ideal.span {(p : B)}) (φ x)) = |
| 94 | (eB) ((eB).symm (ψ ((eA) (Ideal.Quotient.mk (Ideal.span {(p : A)}) x)))) |
| 95 | rw [RingEquiv.apply_symm_apply] |
| 96 | exact (SmoothFrame.quotientEquiv_mk p B D τ hτ hkerτ (φ x)).trans |
| 97 | ((hφ x).trans (congrArg ψ (SmoothFrame.quotientEquiv_mk p A C ρ hρ hkerρ x).symm)) |
| 98 | |
| 99 | def morphism : P ⟶ FA where |
| 100 | ringMap := aDP |
| 101 | overBase := SmoothFrameMorphism.overBase p k n A B φ |
| 102 | overX := by |
| 103 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap P FA aDP)) ≫ |
| 104 | Spec.map (CommRingCat.ofHom (eA).symm.toRingHom) = |
| 105 | Spec.map (CommRingCat.ofHom (eB).symm.toRingHom) ≫ Spec.map (CommRingCat.ofHom ψ.toRingHom) |
| 106 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 107 | congr 1 |
| 108 | apply CommRingCat.hom_ext |
| 109 | apply RingHom.ext |
| 110 | intro c |
| 111 | have h := RingHom.congr_fun (quotientMap_eq p k n A B φ C D |
| 112 | ρ hρ hkerρ hbaseρ τ hτ hkerτ hbaseτ ψ hφ) ((eA).symm c) |
| 113 | change BigCrystallineSite.Object.quotientMap P FA aDP ((eA).symm c) = (eB).symm (ψ c) |
| 114 | exact h.trans (congrArg (fun z => (eB).symm (ψ z)) ((eA).apply_symm_apply c)) |
| 115 | |
| 116 | def boundedMorphism : |
| 117 | (BoundedOpen.Equivalence.postcompose (Spec.map (CommRingCat.ofHom ψ.toRingHom)) |
| 118 | (base_square p k C D ψ) n).obj |
| 119 | (SmoothFrame.boundedFrame p B D τ hτ hkerτ k n hbaseτ) ⟶ |
| 120 | SmoothFrame.boundedFrame p A C ρ hρ hkerρ k n hbaseρ := |
| 121 | ObjectProperty.homMk (morphism p k n A B φ C D ρ hρ hkerρ hbaseρ τ hτ hkerτ hbaseτ ψ hφ) |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrameMorphism |