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.ProjectiveRefinement.PointPullback |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoefficientPointEvaluation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.AffineTerms |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.IntrinsicSquare |
| 5 | |
| 6 | /-! # Point Evaluation -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.PointEvaluation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On actual affine projective charts, the fixed common-refinement |
| 13 | dual map is the canonical Ext map of the original coefficient morphism. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 23 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps |
| 26 | |
| 27 | variable (M M' : (Proj (homogeneousSubmodule σ R)).Modules) |
| 28 | [M.IsQuasicoherent] [M.IsFiniteType] [M'.IsQuasicoherent] [M'.IsFiniteType] |
| 29 | (j : σ) (B b : ℕ) (hb : b ≤ B) (f : M ⟶ M') |
| 30 | (U : (Proj (homogeneousSubmodule σ R)).Opens) (hU : IsAffineOpen U) |
| 31 | (k : σ) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 32 | (Q : Type u) [CommRing Q] [Algebra Γ(Proj (homogeneousSubmodule σ R), U) Q] |
| 33 | (C : Type u) [AddCommGroup C] [Module Q C] [Module Γ(Proj (homogeneousSubmodule σ R), U) C] |
| 34 | [IsScalarTower Γ(Proj (homogeneousSubmodule σ R), U) Q C] |
| 35 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(Proj (homogeneousSubmodule σ R), U) Q) |
| 36 | (eC : (AffineOpen.InternalHom.sections U hU).obj M' ≅ ModuleCat.of Γ(Proj (homogeneousSubmodule σ R), U) C) |
| 37 | (x : C) |
| 38 | (hv : (AffineOpen.InternalHom.sections U hU).map f ≫ eC.hom = eM.hom ≫ |
| 39 | Quotient.CoefficientEvaluation.point Γ(Proj (homogeneousSubmodule σ R), U) Q C x) |
| 40 | |
| 41 | include hb k hUk hv in |
| 42 | abbrev evaluation (hQ : Function.Surjective (algebraMap Γ(Proj (homogeneousSubmodule σ R), U) Q)) |
| 43 | [Module.Finite Q C] [Module.Projective Q C] |
| 44 | (n : ℕ) (V : (Proj (homogeneousSubmodule σ R)).Modules) |
| 45 | [Module Q Γ(V, U)] [IsScalarTower Γ(Proj (homogeneousSubmodule σ R), U) Q Γ(V, U)] |
| 46 | (κ : ((DualMap.dualFunctor (R := R) j b).obj |
| 47 | (.op (IntegralComparison.Projective.NegativeResolution.complex M j B))).homology n ≅ V) |
| 48 | (m : Γ(M', U)) |
| 49 | (hm : Affine.IntrinsicCoefficientHom.coefficientIso U hU M' C eC m = x) |
| 50 | (z : Γ(((DualMap.dualFunctor (R := R) j b).obj |
| 51 | (.op (IntegralComparison.Projective.NegativeResolution.complex M' j B))).homology n, U)) := by |
| 52 | let N := AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j b |
| 53 | let K := IntegralComparison.Projective.NegativeResolution.complex M j B |
| 54 | let L := IntegralComparison.Projective.NegativeResolution.complex M' j B |
| 55 | letI : N.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 56 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j b) |
| 57 | letI (q : ℕ) : (K.X q).IsQuasicoherent := AffineTerms.fixed_qc M j B q |
| 58 | letI (q : ℕ) : (L.X q).IsQuasicoherent := AffineTerms.fixed_qc M' j B q |
| 59 | letI (q : ℕ) : ((Affine.LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent := |
| 60 | AffineTerms.fixed_dual_qc M j B b hb q |
| 61 | letI (q : ℕ) : ((Affine.LinearResolutionPurity.internalComplex N L).X q).IsQuasicoherent := |
| 62 | AffineTerms.fixed_dual_qc M' j B b hb q |
| 63 | letI (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q)) := |
| 64 | AffineTerms.fixed_projective M j B U hU k hUk q |
| 65 | letI (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q)) := |
| 66 | AffineTerms.fixed_projective M' j B U hU k hUk q |
| 67 | have he := Affine.IntrinsicCoefficientHom.evaluation U hU N K L M M' |
| 68 | (IntegralComparison.Projective.NegativeResolution.augmentation M j B) |
| 69 | (IntegralComparison.Projective.NegativeResolution.augmentation M' j B) |
| 70 | Q hQ C eM eC n V κ z m |
| 71 | rw [hm] at he |
| 72 | exact he.trans (congrArg (κ.hom.app U) |
| 73 | (PointPullback.pullback M M' j B b hb f U hU k hUk |
| 74 | Q C eM eC x hv n z)) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.PointEvaluation |