(10steps total) PrintForm Definitions Lemmas mb list 2 Sections MarkB generic Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
At: partial sort 2 2 1

1. T : Type
2. L : T List
3. P : TTProp
4. x,y:T. Dec(P(x,y))
5. x,y:TP(x,y P(y,x)
6. Q : TT
7. x,y:TQ(x,y P(x,y)
8. L' : T List
9. guarded_permutation(T;L,iQ(L[i],L[(i+1)]))(L,L')
  (swap adjacent[P(x,y)]^*)(L,L')


By: All (h.Unfold `guarded_permutation` h)
THEN
BackThruLemma'
Thm* R1,R2:(TTProp), x,y:TR1 => R2  (x (R1^*) y (x (R2^*) y)
THEN
Reduce 0
THEN
Unfold `rel_implies` 0
THEN
Reduce 0


Generated subgoal:

1 9. x : T List
10. y : T List
11. i:(||x||-1). Q(x[i],x[(i+1)]) & y = swap(x;i;i+1)
  x swap adjacent[P(x,y)] y

1 step

About:
listboolassertdecidablenatural_numberaddlambda
applyfunctionuniversepropimpliesall
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

(10steps total) PrintForm Definitions Lemmas mb list 2 Sections MarkB generic Doc