import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectiveAwayFixed import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceScalarCalibration /-! # Reference Away Fixed -/ namespace OAI noncomputable section namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ReferenceAwayFixed.CM /-! Literal away fixedness on a matched reference cover with its own marked lattice. The test and source theta construction are unchanged. -/ open scoped Classical _root_.NumberField _root_.Matrix _root_.Manifold open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalFactorProjection.CM open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectiveAwayFixed.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CoverFactor.CM set_option backward.isDefEq.respectTransparency false set_option backward.isDefEq.respectTransparency.types false set_option cleanup.letToHave false theorem reference_action_pair_scalar {F G H V : Type*} [Field F] [Monoid G] [Monoid H] [AddCommGroup V] [Module F V] (ρ : G × H →* (V ≃ₗ[F] V)) (x : G) (y : H) (v : V) (c : F) (hx : ρ (x, 1) v = v) (hy : ρ (1, y) v = c • v) : ρ (x, y) v = c • v := by have he : (x, y) = (x, 1) * (1, y) := by simp rw [he, map_mul, LinearEquiv.mul_apply, hy, map_smul, hx] theorem reference_theta_input_ne_zero (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} (L : GeometricSource.CM.LinePeriod E B places d) (φ : GeometricSource.CM.FiniteInput (GeometricSource.CM.Positions E places)) (hne : ∃ z ∈ B.domain, ∃ ξ, GeometricSource.CM.thetaOneForm E L φ z ξ ≠ 0) : Theta.Weil.CM.finiteWeilInput φ ≠ 0 := by intro hz obtain ⟨z, _hzin, ξ, hvalue⟩ := hne let F := RepresentationTheory.Theta.Geometric.LinearTheta.thetaOneFormLinear L.period (Theta.Projection.CM.projection E L) have he := congrArg (fun ψ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) => F ψ z ξ) hz have hzero : F 0 z ξ = 0 := congrArg (fun t => t z ξ) (map_zero F) exact hvalue ((Theta.Projection.CM.canonical_oneForm_eq_source E L φ z ξ).symm.trans (he.trans hzero)) variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} (L : GeometricSource.CM.LinePeriod E B places d) {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hb : P.b = B.b) (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice P.lattice) {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) {J : Type*} [Fintype J] [DecidableEq J] [Submodule.IsLattice ℚ P.lattice] (b : Module.Basis J ℤ P.lattice) (N : ℕ) (hN : 0 < N) theorem principal (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (ha : FactorTheta.CM.RationalWeilFactorization.away E L f g ∈ MarkedAwayLevel.CM.level E L P hb f b N hN) (hu : RationalFactorProjection.CM.activeLocal E f g ∈ ProjectiveAwayFixed.CM.activeLevel E L P hb f b N hN) : (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).principalLevel N (Matrix.SpecialLinearGroup.toLin' g.val) := by apply ReferenceScalarCalibration.CM.principal E L P hΛ hb b N hN g have he : PELFiniteGroup.CM.pel E (OppositeCoordinates.CM.coordinates E L.coordinates) P hb (RationalLocal.CM.finiteHom E (OppositeCoordinates.CM.coordinates E L.coordinates) g) = ProjectiveAwayFixed.CM.pelProduct E L P hb f (RationalFactorProjection.CM.activeLocal E f g, 1) * ProjectiveAwayFixed.CM.pelProduct E L P hb f (1, FactorTheta.CM.RationalWeilFactorization.away E L f g) := by exact (congrArg (PELFiniteGroup.CM.pel E (OppositeCoordinates.CM.coordinates E L.coordinates) P hb) (IntrinsicActiveClosure.CM.Intrinsic.rational E L f g)).symm.trans (ProjectiveAwayFixed.CM.pelProduct_pair E L P hb f (RationalFactorProjection.CM.activeLocal E f g) (FactorTheta.CM.RationalWeilFactorization.away E L f g)) have hu' : ProjectiveAwayFixed.CM.pelProduct E L P hb f (RationalFactorProjection.CM.activeLocal E f g, 1) ∈ P.adelicPrincipalLevel N := hu.1 have ha' : ProjectiveAwayFixed.CM.pelProduct E L P hb f (1, FactorTheta.CM.RationalWeilFactorization.away E L f g) ∈ P.adelicPrincipalLevel N := (congrArg (fun t : P.FiniteSpecialUnitary => t ∈ P.adelicPrincipalLevel N) (ProjectiveAwayFixed.CM.pelProduct_away E L P hb f (FactorTheta.CM.RationalWeilFactorization.away E L f g))).mpr ha exact (congrArg (fun t : P.FiniteSpecialUnitary => t ∈ P.adelicPrincipalLevel N) he).mpr ((P.adelicPrincipalLevel N).mul_mem hu' ha') end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ReferenceAwayFixed.CM namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ReferenceAwayFixed /-! Literal away fixedness on a matched reference cover with its own marked lattice. The test and source theta construction are unchanged. -/ attribute [local instance 2000] Subgroup.toGroup Prod.instGroup open scoped Classical _root_.NumberField _root_.Matrix _root_.Manifold open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalFactorProjection.CM open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectiveAwayFixed.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CoverFactor.CM namespace CM set_option backward.isDefEq.respectTransparency false set_option backward.isDefEq.respectTransparency.types false set_option cleanup.letToHave false private theorem scalar_of_mul {F V : Type*} [Field F] [AddCommGroup V] [Module F V] {S T U : V ≃ₗ[F] V} (v : V) (c : F) (h : S = T * U) (ht : T v = v) (hu : U v = c • v) : S v = c • v := by rw [h, LinearEquiv.mul_apply, hu, map_smul, ht] private def restrictRight {A B G : Type*} [Group A] [Group B] [Group G] (f : A × B →* G) : B →* G := f.comp (MonoidHom.inr A B) variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} (L : GeometricSource.CM.LinePeriod E B places d) {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hb : P.b = B.b) (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice P.lattice) {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) local instance referenceAwayGroup : Group (FactorTheta.CM.RationalWeilFactorization.Away E L f) := Subgroup.toGroup (FactorTheta.CM.RationalWeilFactorization.Away E L f) local instance referenceAwayMonoid : Monoid (FactorTheta.CM.RationalWeilFactorization.Away E L f) := (referenceAwayGroup E L f).toMonoid local instance referenceAwayMulOneClass : MulOneClass (FactorTheta.CM.RationalWeilFactorization.Away E L f) := (referenceAwayGroup E L f).toMulOneClass local instance referenceSourceMulOneClass : MulOneClass (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) := (show Group (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) from Prod.instGroup).toMulOneClass private theorem native_action_pair (u : Matrix.SpecialLinearGroup (Fin 3) ℚ_[q]) (a : FactorTheta.CM.RationalWeilFactorization.Away E L f) : FactorTheta.CM.action E L f (u, a) = FactorTheta.CM.action E L f (u, 1) * FactorTheta.CM.action E L f (1, a) := by simpa only [mul_one, one_mul] using FactorTheta.CM.action_mul E L f u 1 1 a variable {J : Type*} [Fintype J] [DecidableEq J] [Submodule.IsLattice ℚ P.lattice] (b : Module.Basis J ℤ P.lattice) (N : ℕ) (hN : 0 < N) theorem fixed (φ : GeometricSource.CM.FiniteInput (GeometricSource.CM.Positions E places)) (hK : P.adelicPrincipalLevel N ≤ (ProjectiveLevel.CM.level E L P hb (Theta.Weil.CM.finiteWeilInput φ)).toSubgroup) (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : B.Domain → X.analyticSpace) (hπ : (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).IsBallCover N X π) (ω : AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.pureClosedManifoldForms X.analyticModel X.analyticSpace 1 0) (hω : GeometricSource.CM.RepresentsTheta E L φ X π ω) (hne : ∃ z ∈ B.domain, ∃ ξ, GeometricSource.CM.thetaOneForm E L φ z ξ ≠ 0) (hactive : ∀ u ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q, FactorTheta.CM.action E L f (u, 1) (Theta.Weil.CM.finiteWeilInput φ) = Theta.Weil.CM.finiteWeilInput φ) : ∀ a ∈ MarkedAwayLevel.CM.level E L P hb f b N hN, FactorTheta.CM.action E L f (1, a) (Theta.Weil.CM.finiteWeilInput φ) = Theta.Weil.CM.finiteWeilInput φ := by let ψ := Theta.Weil.CM.finiteWeilInput φ have hψ : ψ ≠ 0 := reference_theta_input_ne_zero E L φ hne let ρ := restrictRight (FactorTheta.CM.action E L f) have hline : ∀ a ∈ MarkedAwayLevel.CM.level E L P hb f b N hN, ∃ c : ℂˣ, ρ a ψ = (c : ℂ) • ψ := ProjectiveLevel.CM.away_line E L P hb f b N hN ψ hK have hfixed (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (ha : FactorTheta.CM.RationalWeilFactorization.away E L f g ∈ MarkedAwayLevel.CM.level E L P hb f b N hN) (hu : RationalFactorProjection.CM.activeLocal E f g ∈ ProjectiveAwayFixed.CM.activeLevel E L P hb f b N hN) : ρ (FactorTheta.CM.RationalWeilFactorization.away E L f g) ψ = ψ := by let c : ℂˣ := Classical.choose (hline (FactorTheta.CM.RationalWeilFactorization.away E L f g) ha) have hc : ρ (FactorTheta.CM.RationalWeilFactorization.away E L f g) ψ = (c : ℂ) • ψ := Classical.choose_spec (hline (FactorTheta.CM.RationalWeilFactorization.away E L f g) ha) have hs : WeilData.CM.finiteAction E L g ψ = (c : ℂ) • ψ := (FactorTheta.CM.rational_action E L f g ψ).symm.trans (scalar_of_mul ψ (c : ℂ) (native_action_pair E L f (RationalFactorProjection.CM.activeLocal E f g) (FactorTheta.CM.RationalWeilFactorization.away E L f g)) (hactive _ hu.2) hc) have hc1 := ReferenceScalarCalibration.CM.scalar_one E L P hΛ φ X N π hπ ω hω hne g (principal E L P hb hΛ f b N hN g ha hu) c hs exact hc.trans ((congrArg (fun z : ℂ => z • ψ) hc1).trans (one_smul ℂ ψ)) exact CMExtraction.DenseAwayFixed.TestTransport.dense_away_level_fixed (RationalAwayTopology.CM.rational E L f) (RationalDensity.CM.dense E L f) (RationalAwayTopology.CM.away_surjective E L f) (CMExtraction.Commutators.Local.sl3_commutator_eq_top (K := Padic q)) (MarkedAwayLevel.CM.level E L P hb f b N hN) ρ ψ hψ hline (ProjectiveAwayFixed.CM.activeLevel E L P hb f b N hN) hfixed end CM end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ReferenceAwayFixed end end OAI