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.HodgeConjecture.ThetaCycle.SplitUnitaryPlane |
| 2 | |
| 3 | /-! # Compact Plane Elimination -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactPlaneElimination.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Explicit compact two-dimensional special-unitary matrices and the |
| 12 | commutators representing their diagonal circle. -/ |
| 13 | |
| 14 | open scoped ComplexConjugate commutatorElement |
| 15 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 16 | |
| 17 | def compactPlaneMatrix (a b : ℂ) : Matrix (Fin 2) (Fin 2) ℂ := |
| 18 | !![a, b; -conj b, conj a] |
| 19 | |
| 20 | theorem compact_plane_det (a b : ℂ) : |
| 21 | (compactPlaneMatrix a b).det = ((Complex.normSq a + Complex.normSq b : ℝ) : ℂ) := by |
| 22 | simp [compactPlaneMatrix, Matrix.det_fin_two, Complex.mul_conj, Complex.ofReal_add] |
| 23 | |
| 24 | theorem compact_plane_form (a b : ℂ) : |
| 25 | (compactPlaneMatrix a b).conjTranspose * 1 * compactPlaneMatrix a b = |
| 26 | ((Complex.normSq a + Complex.normSq b : ℝ) : ℂ) • (1 : Matrix (Fin 2) (Fin 2) ℂ) := by |
| 27 | apply Matrix.ext |
| 28 | intro i j |
| 29 | fin_cases i <;> fin_cases j <;> |
| 30 | simp [compactPlaneMatrix, Matrix.mul_apply, Fin.sum_univ_two, |
| 31 | Complex.mul_conj, mul_comm, add_comm] |
| 32 | |
| 33 | def compactPlaneElement (a b : ℂ) (h : Complex.normSq a + Complex.normSq b = 1) : |
| 34 | RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) := |
| 35 | SplitUnitaryPlane.CM.specialUnitaryOfMatrix 1 (compactPlaneMatrix a b) |
| 36 | (by rw [compact_plane_det, h, Complex.ofReal_one]) |
| 37 | (by rw [compact_plane_form, h, Complex.ofReal_one, one_smul]) |
| 38 | |
| 39 | def compactPlaneDiagonal (z : Circle) : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) := |
| 40 | compactPlaneElement z 0 (by simp) |
| 41 | |
| 42 | def compactPlaneWeyl : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) := |
| 43 | compactPlaneElement 0 1 (by simp) |
| 44 | |
| 45 | theorem compact_plane_element_inverse (a b : ℂ) (h : Complex.normSq a + Complex.normSq b = 1) : |
| 46 | (compactPlaneElement a b h)⁻¹.val.val = !![conj a, -b; conj b, a] := by |
| 47 | change Matrix.adjugate (compactPlaneMatrix a b) = _ |
| 48 | rw [Matrix.adjugate_fin_two] |
| 49 | simp [compactPlaneMatrix] |
| 50 | |
| 51 | theorem compact_plane_diagonal_commutator (z : Circle) : |
| 52 | ⁅compactPlaneDiagonal z, compactPlaneWeyl⁆ = compactPlaneDiagonal (z ^ 2) := by |
| 53 | apply Subtype.ext |
| 54 | apply Units.ext |
| 55 | rw [commutatorElement_def] |
| 56 | change (compactPlaneDiagonal z).val.val * compactPlaneWeyl.val.val * |
| 57 | (compactPlaneDiagonal z)⁻¹.val.val * compactPlaneWeyl⁻¹.val.val = _ |
| 58 | rw [compactPlaneDiagonal, compactPlaneWeyl, compact_plane_element_inverse, |
| 59 | compact_plane_element_inverse] |
| 60 | change compactPlaneMatrix z 0 * compactPlaneMatrix 0 1 * |
| 61 | !![conj (z : ℂ), -0; conj 0, z] * !![conj 0, -1; conj 1, 0] = compactPlaneMatrix (z ^ 2) 0 |
| 62 | apply Matrix.ext |
| 63 | intro i j |
| 64 | fin_cases i <;> fin_cases j <;> |
| 65 | simp [compactPlaneMatrix, Matrix.mul_apply, Fin.sum_univ_two, pow_two] |
| 66 | |
| 67 | theorem compact_plane_diagonal_mem_commutator (z : Circle) : |
| 68 | compactPlaneDiagonal z ∈ commutator (RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) := by |
| 69 | let w := Circle.exp (Complex.arg z / 2) |
| 70 | have hw : w ^ 2 = z := by |
| 71 | dsimp [w] |
| 72 | rw [pow_two, ← Circle.exp_add, add_halves, Circle.exp_arg] |
| 73 | rw [← hw, ← compact_plane_diagonal_commutator] |
| 74 | exact Subgroup.commutator_mem_commutator (Subgroup.mem_top _) (Subgroup.mem_top _) |
| 75 | |
| 76 | theorem compact_plane_shape (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) : |
| 77 | g.val.val 1 0 = -conj (g.val.val 0 1) ∧ g.val.val 1 1 = conj (g.val.val 0 0) := by |
| 78 | let A : Matrix.SpecialLinearGroup (Fin 2) ℂ := ⟨g.val.val, congrArg Units.val g.property.2⟩ |
| 79 | have hA : A.val.conjTranspose * A.val = 1 := by |
| 80 | have hp : g.val.val.conjTranspose * 1 * g.val.val = 1 := g.property.1 |
| 81 | simpa only [Matrix.mul_one] using hp |
| 82 | have h : A.val.conjTranspose = (A⁻¹).val := by |
| 83 | calc |
| 84 | _ = (A.val.conjTranspose * A.val) * (A⁻¹).val := by |
| 85 | rw [Matrix.mul_assoc, ← Matrix.SpecialLinearGroup.coe_mul, mul_inv_cancel, |
| 86 | Matrix.SpecialLinearGroup.coe_one, Matrix.mul_one] |
| 87 | _ = _ := by rw [hA, one_mul] |
| 88 | have h00 := congrArg (fun M : Matrix (Fin 2) (Fin 2) ℂ => M 0 0) h |
| 89 | have h01 := congrArg (fun M : Matrix (Fin 2) (Fin 2) ℂ => M 0 1) h |
| 90 | simp [Matrix.SpecialLinearGroup.coe_inv, Matrix.adjugate_fin_two] at h00 h01 |
| 91 | exact ⟨by simpa using congrArg conj h01, h00.symm⟩ |
| 92 | |
| 93 | theorem compact_plane_norm (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) : |
| 94 | Complex.normSq (g.val.val 0 0) + Complex.normSq (g.val.val 0 1) = 1 := by |
| 95 | have hd : g.val.val.det = 1 := congrArg Units.val g.property.2 |
| 96 | rw [Matrix.det_fin_two, (compact_plane_shape g).1, (compact_plane_shape g).2] at hd |
| 97 | have hr := congrArg Complex.re hd |
| 98 | simpa [Complex.mul_conj] using hr |
| 99 | |
| 100 | end |
| 101 | |
| 102 | /-! Explicit elimination in the actual compact unitary plane. -/ |
| 103 | |
| 104 | open scoped ComplexConjugate |
| 105 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 106 | |
| 107 | def compactPlaneEliminator (x z : ℂ) (r : ℝ) (hr : 0 < r) |
| 108 | (hn : Complex.normSq z + Complex.normSq x = r ^ 2) : |
| 109 | RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) := |
| 110 | compactPlaneElement (z / (r : ℂ)) (-x / (r : ℂ)) (by |
| 111 | simp only [Complex.normSq_div, Complex.normSq_neg, Complex.normSq_ofReal, |
| 112 | ← add_div, hn] |
| 113 | simpa only [pow_two] using div_self (pow_ne_zero 2 (ne_of_gt hr))) |
| 114 | |
| 115 | theorem compact_plane_eliminator_action (x z : ℂ) (r : ℝ) (hr : 0 < r) |
| 116 | (hn : Complex.normSq z + Complex.normSq x = r ^ 2) : |
| 117 | (compactPlaneEliminator x z r hr hn).val.val.mulVec ![x, z] = ![0, (r : ℂ)] := by |
| 118 | have hr0 : (r : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr (ne_of_gt hr) |
| 119 | have hc : z * conj z + x * conj x = (r : ℂ) ^ 2 := by |
| 120 | simpa only [Complex.mul_conj, Complex.ofReal_add, Complex.ofReal_pow] using congrArg Complex.ofReal hn |
| 121 | change (!![z / (r : ℂ), -x / (r : ℂ); |
| 122 | -conj (-x / (r : ℂ)), conj (z / (r : ℂ))] : Matrix (Fin 2) (Fin 2) ℂ).mulVec ![x, z] = _ |
| 123 | funext i |
| 124 | fin_cases i |
| 125 | · simp only [Matrix.mulVec, dotProduct, Fin.sum_univ_two] |
| 126 | change z / (r : ℂ) * x + (-x / (r : ℂ)) * z = 0 |
| 127 | ring |
| 128 | · simp only [Matrix.mulVec, dotProduct, Fin.sum_univ_two] |
| 129 | change -conj (-x / (r : ℂ)) * x + conj (z / (r : ℂ)) * z = r |
| 130 | simp only [map_div₀, map_neg, Complex.conj_ofReal] |
| 131 | field_simp |
| 132 | linear_combination hc |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactPlaneElimination.CM |