File size: 3,295 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import Mathlib

namespace OAI
noncomputable section
open scoped Topology BoundedContinuousFunction
namespace FlatRecursion
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β„‚ E]
def shift (n : β„€) : C(β„€,β„€) := ⟨fun j => j-n, continuous_of_discreteTopology⟩
def greenTerm (G : E β†’L[β„‚] E) (n : β„€) : (β„€ →ᡇ E) β†’L[β„‚] (β„€ →ᡇ E) :=
  (G.compLeftContinuousBounded β„€).comp (BoundedContinuousFunction.compContinuousCLM E β„‚ (shift n))
@[simp] lemma greenTerm_apply (G : E β†’L[β„‚] E) (n : β„€) (f : β„€ →ᡇ E) (j : β„€) :
    greenTerm G n f j=G (f (j-n)) := rfl
lemma greenTerm_norm (G : E β†’L[β„‚] E) (n : β„€) : β€–greenTerm G n‖≀‖Gβ€– := by
  refine ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg G) (fun f => ?_)
  refine (BoundedContinuousFunction.norm_le (mul_nonneg (norm_nonneg _) (norm_nonneg _))).mpr ?_
  intro j
  exact G.le_opNorm_of_le (f.norm_coe_le_norm (j-n))
variable [CompleteSpace E]
lemma greenTerm_summable (G : β„€ β†’ E β†’L[β„‚] E) (hG : Summable (fun n => β€–G nβ€–)) :
    Summable (fun n => greenTerm (G n) n) :=
  Summable.of_norm_bounded hG (fun index => greenTerm_norm (G index) index)
def greenOperator (G : β„€ β†’ E β†’L[β„‚] E) : (β„€ →ᡇ E) β†’L[β„‚] (β„€ →ᡇ E) :=
  βˆ‘' n : β„€, greenTerm (G n) n
lemma convolution_summable (G : β„€ β†’ E β†’L[β„‚] E) (hG : Summable (fun n => β€–G nβ€–))
    (f : β„€ →ᡇ E) (j : β„€) : Summable (fun n => G n (f (j-n))) := by
  refine Summable.of_norm_bounded (hG.mul_right β€–fβ€–) (fun n => ?_)
  exact (G n).le_opNorm_of_le (f.norm_coe_le_norm _)
lemma greenOperator_apply (G : β„€ β†’ E β†’L[β„‚] E) (hG : Summable (fun n => β€–G nβ€–))
    (f : β„€ →ᡇ E) (j : β„€) : greenOperator G f j=βˆ‘' n : β„€, G n (f (j-n)) := by
  exact ((BoundedContinuousFunction.evalCLM β„‚ j).comp
    (ContinuousLinearMap.apply β„‚ (β„€ →ᡇ E) f)).map_tsum (greenTerm_summable G hG)
lemma greenOperator_solves (P : E β†’L[β„‚] E) (q : β„‚) (G : β„€ β†’ E β†’L[β„‚] E)
    (hG : Summable (fun n => β€–G nβ€–))
    (hrec : βˆ€ n : β„€, q β€’ G (n+1)-P*G n=if n=0 then 1 else 0)
    (f : β„€ →ᡇ E) (j : β„€) : q β€’ greenOperator G f (j+1)=P (greenOperator G f j)+f j := by
  have hs := convolution_summable G hG f j
  have hs' := convolution_summable G hG f (j+1)
  have hshift : (βˆ‘' n : β„€, G n (f (j+1-n)))=βˆ‘' n : β„€, G (n+1) (f (j-n)) := by
    rw [← (Equiv.addRight (1:β„€)).tsum_eq]
    congr 1
    funext n
    simp only [Equiv.coe_addRight]
    congr 2
    omega
  have hs2 : Summable (fun n : β„€ => G (n+1) (f (j-n))) := by
    convert hs'.comp_injective (i := fun n : β„€ => n+1) (fun a b h => add_right_cancel h) using 1
    funext n
    dsimp
    congr 2
    omega
  rw [greenOperator_apply G hG, greenOperator_apply G hG, hshift]
  apply sub_eq_zero.mp
  rw [sub_add_eq_sub_sub, P.map_tsum hs, ← Summable.tsum_const_smul q hs2, ← Summable.tsum_sub (Summable.const_smul q hs2) (P.summable hs)]
  have he : (fun n : β„€ => q β€’ G (n+1) (f (j-n))-P (G n (f (j-n))))=
      (fun n : β„€ => if n=0 then f j else 0) := by
    funext n
    have hn := congrArg (fun L : E β†’L[β„‚] E => L (f (j-n))) (hrec n)
    by_cases hn0 : n=0
    Β· simpa [hn0] using hn
    Β· simpa [hn0] using hn
  rw [he, tsum_ite_eq, sub_self]
end FlatRecursion

end

end OAI