(22steps 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: interleaving split 1 1 1

1. T : Type
2. L : T List
3. P : ||L||Prop
4. x:||L||. Dec(P(x))
5. n : 
6. k : 
7. f : n||L||
8. g : k||L||
9. increasing(f;n)
10. increasing(g;k)
11. i:nP(f(i))
12. j:kP(g(j))
13. i:||L||. (j:ni = f(j))  (j:ki = g(j))
14. L2 : T List
15. ||L2|| = n
16. sublist_occurence(T;L2;L;f)
17. L1 : T List
18. ||L1|| = k
19. sublist_occurence(T;L1;L;g)
  interleaving_occurence(T;L2;L1;L;f;g)


By: All (Unfolds [`interleaving_occurence`;`sublist_occurence`]) THEN ExRepD
THEN
SimpConcl


Generated subgoal:

1 16. increasing(f;||L2||)
17. j:||L2||. L2[j] = L[(f(j))]
18. L1 : T List
19. ||L1|| = k  
20. increasing(g;||L1||)
21. j:||L1||. L1[j] = L[(g(j))]
  ||L|| = ||L2||+||L1||   & (j1:||L2||, j2:||L1||. f(j1) = g(j2))

7 steps

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

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