Origin for each line in src/example04.red from check-in c1ddb4c814:
c1ddb4c814 2021-03-01 jeff@gridfini: a:=sin(x); c1ddb4c814 2021-03-01 jeff@gridfini: b:=cos(x); c1ddb4c814 2021-03-01 jeff@gridfini: c:=a+b; c1ddb4c814 2021-03-01 jeff@gridfini: d:=c^2; c1ddb4c814 2021-03-01 jeff@gridfini: % derivative c1ddb4c814 2021-03-01 jeff@gridfini: df(d, x); c1ddb4c814 2021-03-01 jeff@gridfini: % manual derivative c1ddb4c814 2021-03-01 jeff@gridfini: 2*(a+b)*(df(a,x)+df(b,x)); c1ddb4c814 2021-03-01 jeff@gridfini: end;