1 | 1. c: LabelCollection(Term) 2. r: rel() 3. r': rel() 4. as: (LabelTerm) List 5. s: Term List 6. ||s|| = ||rel_vars(r)|| 7. i:. i < ||s|| s[i] map(c;rel_vars(r))[i] 8. as = zip(rel_vars(r);s) 9. r' = rel_subst(as;r) 10. i: 11. i < ||as|| 2of(as[i]) c(1of(as[i])) |
2 | 1. c: LabelCollection(Term) 2. r: rel() 3. r': rel() 4. as: (LabelTerm) List 5. 1of(unzip(as)) = rel_vars(r) 6. i:. i < ||as|| 2of(as[i]) c(1of(as[i])) 7. r' = rel_subst(as;r) s:Term List. ||s|| = ||map(c;rel_vars(r))|| & (i:. i < ||s|| s[i] map(c;rel_vars(r))[i]) & as = zip(rel_vars(r);s) |
About: