cfahlgren1/math / lean /OAI /Analysis /CircleDomains /Selection /DelayedSelection.lean
cfahlgren1's picture
download
raw
1.33 kB
import OAI.Analysis.CircleDomains.Selection.OrderedSelectionSlots
namespace OAI
/-! Reserve the first coordinate slot for the zero test while preserving
all selected tests and their order. -/
open Set Function
namespace CircleDomainRigidity
def delayedSelection {C : Type*} (A : ℕ → Set C) : ℕ → Set C
| 0 => ∅
| n + 1 => A n
theorem delayedSelection_mono {C : Type*} (A : ℕ → Set C) (hA : Monotone A) :
Monotone (delayedSelection A) := by
apply monotone_nat_of_le_succ
intro n
cases n with
| zero => exact empty_subset _
| succ n => exact hA (Nat.le_succ n)
theorem delayedSelection_single {C : Type*} (A : ℕ → Set C) (hzero : A 0 = ∅)
(hA : ∀ n, (A (n + 1) \ A n).Subsingleton) (n : ℕ) :
(delayedSelection A (n + 1) \ delayedSelection A n).Subsingleton := by
cases n with
| zero => simp [delayedSelection, hzero]
| succ n => exact hA n
theorem iUnion_delayedSelection {C : Type*} (A : ℕ → Set C) :
(⋃ n, delayedSelection A n) = ⋃ n, A n := by
ext x
constructor
· intro hx
obtain ⟨n, hn⟩ := mem_iUnion.mp hx
cases n with
| zero => exact hn.elim
| succ n => exact mem_iUnion.mpr ⟨n, hn⟩
· intro hx
obtain ⟨n, hn⟩ := mem_iUnion.mp hx
exact mem_iUnion.mpr ⟨n + 1, hn⟩
end CircleDomainRigidity
end OAI

Xet Storage Details

Size:
1.33 kB
·
Xet hash:
0a5aad2645e6ec92a85237e4329b3a4618e7e2619feeaf381b466dd6a11e0f86

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