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.DeterminantBlockDegrees |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonomialFiniteSums |
| 3 | |
| 4 | /-! # Coordinate Exponents -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.CoordinateExponents |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Each normalized point coordinate is a monomial in maximal minors. |
| 11 | All coordinates of that point have the same degree in every label block. -/ |
| 12 | open scoped BigOperators Classical |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | variable {r m : ℕ} |
| 16 | |
| 17 | theorem labeledDeterminantWeight_update_add (σ : Fin r → Fin m) (k : Fin r) (z i : Fin m) : |
| 18 | DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ k z) i + (if σ k = i then 1 else 0) = |
| 19 | DeterminantBlockDegrees.labeledDeterminantWeight σ i + (if z = i then 1 else 0) := by |
| 20 | have hnew := Finset.sum_erase_add (s := (Finset.univ : Finset (Fin r))) |
| 21 | (fun j => if Function.update σ k z j = i then 1 else 0) (Finset.mem_univ k) |
| 22 | have hold := Finset.sum_erase_add (s := (Finset.univ : Finset (Fin r))) |
| 23 | (fun j => if σ j = i then 1 else 0) (Finset.mem_univ k) |
| 24 | have he : (∑ j ∈ (Finset.univ : Finset (Fin r)).erase k, |
| 25 | if Function.update σ k z j = i then 1 else 0) = |
| 26 | ∑ j ∈ (Finset.univ : Finset (Fin r)).erase k, if σ j = i then 1 else 0 := by |
| 27 | apply Finset.sum_congr rfl |
| 28 | intro j hj |
| 29 | rw [Function.update_of_ne (Finset.mem_erase.mp hj).1] |
| 30 | rw [he, Function.update_self] at hnew |
| 31 | unfold DeterminantBlockDegrees.labeledDeterminantWeight |
| 32 | omega |
| 33 | |
| 34 | theorem labeledDeterminantWeight_update_cross (σ : Fin r → Fin m) (k l : Fin r) (z e i : Fin m) : |
| 35 | DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ k z) i + DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ l e) i = |
| 36 | DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ l z) i + DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ k e) i := by |
| 37 | have h₁ := labeledDeterminantWeight_update_add σ k z i |
| 38 | have h₂ := labeledDeterminantWeight_update_add σ l e i |
| 39 | have h₃ := labeledDeterminantWeight_update_add σ l z i |
| 40 | have h₄ := labeledDeterminantWeight_update_add σ k e i |
| 41 | omega |
| 42 | |
| 43 | def frameCoordinateExponent (σ : Fin r → Fin m) (e z : Fin m) (k : Fin r) : |
| 44 | (Fin r → Fin m) → ℕ := |
| 45 | Pi.single (Function.update σ k z) 1 + |
| 46 | ∑ j ∈ (Finset.univ : Finset (Fin r)).erase k, Pi.single (Function.update σ j e) 1 |
| 47 | |
| 48 | theorem frameCoordinateExponent_degree (σ : Fin r → Fin m) (e z : Fin m) (k : Fin r) (i : Fin m) : |
| 49 | Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (frameCoordinateExponent σ e z k) i = |
| 50 | DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ k z) i + |
| 51 | ∑ j ∈ (Finset.univ : Finset (Fin r)).erase k, DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ j e) i := by |
| 52 | have hsingle (j : Fin r → Fin m) : |
| 53 | Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (Pi.single j 1) i = DeterminantBlockDegrees.labeledDeterminantWeight j i := by |
| 54 | simp [Balanced.ExponentFiniteGeneration.monomialMultiDegree, Pi.single_apply] |
| 55 | simp only [frameCoordinateExponent, Balanced.ExponentFiniteGeneration.monomialMultiDegree_add, MonomialFiniteSums.monomialMultiDegree_sum, hsingle] |
| 56 | |
| 57 | theorem frameCoordinateExponent_degrees_equal (σ : Fin r → Fin m) (e z : Fin m) (k l : Fin r) (i : Fin m) : |
| 58 | Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (frameCoordinateExponent σ e z k) i = |
| 59 | Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (frameCoordinateExponent σ e z l) i := by |
| 60 | rw [frameCoordinateExponent_degree, frameCoordinateExponent_degree] |
| 61 | have hk := Finset.sum_erase_add (s := (Finset.univ : Finset (Fin r))) |
| 62 | (fun j => DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ j e) i) (Finset.mem_univ k) |
| 63 | have hl := Finset.sum_erase_add (s := (Finset.univ : Finset (Fin r))) |
| 64 | (fun j => DeterminantBlockDegrees.labeledDeterminantWeight (Function.update σ j e) i) (Finset.mem_univ l) |
| 65 | have hc := labeledDeterminantWeight_update_cross σ k l z e i |
| 66 | omega |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.CoordinateExponents |