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.FiniteCoefficient.Functoriality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.Exponent |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Product.ProductAxes |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Product.Axes |
| 5 | |
| 6 | /-! # Group Law -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.GroupLaw |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The group law acts additively on the actual finite-coefficient H¹ |
| 13 | of a smooth proper geometrically integral group scheme. This is the |
| 14 | finite-level input to detection by multiplication covers. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.Functoriality |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable (ℓ n : ℕ) [Fact ℓ.Prime] |
| 27 | {k : Type u} [Field k] [IsAlgClosed k] |
| 28 | |
| 29 | omit [Fact (Nat.Prime ℓ)] in |
| 30 | theorem pullback_through_point {X Y : Scheme.{u}} |
| 31 | (f : X ⟶ Spec (.of k)) (g : Spec (.of k) ⟶ Y) |
| 32 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n Y).H 1) : |
| 33 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (f ≫ g) 1 x = 0 := by |
| 34 | rw [← Functoriality.finiteEllAdicPullback_comp] |
| 35 | rw [AlgebraicGeometry.FormalGeometry.Completion.Geometric.PointCohomology.Construction.geometricPoint_sheaf_cohomology_eq_zero k |
| 36 | (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n (Spec (.of k))) 0 |
| 37 | (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n g 1 x), map_zero] |
| 38 | |
| 39 | variable (A : Over (Spec (.of k))) [GrpObj A] |
| 40 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 41 | |
| 42 | omit [IsAlgClosed k] [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] in |
| 43 | theorem first_axis : |
| 44 | (AlgebraicGeometry.FormalGeometry.Completion.Proper.ProductAxis.Construction.properProductFirstAxisOver A A (η[A]).left (η[A]).w).left = |
| 45 | (AlgebraicGeometry.FormalGeometry.Completion.Product.Axes.Construction.groupFirstAxis k A).left := by |
| 46 | apply pullback.hom_ext <;> simp [AlgebraicGeometry.FormalGeometry.Completion.Proper.ProductAxis.Construction.properProductFirstAxisOver, AlgebraicGeometry.FormalGeometry.Completion.Product.Axes.Construction.groupFirstAxis] |
| 47 | |
| 48 | omit [IsAlgClosed k] [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] in |
| 49 | theorem second_axis : |
| 50 | AlgebraicGeometry.FormalGeometry.Completion.Proper.AffineBaseChange.Construction.properProductSection A.hom A.hom (η[A]).left (η[A]).w = |
| 51 | (AlgebraicGeometry.FormalGeometry.Completion.Product.Axes.Construction.groupSecondAxis k A).left := by |
| 52 | apply pullback.hom_ext <;> simp [AlgebraicGeometry.FormalGeometry.Completion.Proper.AffineBaseChange.Construction.properProductSection, AlgebraicGeometry.FormalGeometry.Completion.Product.Axes.Construction.groupSecondAxis] |
| 53 | |
| 54 | theorem axes_detect |
| 55 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n (A ⊗ A).left).H 1) |
| 56 | (hfirst : AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (AlgebraicGeometry.FormalGeometry.Completion.Product.Axes.Construction.groupFirstAxis k A).left 1 x = 0) |
| 57 | (hsecond : AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (AlgebraicGeometry.FormalGeometry.Completion.Product.Axes.Construction.groupSecondAxis k A).left 1 x = 0) : x = 0 := by |
| 58 | apply AlgebraicGeometry.FormalGeometry.Completion.Product.ProductAxes.Construction.finiteEllAdicH1_eq_zero_of_axes A.hom A.hom ℓ |
| 59 | (η[A]).left (η[A]).w (η[A]).left (η[A]).w n x |
| 60 | · rw [first_axis] |
| 61 | exact hfirst |
| 62 | · rw [second_axis] |
| 63 | exact hsecond |
| 64 | |
| 65 | theorem group_law (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 66 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (μ[A]).left 1 x = |
| 67 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (fst A A).left 1 x + |
| 68 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (snd A A).left 1 x := by |
| 69 | have hz : AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (toUnit A ≫ η[A]).left 1 x = 0 := |
| 70 | pullback_through_point ℓ n A.hom (η[A]).left x |
| 71 | apply sub_eq_zero.mp |
| 72 | apply axes_detect ℓ n A |
| 73 | · simp only [map_sub, map_add, Functoriality.finiteEllAdicPullback_comp, ← Over.comp_left] |
| 74 | simp only [AlgebraicGeometry.FormalGeometry.Completion.Product.Axes.Construction.groupFirstAxis, lift_comp_one_right, lift_fst, lift_snd, |
| 75 | Over.id_left, Functoriality.finiteEllAdicPullback_id, hz, add_zero, sub_self] |
| 76 | · simp only [map_sub, map_add, Functoriality.finiteEllAdicPullback_comp, ← Over.comp_left] |
| 77 | simp only [AlgebraicGeometry.FormalGeometry.Completion.Product.Axes.Construction.groupSecondAxis, lift_comp_one_left, lift_fst, lift_snd, |
| 78 | Over.id_left, Functoriality.finiteEllAdicPullback_id, hz, zero_add, sub_self] |
| 79 | |
| 80 | theorem pullback_mul {T : Over (Spec (.of k))} (f g : T ⟶ A) |
| 81 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 82 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (f * g).left 1 x = |
| 83 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n f.left 1 x + AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n g.left 1 x := by |
| 84 | change AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (lift f g ≫ μ[A]).left 1 x = _ |
| 85 | rw [Over.comp_left, ← Functoriality.finiteEllAdicPullback_comp, group_law, map_add, |
| 86 | Functoriality.finiteEllAdicPullback_comp, Functoriality.finiteEllAdicPullback_comp, |
| 87 | ← Over.comp_left, ← Over.comp_left, lift_fst, lift_snd] |
| 88 | |
| 89 | omit [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] in |
| 90 | omit [Fact (Nat.Prime ℓ)] in |
| 91 | theorem pullback_one {T : Over (Spec (.of k))} |
| 92 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 93 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (1 : T ⟶ A).left 1 x = 0 := |
| 94 | pullback_through_point ℓ n T.hom (η[A]).left x |
| 95 | |
| 96 | theorem pullback_pow {T : Over (Spec (.of k))} (f : T ⟶ A) (m : ℕ) |
| 97 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 98 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n (f ^ m).left 1 x = |
| 99 | m • AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n f.left 1 x := by |
| 100 | induction m with |
| 101 | | zero => rw [pow_zero, pullback_one, zero_smul] |
| 102 | | succ m ih => rw [pow_succ, pullback_mul, ih, add_nsmul, one_nsmul] |
| 103 | |
| 104 | theorem multiplication_pullback (m : ℕ) |
| 105 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 106 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n ((𝟙 A : A ⟶ A) ^ m).left 1 x = m • x := by |
| 107 | rw [pullback_pow, Over.id_left, Functoriality.finiteEllAdicPullback_id] |
| 108 | |
| 109 | theorem multiplication_pow_pullback_zero |
| 110 | (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 111 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n ((𝟙 A : A ⟶ A) ^ (ℓ ^ n)).left 1 x = 0 := by |
| 112 | rw [multiplication_pullback] |
| 113 | exact Exponent.cohomology_nsmul ℓ n A.left 1 x |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.GroupLaw |