Logik und Logische Programmierung Einführung
Logik und Logische Programmierung Einführung
Logik und Logische Programmierung Einführung
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Operational Reading of Logic!∀F,G,U,V. dx(F+G, U+V) ← dx(F,U) ∧ dx(G,V)!Logical meaning:!“If U is the derivative of F and V the derivative of Gthen U+V is the derivative of F+G”!Operational reading:!“To calculate the derivative of F+G one should firstcalculate the derivatives of F and G and composethe results”!Simple (incomplete) translation to C:!void dx(in,out) { match(in,’+’,f,g);dx(f,u); dx(g,v); construct(out,’+’,u,v); }!