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.Affine.LinearResolutionPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.LiftIso |
| 3 | |
| 4 | /-! # Resolution Dual Invariance -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ResolutionDualInvariance |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual identity lift between affine-projective sheaf resolutions |
| 11 | preserves the native internal-Hom cohomology on that affine open. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (N M : X.Modules) |
| 20 | [M.IsQuasicoherent] (K L : ChainComplex X.Modules ℕ) |
| 21 | [∀ i, (K.X i).IsQuasicoherent] [∀ i, (L.X i).IsQuasicoherent] |
| 22 | (εK : K ⟶ (ChainComplex.single₀ X.Modules).obj M) |
| 23 | (εL : L ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso εK] [QuasiIso εL] |
| 24 | [∀ i, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X i))] |
| 25 | [∀ i, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X i))] |
| 26 | (a : K ⟶ L) (ha : a ≫ εL = εK) |
| 27 | |
| 28 | def algebraicMap := |
| 29 | ((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).map a |
| 30 | |
| 31 | include ha in |
| 32 | theorem algebraicMap_augmentation : |
| 33 | algebraicMap U hU K L a ≫ (AffineOpen.Resolution.ofAugmentation U hU M L εL).π = |
| 34 | (AffineOpen.Resolution.ofAugmentation U hU M K εK).π := by |
| 35 | let F := (AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ) |
| 36 | change F.map a ≫ (F.map εL ≫ _) = F.map εK ≫ _ |
| 37 | rw [← Category.assoc, ← F.map_comp, ha] |
| 38 | |
| 39 | def nativeFunctor : (ChainComplex X.Modules ℕ)ᵒᵖ ⥤ CochainComplex (ModuleCat Γ(X, U)) ℕ := |
| 40 | HomologicalComplex.opFunctor X.Modules (.down ℕ) ⋙ |
| 41 | (AffineOpen.LinearHom.sectionHom U N).mapHomologicalComplex (ComplexShape.down ℕ).symm |
| 42 | |
| 43 | include hU εK εL ha in |
| 44 | theorem native_quasiIso : QuasiIso ((nativeFunctor U N).map a.op) := by |
| 45 | let PK := AffineOpen.Resolution.ofAugmentation U hU M K εK |
| 46 | let PL := AffineOpen.Resolution.ofAugmentation U hU M L εL |
| 47 | let F := (linearYoneda Γ(X, U) (ModuleCat Γ(X, U))).obj |
| 48 | ((AffineOpen.InternalHom.sections U hU).obj N) |
| 49 | let b := algebraicMap U hU K L a |
| 50 | have hb : b ≫ PL.π = PK.π := algebraicMap_augmentation U hU M K L εK εL a ha |
| 51 | have hAlg := ProjectiveResolution.LiftIso.quasiIso F PK PL b hb |
| 52 | let G := HomologicalComplex.opFunctor X.Modules (.down ℕ) ⋙ |
| 53 | (AffineOpen.LinearHom.algebraicHom U hU N).mapHomologicalComplex (ComplexShape.down ℕ).symm |
| 54 | let : QuasiIso (G.map a.op) := hAlg |
| 55 | let (i : ℕ) : (K.op.X i).unop.IsQuasicoherent := inferInstanceAs (K.X i).IsQuasicoherent |
| 56 | let (i : ℕ) : (L.op.X i).unop.IsQuasicoherent := inferInstanceAs (L.X i).IsQuasicoherent |
| 57 | let eK := AffineOpen.LinearHom.complexIso U hU N (ComplexShape.down ℕ).symm K.op |
| 58 | let eL := AffineOpen.LinearHom.complexIso U hU N (ComplexShape.down ℕ).symm L.op |
| 59 | have hn : (nativeFunctor U N).map a.op ≫ eK.hom = eL.hom ≫ G.map a.op := |
| 60 | ((AffineOpen.LinearHom.comparison U hU N).mapHomologicalComplex |
| 61 | (ComplexShape.down ℕ).symm).naturality ((HomologicalComplex.opFunctor X.Modules (.down ℕ)).map a.op) |
| 62 | have : QuasiIso ((nativeFunctor U N).map a.op ≫ eK.hom) := by |
| 63 | rw [hn] |
| 64 | infer_instance |
| 65 | exact quasiIso_of_comp_right _ eK.hom |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ResolutionDualInvariance |