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.Koszul.CechEvaluation |
| 2 | |
| 3 | /-! # Contraction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Contraction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The graded Leibniz rule for an ordered Koszul word. It is the sign |
| 10 | identity for separating ambient equations from point parameters in the |
| 11 | partial fraction comparison. -/ |
| 12 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction |
| 13 | universe u |
| 14 | variable (R V : Type u) [CommRing R] [AddCommGroup V] [Module R V] |
| 15 | (l : Module.Dual R V) |
| 16 | |
| 17 | theorem word_mul (p : ℕ) (v : Fin p → V) (x : ExteriorAlgebra R V) : |
| 18 | AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l (ExteriorAlgebra.ιMulti R p v * x) = |
| 19 | AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l (ExteriorAlgebra.ιMulti R p v) * x + |
| 20 | (-1 : R) ^ p • (ExteriorAlgebra.ιMulti R p v * AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l x) := by |
| 21 | induction p with |
| 22 | | zero => |
| 23 | simp only [ExteriorAlgebra.ιMulti_zero_apply, one_mul, pow_zero, one_smul] |
| 24 | have h : AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l 1 = 0 := |
| 25 | CliffordAlgebra.contractLeft_one 0 l |
| 26 | rw [h, zero_mul, zero_add] |
| 27 | | succ p ih => |
| 28 | rw [ExteriorAlgebra.ιMulti_succ_apply, mul_assoc, AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction_ι_mul, |
| 29 | ih, AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction_ι_mul] |
| 30 | simp only [mul_add, add_mul, neg_mul, mul_smul_comm, smul_mul_assoc, mul_assoc, |
| 31 | pow_succ, mul_neg, mul_one, neg_smul, sub_eq_add_neg, neg_add_rev] |
| 32 | abel |
| 33 | |
| 34 | theorem homogeneous_mul (p : ℕ) (v : ⋀[R]^p V) (x : ExteriorAlgebra R V) : |
| 35 | AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l (v.val * x) = |
| 36 | AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l v.val * x + |
| 37 | (-1 : R) ^ p • (v.val * AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l x) := by |
| 38 | have hv : v ∈ Submodule.span R (Set.range (exteriorPower.ιMulti R p : (Fin p → V) → ⋀[R]^p V)) := by |
| 39 | rw [exteriorPower.ιMulti_span] |
| 40 | trivial |
| 41 | induction hv using Submodule.span_induction with |
| 42 | | mem y hy => |
| 43 | obtain ⟨w, rfl⟩ := hy |
| 44 | exact word_mul R V l p w x |
| 45 | | zero => simp |
| 46 | | add y z _ _ hy hz => |
| 47 | simp only [Submodule.coe_add, add_mul, map_add, hy, hz, smul_add] |
| 48 | abel |
| 49 | | smul a y _ hy => |
| 50 | simp only [Submodule.coe_smul_of_tower, smul_mul_assoc, map_smul, hy, smul_add, |
| 51 | smul_comm a ((-1 : R) ^ p)] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Contraction |