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.Affine.IntrinsicCoefficientHom |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.AffineMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.CoefficientPurity |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoefficientRestriction |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomSectionsEquiv |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SurjectiveScalarHom |
| 7 | |
| 8 | /-! # Coefficient Point Evaluation -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoefficientPointEvaluation |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Native finite-projective coefficient purity takes values in the |
| 15 | actual internal Hom into the globally identified scalar dualizing sheaf, |
| 16 | without any scalar-purity frame. |
| 17 | Its normalization is literal evaluation on coefficient sections. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | universe u |
| 26 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation |
| 27 | |
| 28 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 29 | (N : X.Modules) [N.IsQuasicoherent] |
| 30 | (K L : ChainComplex X.Modules ℕ) |
| 31 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] |
| 32 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 33 | [∀ q, ((LinearResolutionPurity.internalComplex N L).X q).IsQuasicoherent] |
| 34 | (M M' : X.Modules) [M.IsQuasicoherent] [M'.IsQuasicoherent] |
| 35 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 36 | (ε' : L ⟶ (ChainComplex.single₀ X.Modules).obj M') [QuasiIso ε'] |
| 37 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 38 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q))] |
| 39 | (Q : Type u) [CommRing Q] [Algebra Γ(X, U) Q] |
| 40 | (hQ : Function.Surjective (algebraMap Γ(X, U) Q)) |
| 41 | (C : Type u) [AddCommGroup C] [Module Q C] [Module Γ(X, U) C] |
| 42 | [IsScalarTower Γ(X, U) Q C] [Module.Finite Q C] [Module.Projective Q C] |
| 43 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) Q) |
| 44 | (eC : (AffineOpen.InternalHom.sections U hU).obj M' ≅ ModuleCat.of Γ(X, U) C) |
| 45 | (n : ℕ) |
| 46 | (V : X.Modules) [Module Q Γ(V, U)] [IsScalarTower Γ(X, U) Q Γ(V, U)] |
| 47 | (κ : (LinearResolutionPurity.internalComplex N K).homology n ≅ V) |
| 48 | |
| 49 | variable (d : (LinearResolutionPurity.internalComplex N L).homology n ⟶ |
| 50 | (LinearResolutionPurity.internalComplex N K).homology n) |
| 51 | (z : Γ((LinearResolutionPurity.internalComplex N L).homology n, U)) |
| 52 | (m : Γ(M', U)) (v : C) |
| 53 | (hm : IntrinsicCoefficientHom.coefficientIso U hU M' C eC m = v) |
| 54 | (hd : (AffinePrincipal.Cohomology.Comparison.comparison U hU N K n).hom (d.app U z) = |
| 55 | Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N)) |
| 56 | (CoefficientLifts.resolution U hU K M ε (ModuleCat.of Γ(X, U) Q) eM) |
| 57 | (CoefficientLifts.resolution U hU L M' ε' (ModuleCat.of Γ(X, U) C) eC) |
| 58 | (Quotient.CoefficientEvaluation.point Γ(X, U) Q C v) n |
| 59 | ((AffinePrincipal.Cohomology.Comparison.comparison U hU N L n).hom z)) |
| 60 | |
| 61 | include hm hd in |
| 62 | omit [N.IsQuasicoherent] in |
| 63 | theorem evaluation : |
| 64 | ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M' V U |
| 65 | ((IntrinsicCoefficientHom.iso U hU N K L M M' ε ε' Q hQ C eM eC n V κ).hom z) m = |
| 66 | κ.hom.app U (d.app U z) := by |
| 67 | have he := IntrinsicCoefficientHom.evaluation U hU N K L M M' ε ε' Q hQ C eM eC n V κ z m |
| 68 | rw [hm] at he |
| 69 | have hp : CoefficientRestriction.pullback U hU N K L M M' ε ε' Q C eM eC n z v = d.app U z := by |
| 70 | apply (ConcreteCategory.bijective_of_isIso |
| 71 | (AffinePrincipal.Cohomology.Comparison.comparison U hU N K n).hom).injective |
| 72 | rw [CoefficientRestriction.comparison_pullback] |
| 73 | exact hd.symm |
| 74 | exact he.trans (congrArg (κ.hom.app U) hp) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoefficientPointEvaluation |