cfahlgren1's picture
download
raw
1.46 kB
import Mathlib.Analysis.SpecificLimits.Normed
import Mathlib.Analysis.Complex.Basic
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Ring
namespace OAI
noncomputable section
namespace SevenEighths.ProbeEuler
def markedFactor (R V qInv K J : ℂ) (a : ℕ) : ℂ :=
((R * (1 - qInv) - K * V ^ a) / (1 - V) + J) / (1 - R)
def markedTableSeries (R V qInv K J : ℂ) (a : ℕ) : ℂ :=
∑' r : ℕ, R ^ r *
((∑' m : ℕ, (R * (1 - qInv) * V ^ m - K * V ^ (m + a))) + J)
theorem marked_table_resummation (R V qInv K J : ℂ) (a : ℕ)
(hR : ‖R‖ < 1) (hV : ‖V‖ < 1) :
markedTableSeries R V qInv K J a = markedFactor R V qInv K J a := by
have hgeo := hasSum_geometric_of_norm_lt_one hV
have hfirst := hgeo.mul_left (R * (1 - qInv))
have hsecond : HasSum (fun m : ℕ => K * V ^ (m + a))
(K * V ^ a * (1 - V)⁻¹) := by
convert hgeo.mul_left (K * V ^ a) using 1
funext m
rw [pow_add]
ring
have hin := (hfirst.sub hsecond).tsum_eq
unfold markedTableSeries
rw [hin, tsum_mul_right, tsum_geometric_of_norm_lt_one hR]
unfold markedFactor
simp only [div_eq_mul_inv]
ring
theorem unramified_marked_error (R V qInv K W D : ℂ)
(hR : 1 - R ≠ 0) (hV : 1 - V ≠ 0) :
markedFactor R V qInv K (-D + W * R) 1 + D =
(R * ((1 - qInv) + (1 - V) * (W - D)) - K * V) /
((1 - R) * (1 - V)) := by
unfold markedFactor
field_simp
ring
end SevenEighths.ProbeEuler
end
end OAI

Xet Storage Details

Size:
1.46 kB
·
Xet hash:
65f0b83a486919722da32a6e5580f35abafb758f8528fa4565f8110028870110

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