Sha256: caf534806e882027f30c189ec3a2cccf3cfd5e4ea429087074a3e473fbb6d15f

Contents?: true

Size: 233 Bytes

Versions: 116

Compression:

Stored size: 233 Bytes

Contents

diff(plus(A,B), X, plus(DA, DB))
   <= diff(A, X, DA) and diff(B, X, DB).

diff(times(A,B), X, plus(times(A, DB), times(DA, B)))
   <= diff(A, X, DA) and diff(B, X, DB).

equal(X, X).
diff(X, X, 1).
diff(Y, X, 0) <= not equal(Y, X).

Version data entries

116 entries across 114 versions & 9 rubygems

Version Path
rouge-0.5.3 lib/rouge/demos/prolog
rouge-0.5.2 lib/rouge/demos/prolog
rouge-0.5.1 lib/rouge/demos/prolog
rouge-0.5.0 lib/rouge/demos/prolog
rouge-0.4.0 lib/rouge/demos/prolog
rouge-0.3.10 lib/rouge/demos/prolog
rouge-0.3.9 lib/rouge/demos/prolog
rouge-0.3.8 lib/rouge/demos/prolog
rouge-0.3.7 lib/rouge/demos/prolog
rouge-0.3.6 lib/rouge/demos/prolog
rouge-0.3.5 lib/rouge/demos/prolog
rouge-0.3.4 lib/rouge/demos/prolog
rouge-0.3.3 lib/rouge/demos/prolog
rouge-0.3.2 lib/rouge/demos/prolog
rouge-0.3.1 lib/rouge/demos/prolog
rouge-0.3.0 lib/rouge/demos/prolog