Nuprl Lemma : assert-test-msg-header-and-loc
∀[f:Name ─→ Type]
  ∀msg:Message(f). ∀hdr:Name. ∀loc:Id.
    uiff(↑test-msg-header-and-loc(msg;hdr;loc);(msg-header(msg) = hdr ∈ Name) ∧ (loc = (fst(msg-body(msg))) ∈ Id)) 
    supposing hdr encodes Id × Top
Proof
Definitions occuring in Statement : 
test-msg-header-and-loc: test-msg-header-and-loc(msg;hdr;loc)
, 
encodes-msg-type: hdr encodes T
, 
msg-body: msg-body(msg)
, 
msg-header: msg-header(m)
, 
Message: Message(f)
, 
Id: Id
, 
name: Name
, 
assert: ↑b
, 
uiff: uiff(P;Q)
, 
uimplies: b supposing a
, 
uall: ∀[x:A]. B[x]
, 
top: Top
, 
pi1: fst(t)
, 
all: ∀x:A. B[x]
, 
and: P ∧ Q
, 
function: x:A ─→ B[x]
, 
product: x:A × B[x]
, 
universe: Type
, 
equal: s = t ∈ T
Lemmas : 
msg-body_wf2, 
Id_wf, 
top_wf, 
subtype_rel-equal, 
msg-type_wf, 
iff_weakening_equal, 
subtype_rel_transitivity, 
assert-eq-id, 
assert_wf, 
eq_id_wf, 
assert_witness, 
name_wf, 
false_wf, 
msg-header_wf
Latex:
\mforall{}[f:Name  {}\mrightarrow{}  Type]
    \mforall{}msg:Message(f).  \mforall{}hdr:Name.  \mforall{}loc:Id.
        uiff(\muparrow{}test-msg-header-and-loc(msg;hdr;loc);(msg-header(msg)  =  hdr)
        \mwedge{}  (loc  =  (fst(msg-body(msg))))) 
        supposing  hdr  encodes  Id  \mtimes{}  Top
Date html generated:
2015_07_21-PM-04_49_31
Last ObjectModification:
2015_02_04-PM-05_08_56
Home
Index