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.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates |
| 2 | |
| 3 | /-! # Geometric Conjugation -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.GeometricConjugation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The real structure in standard/dual tensor coordinates is the |
| 10 | complexification of the actual real trace tensor space. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField ComplexConjugate |
| 13 | |
| 14 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.ComplexLinearExtension.PairedComplexification |
| 16 | |
| 17 | theorem pairedComplexMap_conjugate {I J : Type*} [Fintype I] |
| 18 | (e : (I → ℝ) ≃ₗ[ℝ] (J → ℂ)) (z : I → ℂ) : |
| 19 | ComplexLinearExtension.PairedComplexification.pairedComplexMap e (fun i => conj (z i)) = |
| 20 | (fun j => conj ((ComplexLinearExtension.PairedComplexification.pairedComplexMap e z).2 j), |
| 21 | fun j => conj ((ComplexLinearExtension.PairedComplexification.pairedComplexMap e z).1 j)) := by |
| 22 | have hneg (j : J) : e (fun i => -(z i).im) j = -(e (fun i => (z i).im) j) := |
| 23 | congrFun (e.map_neg (fun i => (z i).im)) j |
| 24 | apply Prod.ext |
| 25 | · funext j |
| 26 | change (ComplexLinearExtension.PairedComplexification.pairedComplexMap e (fun i => conj (z i))).1 j = conj ((ComplexLinearExtension.PairedComplexification.pairedComplexMap e z).2 j) |
| 27 | rw [ComplexLinearExtension.PairedComplexification.pairedComplexMap_first, ComplexLinearExtension.PairedComplexification.pairedComplexMap_second] |
| 28 | simp only [Complex.conj_re, Complex.conj_im, hneg, map_add, map_mul, |
| 29 | Complex.conj_I, Complex.conj_conj] |
| 30 | ring |
| 31 | · funext j |
| 32 | change (ComplexLinearExtension.PairedComplexification.pairedComplexMap e (fun i => conj (z i))).2 j = conj ((ComplexLinearExtension.PairedComplexification.pairedComplexMap e z).1 j) |
| 33 | rw [ComplexLinearExtension.PairedComplexification.pairedComplexMap_second, ComplexLinearExtension.PairedComplexification.pairedComplexMap_first] |
| 34 | simp only [Complex.conj_re, Complex.conj_im, hneg, map_neg, map_add, map_mul, Complex.conj_I] |
| 35 | ring |
| 36 | |
| 37 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 38 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 39 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 40 | variable (A : BallGeometryData.BallArithmeticData F d m H K) |
| 41 | |
| 42 | def geometricConj (w : BallGeometryData.ComplexPhase A) : BallGeometryData.ComplexPhase A := |
| 43 | fun v => (fun ij => ComplexPhaseCoordinates.tensorDualSign A (v, ij) * conj ((w v).2 ij), |
| 44 | fun ij => ComplexPhaseCoordinates.tensorDualSign A (v, ij) * conj ((w v).1 ij)) |
| 45 | |
| 46 | theorem tensorDualSign_conj (i : BallGeometryData.FrameIndex A) : conj (ComplexPhaseCoordinates.tensorDualSign A i) = ComplexPhaseCoordinates.tensorDualSign A i := by |
| 47 | dsimp [ComplexPhaseCoordinates.tensorDualSign] |
| 48 | split_ifs <;> norm_num |
| 49 | |
| 50 | theorem pairedTensorEquiv_conjugate (w : (BallGeometryData.FrameIndex A → ℂ) × (BallGeometryData.FrameIndex A → ℂ)) : |
| 51 | geometricConj A (ComplexPhaseCoordinates.pairedTensorEquiv A w) = |
| 52 | ComplexPhaseCoordinates.pairedTensorEquiv A (fun i => conj (w.2 i), fun i => conj (w.1 i)) := by |
| 53 | funext v |
| 54 | apply Prod.ext |
| 55 | · funext ij |
| 56 | change ComplexPhaseCoordinates.tensorDualSign A (v, ij) * conj (ComplexPhaseCoordinates.tensorDualSign A (v, ij) * w.2 (v, ij)) = _ |
| 57 | rw [map_mul, tensorDualSign_conj, ← mul_assoc, ComplexPhaseCoordinates.tensorDualSign_mul_self, one_mul] |
| 58 | rfl |
| 59 | · rfl |
| 60 | |
| 61 | theorem complexPhaseCoordinates_conjugate (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 62 | (x : (BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℂ) : |
| 63 | ComplexPhaseCoordinates.complexPhaseCoordinates A P (fun i => conj (x i)) = |
| 64 | geometricConj A (ComplexPhaseCoordinates.complexPhaseCoordinates A P x) := by |
| 65 | change ComplexPhaseCoordinates.pairedTensorEquiv A (ComplexLinearExtension.PairedComplexification.pairedComplexMap (ComplexPhaseCoordinates.flatRealTensorLinearEquiv A P) |
| 66 | (fun i => conj (x i))) = geometricConj A (ComplexPhaseCoordinates.pairedTensorEquiv A |
| 67 | (ComplexLinearExtension.PairedComplexification.pairedComplexMap (ComplexPhaseCoordinates.flatRealTensorLinearEquiv A P) x)) |
| 68 | rw [pairedComplexMap_conjugate, pairedTensorEquiv_conjugate] |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.RepresentationTheory.Theta.Adelic.GeometricConjugation |