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.Truncated.PointValueTraceCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmoothPointValue |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.ClosedPoint |
| 4 | |
| 5 | /-! # Point Ordinary Value Formula -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.PointOrdinaryValueFormula.Ordinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original ordinary point value expressed by the local fraction |
| 12 | on any affine neighborhood of its whole identity section. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {K : Type} [Field K] [NumberField K] |
| 19 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : GeometricComparison.Geometry.AbelianH1Model K q jq) (n : ℕ) |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | variable (U : (Projective.IntrinsicOverlap.Intrinsic.space (GeometricComparison.IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) (A.truncatedTraceDimension n+1)).Opens) |
| 22 | (hU : IsAffineOpen U) |
| 23 | (D : ProjectivePoint.PointParameterData.Chart.Data (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) |
| 24 | (A.truncatedIdentitySection n) A.dimension U hU) |
| 25 | (V : (A.truncatedModel n).scheme.left.affineOpens) |
| 26 | (hVU : V.val ≤ (A.truncatedTraceMorphism n).left ⁻¹ᵁ U) |
| 27 | (hcontains : ⊤ ≤ (A.truncatedIdentitySection n) ⁻¹ᵁ V.val) |
| 28 | (r : WittVector q (ZMod q)) |
| 29 | (hr : Witt.quotient q (ZMod q) n r = |
| 30 | Projective.FormFraction.rawValue q (ZMod q) n |
| 31 | (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) |
| 32 | (A.truncatedIdentitySection n) (A.truncatedIdentitySection_over n) |
| 33 | (A.truncatedTraceDimension n+2) le_rfl U hU D) |
| 34 | |
| 35 | abbrev residue := TruncatedModel.SmoothPointValueData.residue q (ZMod q) n |
| 36 | (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) (A.truncatedIdentitySection n) |
| 37 | U hU D A.specialFiber.scheme (A.truncatedReduction n) (A.truncatedReductionSquare n) |
| 38 | (A.truncatedPointValueResolution n) V hVU hcontains |
| 39 | |
| 40 | attribute [local irreducible] HomologicalComplex.homology Intrinsic.TopFormTrace.serreIso |
| 41 | |
| 42 | include hr in |
| 43 | theorem comparison : A.truncatedOrdinaryPointValue n = |
| 44 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension A.dimension • |
| 45 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) A.dimension A.dimension • |
| 46 | ((⟨r⟩ : Crystalline.ExactRestriction.Coeff (B := WittVector q (ZMod q))) • |
| 47 | residue A n U hU D V hVU hcontains)) := by |
| 48 | have h := TruncatedModel.SmoothPointValue.global_fraction q (ZMod q) n |
| 49 | (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) |
| 50 | (A.truncatedIdentitySection n) (A.truncatedIdentitySection_over n) |
| 51 | (A.truncatedTraceDimension n+2) le_rfl U hU D A.specialFiber.scheme |
| 52 | (A.truncatedReduction n) (A.truncatedReductionSquare n) |
| 53 | (A.truncatedPointValueResolution n) V hVU hcontains r hr |
| 54 | refine (PointValueTraceCoordinates.ordinary A n).symm.trans ?_ |
| 55 | dsimp only [PointValueTraceCoordinates.ordinaryValue, |
| 56 | PointValueTraceCoordinates.ordinaryGlobalMap, residue] |
| 57 | dsimp only [TruncatedModel.SmoothPointValueData.cover, |
| 58 | TruncatedModel.SmoothPointValueData.coverFull] at h |
| 59 | exact h |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.PointOrdinaryValueFormula.Ordinary |