Advertisement
Guest User

Untitled

a guest
Mar 24th, 2021
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. diff(L,V) = (
  2. L = V → C1,
  3. car(L) = 0 → C0,
  4. car(L) = plus → cons(plus,maplist(cdr(L),λ(J,diff(car(J),V)))),
  5. car(L) = times →
  6. cons(plus,maplist(cdr(L),
  7. λ(J,cons(times,maplist(cdr(L),
  8. λ(K,(J≠K → copy(car(K)),
  9. 1 → diff(car(K),V))))))))
  10. 1 → error)
  11.  
  12. maplist(L,f) = (L = 0 → 0
  13. 1 → cons(f(L), maplist(cdr(L),f)))
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement