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.ProjectivePoint.KoszulMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.CoefficientCoordinates |
| 3 | |
| 4 | /-! # Point Koszul Map -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.PointKoszulMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual common negative refinement for any coherent coefficient |
| 11 | map to the fixed point sheaf agrees with its canonical local resolution |
| 12 | lift on the entire principal diagram. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 20 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable {Z X : Scheme.{u}} (s₀ : Z ⟶ X) |
| 23 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) |
| 24 | [IsClosedImmersion s₀] [IsClosedImmersion f] |
| 25 | (M : (Proj (homogeneousSubmodule σ R)).Modules) |
| 26 | [M.IsQuasicoherent] [M.IsFiniteType] |
| 27 | |
| 28 | abbrev point := ProjectivePoint.KoszulMap.point s₀ f |
| 29 | local instance point_qc : (point s₀ f).IsQuasicoherent := |
| 30 | Finite.MapPureTrace.coefficients_quasicoherent s₀ f |
| 31 | local instance point_finite : (point s₀ f).IsFiniteType := |
| 32 | Finite.MapPureTrace.coefficients_finiteType s₀ f |
| 33 | |
| 34 | variable (v : M ⟶ point s₀ f) |
| 35 | (U : (Proj (homogeneousSubmodule σ R)).Opens) (hU : IsAffineOpen U) |
| 36 | (i : σ) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (j : σ) (B : ℕ) |
| 37 | |
| 38 | abbrev common := IntegralComparison.Projective.NegativeRefinement.complex M (point s₀ f) j B v |
| 39 | abbrev fixed := IntegralComparison.Projective.NegativeResolution.complex M j B |
| 40 | abbrev pointComplex := IntegralComparison.Projective.NegativeResolution.complex (point s₀ f) j B |
| 41 | |
| 42 | local instance common_qc (q : ℕ) : ((common s₀ f M v j B).X q).IsQuasicoherent := |
| 43 | IntegralComparison.Projective.NegativeRefinement.term_quasicoherent M (point s₀ f) j B v q |
| 44 | |
| 45 | include hi in |
| 46 | omit [LinearOrder σ] in |
| 47 | theorem common_projective (q : ℕ) : |
| 48 | Projective ((AffineOpen.InternalHom.sections U hU).obj ((common s₀ f M v j B).X q)) := |
| 49 | NegativeAffineProjectivity.of_above U hU i hi |
| 50 | (IntegralComparison.Projective.NegativeRefinement.term_above M (point s₀ f) j B v q) |
| 51 | |
| 52 | include hi in |
| 53 | omit [LinearOrder σ] in |
| 54 | theorem fixed_projective (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((fixed M j B).X q)) := |
| 55 | Affine.ProjectiveResolutionTerms.term_projective U hU i hi M j B q |
| 56 | |
| 57 | include hi in |
| 58 | omit [LinearOrder σ] in |
| 59 | theorem point_projective (q : ℕ) : |
| 60 | Projective ((AffineOpen.InternalHom.sections U hU).obj ((pointComplex s₀ f j B).X q)) := |
| 61 | Affine.ProjectiveResolutionTerms.term_projective U hU i hi (point s₀ f) j B q |
| 62 | |
| 63 | variable (N : (Proj (homogeneousSubmodule σ R)).Modules) [N.IsQuasicoherent] |
| 64 | (e : Γ(N, U) ≃ₗ[Γ(Proj (homogeneousSubmodule σ R), U)] |
| 65 | Γ(Proj (homogeneousSubmodule σ R), U)) |
| 66 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule σ R), U)) |
| 67 | (t : Fin m → Γ(Proj (homogeneousSubmodule σ R), U)) |
| 68 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule σ R), U) s t = |
| 69 | (s₀ ≫ f).ker.ideal ⟨U, hU⟩) |
| 70 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), U) |
| 71 | (List.ofFn (Fin.append s t))) |
| 72 | (T : ModuleCat.{u} Γ(Proj (homogeneousSubmodule σ R), U)) |
| 73 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ T) (PM : ProjectiveResolution T) |
| 74 | |
| 75 | def coefficient : T ⟶ ModuleCat.of Γ(Proj (homogeneousSubmodule σ R), U) |
| 76 | (Γ(Proj (homogeneousSubmodule σ R), U) ⧸ KoszulPartial.Resolution.pointIdeal _ s t) := |
| 77 | eM.inv ≫ (AffineOpen.InternalHom.sections U hU).map v ≫ |
| 78 | (Closed.PointQuotientSquare.pointQuotient s₀ f U hU s t hst).hom |
| 79 | |
| 80 | omit [IsNoetherianRing R] [Fintype σ] [LinearOrder σ] [M.IsQuasicoherent] [M.IsFiniteType] in |
| 81 | theorem coefficient_square : (AffineOpen.InternalHom.sections U hU).map v ≫ |
| 82 | (Closed.PointQuotientSquare.pointQuotient s₀ f U hU s t hst).hom = |
| 83 | eM.hom ≫ coefficient s₀ f M v U hU s t hst T eM := by |
| 84 | simp only [coefficient, Iso.hom_inv_id_assoc] |
| 85 | |
| 86 | abbrev pointLift := ProjectiveResolution.lift |
| 87 | (coefficient s₀ f M v U hU s t hst T eM) PM (KoszulPartial.Resolution.pointResolution _ s t hregst) |
| 88 | |
| 89 | abbrev rightHomotopy := by |
| 90 | letI (q : ℕ) := common_projective s₀ f M v U hU i hi j B q |
| 91 | letI (q : ℕ) := point_projective s₀ f U hU i hi j B q |
| 92 | let ε := IntegralComparison.Projective.NegativeRefinement.augmentation M (point s₀ f) j B v |
| 93 | let ε' := IntegralComparison.Projective.NegativeResolution.augmentation (point s₀ f) j B |
| 94 | let r := (IntegralComparison.Projective.NegativeRefinement.rightHom M (point s₀ f) j B v).chainMap |
| 95 | let eP := Closed.PointQuotientSquare.pointQuotient s₀ f U hU s t hst |
| 96 | let b := coefficient s₀ f M v U hU s t hst T eM |
| 97 | let hv := Principal.ResolutionAugmentation.square U hU M (common s₀ f M v j B) ε T eM |
| 98 | (point s₀ f) (pointComplex s₀ f j B) ε' _ eP r v b |
| 99 | (IntegralComparison.Projective.NegativeRefinement.right_augmentation M (point s₀ f) j B v) |
| 100 | (coefficient_square s₀ f M v U hU s t hst T eM) |
| 101 | exact Principal.Resolution.Comparison.naturality U hU N e |
| 102 | M (common s₀ f M v j B) ε T eM PM |
| 103 | (point s₀ f) (pointComplex s₀ f j B) ε' _ eP (KoszulPartial.Resolution.pointResolution _ s t hregst) |
| 104 | r b (pointLift s₀ f M v U hU s t hst hregst T eM PM) hv |
| 105 | (ProjectiveResolution.lift_commutes b PM (KoszulPartial.Resolution.pointResolution _ s t hregst)) |
| 106 | |
| 107 | abbrev rightCoordinates := |
| 108 | KoszulPoint.CoefficientCoordinates.homotopy Γ(Proj (homogeneousSubmodule σ R), U) |
| 109 | (Principal.SectionPresheaf.rings U hU) s t hregst T PM |
| 110 | (pointLift s₀ f M v U hU s t hst hregst T eM PM) _ _ _ |
| 111 | (rightHomotopy s₀ f M v U hU i hi j B N e s t hst hregst T eM PM) |
| 112 | |
| 113 | abbrev leftHomotopy := by |
| 114 | letI (q : ℕ) := common_projective s₀ f M v U hU i hi j B q |
| 115 | letI (q : ℕ) := fixed_projective M U hU i hi j B q |
| 116 | let ε := IntegralComparison.Projective.NegativeRefinement.augmentation M (point s₀ f) j B v |
| 117 | let ε' := IntegralComparison.Projective.NegativeResolution.augmentation M j B |
| 118 | let l := (IntegralComparison.Projective.NegativeRefinement.leftHom M (point s₀ f) j B v).chainMap |
| 119 | let hv := Principal.ResolutionAugmentation.square U hU M (common s₀ f M v j B) ε T eM |
| 120 | M (fixed M j B) ε' T eM l (𝟙 M) (𝟙 T) |
| 121 | (by simpa only [CategoryTheory.Functor.map_id, Category.comp_id] using |
| 122 | IntegralComparison.Projective.NegativeRefinement.left_augmentation M (point s₀ f) j B v) |
| 123 | (by simp only [CategoryTheory.Functor.map_id, Category.id_comp, Category.comp_id]) |
| 124 | exact Principal.Resolution.Comparison.naturality U hU N e |
| 125 | M (common s₀ f M v j B) ε T eM PM M (fixed M j B) ε' T eM PM |
| 126 | l (𝟙 T) (𝟙 PM.complex) hv |
| 127 | (by simp only [CategoryTheory.Functor.map_id, Category.id_comp, Category.comp_id]) |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.PointKoszulMap |