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.FirstThree.ThreeComplex |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.OpenFormsUnit |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationComplex |
| 4 | |
| 5 | /-! # Three Sheaf Unit -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeSheafUnit.IntegralFirstThreeSheafUnit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual sheafification unit on the first three native de Rham terms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits ZeroObject _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 16 | |
| 17 | local notation "J" => Opens.grothendieckTopology X.left |
| 18 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 19 | local notation "K" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) |
| 20 | local notation "G" => sheafToPresheaf J (ModuleCat R) |
| 21 | |
| 22 | def component : ∀ n, (P).X n ⟶ (((G).mapHomologicalComplex (.up ℕ)).obj K).X n |
| 23 | | 0 => toSheafify J (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 0) |
| 24 | | 1 => toSheafify J (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 1) |
| 25 | | 2 => toSheafify J (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X 2) |
| 26 | | _ + 3 => 0 |
| 27 | |
| 28 | def map : P ⟶ ((G).mapHomologicalComplex (.up ℕ)).obj K where |
| 29 | f := component R X |
| 30 | comm' n m hnm := by |
| 31 | change n + 1 = m at hnm |
| 32 | subst m |
| 33 | rw [show (P).d n (n + 1) = FirstThree.ThreeComplex.FirstThreeComplex.differential (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) n from |
| 34 | CochainComplex.of_d _ _ n] |
| 35 | rw [show (((G).mapHomologicalComplex (.up ℕ)).obj K).d n (n + 1) = |
| 36 | (G).map (FirstThree.ThreeComplex.FirstThreeComplex.differential (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) n) from by |
| 37 | have hd : (K).d n (n + 1) = |
| 38 | FirstThree.ThreeComplex.FirstThreeComplex.differential (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) n := |
| 39 | CochainComplex.of_d _ _ n |
| 40 | exact congrArg (G).map hd] |
| 41 | rcases n with _ | (_ | n) |
| 42 | · exact (toSheafify_naturality J (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X 0)).symm |
| 43 | · exact (toSheafify_naturality J (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.differentialPresheaf R X 1)).symm |
| 44 | · change _ ≫ (G).map 0 = 0 ≫ _ |
| 45 | rw [(G).map_zero] |
| 46 | erw [comp_zero] |
| 47 | |
| 48 | theorem high_isIso (n : ℕ) : IsIso ((IntegralFirstThreeSheafUnit.map R X).f (n + 3)) := |
| 49 | (isZero_zero (X.left.Opensᵒᵖ ⥤ ModuleCat R)).isIso |
| 50 | ((G).map_isZero (isZero_zero (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X))) _ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeSheafUnit.IntegralFirstThreeSheafUnit |