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.PeriodInvariants.ExteriorWedgeBaseChange |
| 2 | |
| 3 | /-! # Exterior Semilinear Base Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.ExteriorSemilinearBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # Actual semilinear base change of free exterior modules and their wedge maps -/ |
| 10 | |
| 11 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.EquivariantKoszul |
| 12 | |
| 13 | universe u |
| 14 | variable {R S σ : Type u} [CommRing R] [CommRing S] [LinearOrder σ] (φ : R →+* S) |
| 15 | |
| 16 | def scalarMap : R →ₛₗ[φ] S where |
| 17 | toFun := φ |
| 18 | map_add' := map_add φ |
| 19 | map_smul' := map_mul φ |
| 20 | |
| 21 | def exteriorMap (n : ℕ) : (⋀[R]^n (σ →₀ R)) →ₛₗ[φ] (⋀[S]^n (σ →₀ S)) := |
| 22 | (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) n).repr.symm.toLinearMap.comp |
| 23 | ((Finsupp.mapRange.linearMap (scalarMap φ)).comp (EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n).repr.toLinearMap) |
| 24 | |
| 25 | theorem exteriorMap_repr (n : ℕ) (x : ⋀[R]^n (σ →₀ R)) (s : Set.powersetCard σ n) : |
| 26 | (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) n).repr (exteriorMap φ n x) s = |
| 27 | φ ((EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n).repr x s) := |
| 28 | congrArg (fun f : Set.powersetCard σ n →₀ S => f s) |
| 29 | ((EquivariantKoszul.exteriorBasis (R := S) (σ := σ) n).repr.apply_symm_apply |
| 30 | (Finsupp.mapRange.linearMap (scalarMap φ) ((EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n).repr x))) |
| 31 | |
| 32 | theorem exteriorMap_basis (n : ℕ) (s : Set.powersetCard σ n) : |
| 33 | exteriorMap φ n (EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n s) = EquivariantKoszul.exteriorBasis (R := S) (σ := σ) n s := by |
| 34 | apply (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) n).repr.injective |
| 35 | apply Finsupp.ext |
| 36 | intro t |
| 37 | rw [exteriorMap_repr, Module.Basis.repr_self, Module.Basis.repr_self] |
| 38 | simp only [Finsupp.single_apply] |
| 39 | split_ifs <;> simp only [map_one, map_zero] |
| 40 | |
| 41 | theorem wedge_commutes (n : ℕ) (i : σ) (x : ⋀[R]^n (σ →₀ R)) : |
| 42 | exteriorMap φ (n + 1) (AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge R σ i n x) = |
| 43 | AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge S σ i n (exteriorMap φ n x) := by |
| 44 | have he : (exteriorMap φ (n + 1)).comp (AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge R σ i n) = |
| 45 | (AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge S σ i n).comp (exteriorMap φ n) := by |
| 46 | apply (EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n).ext |
| 47 | intro s |
| 48 | change exteriorMap φ (n + 1) (AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge R σ i n (EquivariantKoszul.exteriorBasis n s)) = _ |
| 49 | apply (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) (n + 1)).repr.injective |
| 50 | apply Finsupp.ext |
| 51 | intro t |
| 52 | change (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) (n + 1)).repr |
| 53 | (exteriorMap φ (n + 1) (AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge R σ i n (EquivariantKoszul.exteriorBasis n s))) t = |
| 54 | (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) (n + 1)).repr |
| 55 | (AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge S σ i n (exteriorMap φ n (EquivariantKoszul.exteriorBasis n s))) t |
| 56 | rw [exteriorMap_repr, exteriorMap_basis] |
| 57 | exact ExteriorWedgeBaseChange.wedge_matrix_map φ n i s t |
| 58 | exact LinearMap.congr_fun he x |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.ExteriorSemilinearBaseChange |