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.OrientedResidueConcentration |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.Adjunction |
| 3 | |
| 4 | /-! # Adjunction Concentration -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.AdjunctionConcentration |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original residue total, followed by its differential symbol, |
| 11 | is the original sheaf concentration followed by the actual adjunction. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 21 | |
| 22 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 23 | (N : Y.Modules) [N.IsQuasicoherent] |
| 24 | (e : Γ(N, U) ≃ₗ[Γ(Y, U)] Γ(Y, U)) |
| 25 | (K : ChainComplex Y.Modules ℕ) [∀ k, (K.X k).IsQuasicoherent] |
| 26 | {X : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 27 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj (Principal.ClosedQuotient.directImage f)) |
| 28 | [QuasiIso ε] [∀ k, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X k))] |
| 29 | {c : ℕ} (s : Fin c → Γ(Y, U)) |
| 30 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Y, U) s = f.ker.ideal ⟨U, hU⟩) |
| 31 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn s)) |
| 32 | [∀ k, ((Affine.LinearResolutionPurity.internalComplex N K).X k).IsQuasicoherent] |
| 33 | (M : X.Modules) [M.IsQuasicoherent] (ω : Γ(M, f ⁻¹ᵁ U)) |
| 34 | (φ : (Affine.LinearResolutionPurity.internalComplex N K).homology c ⟶ |
| 35 | (Scheme.Modules.pushforward f).obj M) |
| 36 | (hlocal : (Affine.ModuleExactSections.sections U).map φ = |
| 37 | SurvivorSection.sectionMap U hU N e K f ε s hs hreg ≫ |
| 38 | Principal.PushforwardSectionCoordinates.sectionsMap f U M ω) |
| 39 | |
| 40 | variable {ι : Type u} [LinearOrder ι] (W : ι → Principal.SectionPresheaf.Index U) |
| 41 | (hD : ∀ q, q ≠ c → (Affine.LinearResolutionPurity.internalComplex N K).ExactAt q) |
| 42 | |
| 43 | include hlocal in |
| 44 | theorem comparison (q : ℕ) : |
| 45 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 46 | (Principal.OrientedResidue.map f U hU N e K ε s hs hreg) ≫ |
| 47 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 48 | ((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Y, U)) (.up ℕ) c).map |
| 49 | (Principal.PushforwardSection.map f U hU M ω)) = |
| 50 | (PrincipalReference.Concentration.Reference.iso U hU W |
| 51 | (Affine.LinearResolutionPurity.internalComplex N K) c hD q).hom ≫ |
| 52 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 53 | ((singleMapHomologicalComplex (Principal.ModuleFunctor.functor U hU) |
| 54 | (.up ℕ) c).hom.app ((Affine.LinearResolutionPurity.internalComplex N K).homology c)) ≫ |
| 55 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 56 | ((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Y, U)) (.up ℕ) c).map |
| 57 | ((Principal.ModuleFunctor.functor U hU).map φ)) := by |
| 58 | rw [Principal.OrientedResidueConcentration.map U hU N e K f ε s hs hreg W hD q] |
| 59 | rw [Adjunction.comparison U hU N e K f ε s hs hreg M ω φ hlocal] |
| 60 | simp only [Functor.map_comp, Category.assoc] |
| 61 | |
| 62 | include hlocal in |
| 63 | theorem original_map (q : ℕ) : |
| 64 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 65 | (Principal.OrientedResidue.map f U hU N e K ε s hs hreg) ≫ |
| 66 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 67 | ((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Y, U)) (.up ℕ) c).map |
| 68 | (Principal.PushforwardSection.map f U hU M ω)) = |
| 69 | (PrincipalReference.Concentration.Reference.iso U hU W |
| 70 | (Affine.LinearResolutionPurity.internalComplex N K) c hD q).hom ≫ |
| 71 | (PrincipalReference.Concentration.Reference.functor U hU W q).map |
| 72 | ((single Y.Modules (.up ℕ) c).map φ) ≫ |
| 73 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 74 | ((singleMapHomologicalComplex (Principal.ModuleFunctor.functor U hU) |
| 75 | (.up ℕ) c).hom.app ((Scheme.Modules.pushforward f).obj M)) := by |
| 76 | rw [comparison U hU N e K f ε s hs hreg M ω φ hlocal W hD q] |
| 77 | have h := congrArg (fun b => (Supported.CechHomotopyEquivalence.functor W q).map b) |
| 78 | ((singleMapHomologicalComplex (Principal.ModuleFunctor.functor U hU) |
| 79 | (.up ℕ) c).hom.naturality φ) |
| 80 | simp only [Functor.comp_map, Functor.map_comp] at h |
| 81 | rw [← h] |
| 82 | rfl |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.AdjunctionConcentration |