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.IntrinsicCompactSymplecticTransport |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicPositionMatrices |
| 3 | |
| 4 | /-! # Intrinsic Compact Position Matrices -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactPositionMatrices.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual rational position matrices and their inverses for the |
| 11 | compact-coordinate comparison. Their complex action is derived from |
| 12 | the native coordinate identifications. -/ |
| 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.IntrinsicCompactChoices.Intrinsic |
| 17 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactPhaseChange.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactSymplecticTransport.Intrinsic |
| 18 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCoordinateAgreement.IntrinsicPositionTransport OAI.RepresentationTheory.Theta.Kernel.IntrinsicPositionMatrices.Intrinsic |
| 19 | |
| 20 | theorem scalar_matrix_apply_rational {I J k : Type} [Fintype I] [Fintype J] |
| 21 | [DecidableEq I] [DecidableEq J] [Field k] [CharZero k] |
| 22 | (e : (I → ℚ) ≃ₗ[ℚ] (J → ℚ)) (q : I → ℚ) : |
| 23 | (IntrinsicPositionMatrices.Intrinsic.scalarMatrix (k := k) e).mulVec (fun i => (q i : k)) = fun j => (e q j : k) := by |
| 24 | funext i |
| 25 | change (∑ j, ((LinearMap.toMatrix' e.toLinearMap i j : ℚ) : k) * (q j : k)) = (e q i : k) |
| 26 | calc |
| 27 | _ = ((∑ j, LinearMap.toMatrix' e.toLinearMap i j * q j : ℚ) : k) := by |
| 28 | simp only [Rat.cast_sum,Rat.cast_mul] |
| 29 | _ = _ := congrArg (fun r : ℚ => (r : k)) (congrFun (LinearMap.toMatrix'_mulVec e.toLinearMap q) i) |
| 30 | |
| 31 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 32 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 33 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 34 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} |
| 35 | variable (p : IntrinsicCompactChoices.Intrinsic.CompactFrameChoice A) (B : Adelic.DataTheta.ComparisonData F H K A) |
| 36 | variable (Bp : Adelic.DataTheta.ComparisonData F H K (IntrinsicCompactChoices.Intrinsic.choiceArithmetic A p)) |
| 37 | |
| 38 | def compactPositionMatrix : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ := |
| 39 | IntrinsicPositionMatrices.Intrinsic.scalarMatrix (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp) |
| 40 | |
| 41 | def compactPositionInverse : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ := |
| 42 | IntrinsicPositionMatrices.Intrinsic.scalarMatrix (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp).symm |
| 43 | |
| 44 | theorem compact_position_matrix_inverse : |
| 45 | compactPositionMatrix p B Bp * compactPositionInverse p B Bp = 1 := |
| 46 | IntrinsicPositionMatrices.Intrinsic.scalarMatrix_inverse (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp) |
| 47 | |
| 48 | theorem compact_position_inverse_matrix : |
| 49 | compactPositionInverse p B Bp * compactPositionMatrix p B Bp = 1 := |
| 50 | IntrinsicPositionMatrices.Intrinsic.scalarMatrix_inverse (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp).symm |
| 51 | |
| 52 | variable {P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K} |
| 53 | |
| 54 | theorem compact_position_rational (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 55 | (hCp : Adelic.DataTheta.CoordinateIdentification Bp P) (q : Adelic.BallGeometryData.FrameIndex A → ℚ) : |
| 56 | IntrinsicCompactSymplecticTransport.Intrinsic.compactPositionLinear p B Bp (fun i => (q i : ℂ)) = |
| 57 | fun i => (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp q i : ℂ) := by |
| 58 | have h := IntrinsicCompactPhaseChange.Intrinsic.compact_phase_change_rational p B Bp hC hCp (Sum.elim q 0) |
| 59 | have hc : (fun i => ((Sum.elim q (0 : Adelic.BallGeometryData.FrameIndex A → ℚ)) i : ℂ)) = |
| 60 | Sum.elim (fun i => (q i : ℂ)) (0 : Adelic.BallGeometryData.FrameIndex A → ℂ) := by |
| 61 | funext i |
| 62 | cases i <;> simp only [Sum.elim_inl,Sum.elim_inr,Pi.zero_apply,Rat.cast_zero] |
| 63 | rw [hc] at h |
| 64 | funext i |
| 65 | have hi := congrFun h (.inl i) |
| 66 | rw [IntrinsicCompactPhaseChange.Intrinsic.compact_rational_position p B Bp hC hCp] at hi |
| 67 | exact hi |
| 68 | |
| 69 | theorem compact_position_matrix_linear (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 70 | (hCp : Adelic.DataTheta.CoordinateIdentification Bp P) : |
| 71 | Matrix.toLin' (compactPositionMatrix p B Bp) = IntrinsicCompactSymplecticTransport.Intrinsic.compactPositionLinear p B Bp := by |
| 72 | apply IntrinsicCoordinateAgreement.IntrinsicPositionTransport.complexLinear_ext_rational |
| 73 | intro q |
| 74 | exact (scalar_matrix_apply_rational (IntrinsicCompactPhaseChange.Intrinsic.compactRationalPositionChange p B Bp) q).trans |
| 75 | (compact_position_rational p B Bp hC hCp q).symm |
| 76 | |
| 77 | theorem compact_position_matrix_apply (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 78 | (hCp : Adelic.DataTheta.CoordinateIdentification Bp P) (x : Adelic.BallGeometryData.FrameIndex A → ℂ) : |
| 79 | (compactPositionMatrix p B Bp).mulVec x = IntrinsicCompactSymplecticTransport.Intrinsic.compactPositionLinear p B Bp x := |
| 80 | congrArg (fun L => L x) (compact_position_matrix_linear p B Bp hC hCp) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactPositionMatrices.Intrinsic |