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.FramedHomNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.Resolution |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.Transport |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.HomotopyNaturality |
| 5 | |
| 6 | /-! # Resolution -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.Resolution.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual augmentation-preserving sheaf resolution maps compare |
| 13 | canonically to any local projective resolutions on the entire principal |
| 14 | diagram, by a genuine cochain homotopy. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 21 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 22 | |
| 23 | def resolution (M : X.Modules) [M.IsQuasicoherent] |
| 24 | (K : ChainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 25 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 26 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 27 | (T : ModuleCat.{u} Γ(X, U)) (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ T) : ProjectiveResolution T := |
| 28 | IntegralComparison.ProjectiveResolution.Transport.alongIso |
| 29 | (AffineOpen.Resolution.ofAugmentation U hU M K ε) eM |
| 30 | |
| 31 | variable (N : X.Modules) [N.IsQuasicoherent] |
| 32 | (e : Γ(N, U) ≃ₗ[Γ(X, U)] Γ(X, U)) |
| 33 | (M : X.Modules) [M.IsQuasicoherent] |
| 34 | (K : ChainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 35 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 36 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 37 | (T : ModuleCat.{u} Γ(X, U)) (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ T) |
| 38 | (P : ProjectiveResolution T) |
| 39 | |
| 40 | def equivalence : HomotopyEquiv |
| 41 | (((InternalHomComplex.sectionHom U hU N).mapHomologicalComplex |
| 42 | (ComplexShape.down ℕ).symm).obj K.op) |
| 43 | (HomCoefficientFunctor.complex Γ(X, U) (LineFrame.scalars U hU) P.complex) := |
| 44 | (HomotopyEquiv.ofIso (FramedHomNaturality.iso U hU N e (.down ℕ) K)).trans |
| 45 | (IntegralComparison.ProjectiveResolution.Hom.Comparison.homotopyEquiv |
| 46 | (HomCoefficientFunctor.functor Γ(X, U) (LineFrame.scalars U hU)) |
| 47 | (resolution U hU M K ε T eM) P) |
| 48 | |
| 49 | variable (M' : X.Modules) [M'.IsQuasicoherent] |
| 50 | (L : ChainComplex X.Modules ℕ) [∀ q, (L.X q).IsQuasicoherent] |
| 51 | (ε' : L ⟶ (ChainComplex.single₀ X.Modules).obj M') [QuasiIso ε'] |
| 52 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q))] |
| 53 | (T' : ModuleCat.{u} Γ(X, U)) (eM' : (AffineOpen.InternalHom.sections U hU).obj M' ≅ T') |
| 54 | (Q : ProjectiveResolution T') (f : K ⟶ L) (b : T ⟶ T') |
| 55 | (a : P.complex ⟶ Q.complex) |
| 56 | (hf : (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).map f) ≫ |
| 57 | (resolution U hU M' L ε' T' eM').π = |
| 58 | (resolution U hU M K ε T eM).π ≫ (ChainComplex.single₀ _).map b) |
| 59 | (ha : a ≫ Q.π = P.π ≫ (ChainComplex.single₀ _).map b) |
| 60 | |
| 61 | def naturality : Homotopy |
| 62 | (((InternalHomComplex.sectionHom U hU N).mapHomologicalComplex |
| 63 | (ComplexShape.down ℕ).symm).map |
| 64 | ((HomologicalComplex.opFunctor X.Modules (.down ℕ)).map f.op) ≫ |
| 65 | (equivalence U hU N e M K ε T eM P).hom) |
| 66 | ((equivalence U hU N e M' L ε' T' eM' Q).hom ≫ |
| 67 | HomCoefficientFunctor.map Γ(X, U) (LineFrame.scalars U hU) a) := by |
| 68 | let F := HomCoefficientFunctor.functor Γ(X, U) (LineFrame.scalars U hU) |
| 69 | let h := IntegralComparison.ProjectiveResolution.HomotopyNaturality.naturality F b |
| 70 | (resolution U hU M K ε T eM) P (resolution U hU M' L ε' T' eM') Q |
| 71 | (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).map f) a hf ha |
| 72 | let iK := FramedHomNaturality.iso U hU N e (.down ℕ) K |
| 73 | let iL := FramedHomNaturality.iso U hU N e (.down ℕ) L |
| 74 | change Homotopy (_ ≫ (iK.hom ≫ _)) ((iL.hom ≫ _) ≫ _) |
| 75 | exact (Homotopy.ofEq (by |
| 76 | rw [← Category.assoc, FramedHomNaturality.naturality, |
| 77 | Category.assoc] |
| 78 | rfl)).trans |
| 79 | ((h.compLeft iL.hom).trans (Homotopy.ofEq (Category.assoc _ _ _).symm)) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.Resolution.Comparison |