WhoCites Definitions mb event system 6 Sections EventSystems Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
Who Cites d-realizes?
d-realizesDef D 
Def realizes es.P(es)
Def == D':Dsys. 
Def == D  D'  (w:World, p:FairFifo. PossibleWorld(D';w P(ES(w)))
w-esDef ES(the_w;p)
Def == <E
Def == ,product-deq(Id;;IdDeq;NatDeq)
Def == ,(i,x. vartype(i;x))
Def == ,(i,a. V(i;locl(a)))
Def == ,the_w.M
Def == ,
Def == ,(e.loc(e))
Def == ,(e.kind(e))
Def == ,(e.val(e))
Def == ,(x,e. (x when e))
Def == ,(x,e. (x after e))
Def == ,(l,e. sends(l;e))
Def == ,(e.sender(e))
Def == ,(e.index(e))
Def == ,(e.first(e))
Def == ,(e.pred(e))
Def == ,(e,e'e <c e')
Def == ,world_DASH_event_DASH_system{1:l, i:l}(the_w,p)
Def == ,>
possible-worldDef PossibleWorld(D;w)
Def == FairFifo
Def == & (i,x:Id. vartype(i;xr M(i).ds(x))
Def == & & (i:Id, a:Action(i).
Def == & & (isnull(a (valtype(i;ar M(i).da(kind(a))))
Def == & & (l:IdLnk, tg:Id. (w.M(l,tg)) r M(source(l)).da(rcv(ltg)))
Def == & & (i,x:Id. M(i).init(x,s(i;0).x))
Def == & & (i:Id, t:.
Def == & & (isnull(a(i;t))
Def == & & (
Def == & & ((islocal(kind(a(i;t)))
Def == & & ((
Def == & & ((M(i).pre(act(kind(a(i;t))),x.s(i;t).x,val(a(i;t))))
Def == & & (& (x:Id. 
Def == & & (& (M(i).ef(kind(a(i;t)),x,x.s(i;t).x,val(a(i;t)),s(i;t+1).x))
Def == & & (& (l:IdLnk. 
Def == & & (& (M(i).send(kind(a(i;t));l;x.
Def == & & (& (s(i;t).x;val(a(i;t));withlnk(l;m(i;t));i))
Def == & & (& (x:Id. 
Def == & & (& (M(i).frame(kind(a(i;t)) affects x)
Def == & & (& (
Def == & & (& (s(i;t).x = s(i;t+1).x  M(i).ds(x))
Def == & & (& (l:IdLnk, tg:Id.
Def == & & (& (M(i).sframe(kind(a(i;t)) sends <l,tg>)
Def == & & (& (
Def == & & (& (w-tagged(tg; onlnk(l;m(i;t))) = nil  Msg List))
Def == & & (i,a:Id, t:.
Def == & & (t':
Def == & & (tt'
Def == & & (isnull(a(i;t')) & kind(a(i;t')) = locl(a)
Def == & & (&  a declared in M(i)
Def == & & (&  unsolvable M(i).pre(a,x.s(i;t').x))
fair-fifoDef FairFifo
Def == (i:Id, t:l:IdLnk. source(l) = i  onlnk(l;m(i;t)) = nil  Msg List)
Def == & (i:Id, t:.
Def == & (isnull(a(i;t))
Def == & (
Def == & ((x:Id. s(i;t+1).x = s(i;t).x  vartype(i;x))
Def == & (& m(i;t) = nil  Msg List)
Def == & (i:Id, t:l:IdLnk.
Def == & (isrcv(l;a(i;t))
Def == & (
Def == & (destination(l) = i
Def == & (& ||queue(l;t)||1 & hd(queue(l;t)) = msg(a(i;t))  Msg)
Def == & (l:IdLnk, t:.
Def == & (t':
Def == & (tt' & isrcv(l;a(destination(l);t'))  queue(l;t') = nil  Msg List)
worldDef World
Def == T:IdIdType
Def == TA:IdIdType
Def == M:IdLnkIdType
Def == (i:Id(x:IdT(i,x)))(i:Idaction(w-action-dec(TA;M;i)))
Def == (i:Id({m:Msg(M)| source(mlnk(m)) = i } List))Top
Thm* World  Type{i'}
d-subDef D1  D2 == i:Id. M(i M(i)
dsysDef Dsys == IdMsgA
Thm* Dsys  Type{i'}
w-causlDef e <c e' == e e,e'e <loc e'  isrcv(kind(e')) & e = sender(e' E^+ e'
w-predDef pred(e)
Def == if isnull(a(loc(e);time(e)-1)) pred(<loc(e),time(e)-1>)
Def == else <loc(e),time(e)-1> fi
Def (recursive)
w-firstDef first(e)
Def == if time(e)=0 true
Def == i; isnull(a(loc(e);time(e)-1)) first(<loc(e),time(e)-1>)
Def == else false fi
Def (recursive)
w-indexDef index(e)
Def == ||rcvs(lnk(kind(e));time(e))||-||snds(lnk(kind(e));time(sender(e)))||
w-senderDef sender(e) == <source(lnk(kind(e))),mu(t.match(lnk(kind(e));t;time(e)))>
w-sendsDef sends(l;e) == onlnk(l;m(loc(e);time(e)))
w-afterDef (x after e) == s(1of(e);2of(e)+1).x
w-whenDef (x when e) == s(1of(e);2of(e)).x
w-evalDef val(e) == val(act(e))
w-ekindDef kind(e) == kind(act(e))
w-loclDef e <loc e' == loc(e) = loc(e' Id & time(e)<time(e')
w-locDef loc(e) == 1of(e)
w-MsgDef Msg == Msg(w.M)
w-valtypeDef valtype(i;a) == kindcase(kind(a);a.w.TA(i,a);l,tg.w.M(l,tg))
w-actionDef Action(i) == action(w-action-dec(w.TA;w.M;i))
w-MDef w.M == 1of(2of(2of(w)))
ma-npreDef unsolvable M.pre(a,s)
Def == P != 1of(2of(2of(2of(M))))(a) ==> v:M.da(locl(a)). P(s,v)
ma-declaDef a declared in M == locl(a dom(1of(2of(M)))
ma-subDef M1  M2
Def == 1of(M1 1of(M2) & 1of(2of(M1))  1of(2of(M2))
Def == & 1of(2of(2of(M1)))  1of(2of(2of(M2)))
Def == & & 1of(2of(2of(2of(M1))))  1of(2of(2of(2of(M2))))
Def == & & 1of(2of(2of(2of(2of(M1)))))  1of(2of(2of(2of(2of(M2)))))
Def == & & 1of(2of(2of(2of(2of(2of(M1))))))  1of(2of(2of(2of(2of(2of(M2))))))
Def == & & 1of(2of(2of(2of(2of(2of(2of(M1)))))))  1of(2of(2of(2of(2of(2of(2of(
Def == & & 1of(2of(2of(2of(2of(2of(2of(M1)))))))  1of(M2)))))))
Def == & & 1of(2of(2of(2of(2of(2of(2of(2of(
Def == & & 1of(M1))))))))  1of(2of(2of(2of(2of(2of(2of(2of(M2))))))))
msgaDef MsgA
Def == ds:x:Id fp-> Type
Def == da:a:Knd fp-> Type
Def == x:Id fp-> ds(x)?Voida:Id fp-> State(ds)ma-valtype(da; locl(a))Prop
Def == kx:KndId fp-> State(ds)ma-valtype(da; 1of(kx))ds(2of(kx))?Void
Def == kl:KndIdLnk fp-> (tg:Id
Def == kl:KndIdLnk fp-> (State(ds)ma-valtype(da; 1of(kl))
Def == kl:KndIdLnk fp-> ((da(rcv(2of(kl); tg))?Void List)) List
Def == x:Id fp-> Knd Listltg:IdLnkId fp-> Knd ListTop
Thm* MsgA  Type{i'}
loclDef locl(a) == inr(a)
Thm* a:Id. locl(a Knd
w-VDef V(i;k) == kindcase(k;a.1of(2of(w))(i,a);l,tg.1of(2of(2of(w)))(l,tg))
w-vartypeDef vartype(i;x) == w.T(i,x)
w-queueDef queue(l;t) == nth_tl(||rcvs(l;t)||;snds(l;t))
w-matchDef match(l;t;t')
Def == (||snds(l;t)||||rcvs(l;t')||)
Def == (||rcvs(l;t')||<||snds(l;t)||+||onlnk(l;m(source(l);t))||)
w-sndsDef snds(l;t) == concat(map(t1.m(l;t1);upto(t)))
w-mlDef m(l;t) == onlnk(l;m(source(l);t))
w-onlnkDef onlnk(l;mss) == filter(ms.mlnk(ms) = l;mss)
w-taggedDef w-tagged(tgmss) == filter(ms.mtag(ms) = tg;mss)
ma-sframeDef M.sframe(k sends <l,tg>)
Def == L != 1of(2of(2of(2of(2of(2of(2of(2of(
Def == L != 1of(M))))))))(<l,tg>) ==> deq-member(KindDeq;k;L)
ma-efDef M.ef(k,x,s,v,w)
Def == E != 1of(2of(2of(2of(2of(M)))))(<k,x>) ==> w = E(s,v M.ds(x)
ma-dsDef M.ds(x) == 1of(M)(x)?Top
ma-frameDef M.frame(k affects x)
Def == L != 1of(2of(2of(2of(2of(2of(2of(M)))))))(x) ==> deq-member(KindDeq;k;L)
w-withlnkDef withlnk(l;mss) == mapfilter(ms.2of(ms);ms.mlnk(ms) = l;mss)
ma-sendDef M.send(k;l;s;v;ms;i)
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> ms
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> =
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> if source(l) = i
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> if concat(map(tgf.
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> if map(x.
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> if <1of(tgf),x>;2of(tgf)
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> if <1of(tgf),x>;(s
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> if <1of(tgf),x>;,v));L))
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==> else nil fi
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==>  (tg:Id
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==>  (if source(l) = i
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==>  (if M.da(rcv(ltg))
Def == L != 1of(2of(2of(2of(2of(2of(M))))))(<k,l>) ==>  (else Top fi) List
ma-preDef M.pre(a,s,v) == P != 1of(2of(2of(2of(M))))(a) ==> P(s,v)
ma-initDef M.init(x,v) == x0 != 1of(2of(2of(M)))(x) ==> v = x0  1of(M)(x)?Void
ma-daDef M.da(a) == 1of(2of(M))(a)?Top
w-rcvsDef rcvs(l;t) == filter(a.isrcv(l;a);map(t1.a(destination(l);t1);upto(t)))
w-isrcvlDef isrcv(l;a) == isnull(a)isrcv(kind(a))lnk(kind(a)) = l
w-action-decDef w-action-dec(TA;M;i)(k)
Def == kindcase(k;a.TA(i,a);l,tg.if destination(l) = i M(l,tg) else Void fi)
ma-valtypeDef ma-valtype(dak) == da(k)?Top
Kind-deqDef KindDeq == union-deq(IdLnkId;Id;product-deq(IdLnk;Id;IdLnkDeq;IdDeq);IdDeq)
eq_lnkDef a = b == eqof(IdLnkDeq)(a,b)
Thm* a,b:IdLnk. a = b  
eq_idDef a = b == eqof(IdDeq)(a,b)
Thm* a,b:Id. a = b  
idlnk-deqDef IdLnkDeq == product-deq(Id;Id;IdDeq;product-deq(Id;;IdDeq;NatDeq))
ma-stateDef State(ds) == x:Idds(x)?Top
id-deqDef IdDeq == product-deq(Atom;;AtomDeq;NatDeq)
nat-deqDef NatDeq == <a,ba=b,nat_DASH_deq_DASH_aux{1:l}>
w-EDef E == {p:(Id)| isnull(a(1of(p);2of(p))) }
actionDef action(dec) == Unit+(k:Knddec(k))
Thm* dec:(KndType). action(dec Type
KndDef Knd == (IdLnkId)+Id
Thm* Knd  Type
MsgDef Msg(M) == l:IdLnkt:IdM(l,t)
Thm* M:(IdLnkIdType). Msg(M Type
IdLnkDef IdLnk == IdId
Thm* IdLnk  Type
IdDef Id == Atom
Thm* Id  Type
fpfDef a:A fp-> B(a) == d:A Lista:{a:A| (a  d) }B(a)
Thm* A:Type, B:(AType). a:A fp-> B(a Type
l_memberDef (x  l) == i:i<||l|| & x = l[i T
Thm* T:Type, x:Tl:T List. (x  l Prop
natDef  == {i:| 0i }
Thm*   Type
product-deqDef product-deq(A;B;a;b) == <proddeq(a;b),prod-deq(A;B;a;b)>
w-sDef s(i;t).x == 1of(2of(2of(2of(w))))(i,t,x)
d-mDef M(i) == D(i)
geDef ij == ji
Thm* i,j:. (ij Prop
leDef AB == B<A
Thm* i,j:. (ij Prop
notDef A == A  False
Thm* A:Prop. (A Prop
w-actDef act(e) == a(1of(e);2of(e))
w-aDef a(i;t) == 1of(2of(2of(2of(2of(w)))))(i,t)
w-msgDef msg(a) == msg(lnk(kind(a));tag(kind(a));val(a))
w-kindDef kind(a) == 1of(outr(a))
w-isnullDef isnull(a) == isl(a)
prod-deqDef prod-deq(A;B;a;b)
Def == (A,B,a,b,p,qq/q1,q2.
Def == (p/p1,p2.
Def == (b/eq,b1.
Def == (a/e1,a1.
Def == ((%1.%1
Def == ((%1.(<%.<(%1.%1(p1,q1)/%4,%5%4((%1.%1)((%1.*)(*))))(a1)
Def == ((%1.(<%.,(%1.%1(p2,q2)/%4,%5%4((%1.%1)((%1.*)(*))))(b1)>
Def == ((%1.(,%.%/%1,%2*>))
Def == (((%1.%1.2)
Def == ((((%1.%1
Def == ((((%1.(<p1,p2> = <q1,q2 AB
Def == ((((%1.,<p1,p2> = <q1,q2 AB
Def == ((((%1.,((e1(p1,q1))(eq(p2,q2)))
Def == ((((%1.,(e1(p1,q1)) & (eq(p2,q2))
Def == ((((%1.,(%1.%1)((%1.<%2.%2,%2.%2>)(*))
Def == ((((%1.,(%1.%1)
Def == ((((%1.,((%1.%1(e1(p1,q1),eq(p2,q2)))
Def == ((((%1.,((p,q. InjCase(qx. InjCase(p
Def == ((((%1.,((p,q. InjCase(qx. InjCasex. <%.<*,*>,%.*>
Def == ((((%1.,((p,q. InjCase(qx. InjCasey. <%.<any(%),*>
Def == ((((%1.,((p,q. InjCase(qx. InjCase; y,%.%/%1,%2. any(%1)>)
Def == ((((%1.,((p,qy.
Def == ((((%1.,((p,qInjCase(p
Def == ((((%1.,((p,q. InjCasex. <%.<*,any(%)>,%.%/%1,%2. any(%2)>
Def == ((((%1.,((p,q. InjCasey. <%.<any(%),any(%)>
Def == ((((%1.,((p,q. InjCase; y,%.%/%1,%2. any(%2)>))))))
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.(%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.(%5
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.(((%4.%4)
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.((((%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.((((%5
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.((((((%4.%4)
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.(((((((%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.(((((((%6((%4.%4)((%4.%4)(%3))))
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.(((((((%))))
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.((((%2))))
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.<%3.(%1)
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.(%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.(%5
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.(((%4.%4)
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.((((%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.((((%6
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.((((((%4.%4)
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.(((((((%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.(((((((%6((%4.%4)((%4.%4)(%3))))
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.(((((((%1))))
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.((((%2))))
Def == ((((P1,P2,Q1,Q2,%,%1. <%2.,%3.(%)>
Def == ((((P1,P2,Q1,Q2,%,%1,%2.<%3.(%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.(%6
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.(((%4.%4)
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.((((%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.((((%5
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.((((((%4.%4)
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.(((((((%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.(((((((%5((%4.%4)((%4.%4)(%3))))
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.(((((((%))))
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.((((%2))))
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.<%3.(%1)
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.(%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.(%6
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.(((%4.%4)
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.((((%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.((((%6
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.((((((%4.%4)
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.(((((((%4.%4/%5,%6.
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.(((((((%5((%4.%4)((%4.%4)(%3))))
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.(((((((%1))))
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.((((%2))))
Def == ((((P1,P2,Q1,Q2,%,%1. ,%2.,%3.(%)>>))))
Def == (A
Def == ,B
Def == ,a
Def == ,b)
fpf-valDef z != f(x) ==> P(a;z) == x  dom(f P(x;f(x))
fpf-subDef f  g == x:Ax  dom(f x  dom(g) & f(x) = g(x B(x)
assertDef b == if b True else False fi
Thm* b:b  Prop
w-mDef m(i;t) == 1of(2of(2of(2of(2of(2of(w))))))(i,t)
w-valDef val(a) == 2of(outr(a))
kindcaseDef kindcase(k;a.f(a);l,t.g(l;t))
Def == if islocal(k) f(act(k)) else g(lnk(k);tag(k)) fi
Thm* B:Type, k:Knd, f:(IdB), g:(IdLnkIdB).
Thm* kindcase(k;a.f(a);l,t.g(l,t))  B
actofDef act(k) == outr(k)
Thm* k:Knd. islocal(k act(k Id
islocalDef islocal(k) == isl(k)
Thm* k:Knd. islocal(k 
rcvDef rcv(ltg) == inl(<l,tg>)
Thm* l:IdLnk, tg:Id. rcv(ltg Knd
lsrcDef source(l) == 1of(l)
Thm* l:IdLnk. source(l Id
ldstDef destination(l) == 1of(2of(l))
Thm* l:IdLnk. destination(l Id
selectDef l[i] == hd(nth_tl(i;l))
Thm* A:Type, l:A List, n:. 0n  n<||l||  l[n A
hdDef hd(l) == Case of l; nil  "?" ; h.t  h
Thm* A:Type, l:A List. ||l|| hd(l A
lengthDef ||as|| == Case of as; nil  0 ; a.as'  ||as'||+1  (recursive)
Thm* A:Type, l:A List. ||l||  
Thm* ||nil||  
topDef Top == Void given Void
Thm* Top  Type
mlnkDef mlnk(m) == 1of(m)
Thm* M:(IdLnkIdType), m:Msg(M). mlnk(m IdLnk
Thm* the_es:ES, m:Msg. mlnk(m IdLnk
isrcvDef isrcv(k) == isl(k)
Thm* k:Knd. isrcv(k 
rel_plusDef R^+(x,y) == n:x R^n y
Thm* T:Type, R:(TTType). R^+  TTType
w-timeDef time(e) == 2of(e)
rel_expDef R^n == if n=0 x,yx = y  T else x,yz:T. (x R z) & (z R^n-1 y) fi
Def (recursive)
Thm* n:T:Type, R:(TTProp). R^n  TTProp
uptoDef upto(n) == if n=0 nil else upto(n-1) @ [(n-1)] fi  (recursive)
Thm* n:. upto(n n List
eq_intDef i=j == if i=j true ; false fi
Thm* i,j:. (i=j 
lnkDef lnk(k) == 1of(outl(k))
Thm* k:Knd. isrcv(k lnk(k IdLnk
muDef mu(f) == if f(0) 0 else mu(x.f(x+1))+1 fi  (recursive)
Thm* f:(). (n:f(n))  mu(f 
proddeqDef proddeq(a;b)(p,q) == (1of(a)(1of(p),1of(q)))(1of(b)(2of(p),2of(q)))
Thm* A,B:Type, a:EqDecider(A), b:EqDecider(B). proddeq(a;b ABAB
mtagDef mtag(m) == 1of(2of(m))
Thm* M:(IdLnkIdType), m:Msg(M). mtag(m Id
fpf-capDef f(x)?z == if x  dom(f) f(x) else z fi
w-TADef w.TA == 1of(2of(w))
tagofDef tag(k) == 2of(outl(k))
Thm* k:Knd. isrcv(k tag(k Id
fpf-apDef f(x) == 2of(f)(x)
pi2Def 2of(t) == t.2
Thm* A:Type, B:(AType), p:(a:AB(a)). 2of(p B(1of(p))
w-TDef w.T == 1of(w)
fpf-domDef x  dom(f) == deq-member(eq;x;1of(f))
deq-memberDef deq-member(eq;x;L) == reduce(a,b. eqof(eq)(a,x b;false;L)
union-deqDef union-deq(A;B;a;b) == <sumdeq(a;b),sum-deq(A;B;a;b)>
eqofDef eqof(d) == 1of(d)
Thm* T:Type, d:EqDecider(T). eqof(d TT
sumdeqDef sumdeq(a;b)(p,q)
Def == InjCase(ppa. InjCase(qqa. 1of(a)(pa,qa); qb. false); pb.
Def == InjCase(qqa. falseqb. 1of(b)(pb,qb)))
Thm* A,B:Type, a:EqDecider(A), b:EqDecider(B). sumdeq(a;b (A+B)(A+B)
pi1Def 1of(t) == t.1
Thm* A:Type, B:(AType), p:(a:AB(a)). 1of(p A
atom-deqDef AtomDeq == <a,ba=bAtom,atom_DASH_deq_DASH_aux{1:l}>
outrDef outr(x) == InjCase(xy. "???"; zz)
Thm* A,B:Type, x:A+Bisl(x outr(x B
islDef isl(x) == InjCase(xy. truez. false)
Thm* A,B:Type, x:A+B. isl(x 
mapfilterDef mapfilter(f;P;L) == map(f;filter(P;L))
Thm* T:Type, P:(T), T':Type, f:({x:TP(x) }T'), L:T List.
Thm* mapfilter(f;P;L T' List
filterDef filter(P;l) == reduce(a,v. if P(a) [a / v] else v fi;nil;l)
Thm* T:Type, P:(T), l:T List. filter(P;l T List
mapDef map(f;as) == Case of as; nil  nil ; a.as'  [(f(a)) / map(f;as')]
Def (recursive)
Thm* A,B:Type, f:(AB), l:A List. map(f;l B List
Thm* A,B:Type, f:(AB), l:A List. map(f;l B List
concatDef concat(ll) == reduce(l,l'l @ l';nil;ll)
Thm* T:Type, ll:(T List) List. concat(ll T List
nth_tlDef nth_tl(n;as) == if n0 as else nth_tl(n-1;tl(as)) fi  (recursive)
Thm* A:Type, as:A List, i:. nth_tl(i;as A List
le_intDef ij == j<i
Thm* i,j:. (ij 
bnotDef b == if b false else true fi
Thm* b:b  
bandDef pq == if p q else false fi
Thm* p,q:. (pq 
nat_plusDef  == {i:| 0<i }
Thm*   Type
outlDef outl(x) == InjCase(xyyz. "???")
Thm* A,B:Type, x:A+B. isl(x outl(x A
lt_intDef i<j == if i<j true ; false fi
Thm* i,j:. (i<j 
eq_atomDef x=yAtom == if x=yAtomtrue; false fi
Thm* x,y:Atom. x=yAtom  
reduceDef reduce(f;k;as) == Case of as; nil  k ; a.as'  f(a,reduce(f;k;as'))
Def (recursive)
Thm* A,B:Type, f:(ABB), k:Bas:A List. reduce(f;k;as B
borDef p  q == if p true else q fi
Thm* p,q:. (p  q 
appendDef as @ bs == Case of as; nil  bs ; a.as'  [a / (as' @ bs)]  (recursive)
Thm* T:Type, as,bs:T List. (as @ bs T List
tlDef tl(l) == Case of l; nil  nil ; h.t  t
Thm* A:Type, l:A List. tl(l A List
sum-deqDef sum-deq(A;B;a;b)
Def == (A,B,a,b,p,q.
Def == (InjCase(qx. InjCase(p
Def == (InjCase(qx. InjCasex1b/eq,b1.
Def == (InjCase(qx. InjCase; x1a/e1,a1.
Def == (InjCase(qx. InjCase; x1<%.(%1.%1(x1,x)/%4,%5.
Def == (InjCase(qx. InjCase; x1. <%.(%4
Def == (InjCase(qx. InjCase; x1. <%.(((%1.%1)
Def == (InjCase(qx. InjCase; x1. <%.((((%1.*)
Def == (InjCase(qx. InjCase; x1. <%.(((((%1.%1(x))
Def == (InjCase(qx. InjCase; x1. <%.((((((%1.%1(x1))
Def == (InjCase(qx. InjCase; x1. <%.(((((((%1.%1(B))
Def == (InjCase(qx. InjCase; x1. <%.((((((((%1.%1(A))
Def == (InjCase(qx. InjCase; x1. <%.((((((((A,B,x1,x,%. (%1.%1)
Def == (InjCase(qx. InjCase; x1. <%.((((((((A,B,x1,x,%((%1.(%2.*)(*))
Def == (InjCase(qx. InjCase; x1. <%.((((((((A,B,x1,x,%. ((%))))))))))
Def == (InjCase(qx. InjCase; x1. <%.(a1)
Def == (InjCase(qx. InjCase; x1,%.*>
Def == (InjCase(qx. InjCaseyb/eq,b1.
Def == (InjCase(qx. InjCase; ya/e1,a1.
Def == (InjCase(qx. InjCase; y<%.(%1.any((%1(*))))
Def == (InjCase(qx. InjCase; y. <%.((%1.%1(x))
Def == (InjCase(qx. InjCase; y. <%.(((%1.%1(y))
Def == (InjCase(qx. InjCase; y. <%.((((%1.%1(B))
Def == (InjCase(qx. InjCase; y. <%.(((((%1.%1(A))
Def == (InjCase(qx. InjCase; y. <%.(((((A,B,y,x,%.
Def == (InjCase(qx. InjCase; y. <%.((((((%1.
Def == (InjCase(qx. InjCase; y. <%.((((((InjCase(%1
Def == (InjCase(qx. InjCase; y. <%.((((((InjCase%2. any(%2)
Def == (InjCase(qx. InjCase; y. <%.((((((InjCase%3. (%4.any(%4))
Def == (InjCase(qx. InjCase; y. <%.((((((InjCase; %3((%4.(%5.(%6.
Def == (InjCase(qx. InjCase; y. <%.((((((InjCase; %3. ((%4.(%5.(any(%6))
Def == (InjCase(qx. InjCase; y. <%.((((((InjCase; %3. ((%4.(%5.(*))
Def == (InjCase(qx. InjCase; y. <%.((((((InjCase; %3. ((%4.(*))
Def == (InjCase(qx. InjCase; y. <%.((((((InjCase; %3. ((%))))
Def == (InjCase(qx. InjCase; y. <%.(((((((%1.%1)(inr(%.*))))))))
Def == (InjCase(qx. InjCase; y,%.*>)
Def == (y.
Def == (InjCase(p
Def == (InjCasexb/eq,b1.
Def == (InjCase; xa/e1,a1.
Def == (InjCase; x<%.(%1.any((%1(*))))
Def == (InjCase; x. <%.((%1.%1(y))
Def == (InjCase; x. <%.(((%1.%1(x))
Def == (InjCase; x. <%.((((%1.%1(B))
Def == (InjCase; x. <%.(((((%1.%1(A))
Def == (InjCase; x. <%.(((((A,B,x,y,%. (%1.InjCase(%1
Def == (InjCase; x. <%.(((((A,B,x,y,%. (%1.InjCase%2. any(%2)
Def == (InjCase; x. <%.(((((A,B,x,y,%. (%1.InjCase%3. (%4.any(%4))
Def == (InjCase; x. <%.(((((A,B,x,y,%. (%1.InjCase; %3((%4.(%5.(%6.
Def == (InjCase; x. <%.(((((A,B,x,y,%. (%1.InjCase; %3. ((%4.(%5.(any(%6))
Def == (InjCase; x. <%.(((((A,B,x,y,%. (%1.InjCase; %3. ((%4.(%5.(*))
Def == (InjCase; x. <%.(((((A,B,x,y,%. (%1.InjCase; %3. ((%4.(*))
Def == (InjCase; x. <%.(((((A,B,x,y,%. (%1.InjCase; %3. ((%))))
Def == (InjCase; x. <%.(((((A,B,x,y,%((%1.%1)(inr(%.*))))))))
Def == (InjCase; x,%.*>
Def == (InjCasey1b/eq,b1.
Def == (InjCase; y1a/e1,a1.
Def == (InjCase; y1<%.(%1.%1(y1,y)/%4,%5.
Def == (InjCase; y1. <%.(%4
Def == (InjCase; y1. <%.(((%1.%1)
Def == (InjCase; y1. <%.((((%1.*)
Def == (InjCase; y1. <%.(((((%1.%1(y))
Def == (InjCase; y1. <%.((((((%1.%1(y1))
Def == (InjCase; y1. <%.(((((((%1.%1(B))
Def == (InjCase; y1. <%.((((((((%1.%1(A))
Def == (InjCase; y1. <%.((((((((A,B,y1,y,%. (%1.%1)
Def == (InjCase; y1. <%.((((((((A,B,y1,y,%((%1.(%2.*)(*))(%))))))))))
Def == (InjCase; y1. <%.(b1)
Def == (InjCase; y1,%.*>)))
Def == (A
Def == ,B
Def == ,a
Def == ,b)

Syntax:D 
realizes es.P(es)
has structure: d-realizes{i:l}(Des.P(es))

About:
pairspreadspreadspreadproductproductlistconscons
nillist_indboolbfalsebtrue
ifthenelseassertunititvoidintnatural_numberaddsubtractint_eq
lessless_thanatomtokenatom_equnion
inlinrdecidesetisect
lambdaapplyfunctionrecursive_def_noticeuniverseequalaxiommembertop
subtype_relpropimpliesandorfalsetrueallexists
!abstraction
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

WhoCites Definitions mb event system 6 Sections EventSystems Doc