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.IntegralComparison.Balanced.RationalCupAlgebra |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.CupUnit |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.GradedCupAlgebra |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarGradedCupData |
| 5 | |
| 6 | /-! # Rational Cup Unit -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCupUnit |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The balanced product on original rational crystalline cohomology |
| 13 | is a genuine unital graded algebra with alternating degree-one cup. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCrystallineCup OAI.NumberTheory.PadicHodge.IntegralComparison.GradedCupTransport |
| 22 | |
| 23 | attribute [local irreducible] GradedCupTransport.degreeCast |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 28 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 29 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 30 | |
| 31 | local notation "W" => WittVector p k |
| 32 | local notation "K" => FractionRing (WittVector p k) |
| 33 | local notation "CR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 34 | local notation "I" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.integralCohomology p k X |
| 35 | local notation "V" => OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCupAlgebra.cohomology p k X |
| 36 | local notation "μ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCrystallineCup.integralCup p k X hprojective |
| 37 | local notation "ν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCrystallineCup.cup p k X hprojective |
| 38 | local notation "oneI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.CupUnit.Integral.one p k X hprojective |
| 39 | |
| 40 | def one : V 0 := (1 : K) ⊗ₜ[W] oneI |
| 41 | |
| 42 | private theorem integral_one_cup (i : ℕ) (x : I i) : |
| 43 | GradedCupTransport.degreeCast W I (Nat.zero_add i) (μ 0 i oneI x) = x := by |
| 44 | rw [RationalCrystallineCup.integralCup_apply] |
| 45 | exact (ScalarCupAlgebra.degreeCast_changeRing (R := CR) I W (Nat.zero_add i) _).trans |
| 46 | (CupUnit.Integral.one_cup p k X hprojective i x) |
| 47 | |
| 48 | private theorem integral_cup_one (i : ℕ) (x : I i) : μ i 0 x oneI = x := by |
| 49 | rw [RationalCrystallineCup.integralCup_apply] |
| 50 | exact CupUnit.Integral.cup_one p k X hprojective i x |
| 51 | |
| 52 | abbrev one_cup (i : ℕ) (x : V i) := by |
| 53 | have result := GradedCupUnit.scalar_left W I μ oneI K (integral_one_cup p k X hprojective) i x |
| 54 | exact result |
| 55 | |
| 56 | abbrev cup_one (i : ℕ) (x : V i) := by |
| 57 | have result := BilinearScalarExtension.map_right_unit K (μ i 0) oneI |
| 58 | (integral_cup_one p k X hprojective i) x |
| 59 | exact result |
| 60 | |
| 61 | theorem scalarLeft : ∀ i (x : K ⊗[W] I i), |
| 62 | GradedCupTransport.degreeCast K (fun i => K ⊗[W] I i) (Nat.zero_add i) |
| 63 | (BilinearScalarExtension.map K (μ 0 i) ((1 : K) ⊗ₜ[W] oneI) x) = x := |
| 64 | GradedCupUnit.scalar_left W I μ oneI K (integral_one_cup p k X hprojective) |
| 65 | |
| 66 | theorem scalarRight : ∀ i (x : K ⊗[W] I i), |
| 67 | BilinearScalarExtension.map K (μ i 0) x ((1 : K) ⊗ₜ[W] oneI) = x := |
| 68 | fun i => BilinearScalarExtension.map_right_unit K (μ i 0) oneI |
| 69 | (integral_cup_one p k X hprojective i) |
| 70 | |
| 71 | private theorem integralAssoc (i j l : ℕ) (x : I i) (y : I j) (z : I l) : |
| 72 | GradedCupTransport.degreeCast W I (Nat.add_assoc i j l) (μ (i + j) l (μ i j x y) z) = |
| 73 | μ i (j + l) x (μ j l y z) := by |
| 74 | simp only [RationalCrystallineCup.integralCup_apply] |
| 75 | exact (ScalarCupAlgebra.degreeCast_changeRing (R := CR) I W (Nat.add_assoc i j l) _).trans |
| 76 | (CupAlgebra.Integral.assoc p k X hprojective i j l x y z) |
| 77 | |
| 78 | theorem scalarAssoc : ∀ i j l (x : K ⊗[W] I i) (y : K ⊗[W] I j) (z : K ⊗[W] I l), |
| 79 | GradedCupTransport.degreeCast K (fun i => K ⊗[W] I i) (Nat.add_assoc i j l) |
| 80 | (BilinearScalarExtension.map K (μ (i + j) l) |
| 81 | (BilinearScalarExtension.map K (μ i j) x y) z) = |
| 82 | BilinearScalarExtension.map K (μ i (j + l)) x |
| 83 | (BilinearScalarExtension.map K (μ j l) y z) := |
| 84 | ScalarCupAlgebra.assoc K I μ (integralAssoc p k X hprojective) |
| 85 | |
| 86 | theorem scalarSquare (x : K ⊗[W] I 1) : |
| 87 | BilinearScalarExtension.map K (μ 1 1) x x = 0 := by |
| 88 | have h2 : (2 : K) • BilinearScalarExtension.map K (μ 1 1) x x = 0 := |
| 89 | (two_smul K _).trans (ScalarCupAlgebra.one_add_swap K I μ |
| 90 | (fun a b => by |
| 91 | simp only [RationalCrystallineCup.integralCup_apply] |
| 92 | exact CupAlgebra.Integral.one_add_swap p k X hprojective a b) x x) |
| 93 | exact (smul_eq_zero.mp h2).resolve_left (by norm_num) |
| 94 | |
| 95 | def data := ScalarGradedCupData.data K I μ oneI |
| 96 | (scalarLeft p k X hprojective) (scalarRight p k X hprojective) |
| 97 | (scalarAssoc p k X hprojective) (scalarSquare p k X hprojective) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCupUnit |