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.ExteriorPowerBaseChange |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.KoszulComplex |
| 3 | |
| 4 | /-! # Contraction Base Change -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.ContractionBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flat scalar extension commutes with the actual contraction differential |
| 11 | of the exterior Koszul complex, with its canonical exterior comparison. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction |
| 19 | |
| 20 | universe u |
| 21 | variable (R S V : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 22 | [AddCommGroup V] [Module R V] (s : Module.Dual R V) |
| 23 | |
| 24 | def coefficient : Module.Dual S (S ⊗[R] V) := |
| 25 | (TensorProduct.AlgebraTensorModule.rid R S S).toLinearMap.comp (s.baseChange S) |
| 26 | |
| 27 | theorem coefficient_tmul (a : S) (v : V) : |
| 28 | coefficient R S V s (a ⊗ₜ[R] v) = a * algebraMap R S (s v) := by |
| 29 | change (TensorProduct.AlgebraTensorModule.rid R S S) (a ⊗ₜ[R] s v) = _ |
| 30 | simp [Algebra.smul_def, mul_comm] |
| 31 | |
| 32 | abbrev ambientMap := GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.algebraMap R S V |
| 33 | |
| 34 | theorem ambient_contraction (x : ExteriorAlgebra R V) : |
| 35 | AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction S (S ⊗[R] V) (coefficient R S V s) (ambientMap R S V x) = |
| 36 | ambientMap R S V (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V s x) := by |
| 37 | induction x using CliffordAlgebra.left_induction with |
| 38 | | algebraMap r => |
| 39 | rw [AlgHom.commutes] |
| 40 | rw [IsScalarTower.algebraMap_apply R S (ExteriorAlgebra S (S ⊗[R] V))] |
| 41 | simp [AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction, CliffordAlgebra.contractLeft_algebraMap] |
| 42 | | add x y hx hy => simp only [map_add, hx, hy] |
| 43 | | ι_mul x v hx => |
| 44 | rw [map_mul, GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.algebraMap_ι, |
| 45 | AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction_ι_mul, AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction_ι_mul, map_sub, map_smul, |
| 46 | map_mul, GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.algebraMap_ι, hx, |
| 47 | coefficient_tmul, one_mul, algebraMap_smul] |
| 48 | |
| 49 | variable [Module.Flat R S] |
| 50 | |
| 51 | abbrev power (n : ℕ) := GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerEquiv R S V n |
| 52 | |
| 53 | theorem power_coe_tmul (n : ℕ) (a : S) (x : ⋀[R]^n V) : |
| 54 | ((power R S V n) (a ⊗ₜ[R] x) : ExteriorAlgebra S (S ⊗[R] V)) = |
| 55 | a • ambientMap R S V x.val := by |
| 56 | change GeometricComparison.Integral.ExteriorAlgebraBaseChange.IntegralExteriorBaseChange.algebraEquiv R S V (a ⊗ₜ[R] x.val) = _ |
| 57 | rw [TensorProduct.tmul_eq_smul_one_tmul, map_smul] |
| 58 | rfl |
| 59 | |
| 60 | theorem contraction_tmul (n : ℕ) (a : S) (x : ⋀[R]^(n + 1) V) : |
| 61 | AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction S (S ⊗[R] V) (coefficient R S V s) n |
| 62 | (power R S V (n + 1) (a ⊗ₜ[R] x)) = |
| 63 | power R S V n (a ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R V s n x) := by |
| 64 | apply Subtype.ext |
| 65 | rw [AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction_coe, power_coe_tmul, map_smul, ambient_contraction, power_coe_tmul] |
| 66 | rfl |
| 67 | |
| 68 | theorem contraction_comp (n : ℕ) : |
| 69 | (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction S (S ⊗[R] V) (coefficient R S V s) n).comp |
| 70 | (power R S V (n + 1)).toLinearMap = |
| 71 | (power R S V n).toLinearMap.comp ((AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R V s n).baseChange S) := by |
| 72 | apply LinearMap.ext |
| 73 | intro x |
| 74 | induction x using TensorProduct.inductionOn with |
| 75 | | add x y hx hy => simp only [map_add, hx, hy] |
| 76 | | tmul a x => exact contraction_tmul R S V s n a x |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.ContractionBaseChange |