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.Integral.FiniteAffineCechAcyclic |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.Terms |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TotalExt |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TruncatedExt |
| 6 | |
| 7 | /-! # Three Cech Acyclic -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechAcyclic.IntegralFirstThreeCechAcyclic |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The finite affine Čech total complexes of native integral forms through degree two have acyclic terms. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.CategoryTheory.Limits ZeroObject _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (R : Type) [CommRing R] [Module.Flat ℤ R] |
| 18 | (X : Over (Spec (CommRingCat.of R))) [IsSeparated X.hom] |
| 19 | {ι : Type} [Finite ι] (U : ι → X.left.Opens) (hU : ∀ i, IsAffineOpen (U i)) |
| 20 | |
| 21 | local notation "V" => OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X |
| 22 | local notation "K" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) |
| 23 | local notation "A" => OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X |
| 24 | |
| 25 | local instance : HasExt.{1} V := HasExt.standard _ |
| 26 | local instance : HasCoproducts.{0} V := IntrinsicCech.Instances.IntrinsicCechInstances.hasCoproducts R X.left |
| 27 | |
| 28 | include hU in |
| 29 | theorem term_ext_subsingleton (j p q : ℕ) : |
| 30 | Subsingleton (Ext.{1} A (((IntrinsicCech.Functor.IntrinsicCechFunctor.sheafFunctor R X.left U).obj ((K).X j)).X p) (q + 1)) := by |
| 31 | let G := IntrinsicCech.Functor.IntrinsicCechFunctor.sheafFunctor R X.left U ⋙ HomologicalComplex.eval V (.up ℕ) p |
| 32 | let H := (extFunctor.{1} (q + 1) : Vᵒᵖ ⥤ V ⥤ AddCommGrpCat.{1}).obj (op A) |
| 33 | have : H.Additive := inferInstanceAs (extFunctorObj A (q + 1)).Additive |
| 34 | rcases j with _ | (_ | (_ | j)) |
| 35 | · exact Integral.FiniteAffineCechAcyclic.IntegralFiniteAffineCechAcyclic.sheafComplex_ext_subsingleton R X U hU 0 (by omega) p q |
| 36 | · exact Integral.FiniteAffineCechAcyclic.IntegralFiniteAffineCechAcyclic.sheafComplex_ext_subsingleton R X U hU 1 (by omega) p q |
| 37 | · exact Integral.FiniteAffineCechAcyclic.IntegralFiniteAffineCechAcyclic.sheafComplex_ext_subsingleton R X U hU 2 (by omega) p q |
| 38 | · exact AddCommGrpCat.subsingleton_of_isZero (H.map_isZero (G.map_isZero (isZero_zero _))) |
| 39 | |
| 40 | include hU in |
| 41 | theorem total_ext_subsingleton (n q : ℕ) : |
| 42 | Subsingleton (Ext.{1} A ((IntrinsicCech.Resolution.IntrinsicCechResolution.total R X.left U K).X n) (q + 1)) := |
| 43 | TotalExt.TotalExtVanishing.subsingleton A (IntrinsicCech.Bicomplex.IntrinsicCechBicomplex.bicomplex R X.left U K) n (q + 1) |
| 44 | (fun j p => term_ext_subsingleton R X U hU j p q) |
| 45 | |
| 46 | include hU in |
| 47 | theorem integerTotal_ext_subsingleton (n : ℤ) (q : ℕ) : |
| 48 | Subsingleton (Ext.{1} A ((IntrinsicCech.Resolution.IntrinsicCechResolution.integerTotal R X.left U K).X n) (q + 1)) := |
| 49 | TruncatedExt.TruncatedExtVanishing.extend A (IntrinsicCech.Resolution.IntrinsicCechResolution.total R X.left U K) |
| 50 | (total_ext_subsingleton R X U hU) n q |
| 51 | |
| 52 | include hU in |
| 53 | theorem truncated_term_ext_subsingleton (r : ℤ) (j p q : ℕ) : |
| 54 | Subsingleton (Ext.{1} A (((IntrinsicCech.Functor.IntrinsicCechFunctor.sheafFunctor R X.left U).obj |
| 55 | ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r).X j)).X p) (q + 1)) := by |
| 56 | let G := IntrinsicCech.Functor.IntrinsicCechFunctor.sheafFunctor R X.left U ⋙ HomologicalComplex.eval V (.up ℕ) p |
| 57 | let H := (extFunctor.{1} (q + 1) : Vᵒᵖ ⥤ V ⥤ AddCommGrpCat.{1}).obj (op A) |
| 58 | have : H.Additive := inferInstanceAs (extFunctorObj A (q + 1)).Additive |
| 59 | change Subsingleton (H.obj (G.obj (if r ≤ (j : ℤ) then (K).X j else 0))) |
| 60 | split_ifs with hj |
| 61 | · exact term_ext_subsingleton R X U hU j p q |
| 62 | · exact AddCommGrpCat.subsingleton_of_isZero (H.map_isZero (G.map_isZero (isZero_zero _))) |
| 63 | |
| 64 | include hU in |
| 65 | theorem truncated_total_ext_subsingleton (r : ℤ) (n q : ℕ) : |
| 66 | Subsingleton (Ext.{1} A |
| 67 | ((IntrinsicCech.Resolution.IntrinsicCechResolution.total R X.left U (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r)).X n) (q + 1)) := |
| 68 | TotalExt.TotalExtVanishing.subsingleton A |
| 69 | (IntrinsicCech.Bicomplex.IntrinsicCechBicomplex.bicomplex R X.left U (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r)) n (q + 1) |
| 70 | (fun j p => truncated_term_ext_subsingleton R X U hU r j p q) |
| 71 | |
| 72 | include hU in |
| 73 | theorem truncated_integerTotal_ext_subsingleton (r n : ℤ) (q : ℕ) : |
| 74 | Subsingleton (Ext.{1} A |
| 75 | ((IntrinsicCech.Resolution.IntrinsicCechResolution.integerTotal R X.left U (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r)).X n) (q + 1)) := |
| 76 | TruncatedExt.TruncatedExtVanishing.extend A |
| 77 | (IntrinsicCech.Resolution.IntrinsicCechResolution.total R X.left U (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r)) |
| 78 | (truncated_total_ext_subsingleton R X U hU r) n q |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechAcyclic.IntegralFirstThreeCechAcyclic |