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.IntrinsicTruncated.Nilpotence |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.FrobeniusShiftDegree |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SourceLift |
| 4 | |
| 5 | /-! # Etale Lift -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.EtaleLift |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual finite etale lift of each prime-to-q shift [m]+F to |
| 12 | the original finite-level good-reduction target. Its source is the |
| 13 | scheme constructed by genuine etale chart gluing. -/ |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | namespace AbelianModel |
| 19 | variable {K : Type} [Field K] [NumberField K] |
| 20 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 21 | |
| 22 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftSpecial (m : ℕ) : A.specialFiber.scheme.left ⟶ A.specialFiber.scheme.left := |
| 23 | ((m : OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.specialFiber.scheme) + |
| 24 | OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) A.specialFiber.scheme).toMul.hom.hom.left |
| 25 | |
| 26 | variable (n m : ℕ) (hm : ¬q ∣ m) |
| 27 | |
| 28 | include hm in |
| 29 | private theorem shift_finite : IsFinite (A.truncatedShiftSpecial m) := |
| 30 | (A.nativeFrobeniusShift_finite_etale m hm).1 |
| 31 | include hm in |
| 32 | private theorem shift_etale : AlgebraicGeometry.Etale (A.truncatedShiftSpecial m) := |
| 33 | (A.nativeFrobeniusShift_finite_etale m hm).2.2 |
| 34 | |
| 35 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftSource : Scheme := by |
| 36 | letI := (shift_finite A) m hm |
| 37 | letI := (shift_etale A) m hm |
| 38 | exact IntegralComparison.Etale.SourceLift.source (A.truncatedReduction n) |
| 39 | (A.truncatedReduction_ker_nilpotent n) (A.truncatedShiftSpecial m) |
| 40 | |
| 41 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftMap : A.truncatedShiftSource n m hm ⟶ (A.truncatedModel n).scheme.left := by |
| 42 | letI := (shift_finite A) m hm |
| 43 | letI := (shift_etale A) m hm |
| 44 | exact IntegralComparison.Etale.SourceLift.map (A.truncatedReduction n) |
| 45 | (A.truncatedReduction_ker_nilpotent n) (A.truncatedShiftSpecial m) |
| 46 | |
| 47 | instance _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftMap_finite : IsFinite (A.truncatedShiftMap n m hm) := by |
| 48 | let := (shift_finite A) m hm |
| 49 | let := (shift_etale A) m hm |
| 50 | exact IntegralComparison.FiniteEtale.SourceLift.map_finite (A.truncatedReduction n) |
| 51 | (A.truncatedReduction_ker_nilpotent n) (A.truncatedShiftSpecial m) |
| 52 | instance _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftMap_etale : AlgebraicGeometry.Etale (A.truncatedShiftMap n m hm) := by |
| 53 | let := (shift_finite A) m hm |
| 54 | let := (shift_etale A) m hm |
| 55 | exact IntegralComparison.Etale.SourceLift.map_etale (A.truncatedReduction n) |
| 56 | (A.truncatedReduction_ker_nilpotent n) (A.truncatedShiftSpecial m) |
| 57 | |
| 58 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftReduction : A.specialFiber.scheme.left ⟶ A.truncatedShiftSource n m hm := by |
| 59 | letI := (shift_finite A) m hm |
| 60 | letI := (shift_etale A) m hm |
| 61 | exact IntegralComparison.Etale.SourceLift.reduction (A.truncatedReduction n) |
| 62 | (A.truncatedReduction_ker_nilpotent n) (A.truncatedShiftSpecial m) |
| 63 | |
| 64 | instance _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftReduction_closed : IsClosedImmersion (A.truncatedShiftReduction n m hm) := by |
| 65 | let := (shift_finite A) m hm |
| 66 | let := (shift_etale A) m hm |
| 67 | exact IntegralComparison.Etale.SourceLift.reduction_closed (A.truncatedReduction n) |
| 68 | (A.truncatedReduction_ker_nilpotent n) (A.truncatedShiftSpecial m) |
| 69 | |
| 70 | instance _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftReduction_surjective : Surjective (A.truncatedShiftReduction n m hm) := by |
| 71 | let := (shift_finite A) m hm |
| 72 | let := (shift_etale A) m hm |
| 73 | exact ⟨IntegralComparison.Etale.SourceLift.reduction_surjective (A.truncatedReduction n) |
| 74 | (A.truncatedReduction_ker_nilpotent n) (A.truncatedShiftSpecial m)⟩ |
| 75 | |
| 76 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftReduction_square : |
| 77 | IsPullback (A.truncatedShiftReduction n m hm) (A.truncatedShiftSpecial m) |
| 78 | (A.truncatedShiftMap n m hm) (A.truncatedReduction n) := by |
| 79 | let := (shift_finite A) m hm |
| 80 | let := (shift_etale A) m hm |
| 81 | exact IntegralComparison.Etale.SourceLiftReduction.reduction_square (A.truncatedReduction n) |
| 82 | (A.truncatedReduction_ker_nilpotent n) (A.truncatedShiftSpecial m) |
| 83 | |
| 84 | @[reassoc] theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftReduction_map : |
| 85 | A.truncatedShiftReduction n m hm ≫ A.truncatedShiftMap n m hm = |
| 86 | A.truncatedShiftSpecial m ≫ A.truncatedReduction n := |
| 87 | (A.truncatedShiftReduction_square n m hm).w |
| 88 | |
| 89 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftModel : Over (Spec (.of (TruncatedModel.NativeTruncatedBase.Ring q n))) := |
| 90 | Over.mk (A.truncatedShiftMap n m hm ≫ (A.truncatedModel n).scheme.hom) |
| 91 | |
| 92 | instance _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftModel_smooth : Smooth (A.truncatedShiftModel n m hm).hom := |
| 93 | inferInstanceAs (Smooth (A.truncatedShiftMap n m hm ≫ (A.truncatedModel n).scheme.hom)) |
| 94 | |
| 95 | instance _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftModel_proper : IsProper (A.truncatedShiftModel n m hm).hom := |
| 96 | inferInstanceAs (IsProper (A.truncatedShiftMap n m hm ≫ (A.truncatedModel n).scheme.hom)) |
| 97 | |
| 98 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftModel_square : |
| 99 | IsPullback (A.truncatedShiftReduction n m hm) A.specialFiber.scheme.hom |
| 100 | (A.truncatedShiftModel n m hm).hom |
| 101 | (Spec.map (CommRingCat.ofHom (TruncatedModel.NativeTruncatedBase.reduction q n))) := by |
| 102 | have h := (A.truncatedShiftReduction_square n m hm).paste_vert (A.truncatedReductionSquare n) |
| 103 | have hw : A.truncatedShiftSpecial m ≫ A.specialFiber.scheme.hom = A.specialFiber.scheme.hom := |
| 104 | ((m : OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.specialFiber.scheme) + |
| 105 | OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) A.specialFiber.scheme).toMul.hom.hom.w |
| 106 | rw [hw] at h |
| 107 | exact h |
| 108 | |
| 109 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.truncatedShiftMap_finrank (x : A.specialFiber.scheme.left) : |
| 110 | (A.truncatedShiftMap n m hm).finrank (A.truncatedReduction n x) = |
| 111 | (A.truncatedShiftSpecial m).finrank x := |
| 112 | (Scheme.Hom.finrank_of_isPullback _ _ _ _ (A.truncatedShiftReduction_square n m hm) x).symm |
| 113 | |
| 114 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.nativeIntegerFrobeniusPolynomial_eval_neg_truncated_finrank |
| 115 | (x : (A.truncatedModel n).scheme.left) : |
| 116 | A.nativeIntegerFrobeniusPolynomial.eval (-(m : ℤ)) = |
| 117 | ((A.truncatedShiftMap n m hm).finrank x : ℤ) := by |
| 118 | obtain ⟨x₀, rfl⟩ := (A.truncatedReduction n).surjective x |
| 119 | rw [A.truncatedShiftMap_finrank n m hm] |
| 120 | exact A.nativeIntegerFrobeniusPolynomial_eval_neg_nat_finrank m hm x₀ |
| 121 | |
| 122 | end AbelianModel |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.EtaleLift |