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.Principal.FramedHomComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.HomCoefficientComplex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrientedPurity |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 5 | |
| 6 | /-! # Koszul -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.Koszul.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original augmented affine sheaf resolution and the normal |
| 13 | Koszul resolution have homotopy equivalent Hom complexes on the whole |
| 14 | native principal-open diagram. No choice of separate comparisons on |
| 15 | individual intersections is made. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry 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.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 22 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 23 | (N : X.Modules) [N.IsQuasicoherent] |
| 24 | (e : Γ(N, U) ≃ₗ[Γ(X, U)] Γ(X, U)) |
| 25 | (K : ChainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 26 | (M : X.Modules) [M.IsQuasicoherent] |
| 27 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 28 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 29 | {c : ℕ} (s : Fin c → Γ(X, U)) |
| 30 | (hs : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn s)) |
| 31 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) |
| 32 | (Γ(X, U) ⧸ KoszulPartial.Resolution.normalIdeal Γ(X, U) s)) |
| 33 | |
| 34 | abbrev nativeComplex := |
| 35 | (((InternalHomComplex.sectionHom U hU N).mapHomologicalComplex |
| 36 | (ComplexShape.down ℕ).symm).obj K.op) |
| 37 | |
| 38 | def equivalence : HomotopyEquiv (nativeComplex U hU N K) |
| 39 | (Koszul.HomPresheaf.complex Γ(X, U) (Fin c → Γ(X, U)) |
| 40 | (LineFrame.scalars U hU) (Koszul.GeneratorMatrix.equation Γ(X, U) s)) := by |
| 41 | let P := Affine.OrientedPurity.resolution U hU K M ε |
| 42 | (KoszulPartial.Resolution.normalIdeal Γ(X, U) s) eM |
| 43 | let Q := KoszulPartial.Resolution.normalResolution Γ(X, U) s hs |
| 44 | let F := HomCoefficientFunctor.functor Γ(X, U) (LineFrame.scalars U hU) |
| 45 | let e₁ := (FramedHomComplex.iso U hU N e (.down ℕ) K) ≪≫ |
| 46 | FramedHomComplex.chartHomIso U hU (.down ℕ) K |
| 47 | let e₂ := ProjectiveResolution.Hom.Comparison.homotopyEquiv F P Q |
| 48 | let e₃ := Koszul.HomCoefficientComplex.iso Γ(X, U) (Fin c → Γ(X, U)) |
| 49 | (LineFrame.scalars U hU) (Koszul.GeneratorMatrix.equation Γ(X, U) s) |
| 50 | exact ((HomotopyEquiv.ofIso e₁).trans e₂).trans (HomotopyEquiv.ofIso e₃) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.Koszul.Comparison |