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.ComplexIntrinsicAction |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.PeriodCoordinates |
| 3 | |
| 4 | /-! # Period Place Projection -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.PeriodPlaceProjection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Projection to one archimedean place in actual native, real, and |
| 13 | complex geometric coordinates. This makes the local decomposition of |
| 14 | the positive period graph explicit. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField |
| 17 | |
| 18 | open _root_.Matrix |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.PhaseCoordinates |
| 20 | open OAI.RepresentationTheory.Theta.Adelic.IntrinsicRealPhase.Intrinsic OAI.RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.IntrinsicPhaseIntertwining OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates |
| 21 | open OAI.RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.Coordinate OAI.RepresentationTheory.Theta.Adelic.PeriodCoordinates |
| 22 | |
| 23 | def placeProjection {R V W : Type} [Semiring R] [Fintype V] [DecidableEq V] |
| 24 | [AddCommMonoid W] [Module R W] (v : V) : (V → W) →ₗ[R] (V → W) := |
| 25 | (LinearMap.single R (fun _ : V => W) v).comp (LinearMap.proj v) |
| 26 | |
| 27 | @[simp] theorem placeProjection_apply {R V W : Type} [Semiring R] [Fintype V] [DecidableEq V] |
| 28 | [AddCommMonoid W] [Module R W] (v : V) (x : V → W) : |
| 29 | placeProjection (R := R) v x = Pi.single v (x v) := rfl |
| 30 | |
| 31 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 32 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 33 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 34 | variable (A : BallGeometryData.BallArithmeticData F d m H K) (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 35 | |
| 36 | def realPlaceProjection (v : Fin A.places) : |
| 37 | ((BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℝ) →ₗ[ℝ] ((BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℝ) := |
| 38 | LinearMap.comp (PhaseCoordinates.realPhaseCoordinates A).toLinearEquiv.toLinearMap |
| 39 | (LinearMap.comp (placeProjection (R := ℝ) v) (PhaseCoordinates.realPhaseCoordinates A).symm.toLinearEquiv.toLinearMap) |
| 40 | |
| 41 | def geometricPlaceProjection (v : Fin A.places) : BallGeometryData.ComplexPhase A →ₗ[ℂ] BallGeometryData.ComplexPhase A := |
| 42 | placeProjection v |
| 43 | |
| 44 | theorem realPlaceProjection_native (v : Fin A.places) (x : Fin A.places → Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ (3 * m)) : |
| 45 | realPlaceProjection A v (PhaseCoordinates.realPhaseCoordinates A x) = PhaseCoordinates.realPhaseCoordinates A (Pi.single v (x v)) := by |
| 46 | change PhaseCoordinates.realPhaseCoordinates A (placeProjection (R := ℝ) v |
| 47 | ((PhaseCoordinates.realPhaseCoordinates A).symm (PhaseCoordinates.realPhaseCoordinates A x))) = _ |
| 48 | rw [ContinuousLinearEquiv.symm_apply_apply] |
| 49 | rfl |
| 50 | |
| 51 | theorem nativeRealPhase_projection (v : Fin A.places) |
| 52 | (s : ∀ w : Fin A.places, Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate w)) d) 3 m) : |
| 53 | realPlaceProjection A v (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P s) = |
| 54 | IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P (Pi.single v (s v)) := by |
| 55 | rw [ComplexIntrinsicAction.IntrinsicPhaseIntertwining.nativeRealPhase_apply, ComplexIntrinsicAction.IntrinsicPhaseIntertwining.nativeRealPhase_apply, realPlaceProjection_native] |
| 56 | apply congrArg (PhaseCoordinates.realPhaseCoordinates A) |
| 57 | funext w i |
| 58 | by_cases hw : w = v |
| 59 | · subst w |
| 60 | simp |
| 61 | · simp [hw] |
| 62 | |
| 63 | theorem geometric_native_projection (v : Fin A.places) |
| 64 | (s : ∀ w : Fin A.places, Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate w)) d) 3 m) : |
| 65 | geometricPlaceProjection A v (BallGeometryData.realTensorComponents A s) = |
| 66 | BallGeometryData.realTensorComponents A (Pi.single v (s v)) := by |
| 67 | funext w |
| 68 | by_cases hw : w = v |
| 69 | · subst w |
| 70 | simp [geometricPlaceProjection, BallGeometryData.realTensorComponents] |
| 71 | · apply Prod.ext <;> funext ij <;> |
| 72 | simp [geometricPlaceProjection, BallGeometryData.realTensorComponents, hw, Matrix.mulVec, dotProduct] |
| 73 | |
| 74 | theorem complex_place_projection (v : Fin A.places) |
| 75 | (x : (BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℂ) : |
| 76 | ComplexPhaseCoordinates.complexPhaseCoordinates A P (ComplexIntrinsicAction.Coordinate.complexifiedLinear (realPlaceProjection A v) x) = |
| 77 | geometricPlaceProjection A v (ComplexPhaseCoordinates.complexPhaseCoordinates A P x) := by |
| 78 | have hlinear : (ComplexPhaseCoordinates.complexPhaseCoordinates A P).toLinearEquiv.toLinearMap.comp |
| 79 | (ComplexIntrinsicAction.Coordinate.complexifiedLinear (realPlaceProjection A v)) = |
| 80 | (geometricPlaceProjection A v).comp (ComplexPhaseCoordinates.complexPhaseCoordinates A P).toLinearEquiv.toLinearMap := by |
| 81 | apply ComplexIntrinsicAction.Coordinate.complexLinear_ext_real |
| 82 | intro u |
| 83 | obtain ⟨s, rfl⟩ := (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P).surjective u |
| 84 | rw [LinearMap.comp_apply, LinearMap.comp_apply, ComplexIntrinsicAction.Coordinate.complexifiedLinear_real, nativeRealPhase_projection] |
| 85 | change ComplexPhaseCoordinates.complexPhaseCoordinates A P _ = geometricPlaceProjection A v (ComplexPhaseCoordinates.complexPhaseCoordinates A P _) |
| 86 | have hs : ComplexPhaseCoordinates.complexPhaseCoordinates A P (fun i => (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P s i : ℂ)) = |
| 87 | BallGeometryData.realTensorComponents A s := ComplexPhaseCoordinates.complexPhaseCoordinates_native A P s |
| 88 | have ht : ComplexPhaseCoordinates.complexPhaseCoordinates A P |
| 89 | (fun i => (IntrinsicRealPhase.Intrinsic.nativeRealPhaseEquiv A P (Pi.single v (s v)) i : ℂ)) = |
| 90 | BallGeometryData.realTensorComponents A (Pi.single v (s v)) := ComplexPhaseCoordinates.complexPhaseCoordinates_native A P _ |
| 91 | rw [hs, ht] |
| 92 | exact (geometric_native_projection A v s).symm |
| 93 | exact LinearMap.congr_fun hlinear x |
| 94 | |
| 95 | def framePlaceProjection (v : Fin A.places) (a : BallGeometryData.FrameIndex A → ℂ) : BallGeometryData.FrameIndex A → ℂ := |
| 96 | fun i => if i.1 = v then a i else 0 |
| 97 | |
| 98 | theorem geometric_frame_projection (v : Fin A.places) (z : BallNatural.Ball) (a : BallGeometryData.FrameIndex A → ℂ) : |
| 99 | geometricPlaceProjection A v (BallGeometryData.geometricFrame A z a) = |
| 100 | BallGeometryData.geometricFrame A z (framePlaceProjection A v a) := by |
| 101 | funext w |
| 102 | by_cases hw : w = v |
| 103 | · subst w |
| 104 | simp [geometricPlaceProjection, BallGeometryData.geometricFrame, framePlaceProjection] |
| 105 | · apply Prod.ext <;> funext ij <;> |
| 106 | simp [geometricPlaceProjection, BallGeometryData.geometricFrame, framePlaceProjection, hw] |
| 107 | |
| 108 | theorem coordinate_frame_projection (v : Fin A.places) (z : BallNatural.Ball) (a : BallGeometryData.FrameIndex A → ℂ) : |
| 109 | ComplexIntrinsicAction.Coordinate.complexifiedLinear (realPlaceProjection A v) ((PeriodCoordinates.coordinateHodgeMatrix A P z).mulVec a) = |
| 110 | (PeriodCoordinates.coordinateHodgeMatrix A P z).mulVec (framePlaceProjection A v a) := by |
| 111 | apply (ComplexPhaseCoordinates.complexPhaseCoordinates A P).injective |
| 112 | rw [complex_place_projection, PeriodCoordinates.complex_coordinate_frame, PeriodCoordinates.complex_coordinate_frame, |
| 113 | geometric_frame_projection] |
| 114 | |
| 115 | end |
| 116 | |
| 117 | /-! The projection to each place is self-adjoint for the trace |
| 118 | symplectic pairing and preserves the actual positive period graph. -/ |
| 119 | |
| 120 | open scoped Classical _root_.NumberField |
| 121 | |
| 122 | open _root_.Matrix |
| 123 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 124 | open OAI.RepresentationTheory.Theta.Adelic.GeometricTracePairing OAI.RepresentationTheory.Theta.Adelic.ComplexSymplecticPairing |
| 125 | open OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates OAI.RepresentationTheory.Theta.Adelic.ComplexIntrinsicAction.Coordinate OAI.RepresentationTheory.Theta.Adelic.PeriodCoordinates |
| 126 | |
| 127 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 128 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 129 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 130 | variable (A : BallGeometryData.BallArithmeticData F d m H K) (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 131 | |
| 132 | theorem geometric_projection_pairing (v : Fin A.places) (x y : BallGeometryData.ComplexPhase A) : |
| 133 | GeometricTracePairing.geometricPairing A (geometricPlaceProjection A v x) y = |
| 134 | GeometricTracePairing.geometricPairing A x (geometricPlaceProjection A v y) := by |
| 135 | apply Finset.sum_congr rfl |
| 136 | intro w _ |
| 137 | by_cases hw : w = v |
| 138 | · subst w |
| 139 | simp [geometricPlaceProjection, placeProjection] |
| 140 | · simp [geometricPlaceProjection, placeProjection, hw] |
| 141 | |
| 142 | include P in |
| 143 | theorem complex_projection_pairing (v : Fin A.places) |
| 144 | (x y : (BallGeometryData.FrameIndex A ⊕ BallGeometryData.FrameIndex A) → ℂ) : |
| 145 | DataTheta.standardPairing (ComplexIntrinsicAction.Coordinate.complexifiedLinear (realPlaceProjection A v) x) y = |
| 146 | DataTheta.standardPairing x (ComplexIntrinsicAction.Coordinate.complexifiedLinear (realPlaceProjection A v) y) := by |
| 147 | rw [← ComplexSymplecticPairing.complexPhaseCoordinates_pairing A P, ← ComplexSymplecticPairing.complexPhaseCoordinates_pairing A P, |
| 148 | complex_place_projection, complex_place_projection, geometric_projection_pairing] |
| 149 | |
| 150 | theorem projection_preserves_hodge (v : Fin A.places) (z : BallNatural.Ball) (x : BallGeometryData.ComplexPhase A) |
| 151 | (hx : x ∈ BallGeometryData.HodgeSubspace A z) : geometricPlaceProjection A v x ∈ BallGeometryData.HodgeSubspace A z := by |
| 152 | obtain ⟨a, rfl⟩ := hx |
| 153 | rw [geometric_frame_projection] |
| 154 | exact ⟨framePlaceProjection A v a, rfl⟩ |
| 155 | |
| 156 | theorem projection_preserves_period_graph (v : Fin A.places) (z : BallNatural.Ball) |
| 157 | (q : BallGeometryData.FrameIndex A → ℂ) : |
| 158 | ∃ q' : BallGeometryData.FrameIndex A → ℂ, |
| 159 | ComplexIntrinsicAction.Coordinate.complexifiedLinear (realPlaceProjection A v) |
| 160 | (Sum.elim q ((PeriodCoordinates.geometricPeriod A P z).matrix.mulVec q)) = |
| 161 | Sum.elim q' ((PeriodCoordinates.geometricPeriod A P z).matrix.mulVec q') := by |
| 162 | have hx : ComplexPhaseCoordinates.complexPhaseCoordinates A P |
| 163 | (Sum.elim q ((PeriodCoordinates.geometricPeriod A P z).matrix.mulVec q)) ∈ BallGeometryData.HodgeSubspace A z := |
| 164 | (PeriodCoordinates.geometric_period_range A P z _).mpr ⟨q, rfl⟩ |
| 165 | have hp := projection_preserves_hodge A v z _ hx |
| 166 | rw [← complex_place_projection] at hp |
| 167 | obtain ⟨q', hq'⟩ := (PeriodCoordinates.geometric_period_range A P z _).mp hp |
| 168 | exact ⟨q', ((ComplexPhaseCoordinates.complexPhaseCoordinates A P).injective hq').symm⟩ |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.RepresentationTheory.Theta.Adelic.PeriodPlaceProjection |