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.PointedParameters |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.ShiftCohomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.CommonParameterNeighborhood |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterSource |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PairedParameters |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PointedParameterGeometry |
| 7 | |
| 8 | /-! # Paired Parameters -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The original truncated finite shift admits a pointed frame and |
| 15 | two full parameter systems on one ambient projective open. The source |
| 16 | tuple is the literal finite pullback of the original target tuple. -/ |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PairedParameters.ParameterChart |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | variable {K : Type} [Field K] [NumberField K] |
| 23 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 24 | (n m : ℕ) (hm : ¬q ∣ m) |
| 25 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 26 | variable (U : (IntegralComparison.Projective.IntrinsicOverlap.Intrinsic.space (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) (A.truncatedTraceDimension n+1)).Opens) |
| 27 | (hU : IsAffineOpen U) |
| 28 | (D : IntegralComparison.ProjectivePoint.PointParameterData.Chart.Data (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) |
| 29 | (A.truncatedIdentitySection n) A.dimension U hU) |
| 30 | |
| 31 | structure Geometry.AbelianH1Model.TruncatedPairedPointParameters where |
| 32 | source : (A.truncatedShiftModel n m hm).left.affineOpens |
| 33 | target : (A.truncatedModel n).scheme.left.affineOpens |
| 34 | source_below : source.val ≤ (A.truncatedShiftMap n m hm) ⁻¹ᵁ |
| 35 | ((A.truncatedTraceMorphism n).left ⁻¹ᵁ U) |
| 36 | target_below : target.val ≤ (A.truncatedTraceMorphism n).left ⁻¹ᵁ U |
| 37 | source_contains : ⊤ ≤ (A.truncatedShiftIdentitySection n m hm) ⁻¹ᵁ source.val |
| 38 | target_contains : ⊤ ≤ (A.truncatedIdentitySection n) ⁻¹ᵁ target.val |
| 39 | reduction : (A.truncatedShiftReduction n m hm) ⁻¹ᵁ source.val = |
| 40 | (A.truncatedReduction n) ⁻¹ᵁ target.val |
| 41 | paired : IntegralComparison.ProjectivePoint.PairedParameters.ParameterChart.PairedData (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) |
| 42 | (A.truncatedIdentitySection n) A.dimension U hU D target.val |
| 43 | (A.truncatedIdentityTransportedParameters n m hm source target reduction source_contains target_contains |
| 44 | A.dimension (fun a => (A.truncatedShiftMap n m hm).appLE |
| 45 | ((A.truncatedTraceMorphism n).left ⁻¹ᵁ U) source.val source_below |
| 46 | ((A.truncatedTraceMorphism n).left.app U (D.parameters a)))) |
| 47 | |
| 48 | variable (hgood : IntegralComparison.FiniteEtale.TraceBasis.Good (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) |
| 49 | (A.truncatedShiftModel n m hm) (A.truncatedModel n).scheme (A.truncatedShiftOver n m hm) |
| 50 | ((A.truncatedTraceMorphism n).left ⁻¹ᵁ U)) |
| 51 | |
| 52 | include hgood in |
| 53 | theorem Geometry.AbelianH1Model.exists_truncatedPairedPointParameters : |
| 54 | Nonempty (A.TruncatedPairedPointParameters n m hm U hU D) := by |
| 55 | let R := IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n |
| 56 | let X := (A.truncatedModel n).scheme |
| 57 | let Y := A.truncatedShiftModel n m hm |
| 58 | let f := A.truncatedShiftOver n m hm |
| 59 | let : IsFinite f.left := A.truncatedShiftMap_finite n m hm |
| 60 | let : AlgebraicGeometry.Etale f.left := A.truncatedShiftMap_etale n m hm |
| 61 | let i := A.truncatedTraceMorphism n |
| 62 | let s := A.truncatedShiftIdentitySection n m hm |
| 63 | let t := IntegralComparison.ProjectivePoint.ParameterSource.parameters X i (A.truncatedIdentitySection n) |
| 64 | A.dimension U hU D.toParameterData |
| 65 | let : Subsingleton (Spec (CommRingCat.of (ZMod q))) := |
| 66 | Ring.KrullDimLE.subsingleton_primeSpectrum (ZMod q) |
| 67 | have hsf : s ≫ f.left = A.truncatedIdentitySection n := A.truncatedShiftIdentitySection_map n m hm |
| 68 | let : IsClosedImmersion (s ≫ f.left) := hsf.symm ▸ inferInstance |
| 69 | have hc : ⊤ ≤ (s ≫ f.left) ⁻¹ᵁ (i.left ⁻¹ᵁ U) := hsf.symm ▸ D.contains |
| 70 | have ht : Ideal.span (Set.range t) = (s ≫ f.left).ker.ideal ⟨i.left ⁻¹ᵁ U,hU.preimage i.left⟩ := by |
| 71 | rw [hsf] |
| 72 | exact IntegralComparison.ProjectivePoint.ParameterSource.span X i (A.truncatedIdentitySection n) |
| 73 | A.dimension U hU D.toParameterData |
| 74 | have hr₂ : A.specialIdentitySection ≫ A.truncatedReduction n = |
| 75 | Spec.map (CommRingCat.ofHom (IntegralComparison.Truncated.Witt.reduction q (ZMod q) n)) ≫ (s ≫ f.left) := by |
| 76 | rw [hsf] |
| 77 | exact A.truncatedIdentitySection_reduction n |
| 78 | obtain ⟨E⟩ := IntegralComparison.FiniteEtale.CommonParameterNeighborhood.exists_data R X Y f s |
| 79 | (A.truncatedShiftIdentitySection_over n m hm) (i.left ⁻¹ᵁ U) (hU.preimage i.left) hc hgood t |
| 80 | A.specialFiber.scheme.left (A.truncatedShiftReduction n m hm) (A.truncatedReduction n) ht |
| 81 | (IntegralComparison.ProjectivePoint.ParameterSource.regular X i (A.truncatedIdentitySection n) |
| 82 | A.dimension U hU D.toParameterData) |
| 83 | (IntegralComparison.ProjectivePoint.ParameterSource.basis X i (A.truncatedIdentitySection n) |
| 84 | A.dimension U hU D.toParameterData) |
| 85 | (IntegralComparison.ProjectivePoint.ParameterSource.basis_apply X i (A.truncatedIdentitySection n) |
| 86 | A.dimension U hU D.toParameterData) |
| 87 | (Spec.map (CommRingCat.ofHom (IntegralComparison.Truncated.Witt.reduction q (ZMod q) n))) |
| 88 | (IntegralComparison.Truncated.SectionPuncture.reduction_surjective q (ZMod q) n) |
| 89 | A.specialIdentitySection (A.truncatedShiftIdentitySection_reduction n m hm).symm hr₂ |
| 90 | have hc₂ : ⊤ ≤ (A.truncatedIdentitySection n) ⁻¹ᵁ E.target.val := hsf ▸ E.target_contains |
| 91 | let b₀ : Fin A.dimension → Γ(Y.left,E.source.val) := fun a => |
| 92 | f.left.appLE (i.left ⁻¹ᵁ U) E.source.val E.source_le (i.left.app U (D.parameters a)) |
| 93 | let t' := A.truncatedIdentityTransportedParameters n m hm E.source E.target E.reduction |
| 94 | E.source_contains hc₂ A.dimension b₀ |
| 95 | have ht' : Ideal.span (Set.range t') = (A.truncatedIdentitySection n).ker.ideal E.target := |
| 96 | A.truncatedIdentityTransportedParameters_span n m hm E.source E.target E.reduction |
| 97 | E.source_contains hc₂ A.dimension b₀ E.ideal |
| 98 | have hreg' : RingTheory.Sequence.IsWeaklyRegular Γ(X.left,E.target.val) (List.ofFn t') := |
| 99 | IntegralComparison.TruncatedModel.PointedParameterGeometry.regular q (ZMod q) n Y X A.specialFiber.scheme |
| 100 | (A.truncatedShiftReduction n m hm) (A.truncatedReduction n) |
| 101 | (A.truncatedShiftModel_square n m hm) (A.truncatedReductionSquare n) |
| 102 | E.source E.target E.reduction s (A.truncatedShiftIdentitySection_over n m hm) |
| 103 | (A.truncatedIdentitySection n) (A.truncatedIdentitySection_over n) |
| 104 | A.specialIdentitySection A.specialIdentitySection_over |
| 105 | (A.truncatedShiftIdentitySection_reduction n m hm).symm (A.truncatedIdentitySection_reduction n) |
| 106 | E.source_contains hc₂ A.dimension b₀ E.regular |
| 107 | let b' := IntegralComparison.TruncatedModel.PointedParameterGeometry.basis q (ZMod q) n Y X A.specialFiber.scheme |
| 108 | (A.truncatedShiftReduction n m hm) (A.truncatedReduction n) |
| 109 | (A.truncatedShiftModel_square n m hm) (A.truncatedReductionSquare n) |
| 110 | E.source E.target E.reduction s (A.truncatedShiftIdentitySection_over n m hm) |
| 111 | (A.truncatedIdentitySection n) (A.truncatedIdentitySection_over n) |
| 112 | A.specialIdentitySection A.specialIdentitySection_over |
| 113 | (A.truncatedShiftIdentitySection_reduction n m hm).symm (A.truncatedIdentitySection_reduction n) |
| 114 | E.source_contains hc₂ A.dimension E.basis |
| 115 | have hb' (a : Fin A.dimension) : b' a = KaehlerDifferential.D R Γ(X.left,E.target.val) (t' a) := |
| 116 | IntegralComparison.TruncatedModel.PointedParameterGeometry.basis_apply q (ZMod q) n Y X A.specialFiber.scheme |
| 117 | (A.truncatedShiftReduction n m hm) (A.truncatedReduction n) |
| 118 | (A.truncatedShiftModel_square n m hm) (A.truncatedReductionSquare n) |
| 119 | E.source E.target E.reduction s (A.truncatedShiftIdentitySection_over n m hm) |
| 120 | (A.truncatedIdentitySection n) (A.truncatedIdentitySection_over n) |
| 121 | A.specialIdentitySection A.specialIdentitySection_over |
| 122 | (A.truncatedShiftIdentitySection_reduction n m hm).symm (A.truncatedIdentitySection_reduction n) |
| 123 | E.source_contains hc₂ A.dimension b₀ E.basis E.basis_apply a |
| 124 | obtain ⟨P⟩ := IntegralComparison.ProjectivePoint.PairedParameters.ParameterChart.exists_paired X i (A.truncatedIdentitySection n) A.dimension U hU D E.target.val t' |
| 125 | (A.truncatedIdentitySection_over n) E.target.property hc₂ ht' hreg' b' hb' |
| 126 | exact ⟨{ |
| 127 | source := E.source |
| 128 | target := E.target |
| 129 | source_below := E.source_le |
| 130 | target_below := E.target_le |
| 131 | source_contains := E.source_contains |
| 132 | target_contains := hc₂ |
| 133 | reduction := E.reduction |
| 134 | paired := P |
| 135 | }⟩ |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.NumberTheory.PadicHodge.GeometricComparison |