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.Intrinsic.CoefficientPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoefficientRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomSectionsEquiv |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SurjectiveScalarHom |
| 5 | |
| 6 | /-! # Intrinsic Coefficient Hom -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.IntrinsicCoefficientHom |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Native finite-projective coefficient purity takes values in the |
| 13 | actual internal Hom into the globally identified scalar dualizing sheaf, |
| 14 | without any scalar-purity frame. |
| 15 | Its normalization is literal evaluation on coefficient sections. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | universe u |
| 24 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation |
| 25 | |
| 26 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 27 | (N : X.Modules) [N.IsQuasicoherent] |
| 28 | (K L : ChainComplex X.Modules ℕ) |
| 29 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] |
| 30 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 31 | [∀ q, ((LinearResolutionPurity.internalComplex N L).X q).IsQuasicoherent] |
| 32 | (M M' : X.Modules) [M.IsQuasicoherent] [M'.IsQuasicoherent] |
| 33 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 34 | (ε' : L ⟶ (ChainComplex.single₀ X.Modules).obj M') [QuasiIso ε'] |
| 35 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 36 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q))] |
| 37 | (Q : Type u) [CommRing Q] [Algebra Γ(X, U) Q] |
| 38 | (hQ : Function.Surjective (algebraMap Γ(X, U) Q)) |
| 39 | (C : Type u) [AddCommGroup C] [Module Q C] [Module Γ(X, U) C] |
| 40 | [IsScalarTower Γ(X, U) Q C] [Module.Finite Q C] [Module.Projective Q C] |
| 41 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) Q) |
| 42 | (eC : (AffineOpen.InternalHom.sections U hU).obj M' ≅ ModuleCat.of Γ(X, U) C) |
| 43 | (n : ℕ) |
| 44 | (V : X.Modules) [Module Q Γ(V, U)] [IsScalarTower Γ(X, U) Q Γ(V, U)] |
| 45 | (κ : (LinearResolutionPurity.internalComplex N K).homology n ≅ V) |
| 46 | |
| 47 | def scalarIso : Quotient.CoefficientEvaluation.group Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N) n |
| 48 | (CoefficientLifts.resolution U hU K M ε (ModuleCat.of Γ(X, U) Q) eM) ≅ |
| 49 | ModuleCat.of Γ(X, U) Γ(V, U) := |
| 50 | (AffinePrincipal.Cohomology.Comparison.comparison U hU N K n).symm ≪≫ |
| 51 | (ModuleExactSections.sections U).mapIso κ |
| 52 | |
| 53 | def coefficientIso : Γ(M', U) ≃ₗ[Γ(X, U)] C := |
| 54 | ((ChartSections.iso U hU M') ≪≫ eC).toLinearEquiv |
| 55 | |
| 56 | def linearEquiv : Γ((LinearResolutionPurity.internalComplex N L).homology n, U) ≃ₗ[Γ(X, U)] |
| 57 | (Γ(M', U) →ₗ[Γ(X, U)] Γ(V, U)) := |
| 58 | ((AffinePrincipal.Cohomology.Comparison.comparison U hU N L n).toLinearEquiv.trans |
| 59 | (Intrinsic.CoefficientPurity.equiv Γ(X, U) Q hQ ((AffineOpen.InternalHom.sections U hU).obj N) n |
| 60 | (CoefficientLifts.resolution U hU K M ε (ModuleCat.of Γ(X, U) Q) eM) |
| 61 | Γ(V, U) (scalarIso U hU N K M ε Q eM n V κ) C |
| 62 | (CoefficientLifts.resolution U hU L M' ε' (ModuleCat.of Γ(X, U) C) eC))).trans |
| 63 | ((SurjectiveScalarHom.equiv Γ(X, U) Q hQ C Γ(V, U)).trans |
| 64 | (LinearEquiv.arrowCongr (coefficientIso U hU M' C eC).symm (LinearEquiv.refl Γ(X, U) Γ(V, U)))) |
| 65 | |
| 66 | def iso : (ModuleExactSections.sections U).obj |
| 67 | ((LinearResolutionPurity.internalComplex N L).homology n) ≅ |
| 68 | (ModuleExactSections.sections U).obj (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M' V) := |
| 69 | ((linearEquiv U hU N K L M M' ε ε' Q hQ C eM eC n V κ).trans |
| 70 | (HomSectionsEquiv.equiv U hU M' V).symm).toModuleIso |
| 71 | |
| 72 | omit [N.IsQuasicoherent] in |
| 73 | theorem evaluation |
| 74 | (z : Γ((LinearResolutionPurity.internalComplex N L).homology n, U)) |
| 75 | (m : Γ(M', U)) : |
| 76 | ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M' V U |
| 77 | ((iso U hU N K L M M' ε ε' Q hQ C eM eC n V κ).hom z) m = |
| 78 | κ.hom.app U (CoefficientRestriction.pullback U hU N K L M M' ε ε' Q C eM eC n z |
| 79 | (coefficientIso U hU M' C eC m)) := by |
| 80 | change HomSectionsEquiv.equiv U hU M' V |
| 81 | ((HomSectionsEquiv.equiv U hU M' V).symm |
| 82 | (linearEquiv U hU N K L M M' ε ε' Q hQ C eM eC n V κ z)) m = _ |
| 83 | rw [LinearEquiv.apply_symm_apply] |
| 84 | change Intrinsic.CoefficientPurity.equiv Γ(X, U) Q hQ ((AffineOpen.InternalHom.sections U hU).obj N) n |
| 85 | (CoefficientLifts.resolution U hU K M ε (ModuleCat.of Γ(X, U) Q) eM) |
| 86 | Γ(V, U) (scalarIso U hU N K M ε Q eM n V κ) C |
| 87 | (CoefficientLifts.resolution U hU L M' ε' (ModuleCat.of Γ(X, U) C) eC) |
| 88 | ((AffinePrincipal.Cohomology.Comparison.comparison U hU N L n).hom z) |
| 89 | (coefficientIso U hU M' C eC m) = _ |
| 90 | rw [Intrinsic.CoefficientPurity.equiv_apply] |
| 91 | rfl |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.IntrinsicCoefficientHom |