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.TruncatedModel.FrameFunctor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback |
| 3 | |
| 4 | /-! # Morphism Data -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData |
| 11 | |
| 12 | /-! A morphism of actual finite-level models gives compatible section |
| 13 | maps and the prescribed geometric square on every affine refinement. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 18 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 19 | [Smooth X₁.hom] [Smooth X₂.hom] |
| 20 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} |
| 21 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 22 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 23 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 24 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 27 | (U : X₂.left.Opens) (V : X₁.left.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) |
| 28 | (hu : V ≤ u.left ⁻¹ᵁ U) |
| 29 | |
| 30 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 31 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.sourceRing p k n X₂ U |
| 32 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.sourceRing p k n X₁ V |
| 33 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X₂ Y₂ f₂ U |
| 34 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X₁ Y₁ f₁ V |
| 35 | |
| 36 | local instance integralSource : Algebra S A := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S X₂ U |
| 37 | local instance integralTarget : Algebra S D := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S X₁ V |
| 38 | local instance residueSource : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y₂ (f₂ ⁻¹ᵁ U) |
| 39 | local instance residueTarget : Algebra k E := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y₁ (f₁ ⁻¹ᵁ V) |
| 40 | |
| 41 | include sq hu in |
| 42 | omit [Fintype k] [CharP k p] [Smooth X₁.hom] [Smooth X₂.hom] in |
| 43 | theorem residue_refinement : f₁ ⁻¹ᵁ V ≤ v.left ⁻¹ᵁ (f₂ ⁻¹ᵁ U) := |
| 44 | AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback.SectionGeometricSquare.preimage_le u.left v.left f₁ f₂ sq U V hu |
| 45 | |
| 46 | def integralMap : A →ₐ[S] D := AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback.DeRhamPullback.sectionPullbackLE u U V hu |
| 47 | |
| 48 | def specialMap : C →ₐ[k] E := AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback.DeRhamPullback.sectionPullbackLE v (f₂ ⁻¹ᵁ U) (f₁ ⁻¹ᵁ V) |
| 49 | (residue_refinement p k n u v f₁ f₂ sq U V hu) |
| 50 | |
| 51 | omit [Fintype k] [CharP k p] [Smooth X₁.hom] [Smooth X₂.hom] in |
| 52 | theorem reduction_square (a : A) : |
| 53 | Truncated.AffineModelFrame.reduction p k n X₁ Y₁ f₁ V (integralMap p k n u U V hu a) = |
| 54 | specialMap p k n u v f₁ f₂ sq U V hu (Truncated.AffineModelFrame.reduction p k n X₂ Y₂ f₂ U a) := by |
| 55 | have h := AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback.SectionGeometricSquare.square u.left v.left f₁ f₂ sq U V (f₂ ⁻¹ᵁ U) (f₁ ⁻¹ᵁ V) |
| 56 | hu (residue_refinement p k n u v f₁ f₂ sq U V hu) le_rfl le_rfl |
| 57 | rw [← f₁.app_eq_appLE, ← f₂.app_eq_appLE] at h |
| 58 | exact ConcreteCategory.congr_hom h a |
| 59 | |
| 60 | def geometricMap : Spec (CommRingCat.of E) ⟶ Spec (CommRingCat.of C) := |
| 61 | Spec.map (CommRingCat.ofHom (specialMap p k n u v f₁ f₂ sq U V hu).toRingHom) |
| 62 | |
| 63 | include hp₁ hp₂ hU hV in |
| 64 | omit [Smooth X₁.hom] [Smooth X₂.hom] in |
| 65 | theorem chart_square : geometricMap p k n u v f₁ f₂ sq U V hu ≫ |
| 66 | Truncated.AffineModelFrame.chart p k n X₂ Y₂ f₂ hp₂ U hU = |
| 67 | Truncated.AffineModelFrame.chart p k n X₁ Y₁ f₁ hp₁ V hV ≫ v.left := |
| 68 | IsAffineOpen.SpecMap_appLE_fromSpec v.left |
| 69 | (Truncated.AffineModelFrame.residue_affine p k n X₂ Y₂ f₂ hp₂ U hU) |
| 70 | (Truncated.AffineModelFrame.residue_affine p k n X₁ Y₁ f₁ hp₁ V hV) |
| 71 | (residue_refinement p k n u v f₁ f₂ sq U V hu) |
| 72 | |
| 73 | omit [Fintype k] [CharP k p] [Smooth X₁.hom] [Smooth X₂.hom] in |
| 74 | theorem geometric_over : geometricMap p k n u v f₁ f₂ sq U V hu ≫ |
| 75 | Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C) = |
| 76 | Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k E) := |
| 77 | Truncated.SmoothFrameMorphism.base_square p k C E (specialMap p k n u v f₁ f₂ sq U V hu) |
| 78 | |
| 79 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData |
| 80 | |
| 81 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData.Frames |
| 82 | |
| 83 | /-! Refined morphisms of actual finite-level models induce original |
| 84 | bounded crystalline frame maps with exactly their section ring maps. -/ |
| 85 | |
| 86 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 87 | |
| 88 | open OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData |
| 89 | |
| 90 | set_option backward.isDefEq.respectTransparency false |
| 91 | set_option backward.isDefEq.respectTransparency.types false |
| 92 | |
| 93 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 94 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 95 | [Smooth X₁.hom] [Smooth X₂.hom] |
| 96 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} |
| 97 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 98 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 99 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 100 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom |
| 101 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 102 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 103 | (U : X₂.left.Opens) (V : X₁.left.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) |
| 104 | (hu : V ≤ u.left ⁻¹ᵁ U) |
| 105 | |
| 106 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 107 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.sourceRing p k n X₂ U |
| 108 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.sourceRing p k n X₁ V |
| 109 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X₂ Y₂ f₂ U |
| 110 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X₁ Y₁ f₁ V |
| 111 | |
| 112 | local instance integralSource : Algebra S A := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S X₂ U |
| 113 | local instance integralTarget : Algebra S D := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S X₁ V |
| 114 | local instance residueSource : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y₂ (f₂ ⁻¹ᵁ U) |
| 115 | local instance residueTarget : Algebra k E := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y₁ (f₁ ⁻¹ᵁ V) |
| 116 | |
| 117 | local notation "ψ" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData.geometricMap p k n u v f₁ f₂ sq U V hu |
| 118 | local notation "hψ" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData.geometric_over p k n u v f₁ f₂ sq U V hu |
| 119 | local notation "j₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X₁ Y₁ f₁ hp₁ V hV |
| 120 | local notation "j₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X₂ Y₂ f₂ hp₂ U hU |
| 121 | |
| 122 | omit [Fintype k] [CharP k p] in |
| 123 | theorem ambient_over : v.left ≫ Witt.Crystalline.wittStructureMap p k Y₂ = |
| 124 | Witt.Crystalline.wittStructureMap p k Y₁ := by |
| 125 | rw [Witt.Crystalline.wittStructureMap, ← Category.assoc, v.w] |
| 126 | rfl |
| 127 | |
| 128 | def localMap : |
| 129 | (BoundedOpen.Equivalence.postcompose ψ hψ n).obj |
| 130 | (Truncated.AffineModelFrame.localFrame p k n X₁ Y₁ f₁ hp₁ V hV) ⟶ |
| 131 | Truncated.AffineModelFrame.localFrame p k n X₂ Y₂ f₂ hp₂ U hU := by |
| 132 | let := Truncated.AffineModelFrame.source_smooth p k n X₂ U hU |
| 133 | let := Truncated.AffineModelFrame.source_smooth p k n X₁ V hV |
| 134 | exact Truncated.SmoothFrameMorphism.boundedMorphism p k n A D (integralMap p k n u U V hu) C E |
| 135 | (Truncated.AffineModelFrame.reduction p k n X₂ Y₂ f₂ U) |
| 136 | (Truncated.AffineModelFrame.reduction_surjective p k n X₂ Y₂ f₂ hp₂ U hU) |
| 137 | (Truncated.AffineModelFrame.reduction_kernel p k n X₂ Y₂ f₂ hp₂ U hU) |
| 138 | (Truncated.AffineModelFrame.reduction_base p k n X₂ Y₂ f₂ hp₂ U hU) |
| 139 | (Truncated.AffineModelFrame.reduction p k n X₁ Y₁ f₁ V) |
| 140 | (Truncated.AffineModelFrame.reduction_surjective p k n X₁ Y₁ f₁ hp₁ V hV) |
| 141 | (Truncated.AffineModelFrame.reduction_kernel p k n X₁ Y₁ f₁ hp₁ V hV) |
| 142 | (Truncated.AffineModelFrame.reduction_base p k n X₁ Y₁ f₁ hp₁ V hV) |
| 143 | (specialMap p k n u v f₁ f₂ sq U V hu) (reduction_square p k n u v f₁ f₂ sq U V hu) |
| 144 | |
| 145 | def map : |
| 146 | (BoundedOpen.Equivalence.postcompose v.left (ambient_over p k v) n).obj |
| 147 | (Truncated.AffineModelFrame.frame p k n X₁ Y₁ f₁ hp₁ V hV) ⟶ |
| 148 | Truncated.AffineModelFrame.frame p k n X₂ Y₂ f₂ hp₂ U hU := |
| 149 | ObjectProperty.homMk { |
| 150 | ringMap := (localMap p k n u v f₁ f₂ hp₁ hp₂ sq U V hU hV hu).hom.ringMap |
| 151 | overBase := (localMap p k n u v f₁ f₂ hp₁ hp₂ sq U V hU hV hu).hom.overBase |
| 152 | overX := by |
| 153 | let α := (localMap p k n u v f₁ f₂ hp₁ hp₂ sq U V hU hV hu).hom |
| 154 | let c₁ := (Truncated.AffineModelFrame.localFrame p k n X₁ Y₁ f₁ hp₁ V hV).obj.mapToX |
| 155 | change BigCrystallineSite.Object.closed.map α ≫ |
| 156 | ((Truncated.AffineModelFrame.localFrame p k n X₂ Y₂ f₂ hp₂ U hU).obj.mapToX ≫ j₂) = |
| 157 | (c₁ ≫ j₁) ≫ v.left |
| 158 | exact (Category.assoc _ _ _).symm.trans |
| 159 | ((congrArg (fun m => m ≫ j₂) α.overX).trans |
| 160 | ((Category.assoc _ _ _).trans |
| 161 | ((congrArg (fun m => c₁ ≫ m) |
| 162 | (chart_square p k n u v f₁ f₂ hp₁ hp₂ sq U V hU hV hu)).trans |
| 163 | (Category.assoc _ _ _).symm))) } |
| 164 | |
| 165 | theorem map_ringMap : (Frames.map p k n u v f₁ f₂ hp₁ hp₂ sq U V hU hV hu).hom.ringMap = |
| 166 | (localMap p k n u v f₁ f₂ hp₁ hp₂ sq U V hU hV hu).hom.ringMap := rfl |
| 167 | |
| 168 | theorem map_apply (a : A) : (Frames.map p k n u v f₁ f₂ hp₁ hp₂ sq U V hU hV hu).hom.ringMap a = |
| 169 | integralMap p k n u U V hu a := rfl |
| 170 | |
| 171 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData.Frames |
| 172 | |
| 173 | end |
| 174 | |
| 175 | end OAI |