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.RealTensorCoordinates |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.ComplexLinearExtension |
| 3 | |
| 4 | /-! # Complex Phase Coordinates -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The complex coordinate identification is the complexification of |
| 11 | the actual trace tensor space, with the prescribed Hermitian dual signs. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField Kronecker ComplexConjugate |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.PhaseCoordinates |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.RealTensorCoordinates OAI.RepresentationTheory.Theta.Adelic.ComplexLinearExtension.PairedComplexification |
| 17 | |
| 18 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 19 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 20 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 21 | variable (A : BallGeometryData.BallArithmeticData F d m H K) (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 22 | |
| 23 | def flatRealTensorLinearEquiv : |
| 24 | ((BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℝ) ≃ₗ[ℝ] (BallGeometryData.FrameIndex A → ℂ) := |
| 25 | (RealTensorCoordinates.totalRealTensorEquiv A P).toLinearEquiv.trans |
| 26 | ((LinearEquiv.curry ℂ ℂ (Fin A.places) (Fin 3 × Fin m)).symm.restrictScalars ℝ) |
| 27 | |
| 28 | def tensorDualSign (i : BallGeometryData.FrameIndex A) : ℂ := |
| 29 | (if i.1 = A.distinguished ∧ i.2.1 = 2 then (-1 : ℂ) else 1) * |
| 30 | (if A.positive i.1 i.2.2 then (1 : ℂ) else -1) |
| 31 | |
| 32 | theorem tensorDualSign_mul_self (i : BallGeometryData.FrameIndex A) : |
| 33 | tensorDualSign A i * tensorDualSign A i = 1 := by |
| 34 | dsimp [tensorDualSign] |
| 35 | split_ifs <;> norm_num |
| 36 | |
| 37 | def pairedTensorEquiv : ((BallGeometryData.FrameIndex A → ℂ) × (BallGeometryData.FrameIndex A → ℂ)) ≃ₗ[ℂ] BallGeometryData.ComplexPhase A where |
| 38 | toFun w v := (fun ij => w.1 (v, ij), fun ij => tensorDualSign A (v, ij) * w.2 (v, ij)) |
| 39 | invFun w := (fun i => (w i.1).1 i.2, fun i => tensorDualSign A i * (w i.1).2 i.2) |
| 40 | left_inv w := by |
| 41 | apply Prod.ext |
| 42 | · rfl |
| 43 | · funext i |
| 44 | change tensorDualSign A i * (tensorDualSign A i * w.2 i) = w.2 i |
| 45 | rw [← mul_assoc, tensorDualSign_mul_self, one_mul] |
| 46 | right_inv w := by |
| 47 | funext v |
| 48 | apply Prod.ext |
| 49 | · rfl |
| 50 | · funext ij |
| 51 | change tensorDualSign A (v, ij) * (tensorDualSign A (v, ij) * (w v).2 ij) = _ |
| 52 | rw [← mul_assoc, tensorDualSign_mul_self, one_mul] |
| 53 | map_add' x y := by |
| 54 | funext v |
| 55 | apply Prod.ext |
| 56 | · rfl |
| 57 | · funext ij; exact mul_add _ _ _ |
| 58 | map_smul' c x := by |
| 59 | funext v |
| 60 | apply Prod.ext |
| 61 | · rfl |
| 62 | · funext ij; exact mul_left_comm _ _ _ |
| 63 | |
| 64 | def complexPhaseCoordinates : |
| 65 | ((BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℂ) ≃L[ℂ] BallGeometryData.ComplexPhase A := |
| 66 | LinearEquiv.toContinuousLinearEquiv |
| 67 | ((ComplexLinearExtension.PairedComplexification.pairedComplexEquiv (flatRealTensorLinearEquiv A P)).trans (pairedTensorEquiv A)) |
| 68 | |
| 69 | theorem flatRealTensorLinearEquiv_native |
| 70 | (s : ∀ v : Fin A.places, |
| 71 | Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) d) 3 m) : |
| 72 | flatRealTensorLinearEquiv A P (PhaseCoordinates.realPhaseCoordinates A (fun v i => A.real v |
| 73 | ((P.localFrame (.inl (A.enumerate v))).coordinates (s v) i))) = |
| 74 | fun i => ((A.basisV i.1).inv ⊗ₖ (A.basisP i.1).inv).mulVec |
| 75 | (fun ij => A.complex i.1 (s i.1 ij)) i.2 := by |
| 76 | funext i |
| 77 | change RealTensorCoordinates.realTensorEquiv A P i.1 |
| 78 | (((PhaseCoordinates.realPhaseCoordinates A).symm (PhaseCoordinates.realPhaseCoordinates A |
| 79 | (fun v j => A.real v ((P.localFrame (.inl (A.enumerate v))).coordinates (s v) j)))) i.1) i.2 = _ |
| 80 | rw [ContinuousLinearEquiv.symm_apply_apply] |
| 81 | exact congrFun (RealTensorCoordinates.realTensorEquiv_native A P i.1 (s i.1)) i.2 |
| 82 | |
| 83 | theorem complexPhaseCoordinates_native |
| 84 | (s : ∀ v : Fin A.places, |
| 85 | Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) d) 3 m) : |
| 86 | complexPhaseCoordinates A P (fun i => (PhaseCoordinates.realPhaseCoordinates A (fun v j => A.real v |
| 87 | ((P.localFrame (.inl (A.enumerate v))).coordinates (s v) j)) i : ℂ)) = |
| 88 | BallGeometryData.realTensorComponents A s := by |
| 89 | change pairedTensorEquiv A (ComplexLinearExtension.PairedComplexification.pairedComplexMap (flatRealTensorLinearEquiv A P) |
| 90 | (fun i => (PhaseCoordinates.realPhaseCoordinates A (fun v j => A.real v |
| 91 | ((P.localFrame (.inl (A.enumerate v))).coordinates (s v) j)) i : ℂ))) = _ |
| 92 | rw [ComplexLinearExtension.PairedComplexification.pairedComplexMap_real, flatRealTensorLinearEquiv_native] |
| 93 | rfl |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates |