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.HeckeCycles.Source.ComplexAction |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 3 | |
| 4 | /-! # Phase Matrix Reindex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PhaseMatrixReindex.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Reindex the actual phase coordinates and exchange position and momentum. |
| 13 | The exchange reverses the alternating form. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | variable {I J : Type} |
| 18 | |
| 19 | def swap (e : I ≃ J) : ((J ⊕ J) → ℚ) ≃ₗ[ℚ] ((I ⊕ I) → ℚ) := |
| 20 | LinearEquiv.funCongrLeft ℚ ℚ ((Equiv.sumCongr e e).trans (Equiv.sumComm J J)) |
| 21 | |
| 22 | theorem swap_inl (e : I ≃ J) (x : (J ⊕ J) → ℚ) (i : I) : |
| 23 | swap e x (.inl i) = x (.inr (e i)) := rfl |
| 24 | |
| 25 | theorem swap_inr (e : I ≃ J) (x : (J ⊕ J) → ℚ) (i : I) : |
| 26 | swap e x (.inr i) = x (.inl (e i)) := rfl |
| 27 | |
| 28 | variable [Fintype I] [Fintype J] |
| 29 | |
| 30 | theorem swap_pairing (e : I ≃ J) (x y : (J ⊕ J) → ℚ) : |
| 31 | Source.ComplexAction.CM.Symplectic.pairing (swap e x) (swap e y) = |
| 32 | -RepresentationTheory.Theta.Adelic.DataTheta.standardPairing x y := by |
| 33 | change (∑ i, (x (.inr (e i)) * y (.inl (e i)) - |
| 34 | y (.inr (e i)) * x (.inl (e i)))) = _ |
| 35 | rw [e.sum_comp (fun j => x (.inr j) * y (.inl j) - y (.inr j) * x (.inl j))] |
| 36 | unfold RepresentationTheory.Theta.Adelic.DataTheta.standardPairing |
| 37 | rw [← Finset.sum_neg_distrib] |
| 38 | apply Finset.sum_congr rfl |
| 39 | intro j _ |
| 40 | ring |
| 41 | |
| 42 | end |
| 43 | |
| 44 | /-! Evaluation of a reindexed phase matrix on the exchanged coordinates. -/ |
| 45 | |
| 46 | open scoped Classical _root_.Matrix |
| 47 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 48 | |
| 49 | variable {I J : Type} [Fintype I] [Fintype J] |
| 50 | |
| 51 | theorem action (e : I ≃ J) (A : Matrix (J ⊕ J) (J ⊕ J) ℚ) |
| 52 | (x : (J ⊕ J) → ℚ) : |
| 53 | A.submatrix (e.sumCongr e) (e.sumCongr e) *ᵥ swap e x = |
| 54 | (A *ᵥ RepresentationTheory.Theta.Adelic.DataTheta.swapPhase x) ∘ (e.sumCongr e) := by |
| 55 | rw [Matrix.submatrix_mulVec_equiv] |
| 56 | have he : swap e x ∘ (e.sumCongr e).symm = RepresentationTheory.Theta.Adelic.DataTheta.swapPhase x := by |
| 57 | funext i |
| 58 | cases i <;> simp [swap, RepresentationTheory.Theta.Adelic.DataTheta.swapPhase] |
| 59 | rw [he] |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PhaseMatrixReindex.CM |