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.SheafFormsAdapter |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.Int |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.OpenForms |
| 4 | |
| 5 | /-! # Sheaf Adapter Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SheafAdapterNaturality.FormsAdapter |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pullback compatibility for the actual algebraic form and sheaf comparisons. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | theorem composition_square {C : Type*} [Category* C] {A B C' D E F : C} |
| 16 | {a : A ⟶ B} {b : B ⟶ C'} {c : A ⟶ D} {d : D ⟶ C'} |
| 17 | {e : C' ⟶ F} {f : D ⟶ E} {g : E ⟶ F} |
| 18 | (h₁ : a ≫ b = c ≫ d) (h₂ : d ≫ e = f ≫ g) : |
| 19 | a ≫ (b ≫ e) = (c ≫ f) ≫ g := by |
| 20 | rw [← Category.assoc, h₁, Category.assoc, h₂, Category.assoc] |
| 21 | |
| 22 | variable {X Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 23 | |
| 24 | theorem presheafComplexIso_naturality : |
| 25 | (SheafFormsAdapter.FormsAdapter.presheafComplexIso Y).hom ≫ DeRham.Int.presheafPullback f = |
| 26 | AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback.presheafComplexPullback f ≫ |
| 27 | ((DeRham.Int.directImagePresheaf f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 28 | (SheafFormsAdapter.FormsAdapter.presheafComplexIso X).hom := by |
| 29 | apply HomologicalComplex.Hom.ext |
| 30 | funext n |
| 31 | apply NatTrans.ext |
| 32 | funext U |
| 33 | apply ModuleCat.hom_ext |
| 34 | apply LinearMap.ext |
| 35 | intro ω |
| 36 | exact (Forms.Adapter.FormsAdapter.to62_pullback Γ(Y.left, U.unop) (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.sectionPullback f U.unop) n ω).symm |
| 37 | |
| 38 | theorem presheafSheafUnit_naturality : |
| 39 | (SheafFormsAdapter.FormsAdapter.presheafComplexIso Y).hom ≫ DeRham.Int.presheafToDirectImageSheafComplex f = |
| 40 | AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback.presheafToDirectImageSheafComplex f ≫ |
| 41 | ((sheafToPresheaf (Opens.grothendieckTopology Y.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 42 | (ComplexShape.up ℕ)).map |
| 43 | (((DeRham.Int.directImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 44 | (SheafFormsAdapter.FormsAdapter.sheafComplexIso X).hom) := by |
| 45 | let D := (DeRham.Int.directImagePresheaf f).mapHomologicalComplex (ComplexShape.up ℕ) |
| 46 | have hunit := (DeRham.Int.sheafificationComplexAdjunction X).unit.naturality |
| 47 | (SheafFormsAdapter.FormsAdapter.presheafComplexIso X).hom |
| 48 | have h := congrArg (fun k => D.map k) hunit |
| 49 | change D.map ((SheafFormsAdapter.FormsAdapter.presheafComplexIso X).hom ≫ |
| 50 | (DeRham.Int.sheafificationComplexAdjunction X).unit.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex ℂ X)) = |
| 51 | D.map ((DeRham.Int.sheafificationComplexAdjunction X).unit.app (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.deRhamPresheafComplex X) ≫ |
| 52 | ((sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 53 | (ComplexShape.up ℕ)).map (SheafFormsAdapter.FormsAdapter.sheafComplexIso X).hom) at h |
| 54 | simp only [Functor.map_comp] at h |
| 55 | change (SheafFormsAdapter.FormsAdapter.presheafComplexIso Y).hom ≫ |
| 56 | (DeRham.Int.presheafPullback f ≫ D.map |
| 57 | ((DeRham.Int.sheafificationComplexAdjunction X).unit.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex ℂ X))) = |
| 58 | (AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback.presheafComplexPullback f ≫ D.map |
| 59 | ((DeRham.Int.sheafificationComplexAdjunction X).unit.app (AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.deRhamPresheafComplex X))) ≫ |
| 60 | D.map (((sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 61 | (ComplexShape.up ℕ)).map (SheafFormsAdapter.FormsAdapter.sheafComplexIso X).hom) |
| 62 | exact composition_square (presheafComplexIso_naturality f) h |
| 63 | |
| 64 | theorem sheafComplexIso_direct_naturality : |
| 65 | (SheafFormsAdapter.FormsAdapter.sheafComplexIso Y).hom ≫ DeRham.Int.sheafDirectImage f = |
| 66 | AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback.deRhamSheafDirectImage f ≫ |
| 67 | ((DeRham.Int.directImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 68 | (SheafFormsAdapter.FormsAdapter.sheafComplexIso X).hom := |
| 69 | (DeRham.Int.sheafificationComplexAdjunction Y).homEquiv_naturality_right_square |
| 70 | (SheafFormsAdapter.FormsAdapter.presheafComplexIso Y).hom (DeRham.Int.presheafToDirectImageSheafComplex f) |
| 71 | (AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback.presheafToDirectImageSheafComplex f) |
| 72 | (((DeRham.Int.directImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 73 | (SheafFormsAdapter.FormsAdapter.sheafComplexIso X).hom) (presheafSheafUnit_naturality f) |
| 74 | |
| 75 | theorem sheafComplexIso_naturality : |
| 76 | ((DeRham.Int.inverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 77 | (SheafFormsAdapter.FormsAdapter.sheafComplexIso Y).hom ≫ DeRham.Int.sheafPullback f = |
| 78 | AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback.deRhamSheafPullback f ≫ (SheafFormsAdapter.FormsAdapter.sheafComplexIso X).hom := |
| 79 | (DeRham.Int.imageComplexAdjunction f).homEquiv_naturality_right_square |
| 80 | (SheafFormsAdapter.FormsAdapter.sheafComplexIso Y).hom (DeRham.Int.sheafDirectImage f) |
| 81 | (AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback.deRhamSheafDirectImage f) (SheafFormsAdapter.FormsAdapter.sheafComplexIso X).hom |
| 82 | (sheafComplexIso_direct_naturality f) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SheafAdapterNaturality.FormsAdapter |