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.Closed.PointQuotientSquare |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ResolutionAugmentation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeAffineProjectivity |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativeRefinement |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.MapPureTrace |
| 6 | |
| 7 | /-! # Koszul Map -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.KoszulMap |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original common negative refinement of the map to a section |
| 14 | is the canonical normal-to-point Koszul map on the entire principal |
| 15 | diagram, by an augmentation-normalized cochain homotopy. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | universe u |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 23 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | variable {Z X : Scheme.{u}} (s₀ : Z ⟶ X) |
| 26 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) |
| 27 | [IsClosedImmersion s₀] [IsClosedImmersion f] |
| 28 | (U : (Proj (homogeneousSubmodule σ R)).Opens) (hU : IsAffineOpen U) |
| 29 | (i : σ) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (j : σ) (B : ℕ) |
| 30 | |
| 31 | abbrev scalar := Principal.ClosedQuotient.directImage f |
| 32 | abbrev point := Cech.StructurePullbackUnit.coefficients s₀ f |
| 33 | abbrev quotientMap := Cech.StructurePullbackUnit.sheafMap s₀ f |
| 34 | |
| 35 | local instance scalar_qc : (scalar f).IsQuasicoherent := |
| 36 | IntegralComparison.Projective.ClosedImmersionPurity.directImage_quasicoherent f |
| 37 | local instance scalar_finite : (scalar f).IsFiniteType := |
| 38 | IntegralComparison.Projective.ClosedImmersionPurity.directImage_finiteType f |
| 39 | local instance point_qc : (point s₀ f).IsQuasicoherent := |
| 40 | Finite.MapPureTrace.coefficients_quasicoherent s₀ f |
| 41 | local instance point_finite : (point s₀ f).IsFiniteType := |
| 42 | Finite.MapPureTrace.coefficients_finiteType s₀ f |
| 43 | |
| 44 | abbrev common := IntegralComparison.Projective.NegativeRefinement.complex (scalar f) (point s₀ f) j B (quotientMap s₀ f) |
| 45 | abbrev pointComplex := IntegralComparison.Projective.NegativeResolution.complex (point s₀ f) j B |
| 46 | |
| 47 | local instance common_qc (q : ℕ) : ((common s₀ f j B).X q).IsQuasicoherent := |
| 48 | IntegralComparison.Projective.NegativeRefinement.term_quasicoherent (scalar f) (point s₀ f) j B (quotientMap s₀ f) q |
| 49 | include hi in |
| 50 | omit [LinearOrder σ] in |
| 51 | theorem common_projective (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((common s₀ f j B).X q)) := |
| 52 | NegativeAffineProjectivity.of_above U hU i hi |
| 53 | (IntegralComparison.Projective.NegativeRefinement.term_above (scalar f) (point s₀ f) j B (quotientMap s₀ f) q) |
| 54 | include hi in |
| 55 | omit [LinearOrder σ] in |
| 56 | theorem point_projective (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((pointComplex s₀ f j B).X q)) := |
| 57 | Affine.ProjectiveResolutionTerms.term_projective U hU i hi (point s₀ f) j B q |
| 58 | |
| 59 | variable (N : (Proj (homogeneousSubmodule σ R)).Modules) [N.IsQuasicoherent] |
| 60 | (e : Γ(N, U) ≃ₗ[Γ(Proj (homogeneousSubmodule σ R), U)] Γ(Proj (homogeneousSubmodule σ R), U)) |
| 61 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule σ R), U)) |
| 62 | (t : Fin m → Γ(Proj (homogeneousSubmodule σ R), U)) |
| 63 | (hs : KoszulPartial.Resolution.normalIdeal Γ(Proj (homogeneousSubmodule σ R), U) s = f.ker.ideal ⟨U, hU⟩) |
| 64 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule σ R), U) s t = (s₀ ≫ f).ker.ideal ⟨U, hU⟩) |
| 65 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), U) (List.ofFn s)) |
| 66 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), U) (List.ofFn (Fin.append s t))) |
| 67 | |
| 68 | abbrev rightHomotopy := by |
| 69 | letI (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((common s₀ f j B).X q)) := |
| 70 | common_projective s₀ f U hU i hi j B q |
| 71 | letI (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((pointComplex s₀ f j B).X q)) := |
| 72 | point_projective s₀ f U hU i hi j B q |
| 73 | let ε := IntegralComparison.Projective.NegativeRefinement.augmentation (scalar f) (point s₀ f) j B (quotientMap s₀ f) |
| 74 | let ε' := IntegralComparison.Projective.NegativeResolution.augmentation (point s₀ f) j B |
| 75 | let v := (IntegralComparison.Projective.NegativeRefinement.rightHom (scalar f) (point s₀ f) j B (quotientMap s₀ f)).chainMap |
| 76 | let eM := Principal.OrientedResidue.quotientIso f U hU s hs |
| 77 | let eP := Closed.PointQuotientSquare.pointQuotient s₀ f U hU s t hst |
| 78 | let hv := Principal.ResolutionAugmentation.square U hU (scalar f) (common s₀ f j B) ε _ eM |
| 79 | (point s₀ f) (pointComplex s₀ f j B) ε' _ eP v (quotientMap s₀ f) (KoszulPartial.Resolution.quotient _ s t) |
| 80 | (IntegralComparison.Projective.NegativeRefinement.right_augmentation (scalar f) (point s₀ f) j B (quotientMap s₀ f)) |
| 81 | (Closed.PointQuotientSquare.square s₀ f U hU s t hs hst) |
| 82 | exact Principal.Resolution.Comparison.naturality U hU N e |
| 83 | (scalar f) (common s₀ f j B) ε _ eM (KoszulPartial.Resolution.normalResolution _ s hreg) |
| 84 | (point s₀ f) (pointComplex s₀ f j B) ε' _ eP (KoszulPartial.Resolution.pointResolution _ s t hregst) |
| 85 | v (KoszulPartial.Resolution.quotient _ s t) (KoszulPartial.Resolution.inclusion _ s t) hv (KoszulPartial.Resolution.augmentation _ s t hreg hregst) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.KoszulMap |