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.ExteriorWedgeScalarNaturality |
| 2 | |
| 3 | /-! # Exterior Wedge Base Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.ExteriorWedgeBaseChange |
| 6 | |
| 7 | /-! # The exterior incidence matrices commute with arbitrary scalar base change -/ |
| 8 | |
| 9 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.EquivariantKoszul |
| 10 | |
| 11 | universe u |
| 12 | variable {R S σ : Type u} [CommRing R] [CommRing S] [LinearOrder σ] (φ : R →+* S) |
| 13 | |
| 14 | theorem basis_word_map_general {M N : Type u} [AddCommGroup M] [AddCommGroup N] |
| 15 | [Module R M] [Module S N] (b : Module.Basis σ R M) (c : Module.Basis σ S N) |
| 16 | (n : ℕ) (v : Fin n → σ) (s : Set.powersetCard σ n) : |
| 17 | φ ((b.exteriorPower n).repr (exteriorPower.ιMulti R n (fun k => b (v k))) s) = |
| 18 | (c.exteriorPower n).repr (exteriorPower.ιMulti S n (fun k => c (v k))) s := by |
| 19 | rw [exteriorPower.basis_repr_apply, exteriorPower.basis_repr_apply, |
| 20 | exteriorPower.ιMultiDual_apply_ιMulti, exteriorPower.ιMultiDual_apply_ιMulti, RingHom.map_det] |
| 21 | apply congrArg Matrix.det |
| 22 | ext i j |
| 23 | change φ (b.coord (Set.powersetCard.ofFinEmbEquiv.symm s j) (b (v i))) = |
| 24 | c.coord (Set.powersetCard.ofFinEmbEquiv.symm s j) (c (v i)) |
| 25 | simp only [Module.Basis.coord_apply, Module.Basis.repr_self, Finsupp.single_apply] |
| 26 | split_ifs <;> simp only [map_one, map_zero] |
| 27 | |
| 28 | theorem basis_word_map (n : ℕ) (v : Fin n → σ) (s : Set.powersetCard σ n) : |
| 29 | φ ((EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n).repr |
| 30 | (exteriorPower.ιMulti R n (fun k => Finsupp.basisSingleOne (v k))) s) = |
| 31 | (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) n).repr |
| 32 | (exteriorPower.ιMulti S n (fun k => Finsupp.basisSingleOne (v k))) s := |
| 33 | basis_word_map_general φ Finsupp.basisSingleOne Finsupp.basisSingleOne n v s |
| 34 | |
| 35 | variable (R) |
| 36 | |
| 37 | theorem wedge_basis_word (n : ℕ) (i : σ) (s : Set.powersetCard σ n) : |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge R σ i n (EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n s) = |
| 39 | exteriorPower.ιMulti R (n + 1) (fun k => (Finsupp.basisSingleOne : Module.Basis σ R (σ →₀ R)) |
| 40 | ((Fin.cons i (Set.powersetCard.ofFinEmbEquiv.symm s) : Fin (n + 1) → σ) k)) := by |
| 41 | let b : Module.Basis σ R (σ →₀ R) := Finsupp.basisSingleOne |
| 42 | have hb : EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n s = |
| 43 | exteriorPower.ιMulti R n (fun k => b (Set.powersetCard.ofFinEmbEquiv.symm s k)) := |
| 44 | exteriorPower.basis_apply R n b s |
| 45 | rw [hb] |
| 46 | apply (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.wedge_ιMulti R (σ →₀ R) (b i) n _).trans |
| 47 | apply congrArg (exteriorPower.ιMulti R (n + 1)) |
| 48 | funext k |
| 49 | exact Fin.cases rfl (fun _ => rfl) k |
| 50 | |
| 51 | variable {R} |
| 52 | |
| 53 | theorem wedge_matrix_map (n : ℕ) (i : σ) (s : Set.powersetCard σ n) (t : Set.powersetCard σ (n + 1)) : |
| 54 | φ ((EquivariantKoszul.exteriorBasis (R := R) (σ := σ) (n + 1)).repr |
| 55 | (AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge R σ i n (EquivariantKoszul.exteriorBasis (R := R) (σ := σ) n s)) t) = |
| 56 | (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) (n + 1)).repr |
| 57 | (AlgebraicGeometry.Crystalline.Cohomology.Koszul.Tensor.KoszulTensor.exteriorWedge S σ i n (EquivariantKoszul.exteriorBasis (R := S) (σ := σ) n s)) t := by |
| 58 | rw [wedge_basis_word, wedge_basis_word] |
| 59 | exact basis_word_map φ (n + 1) (Fin.cons i (Set.powersetCard.ofFinEmbEquiv.symm s)) t |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.ExteriorWedgeBaseChange |