OAI/Analysis/ForestSpace/Paired.lean
24 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.ForestSpace.gateSignsline 16 - theorem
OAI.ForestSpace.gateSigns_sqline 19 - def
OAI.ForestSpace.correctedTailline 22 - theorem
OAI.ForestSpace.correctedTail_supportedline 25 - theorem
OAI.ForestSpace.correctedTail_testBoundline 32 - theorem
OAI.ForestSpace.correctedTail_at_gateline 44 - theorem
OAI.ForestSpace.gate_charge_leline 58 - theorem
OAI.ForestSpace.segment_cutline 65Source documentation
The local choice of a suffix cut, including empty cuts for inexpensive terms.
theorem segment_cut (hF : ForestOrder V) {H : Set V} (hH : IsLowerSet H) {f k : V → ℝ} (hf : SupportedOn f H) (hk : SupportedOn k Hᶜ) {s τ : ℝ} (hs : 0 ≤ s) (hτ : |τ| ≤ 1) {S : Finset V} (hS : IsSegment S) : ∃ L : Finset V, L ⊆ S.filter (· ∈ H) ∧ IsSegment L ∧ IsSegment (S.filter (· ∈ H) \ L) ∧ (segSum f S + s * segSum (correctedTail H f k s τ) S) ^ 2 ≤ (segSum f S - segSum f L) ^ 2 + segSum f L ^ 2 + 8 * s ^ 2 * (∑ v ∈ S, gateWeight H k v) + s ^ 2 * segSum (correctedTail H f k s τ) S ^ 2 := by …Mentions: OAI.ForestSpace.ForestOrder, OAI.ForestSpace.SupportedOn, OAI.ForestSpace.IsSegment, OAI.ForestSpace.segSum, OAI.ForestSpace.correctedTail, OAI.ForestSpace.gateWeight
- theorem
OAI.ForestSpace.simultaneous_cut_boundline 117Source documentation
All suffix cuts can be charged to one disjoint segment test of the head.
theorem simultaneous_cut_bound [Fintype V] [PartialOrder V] {H : Set V} {f : V → ℝ} (hf : SupportedOn f H) (hf₁ : TestBound f 1) {ι : Type} [Fintype ι] (S L : ι → Finset V) (hd : Pairwise (fun i j => Disjoint (S i) (S j))) (hL : ∀ i, L i ⊆ (S i).filter (· ∈ H)) (hseg : ∀ i, IsSegment (L i)) (hdiff : ∀ i, IsSegment ((S i).filter (· ∈ H) \ L i)) : (∑ i, ((segSum f (S i) - segSum f (L i)) ^ 2 + segSum f (L i) ^ 2)) ≤ 1 := by …Mentions: OAI.ForestSpace.SupportedOn, OAI.ForestSpace.TestBound, OAI.ForestSpace.IsSegment, OAI.ForestSpace.segSum
- theorem
OAI.ForestSpace.corrected_test_boundline 157Source documentation
The corrected tests have squared norm at most 1+12s², for either sign.
theorem corrected_test_bound (hF : ForestOrder V) {H : Set V} (hH : IsLowerSet H) {f k : V → ℝ} (hf : SupportedOn f H) (hk : SupportedOn k Hᶜ) (hf₁ : TestBound f 1) (hk₁ : TestBound k 1) {s τ : ℝ} (hs : 0 ≤ s) (hτ : |τ| ≤ 1) : TestBound (f + s • correctedTail H f k s τ) (1 + 12 * s ^ 2) := by …Mentions: OAI.ForestSpace.ForestOrder, OAI.ForestSpace.SupportedOn, OAI.ForestSpace.TestBound, OAI.ForestSpace.correctedTail
- theorem
OAI.ForestSpace.paired_finite_test_correctionline 177Source documentation
Finite-support paired extension: the common correction cancels on averaging.
theorem paired_finite_test_correction (hF : ForestOrder V) (H : Set V) (hH : IsLowerSet H) (f k : V → ℝ) (hf : ∀ v, v ∉ H → f v = 0) (hk : ∀ v, v ∈ H → k v = 0) (hf₁ : TestBound f 1) (hk₁ : TestBound k 1) (s : ℝ) (hs : 0 < s) : ∃ c : V → ℝ, (∀ v, v ∈ H → c v = 0) ∧ TestBound c 1 ∧ TestBound (f + s • (c + k)) (1 + 12 * s ^ 2) ∧ TestBound (f + s • (c - k)) (1 + 12 * s ^ 2) := by …Mentions: OAI.ForestSpace.ForestOrder, OAI.ForestSpace.TestBound
- theorem
OAI.ForestSpace.forestOrder_subtypeline 202 - theorem
OAI.ForestSpace.IsSegment.subtypeline 206 - theorem
OAI.ForestSpace.IsSegment.image_subtypeline 214 - theorem
OAI.ForestSpace.segSum_image_subtypeline 228 - theorem
OAI.ForestSpace.segSum_subtypeline 233 - theorem
OAI.ForestSpace.TestBound.restrict_subtypeline 241 - theorem
OAI.ForestSpace.TestBound.of_restrictline 251 - theorem
OAI.ForestSpace.exists_finite_lower_hullline 265Source documentation
The finite ancestor assumption ensures that no node inserted between two supported coordinates is lost when we use a finite test forest.
theorem exists_finite_lower_hull (hAnc : ∀ v : V, (Set.Iic v).Finite) (S : Finset V) : ∃ B : Finset V, S ⊆ B ∧ IsLowerSet (B : Set V) := by … - def
OAI.ForestSpace.finiteExtensionline 278Source documentation
Extension by zero from a finite lower subforest.
noncomputable def finiteExtension (B : Finset V) (u : B → ℝ) : V →₀ ℝ := …
- theorem
OAI.ForestSpace.finiteExtension_applyline 285 - theorem
OAI.ForestSpace.finiteExtension_supportedline 289 - theorem
OAI.ForestSpace.finiteExtension_testBoundline 294 - theorem
OAI.ForestSpace.finsupp_paired_correctionline 301Source documentation
The finite-support corrected tests on an arbitrary finite-ancestor forest. No assertion about the full dual having dense finite coordinates is used.
theorem finsupp_paired_correction (hF : ForestOrder V) (hAnc : ∀ v : V, (Set.Iic v).Finite) (H : Set V) (hH : IsLowerSet H) (f k : V →₀ ℝ) (hf : SupportedOn f H) (hk : SupportedOn k Hᶜ) (hf₁ : TestBound f 1) (hk₁ : TestBound k 1) (s : ℝ) (hs : 0 < s) : ∃ c : V →₀ ℝ, SupportedOn c Hᶜ ∧ TestBound c 1 ∧ TestBound (f + s • (c + k)) (1 + 12 * s ^ 2) ∧ TestBound (f + s • (c - k)) (1 + 12 * s ^ 2) := by …Mentions: OAI.ForestSpace.ForestOrder, OAI.ForestSpace.SupportedOn, OAI.ForestSpace.TestBound