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.AbelianModuli.HilbertConstruction.ProjectiveFrame.DeterminantCoordinates |
| 2 | |
| 3 | /-! # Discriminant -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.Discriminant |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A single product of actual determinants cuts out the projective-frame |
| 10 | locus over every commutative ring, including nonreduced coefficient rings. -/ |
| 11 | open scoped BigOperators Classical |
| 12 | universe u v w |
| 13 | variable {R : Type u} [CommRing R] {V : Type v} [AddCommGroup V] [Module R V] |
| 14 | variable {κ : Type w} [Fintype κ] |
| 15 | |
| 16 | def projectiveFrameDiscriminant (e : Module.Basis κ R V) (b : κ → V) (v : V) : R := |
| 17 | e.det b * ∏ i, e.det (Function.update b i v) |
| 18 | |
| 19 | theorem projectiveFrameDiscriminant_basis (e b : Module.Basis κ R V) (v : V) : |
| 20 | projectiveFrameDiscriminant e b v = |
| 21 | (e.det b) ^ (Fintype.card κ + 1) * ∏ i, b.repr v i := by |
| 22 | simp only [projectiveFrameDiscriminant, DeterminantCoordinates.basis_det_update_coordinate, |
| 23 | Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ] |
| 24 | rw [pow_succ] |
| 25 | ring |
| 26 | |
| 27 | theorem projectiveFrameDiscriminant_isUnit_iff |
| 28 | (e : Module.Basis κ R V) (b : κ → V) (v : V) : |
| 29 | IsUnit (projectiveFrameDiscriminant e b v) ↔ |
| 30 | ∃ c : Module.Basis κ R V, (∀ i, c i = b i) ∧ ∀ i, IsUnit (c.repr v i) := by |
| 31 | constructor |
| 32 | · intro h |
| 33 | have hd := (IsUnit.mul_iff.mp h).1 |
| 34 | have hm := IsUnit.prod_iff.mp (IsUnit.mul_iff.mp h).2 |
| 35 | obtain ⟨hli, hsp⟩ := (e.is_basis_iff_det).mpr hd |
| 36 | let c := Module.Basis.mk hli hsp.ge |
| 37 | have hc : (c : κ → V) = b := Module.Basis.coe_mk hli hsp.ge |
| 38 | refine ⟨c, fun i => congrFun hc i, fun i => ?_⟩ |
| 39 | have hi := hm i (Finset.mem_univ i) |
| 40 | rw [← hc, DeterminantCoordinates.basis_det_update_coordinate] at hi |
| 41 | exact (IsUnit.mul_iff.mp hi).2 |
| 42 | · rintro ⟨c, hc, hu⟩ |
| 43 | have hcb : b = c := funext (fun i => (hc i).symm) |
| 44 | rw [hcb, projectiveFrameDiscriminant_basis] |
| 45 | exact ((e.isUnit_det c).pow _).mul (IsUnit.prod_iff.mpr (fun i _ => hu i)) |
| 46 | |
| 47 | theorem projectiveFrameDiscriminant_linearMap |
| 48 | (e : Module.Basis κ R V) (b : κ → V) (v : V) (f : V →ₗ[R] V) : |
| 49 | projectiveFrameDiscriminant e (f ∘ b) (f v) = |
| 50 | f.det ^ (Fintype.card κ + 1) * projectiveFrameDiscriminant e b v := by |
| 51 | have hm (i : κ) : Function.update (f ∘ b) i (f v) = f ∘ Function.update b i v := by |
| 52 | funext j |
| 53 | by_cases hji : j = i |
| 54 | · subst j |
| 55 | simp [Function.update] |
| 56 | · simp [Function.update, hji] |
| 57 | simp only [projectiveFrameDiscriminant, hm, Module.Basis.det_comp, |
| 58 | Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ, pow_succ] |
| 59 | ring |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.Discriminant |