Download data/lean/OAI/Geometry/ComplexBall/PrescribedSignsPeriodTransport.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 26.9 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/ComplexBall/PrescribedSignsPeriodTransport.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/ComplexBall/PrescribedSignsPeriodTransport.lean
-
curl -L -o PrescribedSignsPeriodTransport.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/ComplexBall/PrescribedSignsPeriodTransport.lean
26.9 kB
| import OAI.Geometry.ComplexBall.PrescribedSignsWeak | |
| import OAI.AlgebraicGeometry.ComplexMultiplication.CM.TraceForm | |
| import Mathlib.LinearAlgebra.TensorProduct.Pi | |
| import Mathlib.LinearAlgebra.TensorProduct.Prod | |
| /-! # Prescribed Signs Period Transport -/ | |
| namespace OAI.Geometry.ComplexBall.PrescribedSignsPeriodTransport.Intrinsic | |
| noncomputable section | |
| section | |
| open scoped Classical TensorProduct | |
| open OAI.AlgebraicGeometry.ComplexMultiplication.CM.TraceForm | |
| variable {E Place : Type*} [Field E] [Algebra β E] [NumberField E] | |
| abbrev V (E : Type*) := Fin 3 β E | |
| abbrev LineTensor (E : Type*) [Field E] := V E β[E] E | |
| abbrev SumTensor (E : Type*) [Field E] := V E β[E] (E Γ E) | |
| def regroup (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) : | |
| (Fin 3 β (E ββ[β] β) β β) ββ[β] PrescribedSignsB.Ambient Place := by | |
| let e : Place Γ Bool β (E ββ[β] β) := Equiv.ofBijective _ hΟ | |
| refine { | |
| toFun := fun x Ο => (fun j => x j (Ο Ο), fun j => x j (AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο Ο))) | |
| invFun := fun x j Ο => if (e.symm Ο).2 then (x (e.symm Ο).1).2 j else (x (e.symm Ο).1).1 j | |
| left_inv := ?_ | |
| right_inv := ?_ | |
| map_add' := fun _ _ => rfl | |
| map_smul' := fun _ _ => rfl } | |
| Β· intro x | |
| funext j Ο | |
| have he : (if (e.symm Ο).2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο (e.symm Ο).1) else Ο (e.symm Ο).1) = Ο := e.apply_symm_apply Ο | |
| dsimp only | |
| split_ifs at he β’ with hb | |
| Β· exact congrArg (x j) he | |
| Β· exact congrArg (x j) he | |
| Β· intro x | |
| funext Ο | |
| have hfalse : e.symm (Ο Ο) = (Ο, false) := e.symm_apply_apply (Ο, false) | |
| have htrue : e.symm (AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο Ο)) = (Ο, true) := e.symm_apply_apply (Ο, true) | |
| apply Prod.ext <;> funext j <;> simp [hfalse, htrue] | |
| def vectorCoordinates (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) : | |
| AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (V E) ββ[β] PrescribedSignsB.Ambient Place := | |
| (TensorProduct.piRight β β β (fun _ : Fin 3 => E)) βͺβ«β | |
| (LinearEquiv.piCongrRight (fun _ => AlgebraicGeometry.ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv E)) βͺβ«β regroup Ο hΟ | |
| lemma vectorCoordinates_tmul (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (z : β) (x : V E) : | |
| vectorCoordinates Ο hΟ (z ββ[β] x) = z β’ PrescribedSignsB.embeddingCoordinates Ο x := by | |
| ext Ο j <;> exact AlgebraicGeometry.ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv_tmul _ _ _ _ | |
| lemma vectorCoordinates_conjugation (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (V E)) : | |
| vectorCoordinates Ο hΟ (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation (V E) x) = | |
| PrescribedSignsB.realConj (vectorCoordinates Ο hΟ x) := by | |
| induction x using TensorProduct.inductionOn with | |
| | add x y hx hy => | |
| simp only [map_add, hx, hy] | |
| exact (PrescribedSignsB.realConjLinearMap Place).map_add _ _ |>.symm | |
| | tmul z x => | |
| rw [AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation_tmul, vectorCoordinates_tmul, vectorCoordinates_tmul] | |
| ext Ο j <;> simp [PrescribedSignsB.realConj, PrescribedSignsB.embeddingCoordinates, AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding_apply] | |
| def lineReduction : LineTensor E ββ[E] V E := TensorProduct.rid E (V E) | |
| def lineCoordinates (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) : | |
| AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (LineTensor E) ββ[β] PrescribedSignsB.Ambient Place := | |
| LinearEquiv.baseChange β β _ _ ((lineReduction (E := E)).restrictScalars β) βͺβ«β vectorCoordinates Ο hΟ | |
| lemma lineCoordinates_tmul (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (z : β) (v : V E) (w : E) : | |
| lineCoordinates Ο hΟ (z ββ[β] (v ββ[E] w)) = | |
| z β’ PrescribedSignsB.embeddingCoordinates Ο (w β’ v) := by | |
| simp [lineCoordinates, lineReduction, vectorCoordinates_tmul] | |
| lemma lineCoordinates_conjugation (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (LineTensor E)) : | |
| lineCoordinates Ο hΟ (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation (LineTensor E) x) = | |
| PrescribedSignsB.realConj (lineCoordinates Ο hΟ x) := by | |
| exact congrArg (vectorCoordinates Ο hΟ) | |
| (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.baseChange_coefficientConjugation ((lineReduction (E := E)).restrictScalars β).toLinearMap x) | |
| |>.trans (vectorCoordinates_conjugation Ο hΟ _) | |
| def sumReduction : SumTensor E ββ[E] LineTensor E Γ LineTensor E := | |
| TensorProduct.prodRight E E (V E) E E | |
| def sumCoordinates (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) : | |
| AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (SumTensor E) ββ[β] PrescribedSignsB.Ambient Place Γ PrescribedSignsB.Ambient Place := | |
| LinearEquiv.baseChange β β _ _ ((sumReduction (E := E)).restrictScalars β) βͺβ«β | |
| TensorProduct.prodRight β β β (LineTensor E) (LineTensor E) βͺβ«β | |
| (lineCoordinates Ο hΟ).prodCongr (lineCoordinates Ο hΟ) | |
| lemma sumCoordinates_tmul (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (z : β) (v : V E) (w : E Γ E) : | |
| sumCoordinates Ο hΟ (z ββ[β] (v ββ[E] w)) = | |
| (z β’ PrescribedSignsB.embeddingCoordinates Ο (w.1 β’ v), z β’ PrescribedSignsB.embeddingCoordinates Ο (w.2 β’ v)) := by | |
| simp [sumCoordinates, sumReduction, lineCoordinates_tmul] | |
| lemma sumCoordinates_conjugation (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (SumTensor E)) : | |
| sumCoordinates Ο hΟ (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation (SumTensor E) x) = | |
| (PrescribedSignsB.realConj (sumCoordinates Ο hΟ x).1, PrescribedSignsB.realConj (sumCoordinates Ο hΟ x).2) := by | |
| induction x using TensorProduct.inductionOn with | |
| | add x y hx hy => | |
| simp only [map_add, hx, hy, Prod.fst_add, Prod.snd_add] | |
| exact Prod.ext ((PrescribedSignsB.realConjLinearMap Place).map_add _ _).symm | |
| ((PrescribedSignsB.realConjLinearMap Place).map_add _ _).symm | |
| | tmul z v => | |
| simp only [AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation_tmul, sumCoordinates, | |
| LinearEquiv.trans_apply, LinearEquiv.baseChange_tmul, | |
| TensorProduct.prodRight_tmul, LinearEquiv.prodCongr_apply] | |
| apply Prod.ext | |
| Β· simpa only [AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation_tmul] using | |
| (lineCoordinates_conjugation Ο hΟ (z ββ[β] (((sumReduction (E := E)).restrictScalars β) v).1)) | |
| Β· simpa only [AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation_tmul] using | |
| (lineCoordinates_conjugation Ο hΟ (z ββ[β] (((sumReduction (E := E)).restrictScalars β) v).2)) | |
| end | |
| section | |
| open scoped Classical TensorProduct | |
| open OAI.AlgebraicGeometry.ComplexMultiplication.CM.TraceForm | |
| variable {E Place : Type*} [Field E] [Algebra β E] [NumberField E] | |
| [NumberField.IsCMField E] [Fintype Place] | |
| def rationalVectorForm (Ξ΄ a : E) (H : Matrix (Fin 3) (Fin 3) E) : | |
| LinearMap.BilinForm β (V E) := | |
| β j, β k, (AlgebraicGeometry.ComplexMultiplication.CM.TraceForm.cmTracePairing E (Ξ΄ * a * H j k)).flip.complββ | |
| (LinearMap.proj j) (LinearMap.proj k) | |
| lemma rationalVectorForm_apply (Ξ΄ a : E) (H : Matrix (Fin 3) (Fin 3) E) (x y : V E) : | |
| rationalVectorForm Ξ΄ a H x y = Algebra.trace β E | |
| (Ξ΄ * a * (β j, β k, x j * H j k * NumberField.IsCMField.complexConj E (y k))) := by | |
| simp only [rationalVectorForm, LinearMap.sum_apply, LinearMap.complββ_apply, | |
| LinearMap.proj_apply, Finset.mul_sum, map_sum] | |
| apply Finset.sum_congr rfl | |
| intro j _ | |
| apply Finset.sum_congr rfl | |
| intro k _ | |
| change Algebra.trace β E (Ξ΄ * a * H j k * NumberField.IsCMField.complexConj E (y k) * x j) = _ | |
| congr 1 | |
| ring | |
| def coordinateForm (B : Place β PrescribedSignsB.Bilin) (t : Place β β) : | |
| LinearMap.BilinForm β (PrescribedSignsB.Ambient Place) := | |
| β Ο, t Ο β’ | |
| ((B Ο).complββ | |
| ((LinearMap.fst β PrescribedSignsB.Vec PrescribedSignsB.Vec).comp (LinearMap.proj Ο)) | |
| ((LinearMap.snd β PrescribedSignsB.Vec PrescribedSignsB.Vec).comp (LinearMap.proj Ο)) - | |
| (B Ο).flip.complββ | |
| ((LinearMap.snd β PrescribedSignsB.Vec PrescribedSignsB.Vec).comp (LinearMap.proj Ο)) | |
| ((LinearMap.fst β PrescribedSignsB.Vec PrescribedSignsB.Vec).comp (LinearMap.proj Ο))) | |
| lemma coordinateForm_apply (B : Place β PrescribedSignsB.Bilin) (t : Place β β) (x y : PrescribedSignsB.Ambient Place) : | |
| coordinateForm B t x y = PrescribedSignsB.tracePairing (fun Ο u v => B Ο u v) t x y := by | |
| simp [coordinateForm, PrescribedSignsB.tracePairing] | |
| lemma vectorForm_transport (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (Ξ΄ a : E) (hΞ΄ : NumberField.IsCMField.complexConj E Ξ΄ = -Ξ΄) | |
| (ha : NumberField.IsCMField.complexConj E a = a) | |
| (H : Matrix (Fin 3) (Fin 3) E) | |
| (hH : β j k, H j k = NumberField.IsCMField.complexConj E (H k j)) | |
| (x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (V E)) : | |
| (rationalVectorForm Ξ΄ a H).baseChange β x y = | |
| coordinateForm (PrescribedSignsB.matrixB Ο H) (fun Ο => Ο Ο (Ξ΄ * a)) | |
| (vectorCoordinates Ο hΟ x) (vectorCoordinates Ο hΟ y) := by | |
| induction x using TensorProduct.inductionOn with | |
| | add x x' hx hx' => simp only [map_add, LinearMap.add_apply, hx, hx'] | |
| | tmul z v => | |
| induction y using TensorProduct.inductionOn with | |
| | add y y' hy hy' => simp only [map_add, hy, hy'] | |
| | tmul w v' => | |
| rw [LinearMap.BilinForm.baseChange_tmul, vectorCoordinates_tmul, vectorCoordinates_tmul] | |
| simp only [map_smul, LinearMap.smul_apply, smul_eq_mul] | |
| rw [coordinateForm_apply] | |
| have he : (fun Ο u v => PrescribedSignsB.matrixB Ο H Ο u v) = PrescribedSignsB.localB Ο H := by | |
| funext Ο u v | |
| exact PrescribedSignsB.matrixB_apply Ο H Ο u v | |
| rw [he, PrescribedSignsB.tracePairing_rational Ο hΟ Ξ΄ a hΞ΄ ha H hH, rationalVectorForm_apply] | |
| simp only [Algebra.smul_def] | |
| change (β(Algebra.trace β E (Ξ΄ * a * (β j, β k, v j * H j k * NumberField.IsCMField.complexConj E (v' k)))) : β) * (z * w) = _ | |
| ring | |
| def rationalLineForm (Ξ΄ a : E) (H : Matrix (Fin 3) (Fin 3) E) : | |
| LinearMap.BilinForm β (LineTensor E) := | |
| (rationalVectorForm Ξ΄ a H).complββ | |
| ((lineReduction (E := E)).restrictScalars β).toLinearMap | |
| ((lineReduction (E := E)).restrictScalars β).toLinearMap | |
| lemma baseChange_compl {X Y : Type*} [AddCommGroup X] [Module β X] | |
| [AddCommGroup Y] [Module β Y] (B : LinearMap.BilinForm β Y) (f : X ββ[β] Y) | |
| (x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X) : | |
| LinearMap.BilinForm.baseChange β (B.complββ f f) x y = | |
| B.baseChange β (f.baseChange β x) (f.baseChange β y) := by | |
| induction x using TensorProduct.inductionOn with | |
| | add x x' hx hx' => simp only [map_add, LinearMap.add_apply, hx, hx'] | |
| | tmul z v => | |
| induction y using TensorProduct.inductionOn with | |
| | add y y' hy hy' => simp only [map_add, hy, hy'] | |
| | tmul w v' => simp | |
| lemma lineForm_transport (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (Ξ΄ a : E) (hΞ΄ : NumberField.IsCMField.complexConj E Ξ΄ = -Ξ΄) | |
| (ha : NumberField.IsCMField.complexConj E a = a) | |
| (H : Matrix (Fin 3) (Fin 3) E) | |
| (hH : β j k, H j k = NumberField.IsCMField.complexConj E (H k j)) | |
| (x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (LineTensor E)) : | |
| (rationalLineForm Ξ΄ a H).baseChange β x y = | |
| coordinateForm (PrescribedSignsB.matrixB Ο H) (fun Ο => Ο Ο (Ξ΄ * a)) | |
| (lineCoordinates Ο hΟ x) (lineCoordinates Ο hΟ y) := by | |
| rw [rationalLineForm, baseChange_compl] | |
| exact vectorForm_transport Ο hΟ Ξ΄ a hΞ΄ ha H hH _ _ | |
| lemma rationalLineForm_tmul (Ξ΄ a : E) (H : Matrix (Fin 3) (Fin 3) E) | |
| (v v' : V E) (w w' : E) : | |
| rationalLineForm Ξ΄ a H (v ββ[E] w) (v' ββ[E] w') = | |
| Algebra.trace β E (Ξ΄ * | |
| (β j, β k, v j * H j k * NumberField.IsCMField.complexConj E (v' k)) * | |
| (a * w * NumberField.IsCMField.complexConj E w')) := by | |
| rw [rationalLineForm, LinearMap.complββ_apply, rationalVectorForm_apply] | |
| change Algebra.trace β E (Ξ΄ * a * (β j, β k, (w * v j) * H j k * NumberField.IsCMField.complexConj E (w' * v' k))) = _ | |
| congr 1 | |
| simp only [map_mul] | |
| simp only [Finset.mul_sum, Finset.sum_mul] | |
| apply Finset.sum_congr rfl | |
| intro j _ | |
| apply Finset.sum_congr rfl | |
| intro k _ | |
| ring | |
| end | |
| section | |
| open scoped Classical TensorProduct | |
| open OAI.AlgebraicGeometry.ComplexMultiplication.CM.TraceForm | |
| lemma positivePeriod_transport {X Y : Type*} | |
| [AddCommGroup X] [Module β X] [AddCommGroup Y] [Module β Y] | |
| (e : X ββ[β] Y) (r : β) (Ο : Y β Y β β) (ΞΊ : Y β Y) | |
| (ΞΊX : X β X) (hc : β x, e (ΞΊX x) = ΞΊ (e x)) | |
| (P : Submodule β Y) (h : PrescribedSignsB.PositivePeriod r Ο ΞΊ P) : | |
| PrescribedSignsB.PositivePeriod r (fun x y => Ο (e x) (e y)) ΞΊX (P.comap e.toLinearMap) := by | |
| have hm : (P.comap e.toLinearMap).map e.toLinearMap = P := by | |
| exact Submodule.map_comap_eq_of_surjective e.surjective P | |
| refine β¨?_, ?_, ?_, ?_, ?_β© | |
| Β· exact (e.ofSubmodule' P).finrank_eq.trans h.1 | |
| Β· exact (Submodule.Quotient.equiv _ _ e hm).finrank_eq.trans h.2.1 | |
| Β· intro u hu v hv | |
| exact h.2.2.1 (e u) hu (e v) hv | |
| Β· intro u hu hne | |
| dsimp only | |
| rw [hc] | |
| exact h.2.2.2.1 (e u) hu (fun he => hne (e.injective (he.trans e.map_zero.symm))) | |
| Β· intro x | |
| obtain β¨uv, huv, huniqβ© := h.2.2.2.2 (e x) | |
| refine β¨(e.symm uv.1, e.symm uv.2), β¨?_, ?_, ?_β©, ?_β© | |
| Β· simpa only [Submodule.mem_comap, LinearEquiv.coe_coe, e.apply_symm_apply] using huv.1 | |
| Β· simpa only [Submodule.mem_comap, LinearEquiv.coe_coe, e.apply_symm_apply] using huv.2.1 | |
| Β· apply e.injective | |
| simpa only [map_add, hc, e.apply_symm_apply] using huv.2.2 | |
| Β· intro ab hab | |
| have he : (e ab.1, e ab.2) = uv := huniq _ β¨hab.1, hab.2.1, by | |
| rw [hab.2.2, map_add, hc]β© | |
| exact Prod.ext (e.eq_symm_apply.mpr (congrArg Prod.fst he)) | |
| (e.eq_symm_apply.mpr (congrArg Prod.snd he)) | |
| lemma linePositivePeriod_transport | |
| {E Place : Type*} [Field E] [Algebra β E] [NumberField E] | |
| [NumberField.IsCMField E] [Fintype Place] | |
| (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (Ξ΄ a : E) (hΞ΄ : NumberField.IsCMField.complexConj E Ξ΄ = -Ξ΄) | |
| (ha : NumberField.IsCMField.complexConj E a = a) | |
| (H : Matrix (Fin 3) (Fin 3) E) | |
| (hH : β j k, H j k = NumberField.IsCMField.complexConj E (H k j)) | |
| (r : β) (P : Submodule β (PrescribedSignsB.Ambient Place)) | |
| (hp : PrescribedSignsB.PositivePeriod r | |
| (fun x y => coordinateForm (PrescribedSignsB.matrixB Ο H) (fun Ο => Ο Ο (Ξ΄ * a)) x y) | |
| PrescribedSignsB.realConj P) : | |
| PrescribedSignsB.PositivePeriod r (fun x y => (rationalLineForm Ξ΄ a H).baseChange β x y) | |
| (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation (LineTensor E)) | |
| (P.comap (lineCoordinates Ο hΟ).toLinearMap) := by | |
| have ht := positivePeriod_transport (lineCoordinates Ο hΟ) r _ PrescribedSignsB.realConj | |
| (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation (LineTensor E)) (lineCoordinates_conjugation Ο hΟ) P hp | |
| have he : (fun x y => (rationalLineForm Ξ΄ a H).baseChange β x y) = | |
| (fun x y => coordinateForm (PrescribedSignsB.matrixB Ο H) (fun Ο => Ο Ο (Ξ΄ * a)) | |
| (lineCoordinates Ο hΟ x) (lineCoordinates Ο hΟ y)) := by | |
| funext x y | |
| exact lineForm_transport Ο hΟ Ξ΄ a hΞ΄ ha H hH x y | |
| rw [he] | |
| exact ht | |
| end | |
| section | |
| open scoped Classical | |
| /-- The homology complex structure acts by `-i` on the filtration and by | |
| `i` on its conjugate. Its Riemann form therefore has the opposite sign to | |
| our positive-period trace form. -/ | |
| lemma riemannForm_sign {Y : Type*} [AddCommGroup Y] [Module β Y] | |
| (Ο : LinearMap.BilinForm β Y) (u v : Y) | |
| (hu : Ο u u = 0) (hv : Ο v v = 0) (hskew : Ο v u = -Ο u v) | |
| (hpos : 0 < (Ο u v / Complex.I).re) : | |
| 0 < (-Ο (u + v) ((-Complex.I) β’ u + Complex.I β’ v)).re := by | |
| have he : -Ο (u + v) ((-Complex.I) β’ u + Complex.I β’ v) = | |
| 2 * (Ο u v / Complex.I) := by | |
| simp only [map_add, LinearMap.add_apply, map_smul, hu, hv, hskew, smul_eq_mul] | |
| simp only [div_eq_mul_inv, Complex.inv_I] | |
| ring | |
| rw [he] | |
| simpa using mul_pos (by norm_num : (0 : β) < 2) hpos | |
| lemma homologyComplexStructure_quotient {Y : Type*} | |
| [AddCommGroup Y] [Module β Y] (P : Submodule β Y) | |
| (u v : Y) (hu : u β P) : | |
| P.mkQ ((-Complex.I) β’ u + Complex.I β’ v) = Complex.I β’ P.mkQ (u + v) := by | |
| have hz : P.mkQ u = 0 := (Submodule.Quotient.mk_eq_zero P).mpr hu | |
| simp only [map_add, map_smul, hz, smul_zero, zero_add] | |
| end | |
| open scoped Classical TensorProduct | |
| open OAI.AlgebraicGeometry.ComplexMultiplication.CM.TraceForm | |
| lemma baseChange_conjugation {X : Type*} [AddCommGroup X] [Module β X] | |
| (B : LinearMap.BilinForm β X) (x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X) : | |
| B.baseChange β (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X x) (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X y) = | |
| star (B.baseChange β x y) := by | |
| induction x using TensorProduct.inductionOn with | |
| | add x x' hx hx' => simp only [map_add, LinearMap.add_apply, hx, hx', star_add] | |
| | tmul z v => | |
| induction y using TensorProduct.inductionOn with | |
| | add y y' hy hy' => simp only [map_add, hy, hy', star_add] | |
| | tmul w v' => simp [Algebra.smul_def] | |
| lemma coordinateForm_skew {Place : Type*} [Fintype Place] | |
| (B : Place β PrescribedSignsB.Bilin) (t : Place β β) (x y : PrescribedSignsB.Ambient Place) : | |
| coordinateForm B t y x = -coordinateForm B t x y := by | |
| simp only [coordinateForm_apply, PrescribedSignsB.tracePairing, β Finset.sum_neg_distrib] | |
| apply Finset.sum_congr rfl | |
| intro Ο _ | |
| ring | |
| /-- For a real vector written as `u + conjugate u`, the quotient complex | |
| structure has the sign prescribed by `homologyComplexStructure_quotient`. | |
| The negative rational trace form is strictly positive in that direction. -/ | |
| lemma rational_riemann_positive {X : Type*} [AddCommGroup X] [Module β X] | |
| (B : LinearMap.BilinForm β X) | |
| (hskew : β x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X, B.baseChange β y x = -B.baseChange β x y) | |
| (r : β) (P : Submodule β (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X)) | |
| (hp : PrescribedSignsB.PositivePeriod r (fun x y => B.baseChange β x y) (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X) P) | |
| (u : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X) (hu : u β P) (hne : u β 0) : | |
| let v := AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X u | |
| 0 < (-B.baseChange β (u + v) ((-Complex.I) β’ u + Complex.I β’ v)).re := by | |
| apply riemannForm_sign (B.baseChange β) u (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X u) | |
| Β· exact hp.2.2.1 u hu u hu | |
| Β· have huu : B.baseChange β u u = 0 := hp.2.2.1 u hu u hu | |
| rw [baseChange_conjugation, huu, star_zero] | |
| Β· exact hskew _ _ | |
| Β· exact (hp.2.2.2.1 u hu hne).2 | |
| lemma realVector_period_split {X : Type*} [AddCommGroup X] [Module β X] | |
| (Ο : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X β AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X β β) | |
| (r : β) (P : Submodule β (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X)) | |
| (hp : PrescribedSignsB.PositivePeriod r Ο (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X) P) | |
| (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X) (hx : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X x = x) (hne : x β 0) : | |
| β u β P, u β 0 β§ x = u + AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X u := by | |
| obtain β¨β¨u,vβ©, β¨hu,hv,heβ©, hunβ© := hp.2.2.2.2 x | |
| have hs : x = v + AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X u := by | |
| calc | |
| x = AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X x := hx.symm | |
| _ = AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X (u + AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X v) := congrArg _ he | |
| _ = v + AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X u := by | |
| rw [map_add, AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation_involutive, add_comm] | |
| have heq : (v,u) = (u,v) := hun _ β¨hv, hu, hsβ© | |
| have hvu : v = u := congrArg Prod.fst heq | |
| subst v | |
| refine β¨u, hu, ?_, heβ© | |
| intro hz | |
| apply hne | |
| simpa only [hz, map_zero, add_zero] using he | |
| lemma homologyJ_real {X : Type*} [AddCommGroup X] [Module β X] | |
| (u : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X) : | |
| AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X ((-Complex.I) β’ u + Complex.I β’ AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X u) = | |
| (-Complex.I) β’ u + Complex.I β’ AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X u := by | |
| simp only [map_add, AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.coefficientConjugation_smul, star_neg, Complex.star_def, | |
| Complex.conj_I, neg_neg, AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation_involutive] | |
| exact add_comm _ _ | |
| lemma rationalRiemann_on_real {X : Type*} [AddCommGroup X] [Module β X] | |
| (B : LinearMap.BilinForm β X) | |
| (hskew : β x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X, B.baseChange β y x = -B.baseChange β x y) | |
| (r : β) (P : Submodule β (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X)) | |
| (hp : PrescribedSignsB.PositivePeriod r (fun x y => B.baseChange β x y) (AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X) P) | |
| (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X) (hx : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X x = x) (hne : x β 0) : | |
| β j : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification X, AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X j = j β§ | |
| P.mkQ j = Complex.I β’ P.mkQ x β§ 0 < (-B.baseChange β x j).re := by | |
| obtain β¨u, hu, hune, rflβ© := realVector_period_split _ r P hp x hx hne | |
| exact β¨(-Complex.I) β’ u + Complex.I β’ AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.coefficientConjugation X u, | |
| homologyJ_real u, homologyComplexStructure_quotient P u _ hu, | |
| rational_riemann_positive B hskew r P hp u hu huneβ© | |
| lemma lineForm_skew | |
| {E Place : Type*} [Field E] [Algebra β E] [NumberField E] | |
| [NumberField.IsCMField E] [Fintype Place] | |
| (Ο : Place β E ββ[β] β) | |
| (hΟ : Function.Bijective (fun p : Place Γ Bool => | |
| if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) | |
| (Ξ΄ a : E) (hΞ΄ : NumberField.IsCMField.complexConj E Ξ΄ = -Ξ΄) | |
| (ha : NumberField.IsCMField.complexConj E a = a) | |
| (H : Matrix (Fin 3) (Fin 3) E) | |
| (hH : β j k, H j k = NumberField.IsCMField.complexConj E (H k j)) | |
| (x y : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification (LineTensor E)) : | |
| (rationalLineForm Ξ΄ a H).baseChange β y x = | |
| -(rationalLineForm Ξ΄ a H).baseChange β x y := by | |
| rw [lineForm_transport Ο hΟ Ξ΄ a hΞ΄ ha H hH y x, | |
| lineForm_transport Ο hΟ Ξ΄ a hΞ΄ ha H hH x y] | |
| exact coordinateForm_skew _ _ _ _ | |
| end | |
| end OAI.Geometry.ComplexBall.PrescribedSignsPeriodTransport.Intrinsic | |