Nuprl Lemma : bm_try_remove_wf
∀[T,Key:Type]. ∀[compare:bm_compare(Key)]. ∀[x:Key]. ∀[m:binary-map(T;Key)].
  (bm_try_remove(compare;m;x) ∈ binary-map(T;Key) × (T?))
Proof
Definitions occuring in Statement : 
bm_try_remove: bm_try_remove(compare;m;x), 
bm_compare: bm_compare(K), 
binary-map: binary-map(T;Key), 
uall: ∀[x:A]. B[x], 
unit: Unit, 
member: t ∈ T, 
product: x:A × B[x], 
union: left + right, 
universe: Type
Definitions unfolded in proof : 
uall: ∀[x:A]. B[x], 
member: t ∈ T, 
binary-map: binary-map(T;Key), 
all: ∀x:A. B[x], 
nat: ℕ, 
implies: P ⇒ Q, 
false: False, 
ge: i ≥ j , 
uimplies: b supposing a, 
satisfiable_int_formula: satisfiable_int_formula(fmla), 
exists: ∃x:A. B[x], 
not: ¬A, 
top: Top, 
and: P ∧ Q, 
prop: ℙ, 
guard: {T}, 
subtype_rel: A ⊆r B, 
int_seg: {i..j-}, 
lelt: i ≤ j < k, 
decidable: Dec(P), 
or: P ∨ Q, 
le: A ≤ B, 
less_than': less_than'(a;b), 
ext-eq: A ≡ B, 
bool: 𝔹, 
unit: Unit, 
it: ⋅, 
btrue: tt, 
uiff: uiff(P;Q), 
sq_type: SQType(T), 
eq_atom: x =a y, 
ifthenelse: if b then t else f fi , 
bm_E: bm_E(), 
binary_map_size: binary_map_size(p), 
assert: ↑b, 
bm_try_remove: bm_try_remove(compare;m;x), 
binary_map_ind: binary_map_ind(v;E;key,value,cnt,left,right,rec1,rec2.T[key;value;cnt;left;right;rec1;rec2]), 
bm_cnt_prop: bm_cnt_prop(m), 
pi2: snd(t), 
bm_cnt_prop0: bm_cnt_prop0(m), 
true: True, 
bfalse: ff, 
bnot: ¬bb, 
bm_T: bm_T(key;value;cnt;left;right), 
spreadn: let a,b,c,d,e = u in v[a; b; c; d; e], 
cand: A c∧ B, 
less_than: a < b, 
squash: ↓T, 
has-value: (a)↓, 
bm_compare: bm_compare(K)
Latex:
\mforall{}[T,Key:Type].  \mforall{}[compare:bm\_compare(Key)].  \mforall{}[x:Key].  \mforall{}[m:binary-map(T;Key)].
    (bm\_try\_remove(compare;m;x)  \mmember{}  binary-map(T;Key)  \mtimes{}  (T?))
 Date html generated: 
2016_05_17-PM-01_42_10
 Last ObjectModification: 
2016_01_17-AM-11_21_14
Theory : binary-map
Home
Index