cfahlgren1's picture
download
raw
2.64 kB
import OAI.Probability.ContinuumTransition.UpperComparison
namespace OAI
section
open scoped Topology BigOperators
open Filter
namespace ContinuumTemperature
theorem kacRowError_sq_tendsto (C : NNReal) :
Tendsto (fun u : โ„ => kacRowError C (u^2) u) atTop (๐“ 0) := by
have hi : Tendsto (fun u : โ„ => uโปยน) atTop (๐“ 0) := tendsto_inv_atTop_zero
have hh := (hi.const_mul (48*(C : โ„))).mul (((tendsto_const_nhds (x := (1 : โ„))).add (hi.const_mul 6)).pow 3)
have hh' : Tendsto (fun u : โ„ => 48*(C : โ„)*uโปยน*(1+6*uโปยน)^3) atTop (๐“ 0) := by
simpa using hh
apply hh'.congr'
filter_upwards [eventually_gt_atTop (0 : โ„)] with u hu
unfold kacRowError
field_simp
ring
theorem grid_card_ratio_tendsto {q : โ„•} (hq : 0 < q) :
Tendsto (fun m : โ„• => ((gridIndices m 1).card : โ„)/((m : โ„)*(q : โ„)/2)^3)
atTop (๐“ (1/((q : โ„)/4)^3)) := by
have hq0 : (q : โ„) โ‰  0 := by exact_mod_cast (Nat.ne_of_gt hq)
have hi : Tendsto (fun m : โ„• => (m : โ„)โปยน) atTop (๐“ 0) :=
tendsto_inv_atTop_zero.comp tendsto_natCast_atTop_atTop
have hh := (((tendsto_const_nhds (x := (2 : โ„))).add hi).pow 3).div_const (((q : โ„)/2)^3)
have hh' : Tendsto (fun m : โ„• => (2+(m : โ„)โปยน)^3/((q : โ„)/2)^3)
atTop (๐“ (1/((q : โ„)/4)^3)) := by
convert hh using 1
norm_num
field_simp
ring
apply hh'.congr'
filter_upwards [eventually_gt_atTop (0 : โ„•)] with m hm
have hm0 : (m : โ„) โ‰  0 := by exact_mod_cast (Nat.ne_of_gt hm)
rw [card_gridIndices]
push_cast
field_simp
theorem boundary_polynomial_ratio_tendsto {q : โ„•} (hq : 0 < q) (H : โ„•) :
Tendsto (fun m : โ„• => (3*((2*(m : โ„)+1)*(2*(H : โ„)))*(2*(m : โ„)*(q : โ„)+1)^2)/
((m : โ„)*(q : โ„)/2)^3) atTop (๐“ (384*(H : โ„)/(q : โ„))) := by
have hi : Tendsto (fun m : โ„• => (m : โ„)โปยน) atTop (๐“ 0) :=
tendsto_inv_atTop_zero.comp tendsto_natCast_atTop_atTop
have hh := ((((tendsto_const_nhds (x := (2 : โ„))).add hi).const_mul (3*(2*(H : โ„)))).mul
(((tendsto_const_nhds (x := 2*(q : โ„))).add hi).pow 2)).div_const (((q : โ„)/2)^3)
have hh' : Tendsto (fun m : โ„• => (3*(2*(H : โ„))*(2+(m : โ„)โปยน)*(2*(q : โ„)+(m : โ„)โปยน)^2)/
((q : โ„)/2)^3) atTop (๐“ (384*(H : โ„)/(q : โ„))) := by
have hq0 : (q : โ„) โ‰  0 := by exact_mod_cast (Nat.ne_of_gt hq)
convert hh using 1
norm_num
field_simp
ring
apply hh'.congr'
filter_upwards [eventually_gt_atTop (0 : โ„•)] with m hm
have hm0 : (m : โ„) โ‰  0 := by exact_mod_cast (Nat.ne_of_gt hm)
field_simp
end ContinuumTemperature
end
end OAI

Xet Storage Details

Size:
2.64 kB
ยท
Xet hash:
134cb33a139806b97b9cf868e702dcf0bfa0b0c5908ddb5b3a8ec457a8049807

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.