cfahlgren1/math / lean /OAI /Analysis /LipschitzHilbert /Geometry /PacketDataSizeSelectionOrder.lean
cfahlgren1's picture
download
raw
1.89 kB
import OAI.Analysis.LipschitzHilbert.Packets.PacketDataSizeStopping
namespace OAI
/-! The near-extremal selection rule orders every later failing test.
Monotonicity uses the actual decreasing packet sets, not a separate order assumption. -/
noncomputable section
namespace LipschitzHilbert.PacketLatticeData.SizeStoppingRun
open PacketLatticeData
attribute [local instance] Classical.decEq
variable {N : ℕ} {κ : Type} {Label : Fin N → Type} {Item : ∀ j, Label j → Type}
[Fintype κ] [∀ j l, Fintype (Item j l)]
variable {P : PacketLatticeData N κ Label Item} {negative : Bool}
{w cb tau sigma epsilon A : ℝ} {cell : ∀ j, P.labels j → ℤ} {grid : ℤ}
{c : ∀ j (l : P.labels j), Item j l → EuclideanSpace ℂ κ}
{initial remaining : Finset P.PacketIndex} {tops : List SlopeBox}
theorem selected_failing
(h : P.SizeStoppingRun negative w cb tau sigma epsilon A cell grid c initial tops remaining) :
∀ T∈tops, P.sizeTestFails negative w cb tau sigma cell grid c initial T := by
induction h with
| stop => simp
| step R T tops remaining hT _ _ ih =>
intro U hU
rcases List.mem_cons.mp hU with rfl | hU
· exact hT
· exact P.sizeTestFails_mono negative w cb tau sigma cell grid c Finset.sdiff_subset U (ih U hU)
theorem direction_order
(h : P.SizeStoppingRun negative w cb tau sigma epsilon A cell grid c initial tops remaining) :
tops.Pairwise (fun T U => sizeDirection negative T.slope<sizeDirection negative U.slope+epsilon) := by
induction h with
| stop => exact List.Pairwise.nil
| step R T tops remaining _ hfirst htail ih =>
apply List.pairwise_cons.mpr
refine ⟨?_,ih⟩
intro U hU
exact hfirst U (P.sizeTestFails_mono negative w cb tau sigma cell grid c Finset.sdiff_subset U
(htail.selected_failing U hU))
end LipschitzHilbert.PacketLatticeData.SizeStoppingRun
end
end OAI

Xet Storage Details

Size:
1.89 kB
·
Xet hash:
db4948ffb743246efa7d834527ffb8c80af4254862e5702492fd01d742c13b8d

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