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.Kernel.IntrinsicRealComplexification |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactOne |
| 3 | |
| 4 | /-! # Intrinsic Place Projection -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicPlaceProjection.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Projection to an archimedean place in arbitrary full native |
| 11 | comparison coordinates. The locality comes from the actual tensor and |
| 12 | local symplectic frames in CoordinateIdentification. -/ |
| 13 | |
| 14 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 15 | |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactOne.IntrinsicCoordinateAgreement |
| 17 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicRealComplexification.Intrinsic |
| 18 | |
| 19 | def placeProjection {R V W : Type} [Semiring R] [Fintype V] [DecidableEq V] |
| 20 | [AddCommMonoid W] [Module R W] (v : V) : (V → W) →ₗ[R] (V → W) := |
| 21 | (LinearMap.single R (fun _ : V => W) v).comp (LinearMap.proj v) |
| 22 | |
| 23 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 24 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 25 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 26 | variable (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) |
| 27 | |
| 28 | def geometricPlaceProjection (v : Fin A.places) : Adelic.BallGeometryData.ComplexPhase A →ₗ[ℂ] Adelic.BallGeometryData.ComplexPhase A := |
| 29 | placeProjection v |
| 30 | |
| 31 | def nativeRealTensor (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K) (x : Fin A.places → Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ 6) : |
| 32 | ∀ v : Fin A.places, Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) d) 3 2 := |
| 33 | fun v => ((P.localFrame (.inl (A.enumerate v))).coordinates).symm |
| 34 | (fun j => (A.real v).symm (x v j)) |
| 35 | |
| 36 | theorem nativeRealTensor_single (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K) (v : Fin A.places) |
| 37 | (x : Fin A.places → Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ 6) : |
| 38 | nativeRealTensor A P (Pi.single v (x v)) = Pi.single v (nativeRealTensor A P x v) := by |
| 39 | funext w |
| 40 | by_cases hw : w = v |
| 41 | · subst w |
| 42 | simp [nativeRealTensor] |
| 43 | · simp [nativeRealTensor,hw] |
| 44 | rfl |
| 45 | |
| 46 | theorem geometric_native_projection (v : Fin A.places) |
| 47 | (s : ∀ w : Fin A.places, Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate w)) d) 3 2) : |
| 48 | geometricPlaceProjection A v (Adelic.BallGeometryData.realTensorComponents A s) = |
| 49 | Adelic.BallGeometryData.realTensorComponents A (Pi.single v (s v)) := by |
| 50 | funext w |
| 51 | by_cases hw : w = v |
| 52 | · subst w |
| 53 | simp [geometricPlaceProjection,placeProjection,Adelic.BallGeometryData.realTensorComponents] |
| 54 | · apply Prod.ext <;> funext ij <;> |
| 55 | simp [geometricPlaceProjection,placeProjection,Adelic.BallGeometryData.realTensorComponents,hw,Matrix.mulVec,dotProduct] |
| 56 | |
| 57 | variable {A} |
| 58 | variable (B : Adelic.DataTheta.ComparisonData F H K A) |
| 59 | |
| 60 | def realPlaceProjection (v : Fin A.places) : |
| 61 | ((Adelic.BallGeometryData.FrameIndex A ⊕ Adelic.BallGeometryData.FrameIndex A) → ℝ) →ₗ[ℝ] ((Adelic.BallGeometryData.FrameIndex A ⊕ Adelic.BallGeometryData.FrameIndex A) → ℝ) := |
| 62 | B.realPhase.toLinearMap.comp ((placeProjection (R := ℝ) v).comp B.realPhase.symm.toLinearMap) |
| 63 | |
| 64 | theorem complex_place_projection {P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K} (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 65 | (v : Fin A.places) (u : (Adelic.BallGeometryData.FrameIndex A ⊕ Adelic.BallGeometryData.FrameIndex A) → ℂ) : |
| 66 | B.complexPhase (IntrinsicRealComplexification.Intrinsic.complexifiedLinear (realPlaceProjection B v) u) = |
| 67 | geometricPlaceProjection A v (B.complexPhase u) := by |
| 68 | have hlinear : B.complexPhase.toLinearMap.comp (IntrinsicRealComplexification.Intrinsic.complexifiedLinear (realPlaceProjection B v)) = |
| 69 | (geometricPlaceProjection A v).comp B.complexPhase.toLinearMap := by |
| 70 | apply IntrinsicRealComplexification.Intrinsic.complexLinear_ext_real |
| 71 | intro y |
| 72 | let x : Fin A.places → Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ 6 := B.realPhase.symm y |
| 73 | have hB : B.complexPhase (fun i => (y i : ℂ)) = Adelic.BallGeometryData.realTensorComponents A (nativeRealTensor A P x) := |
| 74 | (congrArg (fun t => B.complexPhase (fun i => (t i : ℂ))) (B.realPhase.apply_symm_apply y)).symm.trans |
| 75 | (IntrinsicCompactOne.IntrinsicCoordinateAgreement.comparison_real_components B hC x) |
| 76 | have hnew := IntrinsicCompactOne.IntrinsicCoordinateAgreement.comparison_real_components B hC (Pi.single v (x v)) |
| 77 | have hc := congrArg B.complexPhase (IntrinsicRealComplexification.Intrinsic.complexifiedLinear_real (realPlaceProjection B v) y) |
| 78 | exact hc.trans (hnew.trans |
| 79 | ((congrArg (Adelic.BallGeometryData.realTensorComponents A) (nativeRealTensor_single A P v x)).trans |
| 80 | ((geometric_native_projection A v (nativeRealTensor A P x)).symm.trans |
| 81 | (congrArg (geometricPlaceProjection A v) hB.symm)))) |
| 82 | exact LinearMap.congr_fun hlinear u |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicPlaceProjection.Intrinsic |