Nuprl Lemma : CLK_ClockFun-eq
∀[MsgType:ValueAllType]. ∀[f:CLK_headers_type{i:l}(MsgType)]. ∀[es:EO+(Message(f))]. ∀[e:E].
  CLK_ClockVal(MsgType;f)@e
  = (imax(snd(CLK_msg'base(MsgType;f)@e);if first(e) then 0 else CLK_ClockVal(MsgType;f)@pred(e) fi ) + 1)
  ∈ ℤ 
  supposing ∀e:E. (↑e ∈b CLK_msg'base(MsgType;f))
Proof
Definitions occuring in Statement : 
CLK_ClockFun: CLK_ClockVal(MsgType;f)@e
, 
CLK_msg'base: CLK_msg'base(MsgType;f)
, 
CLK_headers_type: CLK_headers_type{i:l}(MsgType)
, 
Message: Message(f)
, 
classfun-res: X@e
, 
member-eclass: e ∈b X
, 
event-ordering+: EO+(Info)
, 
es-first: first(e)
, 
es-pred: pred(e)
, 
es-E: E
, 
imax: imax(a;b)
, 
vatype: ValueAllType
, 
assert: ↑b
, 
ifthenelse: if b then t else f fi 
, 
uimplies: b supposing a
, 
uall: ∀[x:A]. B[x]
, 
pi2: snd(t)
, 
all: ∀x:A. B[x]
, 
add: n + m
, 
natural_number: $n
, 
int: ℤ
, 
equal: s = t ∈ T
Lemmas : 
int_seg_wf, 
length_wf, 
name_wf, 
CLK_headers_wf, 
l_all_iff, 
l_member_wf, 
equal_wf, 
CLK_headers_fun_wf, 
cons_wf_listp, 
cons_wf, 
nil_wf, 
listp_wf, 
cons_member, 
iff_weakening_equal, 
all_wf, 
assert_wf, 
member-eclass_wf, 
CLK_msg'base_wf, 
es-E_wf, 
event-ordering+_subtype, 
event-ordering+_wf, 
Message_wf, 
subtype_rel_dep_function, 
vatype_wf, 
CLK_headers_type_wf, 
set_wf, 
valueall-type_wf, 
loop-class-state-fun-eq, 
single-bag_wf, 
Id_wf, 
eclass1_wf, 
CLK_upd_clock_wf, 
bag_size_single_lemma, 
false_wf, 
eclass1-single-val, 
base-headers-msg-val-single-val, 
subtype_rel_weakening, 
ext-eq_weakening, 
single-valued-bag-single, 
imax_wf, 
pi2_wf, 
classfun-res_wf, 
es-first_wf2, 
bool_wf, 
eqtt_to_assert, 
eqff_to_assert, 
bool_cases_sqequal, 
subtype_base_sq, 
bool_subtype_base, 
assert-bnot, 
classfun_wf, 
loop-class-state_wf, 
loop-class-state-functional, 
es-pred_wf, 
sv_bag_only_single_lemma, 
member-eclass-eclass1, 
classfun-res-eclass1
Latex:
\mforall{}[MsgType:ValueAllType].  \mforall{}[f:CLK\_headers\_type\{i:l\}(MsgType)].  \mforall{}[es:EO+(Message(f))].  \mforall{}[e:E].
    CLK\_ClockVal(MsgType;f)@e
    =  (imax(snd(CLK\_msg'base(MsgType;f)@e);if  first(e)
                    then  0
                    else  CLK\_ClockVal(MsgType;f)@pred(e)
                    fi  )
        +  1) 
    supposing  \mforall{}e:E.  (\muparrow{}e  \mmember{}\msubb{}  CLK\_msg'base(MsgType;f))
Date html generated:
2015_07_23-PM-04_10_25
Last ObjectModification:
2015_02_04-PM-02_01_37
Home
Index