(2steps 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: symmetric swap adjacent 1

1. A : Type
2. P : AAProp
3. a,b:AP(a,b P(b,a)
4. a : A List
5. b : A List
6. i : (||a||-1)
7. P(a[i],a[(i+1)])
8. b = swap(a;i;i+1)
9. b[i] = a[(i+1)]
10. b[(i+1)] = a[i]
11. ||b|| = ||a||
12. a = swap(b;i;i+1)
13. x:||b||. x = i  x = i+1  b[x] = a[x]
  P(b[i],b[(i+1)])


By: ((WeakSubstFor b[i] 0) THEN (WeakSubstFor b[(i+1)] 0)) THEN EasyHyp


Generated subgoals:

None

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

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