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.IntrinsicCompactPositionMatrices |
| 2 | |
| 3 | /-! # Intrinsic Compact Real Phase -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactRealPhase.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The compact phase change is real, with the same rational and real |
| 10 | position matrices. This is the compatibility needed for the Gaussian's |
| 11 | imaginary form and its completion. -/ |
| 12 | |
| 13 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic |
| 16 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactPhaseChange.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactOne.IntrinsicCoordinateAgreement OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactOne.IntrinsicMultiplicityPhase |
| 17 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactPositionMatrices.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactSymplecticTransport.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicPositionMatrices.Intrinsic |
| 18 | |
| 19 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 20 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 21 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 22 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} |
| 23 | variable (p : IntrinsicCompactChoices.Intrinsic.CompactFrameChoice A) (B : Adelic.DataTheta.ComparisonData F H K A) |
| 24 | variable (Bp : Adelic.DataTheta.ComparisonData F H K (IntrinsicCompactChoices.Intrinsic.choiceArithmetic A p)) |
| 25 | |
| 26 | def compactRealPhaseChange : ((Adelic.BallGeometryData.FrameIndex A ⊕ Adelic.BallGeometryData.FrameIndex A) → ℝ) ≃L[ℝ] |
| 27 | ((Adelic.BallGeometryData.FrameIndex A ⊕ Adelic.BallGeometryData.FrameIndex A) → ℝ) := |
| 28 | B.realPhase.symm.trans Bp.realPhase |
| 29 | |
| 30 | def compactRealPositionMatrix : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℝ := |
| 31 | IntrinsicPositionMatrices.Intrinsic.scalarMatrix (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp) |
| 32 | |
| 33 | def compactRealPositionInverse : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℝ := |
| 34 | IntrinsicPositionMatrices.Intrinsic.scalarMatrix (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp).symm |
| 35 | |
| 36 | theorem compact_real_position_inverse : |
| 37 | compactRealPositionInverse p B Bp * compactRealPositionMatrix p B Bp = 1 := |
| 38 | IntrinsicPositionMatrices.Intrinsic.scalarMatrix_inverse (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp).symm |
| 39 | |
| 40 | theorem compact_position_matrix_real : |
| 41 | IntrinsicCompactPositionMatrices.Intrinsic.compactPositionMatrix p B Bp = (compactRealPositionMatrix p B Bp).map Complex.ofRealHom := by |
| 42 | ext i j |
| 43 | exact (Complex.ofReal_ratCast _).symm |
| 44 | |
| 45 | theorem compact_position_ofReal (x : Adelic.BallGeometryData.FrameIndex A → ℝ) : |
| 46 | (IntrinsicCompactPositionMatrices.Intrinsic.compactPositionMatrix p B Bp).mulVec (fun i => (x i : ℂ)) = |
| 47 | fun i => ((compactRealPositionMatrix p B Bp).mulVec x i : ℂ) := by |
| 48 | rw [compact_position_matrix_real] |
| 49 | funext i |
| 50 | exact (RingHom.map_mulVec Complex.ofRealHom (compactRealPositionMatrix p B Bp) x i).symm |
| 51 | |
| 52 | variable {P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K} |
| 53 | |
| 54 | theorem compact_phase_change_real (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 55 | (hCp : Adelic.DataTheta.CoordinateIdentification Bp P) (x : (Adelic.BallGeometryData.FrameIndex A ⊕ Adelic.BallGeometryData.FrameIndex A) → ℝ) : |
| 56 | IntrinsicCompactPhaseChange.Intrinsic.compactPhaseChange p B Bp (fun i => (x i : ℂ)) = |
| 57 | fun i => (compactRealPhaseChange p B Bp x i : ℂ) := by |
| 58 | let u := B.realPhase.symm x |
| 59 | have h := IntrinsicCompactOne.IntrinsicCoordinateAgreement.compact_comparison_real p B Bp hC hCp u |
| 60 | have hx : (fun i => (B.realPhase u i : ℂ)) = fun i => (x i : ℂ) := |
| 61 | congrArg (fun y => fun i => (y i : ℂ)) (B.realPhase.apply_symm_apply x) |
| 62 | have he := h.trans (congrArg (fun y => IntrinsicCompactOne.IntrinsicMultiplicityPhase.compactPhaseInverse A p (B.complexPhase y)) hx) |
| 63 | exact (congrArg Bp.complexPhase.symm he.symm).trans (Bp.complexPhase.symm_apply_apply _) |
| 64 | |
| 65 | theorem compact_position_real (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 66 | (hCp : Adelic.DataTheta.CoordinateIdentification Bp P) (x : Adelic.BallGeometryData.FrameIndex A → ℝ) : |
| 67 | IntrinsicCompactSymplecticTransport.Intrinsic.compactPositionLinear p B Bp (fun i => (x i : ℂ)) = |
| 68 | fun i => ((compactRealPositionMatrix p B Bp).mulVec x i : ℂ) := |
| 69 | (IntrinsicCompactPositionMatrices.Intrinsic.compact_position_matrix_apply p B Bp hC hCp _).symm.trans (compact_position_ofReal p B Bp x) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactRealPhase.Intrinsic |