Nuprl Lemma : bm_T-wf2

[T,Key:Type]. ∀[key:Key]. ∀[value:T]. ∀[cnt:ℤ]. ∀[left,right:binary-map(T;Key)].
  bm_T(key;value;cnt;left;right) ∈ binary-map(T;Key) supposing cnt (1 bm_numItems(left) bm_numItems(right)) ∈ ℤ


Proof




Definitions occuring in Statement :  bm_numItems: bm_numItems(m) binary-map: binary-map(T;Key) bm_T: bm_T(key;value;cnt;left;right) uimplies: supposing a uall: [x:A]. B[x] member: t ∈ T add: m natural_number: $n int: universe: Type equal: t ∈ T
Definitions unfolded in proof :  uall: [x:A]. B[x] member: t ∈ T uimplies: supposing a binary-map: binary-map(T;Key) uiff: uiff(P;Q) and: P ∧ Q cand: c∧ B sq_type: SQType(T) all: x:A. B[x] implies:  Q guard: {T} assert: b ifthenelse: if then else fi  btrue: tt true: True prop:

Latex:
\mforall{}[T,Key:Type].  \mforall{}[key:Key].  \mforall{}[value:T].  \mforall{}[cnt:\mBbbZ{}].  \mforall{}[left,right:binary-map(T;Key)].
    bm\_T(key;value;cnt;left;right)  \mmember{}  binary-map(T;Key) 
    supposing  cnt  =  (1  +  bm\_numItems(left)  +  bm\_numItems(right))



Date html generated: 2016_05_17-PM-01_38_56
Last ObjectModification: 2015_12_28-PM-08_10_03

Theory : binary-map


Home Index