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.Intrinsic.PresheafScalarComplex |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.IntrinsicFormsScalarIso |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex |
| 4 | |
| 5 | /-! # Three Presheaf Scalar Complex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreePresheafScalarComplex.IntegralFirstThreePresheafScalarComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original native coefficient map acts on the first three presheaf terms and their actual differentials. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits ZeroObject _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 16 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 17 | (f : Y.left ⟶ X.left) |
| 18 | (h : f ≫ X.hom = Y.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 19 | |
| 20 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 21 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex S Y) |
| 22 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.PresheafScalarComplex.IntrinsicPresheafScalarComplex.scalar R S X |
| 23 | local notation "G" => OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.PresheafScalarComplex.IntrinsicPresheafScalarComplex.preimage R S X Y f |
| 24 | |
| 25 | def component : ∀ n, (((F).mapHomologicalComplex (.up ℕ)).obj P).X n ⟶ |
| 26 | (((G).mapHomologicalComplex (.up ℕ)).obj Q).X n |
| 27 | | 0 => Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap.map R S X Y f h 0 |
| 28 | | 1 => Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap.map R S X Y f h 1 |
| 29 | | 2 => Intrinsic.FormsScalarMap.IntrinsicFormsScalarMap.map R S X Y f h 2 |
| 30 | | _ + 3 => 0 |
| 31 | |
| 32 | def map : ((F).mapHomologicalComplex (.up ℕ)).obj P ⟶ ((G).mapHomologicalComplex (.up ℕ)).obj Q where |
| 33 | f := component R S X Y f h |
| 34 | comm' n m hnm := by |
| 35 | change n + 1 = m at hnm |
| 36 | subst m |
| 37 | rw [show (((F).mapHomologicalComplex (.up ℕ)).obj P).d n (n + 1) = |
| 38 | (F).map (FirstThree.ThreeComplex.FirstThreeComplex.differential (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) n) from |
| 39 | congrArg (F).map (CochainComplex.of_d _ _ n), |
| 40 | show (((G).mapHomologicalComplex (.up ℕ)).obj Q).d n (n + 1) = |
| 41 | (G).map (FirstThree.ThreeComplex.FirstThreeComplex.differential (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex S Y) n) from |
| 42 | congrArg (G).map (CochainComplex.of_d _ _ n)] |
| 43 | rcases n with _ | (_ | n) |
| 44 | · exact (Intrinsic.PresheafScalarComplex.IntrinsicPresheafScalarComplex.differential R S X Y f h 0).symm |
| 45 | · exact (Intrinsic.PresheafScalarComplex.IntrinsicPresheafScalarComplex.differential R S X Y f h 1).symm |
| 46 | · change _ ≫ (G).map 0 = (F).map 0 ≫ _ |
| 47 | rw [(G).map_zero, (F).map_zero] |
| 48 | erw [comp_zero] |
| 49 | |
| 50 | theorem high_isIso (n : ℕ) : IsIso ((IntegralFirstThreePresheafScalarComplex.map R S X Y f h).f (n + 3)) := |
| 51 | ((F).map_isZero (isZero_zero (X.left.Opensᵒᵖ ⥤ ModuleCat R))).isIso |
| 52 | ((G).map_isZero (isZero_zero (Y.left.Opensᵒᵖ ⥤ ModuleCat S))) _ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreePresheafScalarComplex.IntegralFirstThreePresheafScalarComplex |