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.PairedScalar |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.PairedNeighborhood |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionFormChart |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointSupportedResidue |
| 5 | |
| 6 | /-! # Finite Residue Choice -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Choose the genuine finite residue numerator inside the source of |
| 13 | the original paired frame and one native form chart. The residue formula |
| 14 | uses the original finite point data on the final ambient projective open. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {K : Type} [Field K] [NumberField K] |
| 21 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} {A : Geometry.AbelianH1Model K q jq} |
| 22 | {n m : ℕ} {hm : ¬q ∣ m} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | variable |
| 25 | {U : (IntegralComparison.Projective.IntrinsicOverlap.Intrinsic.space (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) (A.truncatedTraceDimension n+1)).Opens} |
| 26 | {hU : IsAffineOpen U} |
| 27 | {D : IntegralComparison.ProjectivePoint.PointParameterData.Chart.Data (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) |
| 28 | (A.truncatedIdentitySection n) A.dimension U hU} |
| 29 | (P : A.TruncatedPairedPointParameters n m hm U hU D) |
| 30 | |
| 31 | variable |
| 32 | (hgood : IntegralComparison.FiniteEtale.TraceBasis.Good (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) |
| 33 | (A.truncatedShiftModel n m hm) (A.truncatedModel n).scheme (A.truncatedShiftOver n m hm) |
| 34 | ((A.truncatedTraceMorphism n).left ⁻¹ᵁ U)) |
| 35 | (B : ℕ) (hB : A.truncatedTraceDimension n+2 ≤ B) |
| 36 | |
| 37 | abbrev Geometry.AbelianH1Model.TruncatedPairedPointParameters.exists_finiteResidue := by |
| 38 | let : IsFinite (A.truncatedShiftOver n m hm).left := A.truncatedShiftMap_finite n m hm |
| 39 | let : AlgebraicGeometry.Etale (A.truncatedShiftOver n m hm).left := |
| 40 | A.truncatedShiftMap_etale n m hm |
| 41 | have hchart := IntegralComparison.Intrinsic.SectionFormChart.exists_inside (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) |
| 42 | (A.truncatedShiftModel n m hm) (A.truncatedShiftIdentitySection n m hm) |
| 43 | P.sourceNeighborhood P.sourceNeighborhood_contains |
| 44 | exact Exists.imp (fun j hj => by |
| 45 | have hresidues := IntegralComparison.ProjectiveFinite.EtalePointSupportedResidue.exists_residue |
| 46 | (A.truncatedModel n).scheme (A.truncatedShiftModel n m hm) (A.truncatedShiftOver n m hm) |
| 47 | (A.truncatedTraceMorphism n) (A.truncatedShiftIdentitySection n m hm) |
| 48 | (A.truncatedShiftIdentitySection_over n m hm) B hB |
| 49 | P.paired.ambient P.paired.affine P.finiteOriginal (P.final_good hgood) |
| 50 | (P.sourceNeighborhood ⊓ OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens |
| 51 | (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) (A.truncatedShiftModel n m hm) j) hj |
| 52 | exact Exists.imp (fun z hzall => by |
| 53 | rcases hzall with ⟨hz, hzε, hzV, hzcontains, hresidue⟩ |
| 54 | have hzaffine : IsAffineOpen ((A.truncatedShiftModel n m hm).left.basicOpen z) := |
| 55 | ((P.final_good hgood).1.preimage (A.truncatedShiftOver n m hm).left).basicOpen z |
| 56 | have hzbase : (A.truncatedShiftModel n m hm).left.basicOpen z ≤ |
| 57 | (A.truncatedShiftMap n m hm) ⁻¹ᵁ ((A.truncatedTraceMorphism n).left ⁻¹ᵁ P.paired.ambient) := |
| 58 | (A.truncatedShiftModel n m hm).left.basicOpen_le z |
| 59 | have hzneighborhood : (A.truncatedShiftModel n m hm).left.basicOpen z ≤ P.sourceNeighborhood := |
| 60 | hzV.trans inf_le_left |
| 61 | have hzchart : (A.truncatedShiftModel n m hm).left.basicOpen z ≤ |
| 62 | OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) |
| 63 | (A.truncatedShiftModel n m hm) j := hzV.trans inf_le_right |
| 64 | exact And.intro hz <| And.intro hzε <| And.intro hzaffine <| And.intro hzbase <| |
| 65 | And.intro hzneighborhood <| And.intro hzchart <| |
| 66 | And.intro hzcontains hresidue) hresidues) hchart |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.GeometricComparison |