Nuprl Lemma : Message-eta

[f:Name ─→ Type]. ∀[m:Message(f)].
  (m
  if msg-authentic(m) then make-Authentic-Msg(msg-header(m);msg-body(m)) else make-Msg(msg-header(m);msg-body(m)) fi 
  ∈ Message(f))


Proof




Definitions occuring in Statement :  make-Authentic-Msg: make-Authentic-Msg(hdr;val) make-Msg: make-Msg(hdr;val) msg-body: msg-body(msg) msg-header: msg-header(m) msg-authentic: msg-authentic(m) Message: Message(f) name: Name ifthenelse: if then else fi  uall: [x:A]. B[x] function: x:A ─→ B[x] universe: Type equal: t ∈ T
Lemmas :  bool_wf eqtt_to_assert btrue_wf make-basicMsg_wf basicMessage_wf eqff_to_assert equal_wf bool_cases_sqequal subtype_base_sq bool_subtype_base assert-bnot bfalse_wf Message_wf name_wf

Latex:
\mforall{}[f:Name  {}\mrightarrow{}  Type].  \mforall{}[m:Message(f)].
    (m
    =  if  msg-authentic(m)
        then  make-Authentic-Msg(msg-header(m);msg-body(m))
        else  make-Msg(msg-header(m);msg-body(m))
        fi  )



Date html generated: 2015_07_21-PM-04_53_42
Last ObjectModification: 2015_01_28-AM-08_43_02

Home Index