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.UnitaryPlaneBlocks |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactPlanePerfect |
| 3 | |
| 4 | /-! # Ball Plane Groups -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallPlaneGroups.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The compact (0,1) plane and the split (0,2) and (1,2) planes |
| 13 | inside the actual SU(2,1) ball group. -/ |
| 14 | |
| 15 | open scoped ComplexConjugate |
| 16 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.BallNatural |
| 17 | |
| 18 | def sameSpecialUnitaryForm {n : Type*} [Fintype n] [DecidableEq n] |
| 19 | (H H' : Matrix n n ℂ) (h : H = H') : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H →* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H' where |
| 20 | toFun g := ⟨g.val, by |
| 21 | constructor |
| 22 | · rw [← h]; exact g.property.1 |
| 23 | · exact g.property.2⟩ |
| 24 | map_one' := rfl |
| 25 | map_mul' _ _ := rfl |
| 26 | |
| 27 | def ballCompactPlane : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ) →* RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := |
| 28 | (sameSpecialUnitaryForm (UnitaryPlaneBlocks.CM.planeBlock 1 (-1)) RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val (by |
| 29 | apply Matrix.ext |
| 30 | intro i j |
| 31 | fin_cases i <;> fin_cases j <;> simp [UnitaryPlaneBlocks.CM.planeBlock, RepresentationTheory.Theta.Adelic.BallNatural.standardForm])).comp |
| 32 | (UnitaryPlaneBlocks.CM.unitaryPlaneBlock 1 (-1)) |
| 33 | |
| 34 | def ballSplitPlane02 : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU SplitUnitaryPlane.CM.splitPlaneForm →* RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := |
| 35 | (sameSpecialUnitaryForm |
| 36 | (Matrix.reindex (Equiv.swap 1 2) (Equiv.swap 1 2) (UnitaryPlaneBlocks.CM.planeBlock SplitUnitaryPlane.CM.splitPlaneForm 1)) |
| 37 | RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val (by |
| 38 | apply Matrix.ext |
| 39 | intro i j |
| 40 | fin_cases i <;> fin_cases j <;> |
| 41 | norm_num [Matrix.reindex_apply, Equiv.swap_apply_def, Fin.ext_iff, UnitaryPlaneBlocks.CM.planeBlock, |
| 42 | SplitUnitaryPlane.CM.splitPlaneForm, RepresentationTheory.Theta.Adelic.BallNatural.standardForm])).comp |
| 43 | ((UnitaryPlaneBlocks.CM.reindexSpecialUnitary (Equiv.swap 1 2) (UnitaryPlaneBlocks.CM.planeBlock SplitUnitaryPlane.CM.splitPlaneForm 1)).comp |
| 44 | (UnitaryPlaneBlocks.CM.unitaryPlaneBlock SplitUnitaryPlane.CM.splitPlaneForm 1)) |
| 45 | |
| 46 | def ballPositiveSwap : RepresentationTheory.Theta.Adelic.BallNatural.BallGroup →* RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := |
| 47 | (sameSpecialUnitaryForm |
| 48 | (Matrix.reindex (Equiv.swap 0 1) (Equiv.swap 0 1) RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val) RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val (by |
| 49 | apply Matrix.ext |
| 50 | intro i j |
| 51 | fin_cases i <;> fin_cases j <;> norm_num [Matrix.reindex_apply, Equiv.swap_apply_def, Fin.ext_iff, RepresentationTheory.Theta.Adelic.BallNatural.standardForm])).comp |
| 52 | (UnitaryPlaneBlocks.CM.reindexSpecialUnitary (Equiv.swap 0 1) RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val) |
| 53 | |
| 54 | def ballSplitPlane12 : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU SplitUnitaryPlane.CM.splitPlaneForm →* RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := ballPositiveSwap.comp ballSplitPlane02 |
| 55 | |
| 56 | theorem ball_compact_plane_matrix (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) : |
| 57 | (ballCompactPlane g).val.val = UnitaryPlaneBlocks.CM.planeBlock g.val.val 1 := rfl |
| 58 | |
| 59 | theorem ball_split_plane02_matrix (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU SplitUnitaryPlane.CM.splitPlaneForm) : |
| 60 | (ballSplitPlane02 g).val.val = |
| 61 | !![g.val.val 0 0, 0, g.val.val 0 1; 0, 1, 0; g.val.val 1 0, 0, g.val.val 1 1] := by |
| 62 | apply Matrix.ext |
| 63 | intro i j |
| 64 | fin_cases i <;> fin_cases j <;> |
| 65 | norm_num [ballSplitPlane02, sameSpecialUnitaryForm, UnitaryPlaneBlocks.CM.reindexSpecialUnitary, |
| 66 | UnitaryPlaneBlocks.CM.unitaryPlaneBlock, SplitUnitaryPlane.CM.specialUnitaryOfMatrix, Matrix.reindex_apply, UnitaryPlaneBlocks.CM.planeBlock, |
| 67 | Matrix.SpecialLinearGroup.toGL, Equiv.swap_apply_def, Fin.ext_iff] |
| 68 | |
| 69 | theorem ball_split_plane12_matrix (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU SplitUnitaryPlane.CM.splitPlaneForm) : |
| 70 | (ballSplitPlane12 g).val.val = |
| 71 | !![1, 0, 0; 0, g.val.val 0 0, g.val.val 0 1; 0, g.val.val 1 0, g.val.val 1 1] := by |
| 72 | change Matrix.reindex (Equiv.swap 0 1) (Equiv.swap 0 1) (ballSplitPlane02 g).val.val = _ |
| 73 | rw [ball_split_plane02_matrix] |
| 74 | apply Matrix.ext |
| 75 | intro i j |
| 76 | fin_cases i <;> fin_cases j <;> norm_num [Matrix.reindex_apply, Equiv.swap_apply_def, Fin.ext_iff] |
| 77 | |
| 78 | theorem ball_compact_plane_mem_commutator (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ)) : |
| 79 | ballCompactPlane g ∈ commutator RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := by |
| 80 | apply SplitUnitaryPlane.CM.hom_maps_commutator |
| 81 | rw [CompactPlanePerfect.CM.compact_plane_commutator_eq_top] |
| 82 | trivial |
| 83 | |
| 84 | theorem ball_split_plane02_mem_commutator (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU SplitUnitaryPlane.CM.splitPlaneForm) : |
| 85 | ballSplitPlane02 g ∈ commutator RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := by |
| 86 | apply SplitUnitaryPlane.CM.hom_maps_commutator |
| 87 | rw [SplitUnitaryPlane.CM.split_plane_commutator_eq_top] |
| 88 | trivial |
| 89 | |
| 90 | theorem ball_split_plane12_mem_commutator (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU SplitUnitaryPlane.CM.splitPlaneForm) : |
| 91 | ballSplitPlane12 g ∈ commutator RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := by |
| 92 | apply SplitUnitaryPlane.CM.hom_maps_commutator |
| 93 | rw [SplitUnitaryPlane.CM.split_plane_commutator_eq_top] |
| 94 | trivial |
| 95 | |
| 96 | def splitPlaneElement (a b : ℂ) (h : Complex.normSq a - Complex.normSq b = 1) : |
| 97 | RepresentationTheory.Theta.Adelic.SpecialUnitary.SU SplitUnitaryPlane.CM.splitPlaneForm := SplitUnitaryPlane.CM.specialUnitaryOfMatrix SplitUnitaryPlane.CM.splitPlaneForm !![a, b; conj b, conj a] |
| 98 | (by simpa [Matrix.det_fin_two, Complex.mul_conj] using congrArg Complex.ofReal h) |
| 99 | (by |
| 100 | have hc : (Complex.normSq a : ℂ) - (Complex.normSq b : ℂ) = 1 := |
| 101 | by exact_mod_cast h |
| 102 | apply Matrix.ext |
| 103 | intro i j |
| 104 | fin_cases i <;> fin_cases j <;> |
| 105 | simp [SplitUnitaryPlane.CM.splitPlaneForm, Matrix.mul_apply, Fin.sum_univ_two, |
| 106 | Complex.mul_conj, mul_comm] |
| 107 | all_goals first | linear_combination hc | linear_combination -hc) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | /-! The stabilizer of the actual negative basis vector in SU(2,1) |
| 112 | is exactly the embedded compact special-unitary plane. -/ |
| 113 | |
| 114 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.BallNatural |
| 115 | |
| 116 | theorem ball_last_column_norm (g : RepresentationTheory.Theta.Adelic.BallNatural.BallGroup) : |
| 117 | Complex.normSq (g.val.val 2 2) = |
| 118 | 1 + Complex.normSq (g.val.val 0 2) + Complex.normSq (g.val.val 1 2) := by |
| 119 | have hp : g.val.val.conjTranspose * RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val * g.val.val = RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val := g.property.1 |
| 120 | have h := congrArg (fun M : Matrix (Fin 3) (Fin 3) ℂ => (M 2 2).re) hp |
| 121 | simp [RepresentationTheory.Theta.Adelic.BallNatural.standardForm, Matrix.mul_apply, Fin.sum_univ_succ, |
| 122 | Complex.mul_re, Complex.normSq_apply] at h ⊢ |
| 123 | nlinarith |
| 124 | |
| 125 | theorem ball_negative_vector_stabilizer (g : RepresentationTheory.Theta.Adelic.BallNatural.BallGroup) |
| 126 | (h02 : g.val.val 0 2 = 0) (h12 : g.val.val 1 2 = 0) (h22 : g.val.val 2 2 = 1) : |
| 127 | ∃ k : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 2) (Fin 2) ℂ), ballCompactPlane k = g := by |
| 128 | have hp : g.val.val.conjTranspose * RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val * g.val.val = RepresentationTheory.Theta.Adelic.BallNatural.standardForm.val := g.property.1 |
| 129 | have h20 : g.val.val 2 0 = 0 := by |
| 130 | have h := congrArg (fun M : Matrix (Fin 3) (Fin 3) ℂ => M 2 0) hp |
| 131 | simpa [RepresentationTheory.Theta.Adelic.BallNatural.standardForm, Matrix.mul_apply, Fin.sum_univ_succ, h02, h12, h22] using h |
| 132 | have h21 : g.val.val 2 1 = 0 := by |
| 133 | have h := congrArg (fun M : Matrix (Fin 3) (Fin 3) ℂ => M 2 1) hp |
| 134 | simpa [RepresentationTheory.Theta.Adelic.BallNatural.standardForm, Matrix.mul_apply, Fin.sum_univ_succ, h02, h12, h22] using h |
| 135 | let M : Matrix (Fin 2) (Fin 2) ℂ := |
| 136 | !![g.val.val 0 0, g.val.val 0 1; g.val.val 1 0, g.val.val 1 1] |
| 137 | have hblock : g.val.val = UnitaryPlaneBlocks.CM.planeBlock M 1 := by |
| 138 | apply Matrix.ext |
| 139 | intro i j |
| 140 | fin_cases i <;> fin_cases j <;> simp [UnitaryPlaneBlocks.CM.planeBlock, M, h02, h12, h20, h21, h22] |
| 141 | have hdet : M.det = 1 := by |
| 142 | have hd : g.val.val.det = 1 := congrArg Units.val g.property.2 |
| 143 | simpa only [hblock, UnitaryPlaneBlocks.CM.plane_block_det, mul_one] using hd |
| 144 | have hform : M.conjTranspose * 1 * M = 1 := by |
| 145 | apply Matrix.ext |
| 146 | intro i j |
| 147 | have h := congrArg (fun Q : Matrix (Fin 3) (Fin 3) ℂ => Q i.castSucc j.castSucc) hp |
| 148 | fin_cases i <;> fin_cases j <;> |
| 149 | simpa [M, RepresentationTheory.Theta.Adelic.BallNatural.standardForm, Matrix.mul_apply, Fin.sum_univ_succ, h20, h21] using h |
| 150 | refine ⟨SplitUnitaryPlane.CM.specialUnitaryOfMatrix 1 M hdet hform, ?_⟩ |
| 151 | apply Subtype.ext |
| 152 | apply Units.ext |
| 153 | exact hblock.symm |
| 154 | |
| 155 | theorem ball_negative_vector_stabilizer_commutator (g : RepresentationTheory.Theta.Adelic.BallNatural.BallGroup) |
| 156 | (h02 : g.val.val 0 2 = 0) (h12 : g.val.val 1 2 = 0) (h22 : g.val.val 2 2 = 1) : |
| 157 | g ∈ commutator RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := by |
| 158 | obtain ⟨k, rfl⟩ := ball_negative_vector_stabilizer g h02 h12 h22 |
| 159 | exact ball_compact_plane_mem_commutator k |
| 160 | |
| 161 | end |
| 162 | |
| 163 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallPlaneGroups.CM |