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.AlgebraicGeometry.Picard.Homomorphisms.Polynomial |
| 2 | import Mathlib.Algebra.MvPolynomial.Expand |
| 3 | import Mathlib.Algebra.MvPolynomial.Equiv |
| 4 | import Mathlib.Data.Fintype.Option |
| 5 | |
| 6 | /-! # Mv Polynomial -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.MvPolynomial.Construction |
| 9 | |
| 10 | universe u v |
| 11 | |
| 12 | variable (R : Type u) [CommRing R] (n : ℕ) |
| 13 | |
| 14 | /-- Simultaneously raising finitely many polynomial coordinates to a |
| 15 | positive power gives a flat ring map over an arbitrary coefficient ring. -/ |
| 16 | theorem mvPolynomial_expand_flat (hn : n ≠ 0) (σ : Type v) [Finite σ] : |
| 17 | (MvPolynomial.expand n (R := R) (σ := σ)).toRingHom.Flat := by |
| 18 | refine Finite.induction_empty_option |
| 19 | (P := fun α => (MvPolynomial.expand n (R := R) (σ := α)).toRingHom.Flat) |
| 20 | ?_ ?_ ?_ σ |
| 21 | · intro α β e hα |
| 22 | let E := MvPolynomial.renameEquiv R e |
| 23 | have he : E.toRingHom.comp (MvPolynomial.expand n (R := R) (σ := α)).toRingHom = |
| 24 | (MvPolynomial.expand n (R := R) (σ := β)).toRingHom.comp E.toRingHom := by |
| 25 | ext r <;> simp [E] |
| 26 | apply (RingHom.Flat.comp_iff_of_bijective_right E.bijective).mp |
| 27 | erw [← he] |
| 28 | exact hα.comp (RingHom.Flat.of_bijective E.bijective) |
| 29 | · have he : (MvPolynomial.expand n (R := R) (σ := PEmpty.{v + 1})).toRingHom = |
| 30 | RingHom.id _ := by |
| 31 | ext r |
| 32 | · simp |
| 33 | · cases r |
| 34 | rw [he] |
| 35 | exact RingHom.Flat.id _ |
| 36 | · intro α _ hα |
| 37 | let E := MvPolynomial.optionEquivLeft R α |
| 38 | let P := Polynomial.mapRingHom (MvPolynomial.expand n (R := R) (σ := α)).toRingHom |
| 39 | let Q := (Polynomial.expand (MvPolynomial α R) n).toRingHom |
| 40 | have he : E.toRingHom.comp |
| 41 | (MvPolynomial.expand n (R := R) (σ := Option α)).toRingHom = |
| 42 | (Q.comp P).comp E.toRingHom := by |
| 43 | ext r |
| 44 | · simp [E, P, Q] |
| 45 | · cases r <;> simp [E, P, Q] |
| 46 | apply (RingHom.Flat.comp_iff_of_bijective_left E.bijective).mp |
| 47 | erw [he] |
| 48 | exact (RingHom.Flat.of_bijective E.bijective).comp |
| 49 | ((Homomorphisms.Polynomial.Construction.polynomial_map_flat (MvPolynomial α R) _ hα).comp |
| 50 | (Homomorphisms.Polynomial.Construction.polynomial_expand_flat (MvPolynomial α R) n hn)) |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.MvPolynomial.Construction |