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.AffineMap |
| 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 Pullback -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.PointPullback |
| 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 | theorem inverse_eq {A : Type u} [CommRing A] {V W : ModuleCat.{u} A} |
| 42 | (e : V ≅ W) {v : V} {w : W} (h : e.hom v = w) : e.inv w = v := by |
| 43 | rw [← h] |
| 44 | exact Iso.hom_inv_id_apply e v |
| 45 | |
| 46 | include hb k hUk hv in |
| 47 | abbrev pullback (n : ℕ) |
| 48 | (z : Γ(((DualMap.dualFunctor (R := R) j b).obj |
| 49 | (.op (IntegralComparison.Projective.NegativeResolution.complex M' j B))).homology n, U)) := by |
| 50 | let N := AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j b |
| 51 | let K := IntegralComparison.Projective.NegativeResolution.complex M j B |
| 52 | let L := IntegralComparison.Projective.NegativeResolution.complex M' j B |
| 53 | letI : N.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 54 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j b) |
| 55 | letI (q : ℕ) : (K.X q).IsQuasicoherent := AffineTerms.fixed_qc M j B q |
| 56 | letI (q : ℕ) : (L.X q).IsQuasicoherent := AffineTerms.fixed_qc M' j B q |
| 57 | letI (q : ℕ) : ((Affine.LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent := |
| 58 | AffineTerms.fixed_dual_qc M j B b hb q |
| 59 | letI (q : ℕ) : ((Affine.LinearResolutionPurity.internalComplex N L).X q).IsQuasicoherent := |
| 60 | AffineTerms.fixed_dual_qc M' j B b hb q |
| 61 | letI (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q)) := |
| 62 | AffineTerms.fixed_projective M j B U hU k hUk q |
| 63 | letI (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q)) := |
| 64 | AffineTerms.fixed_projective M' j B U hU k hUk q |
| 65 | exact inverse_eq (AffinePrincipal.Cohomology.Comparison.comparison U hU N K n) |
| 66 | (AffineMap.comparison M M' j B b hb f U hU k hUk _ _ eM eC |
| 67 | (Quotient.CoefficientEvaluation.point Γ(Proj (homogeneousSubmodule σ R), U) Q C x) hv n z) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.PointPullback |