Buckets:
| import Mathlib | |
| import OAI.Geometry.Cannon.Conformal.Normalizer | |
| namespace OAI | |
| section | |
| section | |
| section | |
| noncomputable section | |
| noncomputable section | |
| open Set Filter Topology | |
| open scoped OnePoint | |
| noncomputable section | |
| open Set Filter Topology | |
| namespace CannonMobius | |
| open Set Filter Topology CannonH3 | |
| open scoped OnePoint | |
| def finiteB (t : Triple) : ℂ := (coordinate (t.val 1)-coordinate (t.val 0))⁻¹ | |
| def finiteA (t : Triple) : ℂ := (coordinate (t.val 2)-coordinate (t.val 0))⁻¹-finiteB t | |
| lemma finiteA_ne_zero (t : Triple) (ht : ∀ i, t.val i ≠ ∞) : finiteA t ≠ 0 := by | |
| let p : Fin 3 → ℂ := fun i => coordinate (t.val i) | |
| have hp (i : Fin 3) : (p i:Sphere)=t.val i := coe_coordinate (ht i) | |
| have hinj : Function.Injective p := by | |
| intro i j h | |
| apply t.property | |
| rw | |
| let b := (p 1-p 0)⁻¹ | |
| let a := (p 2-p 0)⁻¹-b | |
| have ha : a ≠ 0 := by | |
| intro h | |
| have he : (p 2-p 0)⁻¹=(p 1-p 0)⁻¹ := sub_eq_zero.mp h | |
| have he' := inv_injective he | |
| exact (by decide : (2:Fin 3) ≠ 1) (hinj (sub_left_injective he')) | |
| exact ha | |
| def finiteNormalizer (t : Triple) (ht : ∀ i, t.val i ≠ ∞) : Sphere ≃ₜ Sphere := | |
| affine 1 (coordinate (t.val 0)) one_ne_zero*inversion*affine (finiteA t) (finiteB t) (finiteA_ne_zero t ht) | |
| lemma finiteNormalizer_spec (t : Triple) (ht : ∀ i, t.val i ≠ ∞) : | |
| tripleMap (finiteNormalizer t ht) standard=t := by | |
| let p : Fin 3 → ℂ := fun i => coordinate (t.val i) | |
| have hp (i : Fin 3) : (p i:Sphere)=t.val i := coe_coordinate (ht i) | |
| have hinj : Function.Injective p := by | |
| intro i j h | |
| apply t.property | |
| rw | |
| have h10 : p 1-p 0 ≠ 0 := sub_ne_zero.mpr (fun h => (by decide : (1:Fin 3) ≠ 0) (hinj h)) | |
| have h20 : p 2-p 0 ≠ 0 := sub_ne_zero.mpr (fun h => (by decide : (2:Fin 3) ≠ 0) (hinj h)) | |
| let b := (p 1-p 0)⁻¹ | |
| let a := (p 2-p 0)⁻¹-b | |
| have ha : a ≠ 0 := by | |
| intro h | |
| have he : (p 2-p 0)⁻¹=(p 1-p 0)⁻¹ := sub_eq_zero.mp h | |
| have he' := inv_injective he | |
| exact (by decide : (2:Fin 3) ≠ 1) (hinj (sub_left_injective he')) | |
| change tripleMap (affine 1 (p 0) one_ne_zero*inversion*affine a b ha) standard=t | |
| apply Subtype.ext | |
| funext i | |
| fin_cases i | |
| · change affine 1 (p 0) one_ne_zero (inv ∞)=t.val 0 | |
| rw | |
| simpa using hp 0 | |
| · change affine 1 (p 0) one_ne_zero (inv (affine a b ha (0:ℂ)))=t.val 1 | |
| rw | |
| simp only | |
| rw | |
| simpa | |
| have he : a*1+b=(p 2-p 0)⁻¹ := by dsimp | |
| simpa using hp 2 | |
| lemma finiteNormalizer_biholomorphic (t : Triple) (ht : ∀ i, t.val i ≠ ∞) : | |
| finiteNormalizer t ht ∈ biholomorphic := | |
| biholomorphic.mul_mem (biholomorphic.mul_mem (affine_biholomorphic _ _ _) inversion_biholomorphic) | |
| (affine_biholomorphic _ _ _) | |
| def finiteCenterRaw (t : Triple) : ℂ × ℝ := | |
| (coordinate (t.val 0)+star (finiteB t)/((‖finiteB t‖^2+‖finiteA t‖^2:ℝ):ℂ), | |
| ‖finiteA t‖/(‖finiteB t‖^2+‖finiteA t‖^2)) | |
| lemma center_finite (t : Triple) (ht : ∀ i, t.val i ≠ ∞) : | |
| ((center t).1,(center t).2.val)=finiteCenterRaw t := by | |
| have h := center_orbit (finiteNormalizer t ht) (finiteNormalizer_biholomorphic t ht) | |
| rw | |
| change ( (CannonH3.interior (⟨affine 1 (coordinate (t.val 0)) one_ne_zero,affine_mem_boundaryGroup _ _ _⟩* | |
| ⟨inversion,inversion_mem_boundaryGroup⟩*⟨affine (finiteA t) (finiteB t) (finiteA_ne_zero t ht), | |
| affine_mem_boundaryGroup _ _ _⟩) basepoint).1, | |
| (CannonH3.interior (⟨affine 1 (coordinate (t.val 0)) one_ne_zero,affine_mem_boundaryGroup _ _ _⟩* | |
| ⟨inversion,inversion_mem_boundaryGroup⟩*⟨affine (finiteA t) (finiteB t) (finiteA_ne_zero t ht), | |
| affine_mem_boundaryGroup _ _ _⟩) basepoint).2.val)=_ | |
| rw | |
| simp only | |
| change (1*(star (finiteA t*0+finiteB t)/((‖finiteA t*0+finiteB t‖^2+(‖finiteA t‖*1)^2:ℝ):ℂ))+coordinate (t.val 0), | |
| ‖(1:ℂ)‖*((‖finiteA t‖*1)/(‖finiteA t*0+finiteB t‖^2+(‖finiteA t‖*1)^2)))=_ | |
| simp | |
| lemma continuousAt_finiteCenterRaw (t : Triple) (ht : ∀ i, t.val i ≠ ∞) : | |
| ContinuousAt finiteCenterRaw t := by | |
| have hc (i : Fin 3) : ContinuousAt (fun s : Triple => coordinate (s.val i)) t := | |
| (continuousAt_coordinate (ht i)).comp (f := fun s : Triple => s.val i) | |
| (show ContinuousAt (fun s : Triple => s.val i) t from | |
| ((continuous_apply i).comp continuous_subtype_val).continuousAt) | |
| have h10 : coordinate (t.val 1)-coordinate (t.val 0) ≠ 0 := by | |
| intro hh | |
| have he := congrArg (fun z : ℂ => (z:Sphere)) (sub_eq_zero.mp hh) | |
| rw | |
| exact ((hc 0).add (hb.star.div (Complex.continuous_ofReal.continuousAt.comp hq) | |
| (by change (↑(‖finiteB t‖^2+‖finiteA t‖^2):ℂ) ≠ 0; exact_mod_cast hpos.ne'))).prodMk (ha.norm.div hq hpos.ne') | |
| lemma continuousAt_center_finite (t : Triple) (ht : ∀ i, t.val i ≠ ∞) : ContinuousAt center t := by | |
| have he : ∀ᶠ s : Triple in 𝓝 t, ∀ i, s.val i ≠ ∞ := by | |
| apply Filter.eventually_all.2 | |
| intro i | |
| exact (((continuous_apply i).comp continuous_subtype_val).continuousAt).eventually | |
| (isOpen_compl_singleton.mem_nhds (ht i)) | |
| have hh : ContinuousAt (fun s : Triple => ((center s).1,(center s).2.val)) t := by | |
| apply (continuousAt_finiteCenterRaw t ht).congr_of_eventuallyEq | |
| filter_upwards | |
| simp only | |
| have ht (i : Fin 3) : (tripleMap N t).val i ≠ ∞ := fun he => hp i (N.injective (he.trans hNp.symm)) | |
| have hc := (continuousAt_center_finite (tripleMap N t) ht).comp (continuous_tripleMap N).continuousAt | |
| let F := CannonH3.interior ⟨N,biholomorphic_mem_boundaryGroup hN⟩ | |
| have he : (fun s : Triple => F.symm (center (tripleMap N s)))=center := by | |
| funext s | |
| rw | |
| exact F.symm_apply_apply _ | |
| have hh := F.symm.continuous.continuousAt.comp hc | |
| rwa | |
| · rw | |
| lemma inv_ratio (u v : ℂ) (huv : u ≠ 0 ∨ v ≠ 0) : inv (ratio u v)=ratio v u := by | |
| by_cases hv : v=0 | |
| · subst v | |
| have hu : u ≠ 0 := huv.resolve_right (not_not.mpr rfl) | |
| rw | |
| · by_cases hu : u=0 | |
| · subst u | |
| rw | |
| · rw | |
| lemma continuousAt_ratio {X : Type*} | |
| · have hcont : ContinuousAt (fun y => ((u y/v y:ℂ):Sphere)) x := | |
| OnePoint.continuous_coe.continuousAt.comp (hu.div hv hvx) | |
| apply hcont.congr_of_eventuallyEq | |
| filter_upwards | |
| lemma matrixFun_inv (M : Mat) (p : Sphere) : matrixFun M (inv p)=matrixFun (swapColumns M) p := by | |
| induction p using OnePoint.rec with | |
| | infty => simp | |
| | coe z => | |
| by_cases hz : z=0 | |
| · simp | |
| · rw | |
| change ratio (M 0 0*z⁻¹+M 0 1) (M 1 0*z⁻¹+M 1 1)= | |
| ratio (M 0 1*z+M 0 0) (M 1 1*z+M 1 0) | |
| rw | |
| congr 1 <;> field_simp <;> ring | |
| lemma matrix_nonzero (M : Mat) (hM : M.det ≠ 0) (z : ℂ) : | |
| M 0 0*z+M 0 1 ≠ 0 ∨ M 1 0*z+M 1 1 ≠ 0 := by | |
| by_contra hh | |
| push Not at hh | |
| apply hM | |
| rw | |
| linear_combination M 0 0*hh.2-M 1 0*hh.1 | |
| lemma first_column_nonzero (M : Mat) (hM : M.det ≠ 0) : M 0 0 ≠ 0 ∨ M 1 0 ≠ 0 := by | |
| by_contra hh | |
| push Not at hh | |
| simp | |
| lemma matrixFun_continuous_finite {X : Type*} | |
| {M : X → Mat} {q : X → Sphere} {x : X} (hM : ContinuousAt M x) | |
| (hq : ContinuousAt q x) (hn : (M x).det ≠ 0) (hf : q x ≠ ∞) : | |
| ContinuousAt (fun y => matrixFun (M y) (q y)) x := by | |
| let c : Sphere → ℂ := fun p => p.elim 0 id | |
| have hc : ContinuousAt c (q x) := by | |
| induction h : q x using OnePoint.rec with | |
| | infty => exact (hf h).elim | |
| | coe z => exact OnePoint.continuousAt_coe.mpr continuousAt_id | |
| have hcoord : ContinuousAt (fun y => c (q y)) x := hc.comp hq | |
| have hentries (i j : Fin 2) : ContinuousAt (fun y => M y i j) x := | |
| (continuousAt_pi.mp (continuousAt_pi.mp hM i)) j | |
| have hr := continuousAt_ratio ((hentries 0 0).mul hcoord |>.add (hentries 0 1)) | |
| ((hentries 1 0).mul hcoord |>.add (hentries 1 1)) (matrix_nonzero (M x) hn (c (q x))) | |
| apply hr.congr_of_eventuallyEq | |
| filter_upwards | |
| {M : X → Mat} {q : X → Sphere} {x : X} (hM : ContinuousAt M x) | |
| (hq : ContinuousAt q x) (hn : (M x).det ≠ 0) : | |
| ContinuousAt (fun y => matrixFun (M y) (q y)) x := by | |
| by_cases hf : q x=∞ | |
| · have hs : ContinuousAt (fun y => swapColumns (M y)) x := by | |
| apply continuousAt_pi.mpr | |
| intro i | |
| apply continuousAt_pi.mpr | |
| intro j | |
| fin_cases i <;> fin_cases j <;> | |
| exact (continuousAt_pi.mp (continuousAt_pi.mp hM _)) _ | |
| have hn' : (swapColumns (M x)).det ≠ 0 := by rw | |
| change ContinuousAt (fun y => matrixFun (swapColumns (M y)) (inv (q y))) x at hh | |
| rwa | |
| exact continuous_iff_continuousAt.mpr (fun p => matrixFun_continuous continuousAt_const continuousAt_id hM) | |
| continuous_invFun := by | |
| change Continuous (fun p : Sphere => (Matrix.GeneralLinearGroup.mkOfDetNeZero M hM)⁻¹ • p) | |
| rw | |
| exact continuous_iff_continuousAt.mpr (fun p => matrixFun_continuous continuousAt_const | |
| continuousAt_id (Matrix.GeneralLinearGroup.det_ne_zero _)) | |
| lemma matrixHomeomorph_apply (M : Mat) (hM : M.det ≠ 0) (p : Sphere) : | |
| matrixHomeomorph M hM p=matrixFun M p := (matrixFun_eq_smul _ p).symm | |
| lemma matrixFun_triangular {M : Mat} (hM : M.det ≠ 0) (hc : M 1 0=0) : | |
| ∃ ha : M 0 0/M 1 1 ≠ 0, | |
| matrixHomeomorph M hM=affine (M 0 0/M 1 1) (M 0 1/M 1 1) ha := by | |
| have had : M 0 0 ≠ 0 ∧ M 1 1 ≠ 0 := by | |
| simpa | |
| induction p using OnePoint.rec with | |
| | infty => simp | |
| | coe z => | |
| rw | |
| simp only | |
| rw | |
| congr 1 | |
| ring | |
| lemma matrixFun_general {M : Mat} (hM : M.det ≠ 0) (hc : M 1 0 ≠ 0) : | |
| ∃ ha : -(M 1 0)^2/M.det ≠ 0, | |
| matrixHomeomorph M hM=affine 1 (M 0 0/M 1 0) one_ne_zero*inversion* | |
| affine (-(M 1 0)^2/M.det) (-(M 1 0*M 1 1)/M.det) ha := by | |
| have ha : -(M 1 0)^2/M.det ≠ 0 := div_ne_zero (neg_ne_zero.mpr (pow_ne_zero _ hc)) hM | |
| refine ⟨ha,?_⟩ | |
| apply Homeomorph.ext | |
| intro p | |
| rw | |
| induction p using OnePoint.rec with | |
| | infty => | |
| change ratio (M 0 0) (M 1 0)=affine 1 (M 0 0/M 1 0) one_ne_zero (inv ∞) | |
| rw | |
| simp | |
| | coe z => | |
| change ratio (M 0 0*z+M 0 1) (M 1 0*z+M 1 1)= | |
| affine 1 (M 0 0/M 1 0) one_ne_zero | |
| (inv (affine (-(M 1 0)^2/M.det) (-(M 1 0*M 1 1)/M.det) ha z)) | |
| rw | |
| have he : -(M 1 0)^2/M.det*z+ -(M 1 0*M 1 1)/M.det= | |
| (-(M 1 0)/M.det)*(M 1 0*z+M 1 1) := by ring | |
| rw | |
| by_cases hd : M 1 0*z+M 1 1=0 | |
| · rw | |
| rfl | |
| · rw | |
| congr 1 | |
| rw | |
| have hd' : z*M 1 0+M 1 1 ≠ 0 := by simpa only | |
| ring | |
| lemma matrixHomeomorph_biholomorphic (M : Mat) (hM : M.det ≠ 0) : | |
| matrixHomeomorph M hM ∈ biholomorphic := by | |
| by_cases hc : M 1 0=0 | |
| · obtain ⟨ha,he⟩ := matrixFun_triangular hM hc | |
| rw | |
| exact affine_biholomorphic _ _ _ | |
| · obtain ⟨ha,he⟩ := matrixFun_general hM hc | |
| rw | |
| exact biholomorphic.mul_mem (biholomorphic.mul_mem | |
| (affine_biholomorphic _ _ _) inversion_biholomorphic) (affine_biholomorphic _ _ _) | |
| end CannonMobius | |
| namespace CannonMobius | |
| open Set Filter Topology | |
| open CannonH3 | |
| open scoped Matrix.Norms.Elementwise | |
| def rowNorm (M : Mat) : ℝ := ‖M 1 0‖^2+‖M 1 1‖^2 | |
| def numerator (M : Mat) : ℂ := M 0 0*star (M 1 0)+M 0 1*star (M 1 1) | |
| def matrixCenterRaw (M : Mat) : ℂ × ℝ := (numerator M/(rowNorm M:ℂ),‖M.det‖/rowNorm M) | |
| def matrixEnergy (M : Mat) : ℝ := ‖M 0 0‖^2+‖M 0 1‖^2+‖M 1 0‖^2+‖M 1 1‖^2 | |
| lemma rowNorm_pos (M : Mat) (hM : M.det ≠ 0) : 0 < rowNorm M := by | |
| have hn : M 1 0 ≠ 0 ∨ M 1 1 ≠ 0 := by | |
| by_contra h | |
| push Not at h | |
| simp | |
| def matrixCenter (M : Mat) (hM : M.det ≠ 0) : Half := | |
| ⟨(matrixCenterRaw M).1,⟨(matrixCenterRaw M).2,div_pos (norm_pos_iff.mpr hM) (rowNorm_pos M hM)⟩⟩ | |
| lemma complex_gram (a b c d : ℂ) : | |
| (‖a‖^2+‖b‖^2)*(‖c‖^2+‖d‖^2)=‖a*star c+b*star d‖^2+‖a*d-b*c‖^2 := by | |
| simp only | |
| ring | |
| lemma matrixEnergy_center (M : Mat) (hM : ‖M.det‖=1) : | |
| matrixEnergy M=(‖(matrixCenterRaw M).1‖^2+(matrixCenterRaw M).2^2+1)/(matrixCenterRaw M).2 := by | |
| have hn : M.det ≠ 0 := fun hh => by simp | |
| unfold numerator rowNorm matrixEnergy at * | |
| field_simp | |
| nlinarith | |
| lemma continuous_rowNorm : Continuous rowNorm := by unfold rowNorm; fun_prop | |
| lemma continuous_numerator : Continuous numerator := by unfold numerator; fun_prop | |
| lemma continuousAt_matrixCenterRaw {M : Mat} (hM : M.det ≠ 0) : ContinuousAt matrixCenterRaw M := by | |
| unfold matrixCenterRaw | |
| apply ContinuousAt.prodMk | |
| · exact continuous_numerator.continuousAt.div | |
| (Complex.continuous_ofReal.comp continuous_rowNorm).continuousAt | |
| (by exact_mod_cast (rowNorm_pos M hM).ne') | |
| · exact (continuous_id.matrix_det.norm).continuousAt.div continuous_rowNorm.continuousAt | |
| (rowNorm_pos M hM).ne' | |
| def halfInclusion : Half → ℂ × ℝ := fun x => (x.1,x.2.val) | |
| lemma continuous_halfInclusion : Continuous halfInclusion := | |
| continuous_fst.prodMk (continuous_subtype_val.comp continuous_snd) | |
| def centerEnergy (x : Half) : ℝ := (‖x.1‖^2+x.2.val^2+1)/x.2.val | |
| lemma continuous_centerEnergy : Continuous centerEnergy := by | |
| apply Continuous.div _ (continuous_subtype_val.comp continuous_snd) (fun x => x.2.property.ne') | |
| fun_prop | |
| theorem compact_matrix_parameters (K : Set Half) (hK : IsCompact K) : | |
| IsCompact ({M : Mat | ‖M.det‖=1} ∩ matrixCenterRaw ⁻¹' (halfInclusion '' K)) := by | |
| have hS : IsClosed {M : Mat | ‖M.det‖=1} := isClosed_eq continuous_id.matrix_det.norm continuous_const | |
| have hcont : ContinuousOn matrixCenterRaw {M : Mat | ‖M.det‖=1} := by | |
| intro M hM | |
| apply (continuousAt_matrixCenterRaw ?_).continuousWithinAt | |
| intro hh | |
| simp | |
| exact hB (mem_image_of_mem centerEnergy hx) | |
| have hsq (i j : Fin 2) : ‖M i j‖^2 ≤ B := by | |
| unfold matrixEnergy at hE | |
| fin_cases i <;> fin_cases j | |
| · change ‖M 0 0‖^2 ≤ B | |
| nlinarith | |
| · change ‖M 0 1‖^2 ≤ B | |
| nlinarith | |
| · change ‖M 1 0‖^2 ≤ B | |
| nlinarith | |
| · change ‖M 1 1‖^2 ≤ B | |
| nlinarith | |
| apply (pi_norm_le_iff_of_nonneg (le_trans (by norm_num : (0:ℝ) ≤ 1) (le_max_right B 1))).mpr | |
| intro i | |
| apply (pi_norm_le_iff_of_nonneg (le_trans (by norm_num : (0:ℝ) ≤ 1) (le_max_right B 1))).mpr | |
| intro j | |
| have hb := hsq i j | |
| have hb' := le_max_left B 1 | |
| have h1 := le_max_right B 1 | |
| nlinarith | |
| end CannonMobius | |
| namespace CannonMobius | |
| open Set Filter Topology CannonH3 | |
| open scoped OnePoint Matrix.Norms.Elementwise | |
| def affineMatrix (a b : ℂ) : Mat := !![a,b;0,1] | |
| def generalMatrix (p a b : ℂ) : Mat := !![p*a,p*b+1;a,b] | |
| lemma affineMatrix_det (a b : ℂ) : (affineMatrix a b).det=a := by simp | |
| lemma generalMatrix_det (p a b : ℂ) : (generalMatrix p a b).det= -a := by | |
| simp | |
| ring | |
| lemma affineMatrix_fun (a b : ℂ) (ha : a ≠ 0) : matrixFun (affineMatrix a b)=affine a b ha := by | |
| funext z | |
| induction z using OnePoint.rec with | |
| | infty => simp | |
| | coe z => simp | |
| lemma generalMatrix_fun (p a b : ℂ) (ha : a ≠ 0) : | |
| matrixFun (generalMatrix p a b)=affine 1 p one_ne_zero*inversion*affine a b ha := by | |
| funext z | |
| induction z using OnePoint.rec with | |
| | infty => | |
| change ratio (p*a) a=affine 1 p one_ne_zero (inv ∞) | |
| rw | |
| simp | |
| | coe z => | |
| change ratio ((p*a)*z+(p*b+1)) (a*z+b)=affine 1 p one_ne_zero (inv (affine a b ha (z:ℂ))) | |
| rw | |
| by_cases hh : a*z+b=0 | |
| · rw | |
| rfl | |
| · rw | |
| congr 1 | |
| field_simp | |
| ring | |
| lemma affineMatrix_center (a b : ℂ) : matrixCenterRaw (affineMatrix a b)=(b,‖a‖) := by | |
| simp | |
| lemma generalMatrix_center (p a b : ℂ) (ha : a ≠ 0) : | |
| matrixCenterRaw (generalMatrix p a b)= | |
| (p+star b/((‖b‖^2+‖a‖^2:ℝ):ℂ),‖a‖/(‖b‖^2+‖a‖^2)) := by | |
| have hq : 0 < ‖a‖^2+‖b‖^2 := by have hh := norm_pos_iff.mpr ha; nlinarith | |
| have han : a*star a=(‖a‖^2:ℝ) := by | |
| rw | |
| have hbn : b*star b=(‖b‖^2:ℝ) := by | |
| rw | |
| have hu : numerator (generalMatrix p a b)=p*((‖a‖^2+‖b‖^2:ℝ):ℂ)+star b := by | |
| change (p*a)*star a+(p*b+1)*star b=_ | |
| rw | |
| ring | |
| apply Prod.ext | |
| · change numerator (generalMatrix p a b)/(rowNorm (generalMatrix p a b):ℂ)=_ | |
| rw | |
| change (p*((‖a‖^2+‖b‖^2:ℝ):ℂ)+star b)/((‖a‖^2+‖b‖^2:ℝ):ℂ)=_ | |
| rw | |
| have hn : ((‖a‖^2+‖b‖^2:ℝ):ℂ) ≠ 0 := by exact_mod_cast hq.ne' | |
| field_simp | |
| · change ‖(generalMatrix p a b).det‖/rowNorm (generalMatrix p a b)=_ | |
| rw | |
| simp | |
| lemma center_normal_form (p a b : ℂ) (ha : a ≠ 0) : | |
| let f := affine 1 p one_ne_zero*inversion*affine a b ha | |
| let hf := biholomorphic.mul_mem (biholomorphic.mul_mem (affine_biholomorphic 1 p one_ne_zero) | |
| inversion_biholomorphic) (affine_biholomorphic a b ha) | |
| let x := CannonH3.interior ⟨f,biholomorphic_mem_boundaryGroup hf⟩ basepoint | |
| (x.1,x.2.val)=(p+star b/((‖b‖^2+‖a‖^2:ℝ):ℂ),‖a‖/(‖b‖^2+‖a‖^2)) := by | |
| change ( (CannonH3.interior (⟨affine 1 p one_ne_zero,affine_mem_boundaryGroup _ _ _⟩* | |
| ⟨inversion,inversion_mem_boundaryGroup⟩*⟨affine a b ha,affine_mem_boundaryGroup _ _ _⟩) basepoint).1, | |
| (CannonH3.interior (⟨affine 1 p one_ne_zero,affine_mem_boundaryGroup _ _ _⟩* | |
| ⟨inversion,inversion_mem_boundaryGroup⟩*⟨affine a b ha,affine_mem_boundaryGroup _ _ _⟩) basepoint).2.val)=_ | |
| rw | |
| simp only | |
| change (1*(star (a*0+b)/((‖a*0+b‖^2+(‖a‖*1)^2:ℝ):ℂ))+p, | |
| ‖(1:ℂ)‖*((‖a‖*1)/(‖a*0+b‖^2+(‖a‖*1)^2)))=_ | |
| simp | |
| lemma exists_center_matrix (f : Sphere ≃ₜ Sphere) (hf : f ∈ biholomorphic) : | |
| ∃ M : Mat, M.det ≠ 0 ∧ matrixFun M=f ∧ | |
| matrixCenterRaw M=((CannonH3.interior ⟨f,biholomorphic_mem_boundaryGroup hf⟩ basepoint).1, | |
| (CannonH3.interior ⟨f,biholomorphic_mem_boundaryGroup hf⟩ basepoint).2.val) := by | |
| rcases biholomorphic_normal_form f hf with ⟨a,b,ha,rfl⟩|⟨p,a,b,ha,rfl⟩ | |
| · refine ⟨affineMatrix a b,by simpa | |
| simp | |
| · exact ⟨generalMatrix p a b,by simpa | |
| ring | |
| lemma rescale_rowNorm (r : ℝ) (M : Mat) : rowNorm (rescale r M)=r^2*rowNorm M := by | |
| simp only | |
| ring | |
| lemma rescale_numerator (r : ℝ) (M : Mat) : numerator (rescale r M)=(r:ℂ)^2*numerator M := by | |
| simp only | |
| ring | |
| lemma rescale_matrixFun (r : ℝ) (hr : r ≠ 0) (M : Mat) : matrixFun (rescale r M)=matrixFun M := by | |
| have hr' : (r:ℂ) ≠ 0 := by exact_mod_cast hr | |
| funext p | |
| induction p using OnePoint.rec with | |
| | infty => exact ratio_scale _ _ _ hr' | |
| | coe z => | |
| change ratio ((r:ℂ)*M 0 0*z+(r:ℂ)*M 0 1) ((r:ℂ)*M 1 0*z+(r:ℂ)*M 1 1)=_ | |
| rw | |
| exact ratio_scale _ _ _ hr' | |
| lemma rescale_center (r : ℝ) (hr : r ≠ 0) (M : Mat) : | |
| matrixCenterRaw (rescale r M)=matrixCenterRaw M := by | |
| have hr' : (r:ℂ) ≠ 0 := by exact_mod_cast hr | |
| apply Prod.ext | |
| · change numerator (rescale r M)/(rowNorm (rescale r M):ℂ)=_ | |
| rw | |
| exact mul_div_mul_left _ _ (pow_ne_zero 2 hr') | |
| · change ‖(rescale r M).det‖/rowNorm (rescale r M)=_ | |
| rw | |
| exact mul_div_mul_left _ _ (pow_ne_zero 2 hr) | |
| lemma exists_normalized_matrix (M : Mat) (hM : M.det ≠ 0) : | |
| ∃ N : Mat, ‖N.det‖=1 ∧ matrixFun N=matrixFun M ∧ matrixCenterRaw N=matrixCenterRaw M := by | |
| have hnp : 0 < ‖M.det‖ := norm_pos_iff.mpr hM | |
| let r := (Real.sqrt ‖M.det‖)⁻¹ | |
| have hr : 0 < r := inv_pos.mpr (Real.sqrt_pos.mpr hnp) | |
| refine ⟨rescale r M,?_,rescale_matrixFun r hr.ne' M,rescale_center r hr.ne' M⟩ | |
| rw | |
| dsimp | |
| rw | |
| lemma exists_normalized_triple_matrix (t : Triple) : | |
| ∃ M : Mat, ‖M.det‖=1 ∧ (∀ i, matrixFun M (std i)=t.val i) ∧ | |
| matrixCenterRaw M=((center t).1,(center t).2.val) := by | |
| obtain ⟨M,hM,hMf,hMc⟩ := exists_center_matrix (normalizer t).val (normalizer t).property | |
| obtain ⟨N,hN,hNf,hNc⟩ := exists_normalized_matrix M hM | |
| refine ⟨N,hN,?_,hNc.trans hMc⟩ | |
| intro i | |
| rw | |
| exact congrFun (congrArg Subtype.val (normalizer_spec t)) i | |
| lemma compact_center_preimage {K : Set Half} (hK : IsCompact K) : IsCompact (center ⁻¹' K) := by | |
| let P : Set Mat := {M | ‖M.det‖=1 ∧ ∃ x ∈ K, (x.1,x.2.val)=matrixCenterRaw M} | |
| have hP : IsCompact P := compact_matrix_parameters K hK | |
| let _ : CompactSpace P := isCompact_iff_compactSpace.mp hP | |
| have hd (M : P) : M.val.det ≠ 0 := by | |
| intro he | |
| have hh := M.property.1 | |
| rw | |
| exact continuous_iff_continuousAt.mpr (fun M => matrixFun_continuous continuous_subtype_val.continuousAt | |
| continuous_const.continuousAt (hd M)) | |
| apply (isCompact_range hF).of_isClosed_subset (hK.isClosed.preimage continuous_center) | |
| intro t ht | |
| obtain ⟨M,hM,hMt,hMc⟩ := exists_normalized_triple_matrix t | |
| have hh : M ∈ P := ⟨hM,center t,ht,hMc.symm⟩ | |
| refine ⟨⟨M,hh⟩,?_⟩ | |
| apply Subtype.ext | |
| funext i | |
| exact (matrixHomeomorph_apply M (hd ⟨M,hh⟩) (std i)).trans (hMt i) | |
| lemma proper_center : IsProperMap center := | |
| isProperMap_iff_isCompact_preimage.mpr ⟨continuous_center,fun _ => compact_center_preimage⟩ | |
| end CannonMobius | |
| end | |
| end | |
| end | |
| end | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 31 kB
- Xet hash:
- 750266aad47e26c41e65e0a4ace61ce737526455e982a9a126319ff7f1d9972c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.