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.GeometricComparison.AcyclicExact |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ShiftedInverse |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality |
| 5 | |
| 6 | /-! # Derived Resolution -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.DerivedResolution.DerivedResolutionExactNaturality |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual quasi-isomorphism resolutions commute with the derived maps of exact functors. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits OAI.AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality.Ext |
| 15 | |
| 16 | universe u u' v w w' |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasDerivedCategory.{w} C] |
| 19 | {D : Type u'} [Category.{v} D] [Abelian D] [HasDerivedCategory.{w'} D] |
| 20 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 21 | |
| 22 | theorem square {K K' : CochainComplex C ℤ} {L L' : CochainComplex D ℤ} |
| 23 | (f : K ⟶ K') (g : L ⟶ L') |
| 24 | (a : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 25 | (b : (F.mapHomologicalComplex (.up ℤ)).obj K' ⟶ L') |
| 26 | (h : (F.mapHomologicalComplex (.up ℤ)).map f ≫ b = a ≫ g) : |
| 27 | F.mapDerivedCategory.map (DerivedCategory.Q.map f) ≫ AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality.Ext.derivedComplexMap F b = |
| 28 | AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality.Ext.derivedComplexMap F a ≫ DerivedCategory.Q.map g := by |
| 29 | let Q : CochainComplex D ℤ ⥤ DerivedCategory D := DerivedCategory.Q |
| 30 | have h₁ := F.mapDerivedCategoryFactors_hom_naturality f |
| 31 | have h₂ := (Q.map_comp ((F.mapHomologicalComplex (.up ℤ)).map f) b).symm.trans |
| 32 | ((congrArg Q.map h).trans (Q.map_comp a g)) |
| 33 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 34 | |
| 35 | variable (A : C) |
| 36 | |
| 37 | theorem map_eq_transport {K : CochainComplex C ℤ} {L : CochainComplex D ℤ} |
| 38 | (a : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) (n : ℤ) |
| 39 | (x : (DerivedCategory.singleFunctor C 0).obj A ⟶ (DerivedCategory.Q.obj K)⟦n⟧) : |
| 40 | AcyclicExact.AcyclicExactFunctorNaturality.derivedMap F A a n x = |
| 41 | AlgebraicGeometry.Comparison.Betti.ShiftedHomSquare.transport F.mapDerivedCategory ((F.mapDerivedCategorySingleFunctor 0).app A) |
| 42 | (AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality.Ext.derivedComplexMap F a) x := by |
| 43 | dsimp only [AcyclicExact.AcyclicExactFunctorNaturality.derivedMap, AlgebraicGeometry.Comparison.Betti.ShiftedHomSquare.transport, AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality.Ext.derivedComplexMap] |
| 44 | rw [(shiftFunctor (DerivedCategory D) n).map_comp] |
| 45 | simp only [Category.assoc] |
| 46 | rfl |
| 47 | |
| 48 | theorem naturality {K K' : CochainComplex C ℤ} {L L' : CochainComplex D ℤ} |
| 49 | (f : K ⟶ K') (g : L ⟶ L') [QuasiIso f] [QuasiIso g] |
| 50 | (a : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 51 | (b : (F.mapHomologicalComplex (.up ℤ)).obj K' ⟶ L') |
| 52 | (h : (F.mapHomologicalComplex (.up ℤ)).map f ≫ b = a ≫ g) |
| 53 | (n : ℤ) (x : (DerivedCategory.singleFunctor C 0).obj A ⟶ (DerivedCategory.Q.obj K')⟦n⟧) : |
| 54 | AcyclicExact.AcyclicExactFunctorNaturality.derivedMap F A b n x ≫ (inv (DerivedCategory.Q.map g))⟦n⟧' = |
| 55 | AcyclicExact.AcyclicExactFunctorNaturality.derivedMap F A a n (x ≫ (inv (DerivedCategory.Q.map f))⟦n⟧') := by |
| 56 | rw [map_eq_transport, map_eq_transport] |
| 57 | exact ShiftedInverse.ShiftedInverseTransport.naturality F.mapDerivedCategory ((F.mapDerivedCategorySingleFunctor 0).app A) |
| 58 | (asIso (DerivedCategory.Q.map f)) (asIso (DerivedCategory.Q.map g)) |
| 59 | (AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality.Ext.derivedComplexMap F a) (AlgebraicGeometry.Comparison.Betti.Derived.ResolutionNaturality.Ext.derivedComplexMap F b) (square F f g a b h) n x |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.DerivedResolution.DerivedResolutionExactNaturality |