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.Crystalline.FrameComplexFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.Product |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PD.DeRhamProductNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PD.DeRhamLeibniz |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.CohomologyCup |
| 6 | |
| 7 | /-! # De Rham Product -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Frame.DeRhamProduct |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual contravariant frame PD complexes carry their native |
| 14 | wedge products and graded differential rule. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | section |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 21 | universe u |
| 22 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 23 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 24 | |
| 25 | local instance objectAlgebra (U : BigCrystallineSite.Object p B J δ f) : Algebra B U.ring := U.base.toAlgebra |
| 26 | |
| 27 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.FrameComplexFunctor.CrystallineFrameComplexFunctor.functor f |
| 28 | |
| 29 | theorem natural (a b : ℕ) {U V : (BigCrystallineSite.Object p B J δ f)ᵒᵖ} (α : U ⟶ V) |
| 30 | (x : ((P).obj U).X a) (y : ((P).obj U).X b) : |
| 31 | ((P).map α).f (a+b) (RelativeFrame.Product.framePairing U.unop a b x y) = |
| 32 | RelativeFrame.Product.framePairing V.unop a b |
| 33 | (((P).map α).f a x) (((P).map α).f b y) := |
| 34 | PD.DeRhamProductNaturality.Wedge.formMap_wedge |
| 35 | (CommAlgCat.ofHom (Crystalline.DeRham.ambientMap f α.unop)) |
| 36 | (Crystalline.DeRham.ambientMap_isDPMorphism f α.unop) a b x y |
| 37 | |
| 38 | theorem degreeCast (U : (BigCrystallineSite.Object p B J δ f)ᵒᵖ) {a b : ℕ} (h : a=b) |
| 39 | (x : ((P).obj U).X a) : |
| 40 | Cochain.CohomologyCup.degreeCast ((P).obj U) h x = |
| 41 | PD.DeRhamLeibniz.Wedge.degreeCast B U.unop.ring U.unop.ideal U.unop.dividedPowers h x := by |
| 42 | subst b |
| 43 | rfl |
| 44 | |
| 45 | end |
| 46 | |
| 47 | namespace PDWedge |
| 48 | |
| 49 | universe u |
| 50 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 51 | (I : Ideal A) (δ : DividedPowers I) |
| 52 | |
| 53 | private theorem cochainDegreeCast {a b : ℕ} (h : a=b) |
| 54 | (x : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ a) : |
| 55 | Cochain.CohomologyCup.degreeCast (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ) h x = |
| 56 | PD.DeRhamLeibniz.Wedge.degreeCast R A I δ h x := by |
| 57 | subst b |
| 58 | rfl |
| 59 | |
| 60 | theorem cochain_differential (a b : ℕ) |
| 61 | (x : (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ).X a) (y : (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ).X b) : |
| 62 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ).d (a+b) (a+b+1) (PD.DeRhamWedge.wedge R A I δ a b x y) = |
| 63 | Cochain.CohomologyCup.cupInto (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ) |
| 64 | (fun i j => (PD.DeRhamWedge.wedge R A I δ i j).restrictScalars₁₂ R R) |
| 65 | (a+1) b (a+b+1) (by omega) ((AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ).d a (a+1) x) y + |
| 66 | (-1 : ℤ)^a • Cochain.CohomologyCup.cupInto (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ) |
| 67 | (fun i j => (PD.DeRhamWedge.wedge R A I δ i j).restrictScalars₁₂ R R) |
| 68 | a (b+1) (a+b+1) (by omega) x ((AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ).d b (b+1) y) := by |
| 69 | change _ = Cochain.CohomologyCup.degreeCast (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ) (by omega) |
| 70 | (PD.DeRhamWedge.wedge R A I δ (a+1) b ((AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ).d a (a+1) x) y) + |
| 71 | (-1 : ℤ)^a • Cochain.CohomologyCup.degreeCast (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ) (by omega) |
| 72 | (PD.DeRhamWedge.wedge R A I δ a (b+1) x ((AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R A I δ).d b (b+1) y)) |
| 73 | rw [cochainDegreeCast, cochainDegreeCast] |
| 74 | dsimp only [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex] |
| 75 | rw [CochainComplex.of_d, CochainComplex.of_d, CochainComplex.of_d] |
| 76 | exact PD.DeRhamLeibniz.Wedge.differential_wedge R A I δ a b x y |
| 77 | |
| 78 | end PDWedge |
| 79 | |
| 80 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 81 | universe u |
| 82 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 83 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 84 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.FrameComplexFunctor.CrystallineFrameComplexFunctor.functor f |
| 85 | |
| 86 | theorem differential (a b : ℕ) (U : (BigCrystallineSite.Object p B J δ f)ᵒᵖ) |
| 87 | (x : ((P).obj U).X a) (y : ((P).obj U).X b) : |
| 88 | ((P).obj U).d (a+b) (a+b+1) (RelativeFrame.Product.framePairing U.unop a b x y) = |
| 89 | Cochain.CohomologyCup.cupInto ((P).obj U) |
| 90 | (RelativeFrame.Product.framePairing U.unop) (a+1) b (a+b+1) (by omega) |
| 91 | (((P).obj U).d a (a+1) x) y + |
| 92 | (-1 : ℤ)^a • Cochain.CohomologyCup.cupInto ((P).obj U) |
| 93 | (RelativeFrame.Product.framePairing U.unop) a (b+1) (a+b+1) (by omega) |
| 94 | x (((P).obj U).d b (b+1) y) := by |
| 95 | let : Algebra B U.unop.ring := U.unop.base.toAlgebra |
| 96 | exact PDWedge.cochain_differential B U.unop.ring U.unop.ideal |
| 97 | U.unop.dividedPowers a b x y |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Frame.DeRhamProduct |