import YM.FullVolume.Ray.Rebar /-! Exact converse with radius loss. Vector Banach completion germ! -/ set_option autoImplicit false noncomputable section namespace YM.FullVolume.Ray.Rebar open Filter Set Function RG Push.AbsoluteSums ContinuousLinearMap open scoped Topology BigOperators NNReal ENNReal ContDiff Classical variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] {p c : ℝ} {f : ℝ → E} lemma linear_snapshot (h:Rebar p f c) (hp:1 f i.val) have hB (w:Rung):‖F w‖≤ c*‖P w‖ := by rw [mul_comm]; apply h.beam w; intro i have hh:(P w) i=trace w (fun x=>(x/p)^i):=by unfold P smear trace; simp_rw [Finsupp.linearCombination_apply,Finsupp.sum,lp.coeFn_sum,Finset.sum_apply,lp.coeFn_smul,Pi.smul_apply,fil hp] rw [← hh]; exact lp.norm_apply_le_norm (by simp) _ _ let g:= P.rangeRestrict obtain ⟨b,hb⟩:= LinearMap.exists_rightInverse_of_surjective g (LinearMap.range_eq_top.mpr P.surjective_rangeRestrict) have hh x: P (b x) = x.val:= congr_arg Subtype.val (DFunLike.congr_fun hb x) let L:= F.comp b have hk x: ‖L x‖≤ c*‖x‖ := (hB _).trans_eq (congr_arg (fun x'=>c*‖x'‖) (hh x)) refine ⟨L.mkContinuous c hk, LinearMap.mkContinuous_norm_le _ h.nonneg hk,?_⟩ intro w; change F (b (g w))=F w; have he:= hB (b (g w)-w); rw [map_sub,map_sub,hh] at he; rw [show (g w).val=P w from rfl, sub_self,norm_zero,mul_zero] at he; exact sub_eq_zero.mp (norm_le_zero_iff.mp he) lemma recovery [CompleteSpace E] (h:Rebar p f c) {a:ℝ} (ha:1≤a) (hp:a by rw [NNReal.coe_one,one_mul]; exact le_rfl)).trans ?_ simpa let d(i:ℕ):X:=⟨single i,speck hr i⟩; have hk i: ‖d i‖=1:= points i let r:=a/p; have hy:0mul_nonneg (pow_nonneg hy.le i) h.nonneg),hs.summable,hs.tsum_eq.le⟩ le_rfl) (fun _=>norm_nonneg _) hc,?_⟩ intro x hx; let i:sun:= ⟨x,hx⟩; let h:=Finsupp.single i (1:ℝ); let y: Y:= (smear p).rangeRestrict h have hm : IsClosed (X:Set Wire) := Y.isClosed_topologicalClosure letI : CompleteSpace X:= hm.isComplete.completeSpace_coe let v(j:ℕ):= (x/p)^j • d j; have hz : Summable v:= by apply Summable.of_norm; dsimp only [v]; simp_rw [norm_smul,norm_pow,hk,mul_one]; exact summable_geometric_of_lt_one (norm_nonneg _) (radius hr i) have he : P (V y)=f x:=by unfold P; rw [ContinuousLinearMap.extend_eq L hV ((show Isometry V from fun _ _=> rfl).isUniformInducing),ht]; simp [trace,h,i] -- L y issue have hh : ∑' i,v i=V y:=by apply Subtype.ext calc _ = _ := ((X.subtypeL.hasSum hz.hasSum).tsum_eq).symm _ = _ := Eq.symm (show (V y).val=wire p i from start _ i) rw [← he,← hh]; apply (P.hasSum hz.hasSum).congr_fun intro i; unfold b v; simp_rw [map_smul, smul_smul,← mul_pow]; rw [show x/a*r=x/p from by unfold r; field_simp] end YM.FullVolume.Ray.Rebar