lemmafullUpper_neg (h : ℕ) (v : Full p h) :
fullUpper p hp h (-v)=((fullUpper p hp h v).2,(fullUpper p hp h v).1) :=by
proof · 12
lines
induction h with
| zero => simp only [fullUpper_zero_height,lp.coeFn_neg,Pi.neg_apply,neg_neg]
| succ h ih =>havehP : fullPChildren p hp h (-v)=fullQChildren p hp h v :=by
ext i; rw [fullPChildren_apply,fullQChildren_apply,child_neg,ih]
havehQ : fullQChildren p hp h (-v)=fullPChildren p hp h v :=by
ext i; rw [fullQChildren_apply,fullPChildren_apply,child_neg,ih]
rw [fullUpper_succ,fullUpper_succ,hP,hQ]
change join (-v (.inl ())) _ _=(_,_)
ext <;> dsimp only [join,Prod.fst,Prod.snd]
· rw [max_comm]; congr 1; ring
· rw [max_comm]; congr 1; ring
lemmafullUpper_add (h : ℕ) (v w : Full p h) :
(fullUpper p hp h (v+w)).1≤ (fullUpper p hp h v).1+(fullUpper p hp h w).1∧
(fullUpper p hp h (v+w)).2≤ (fullUpper p hp h v).2+(fullUpper p hp h w).2:=by
proof · 31
lines
induction h with
| zero =>
change max (v ()+w ()) 0≤ max (v ()) 0+max (w ()) 0∧
max (-(v ()+w ())) 0≤ max (-v ()) 0+max (-w ()) 0
constructor <;> apply max_le
· exact add_le_add (le_max_left _ _) (le_max_left _ _)
· exact add_nonneg (le_max_right _ _) (le_max_right _ _)
· linarith [le_max_left (-v ()) 0,le_max_left (-w ()) 0]
· exact add_nonneg (le_max_right _ _) (le_max_right _ _)
| succ h ih =>havehP : ‖fullPChildren p hp h (v+w)‖ ≤ ‖fullPChildren p hp h v‖+‖fullPChildren p hp h w‖ :=by
refine (lp.norm_mono (p_ne_zero p) (y := fullPChildren p hp h v+fullPChildren p hp h w) ?_).trans (norm_add_le _ _)
intro i
simp only [fullPChildren_apply,lp.coeFn_add,Pi.add_apply,Real.norm_eq_abs,
abs_of_nonneg (fullUpper_nonneg p hp h _).1,
abs_of_nonneg (add_nonneg (fullUpper_nonneg p hp h _).1 (fullUpper_nonneg p hp h _).1)]
rw [child_add p hp]
exact (ih _ _).1havehQ : ‖fullQChildren p hp h (v+w)‖ ≤ ‖fullQChildren p hp h v‖+‖fullQChildren p hp h w‖ :=by
refine (lp.norm_mono (p_ne_zero p) (y := fullQChildren p hp h v+fullQChildren p hp h w) ?_).trans (norm_add_le _ _)
intro i
simp only [fullQChildren_apply,lp.coeFn_add,Pi.add_apply,Real.norm_eq_abs,
abs_of_nonneg (fullUpper_nonneg p hp h _).2,
abs_of_nonneg (add_nonneg (fullUpper_nonneg p hp h _).2 (fullUpper_nonneg p hp h _).2)]
rw [child_add p hp]
exact (ih _ _).2
rw [fullUpper_succ,fullUpper_succ,fullUpper_succ]
have hm := join_mono (r := v (.inl ())+w (.inl ())) hP hQ
have ha := join_add (v (.inl ())) (w (.inl ())) ‖fullPChildren p hp h v‖ ‖fullQChildren p hp h v‖
‖fullPChildren p hp h w‖ ‖fullQChildren p hp h w‖
exact ⟨hm.1.trans ha.1,hm.2.trans ha.2⟩
lemmafullUpper_smul_nonneg (h : ℕ) (v : Full p h) (t : ℝ) (ht : 0≤ t) :
fullUpper p hp h (t • v)=t • fullUpper p hp h v :=by
proof · 15
lines
induction h with
| zero =>
change (max (t*v ()) 0,max (-(t*v ())) 0)=(t*max (v ()) 0,t*max (-v ()) 0)
rw [mul_max_of_nonneg _ _ ht,mul_max_of_nonneg _ _ ht,mul_zero,mul_neg]
| succ h ih =>havehP : fullPChildren p hp h (t • v)=t • fullPChildren p hp h v :=by
ext i
change (fullUpper p hp h (child p hp h (t • v) i)).1=t*(fullUpper p hp h (child p hp h v i)).1
rw [child_smul,ih]; rfl
havehQ : fullQChildren p hp h (t • v)=t • fullQChildren p hp h v :=by
ext i
change (fullUpper p hp h (child p hp h (t • v) i)).2=t*(fullUpper p hp h (child p hp h v i)).2
rw [child_smul,ih]; rfl
rw [fullUpper_succ,fullUpper_succ,hP,hQ,norm_smul,norm_smul,Real.norm_eq_abs,abs_of_nonneg ht]
exact join_smul _ _ _ _ ht
lemmafullNu_smul (h : ℕ) (v : Full p h) (t : ℝ) :
fullNu p hp h (t • v)=|t| * fullNu p hp h v :=by
proof · 8
lines
rcases le_total 0 t with ht|ht
· simp only [fullNu,fullUpper_smul_nonneg p hp h v t ht,Prod.smul_fst,Prod.smul_snd,smul_eq_mul,abs_of_nonneg ht]
ring
· havehe : t • v=-((-t) • v) :=bymodule
rw [he,fullNu_neg]
simp only [fullNu,fullUpper_smul_nonneg p hp h v (-t) (neg_nonneg.mpr ht),
Prod.smul_fst,Prod.smul_snd,smul_eq_mul,abs_of_nonpos ht]
ring
deffullNuSeminorm (h : ℕ) : Seminormℝ (Full p h) where
body · 5
lines
toFun := fullNu p hp h
map_zero' := fullNu_zero p hp h
add_le' := fullNu_add p hp h
neg' := fullNu_neg p hp h
smul' t v :=by simpa only [Real.norm_eq_abs] using fullNu_smul p hp h v t
lemmaroot_children_norm (h : ℕ) (v : Full p (h+1)) :
‖v‖ ≤ |v (.inl ())|+‖children p hp h v‖ :=by
proof · 10
lines
letr : Full p (h+1) := lp.single p (Sum.inl () : Coord (h+1)) (v (.inl ()))
havehr : ‖r‖=|v (.inl ())| := lp.norm_single (pos_iff_ne_zero.mpr (p_ne_zero p)) _ _
havehz : (v-r) (.inl ())=0:=by simp [r]
havehc : children p hp h (v-r)=children p hp h v :=by
ext i s
change v (.inr (i,s))-r (.inr (i,s))=v (.inr (i,s))
simp [r]
have hh := norm_add_le r (v-r)
rw [add_sub_cancel,hr,rootZero_norm p hp h (v-r) hz,hc] at hh
exact hh
lemmafullNu_lower (h : ℕ) (v : Full p h) : ‖v‖ ≤ (h+1:ℝ)*fullNu p hp h v :=by
proof · 27
lines
induction h with
| zero =>
rw [full_leaf_norm p]
norm_num only [Nat.cast_zero,zero_add,one_mul]
change |v ()| ≤ max (v ()) 0+max (-v ()) 0
rw [abs_le]; constructor <;> linarith [le_max_left (v ()) 0,le_max_right (v ()) 0,le_max_left (-v ()) 0,le_max_right (-v ()) 0]
| succ h ih =>letP:= fullPChildren p hp h v
letQ:= fullQChildren p hp h v
havehl : ‖children p hp h v‖ ≤ (h+1:ℝ)*‖P+Q‖ :=bycalc
_ ≤ ‖(h+1:ℝ) • (P+Q)‖ := lp.norm_mono (p_ne_zero p) (fun i =>byhave hh := ih (child p hp h v i)
change ‖child p hp h v i‖ ≤ ‖(h+1:ℝ)*fullNu p hp h (child p hp h v i)‖
rw [Real.norm_eq_abs,abs_of_nonneg (mul_nonneg (by positivity) (fullNu_nonneg p hp h _))]
exact hh)
_ = _ :=by rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg (bypositivity : (0:ℝ) ≤ h+1)]
havehchild : ‖children p hp h v‖ ≤ (h+1:ℝ)*fullNu p hp (h+1) v :=by
refine hl.trans ((mul_le_mul_of_nonneg_left (norm_add_le PQ) (by positivity)).trans ?_)
apply mul_le_mul_of_nonneg_left _ (by positivity)
change ‖P‖+‖Q‖ ≤ (join _ ‖P‖ ‖Q‖).1+(join _ ‖P‖ ‖Q‖).2
exact add_le_add (le_max_left _ _) (le_max_right _ _)
havehroot : |v (.inl ())| ≤ fullNu p hp (h+1) v :=
join_root_bound _ _ _ (norm_nonneg P) (norm_nonneg Q)
have hh := root_children_norm p hp h v
push_cast
nlinarith
lemmafullUpper_difference (h : ℕ) (v : Full p h) :
(fullUpper p hp h v).1-(fullUpper p hp h v).2=v (fullRoot h) :=by
proof · 5
lines
cases h with
| zero =>have hh := join_difference (v ()) 00
simpa only [join,add_zero,zero_sub,max_comm,fullUpper_zero_height,fullRoot] using hh
| succ h => exact join_difference _ _ _
The complete least upper arrays, including every non-root coordinate.
lemmafullArray_nonneg_diff (h : ℕ) (v : Full p h) (s : Coord h) :
0≤ (fullArray p hp h v s).1∧0≤ (fullArray p hp h v s).2∧
(fullArray p hp h v s).1-(fullArray p hp h v s).2=v s :=by
proof · 6
lines
induction h with
| zero => exact ⟨(fullUpper_nonneg p hp 0 v).1,(fullUpper_nonneg p hp 0 v).2,fullUpper_difference p hp 0 v⟩
| succ h ih =>
cases s with
| inl u => exact ⟨(fullUpper_nonneg p hp (h+1) v).1,(fullUpper_nonneg p hp (h+1) v).2,fullUpper_difference p hp (h+1) v⟩
| inr q => exact ih (child p hp h v q.1) q.2
Exact upper-array constraints: nonnegative values, coordinate difference v,
and each of the two arrays dominating the countable ℓp norm of its children.
At leaves the child norm is zero.
defFullAdmissible : (h : ℕ) →Full p h → (Coord h →ℝ×ℝ) →Prop
body · 7
lines
| 0,v,A=>0≤ (A ()).1∧0≤ (A ()).2∧ (A ()).1-(A ()).2=v ()
| h+1,v,A=>
(0≤ (A (.inl ())).1∧0≤ (A (.inl ())).2∧ (A (.inl ())).1-(A (.inl ())).2=v (.inl ())) ∧
(∃a b : lp (fun_ : ℕ=>ℝ) p,
(∀ i,a i=(A (.inr (i,fullRoot h))).1) ∧ (∀ i,b i=(A (.inr (i,fullRoot h))).2) ∧
‖a‖ ≤ (A (.inl ())).1∧ ‖b‖ ≤ (A (.inl ())).2) ∧∀ i,FullAdmissible h (child p hp h v i) (fun s =>A (.inr (i,s)))
lemmafullAdmissible_root (p : ℝ≥0∞) [Fact (1≤ p)] (hp : 0 < p.toReal) (h : ℕ) {v : Full p h} {A : Coord h →ℝ×ℝ}
(hA : FullAdmissible p hp h v A) :
0≤ (A (fullRoot h)).1∧0≤ (A (fullRoot h)).2∧
(A (fullRoot h)).1-(A (fullRoot h)).2=v (fullRoot h) :=by
proof · 3
lines
cases h with
| zero => exact hA
| succ h => exact hA.1
lemmafullArray_admissible (h : ℕ) (v : Full p h) :
FullAdmissible p hp h v (fullArray p hp h v) :=by
proof · 11
lines
induction h with
| zero => exact fullArray_nonneg_diff p hp 0 v ()
| succ h ih =>
refine ⟨fullArray_nonneg_diff p hp (h+1) v (.inl ()),?_,fun i => ih (child p hp h v i)⟩
refine ⟨fullPChildren p hp h v,fullQChildren p hp h v,?_,?_,le_max_left _ _,le_max_right _ _⟩
· intro i
change (fullUpper p hp h (child p hp h v i)).1=(fullArray p hp h (child p hp h v i) (fullRoot h)).1
rw [fullArray_root]
· intro i
change (fullUpper p hp h (child p hp h v i)).2=(fullArray p hp h (child p hp h v i) (fullRoot h)).2
rw [fullArray_root]
lemmafullUpper_least (h : ℕ) {v : Full p h} {A : Coord h →ℝ×ℝ}
(hA : FullAdmissible p hp h v A) :
(fullUpper p hp h v).1≤ (A (fullRoot h)).1∧
(fullUpper p hp h v).2≤ (A (fullRoot h)).2:=by
proof · 20
lines
induction h with
| zero =>have hn := fullAdmissible_root p hp 0 hA
change max (v ()) 0≤ (A ()).1∧ max (-v ()) 0≤ (A ()).2
constructor <;> apply max_le <;> linarith [hn.1,hn.2.1,hn.2.2]
| succ h ih =>
obtain ⟨hr,⟨a,b,ha,hb,hna,hnb⟩,hc⟩ := hA
havehP : ‖fullPChildren p hp h v‖ ≤ ‖a‖ :=by
apply lp.norm_mono (p_ne_zero p)
intro i
rw [fullPChildren_apply,Real.norm_eq_abs,abs_of_nonneg (fullUpper_nonneg p hp h _).1,
ha i,Real.norm_eq_abs,abs_of_nonneg (fullAdmissible_root p hp h (hc i)).1]
exact (ih (hc i)).1havehQ : ‖fullQChildren p hp h v‖ ≤ ‖b‖ :=by
apply lp.norm_mono (p_ne_zero p)
intro i
rw [fullQChildren_apply,Real.norm_eq_abs,abs_of_nonneg (fullUpper_nonneg p hp h _).2,
hb i,Real.norm_eq_abs,abs_of_nonneg (fullAdmissible_root p hp h (hc i)).2.1]
exact (ih (hc i)).2
exact join_least (hP.trans hna) (hQ.trans hnb) hr.2.2
lemmafullArray_least (h : ℕ) {v : Full p h} {A : Coord h →ℝ×ℝ}
(hA : FullAdmissible p hp h v A) (s : Coord h) :
(fullArray p hp h v s).1≤ (A s).1∧ (fullArray p hp h v s).2≤ (A s).2:=by
proof · 6
lines
induction h with
| zero => exact fullUpper_least p hp 0 hA
| succ h ih =>
cases s with
| inl u => exact fullUpper_least p hp (h+1) hA
| inr q => exact ih (hA.2.2 q.1) q.2