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.Resolution |
| 2 | |
| 3 | /-! # Resolution Augmentation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ResolutionAugmentation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual sheaf augmentation squares induce the exact quotient |
| 10 | augmentation squares used by principal-open resolution comparison. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.Resolution.Comparison |
| 17 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 18 | (M : X.Modules) [M.IsQuasicoherent] |
| 19 | (K : ChainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 20 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 21 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 22 | (T : ModuleCat.{u} Γ(X, U)) (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ T) |
| 23 | |
| 24 | theorem zero : (Resolution.Comparison.resolution U hU M K ε T eM).π.f 0 = |
| 25 | (AffineOpen.InternalHom.sections U hU).map (ε.f 0) ≫ eM.hom := by |
| 26 | change (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).map ε ≫ |
| 27 | (HomologicalComplex.singleMapHomologicalComplex (AffineOpen.InternalHom.sections U hU) (.down ℕ) 0).hom.app M ≫ |
| 28 | (ChainComplex.single₀ (ModuleCat Γ(X, U))).map eM.hom).f 0 = _ |
| 29 | rw [HomologicalComplex.comp_f, HomologicalComplex.comp_f, |
| 30 | ChainComplex.single₀_map_f_zero, HomologicalComplex.singleMapHomologicalComplex_hom_app_self] |
| 31 | simp only [ChainComplex.single₀ObjXSelf, Iso.refl_hom, CategoryTheory.Functor.map_id, |
| 32 | Category.id_comp] |
| 33 | rfl |
| 34 | |
| 35 | variable (M' : X.Modules) [M'.IsQuasicoherent] |
| 36 | (L : ChainComplex X.Modules ℕ) [∀ q, (L.X q).IsQuasicoherent] |
| 37 | (ε' : L ⟶ (ChainComplex.single₀ X.Modules).obj M') [QuasiIso ε'] |
| 38 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q))] |
| 39 | (T' : ModuleCat.{u} Γ(X, U)) (eM' : (AffineOpen.InternalHom.sections U hU).obj M' ≅ T') |
| 40 | (f : K ⟶ L) (v : M ⟶ M') (b : T ⟶ T') |
| 41 | (hf : f ≫ ε' = ε ≫ (ChainComplex.single₀ X.Modules).map v) |
| 42 | (hv : (AffineOpen.InternalHom.sections U hU).map v ≫ eM'.hom = eM.hom ≫ b) |
| 43 | |
| 44 | include hf hv in |
| 45 | theorem square : (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).map f) ≫ |
| 46 | (Resolution.Comparison.resolution U hU M' L ε' T' eM').π = |
| 47 | (Resolution.Comparison.resolution U hU M K ε T eM).π ≫ (ChainComplex.single₀ _).map b := by |
| 48 | apply (ChainComplex.toSingle₀Equiv _ _).injective |
| 49 | apply Subtype.ext |
| 50 | change (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).map f).f 0 ≫ |
| 51 | (Resolution.Comparison.resolution U hU M' L ε' T' eM').π.f 0 = |
| 52 | (Resolution.Comparison.resolution U hU M K ε T eM).π.f 0 ≫ b |
| 53 | rw [zero, zero] |
| 54 | have h := congrArg (fun a => a.f 0) hf |
| 55 | change f.f 0 ≫ ε'.f 0 = ε.f 0 ≫ v at h |
| 56 | change (AffineOpen.InternalHom.sections U hU).map (f.f 0) ≫ ((AffineOpen.InternalHom.sections U hU).map (ε'.f 0) ≫ eM'.hom) = _ |
| 57 | rw [← Category.assoc, ← CategoryTheory.Functor.map_comp, h, |
| 58 | CategoryTheory.Functor.map_comp, Category.assoc, hv, ← Category.assoc] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ResolutionAugmentation |