Subject: Grothendieck-Group Rewriting in Dogelog Player (Re: ã-WAM Assembly: Jump and Link for Tseytin Transform)
Hi,
Since Prologers have their head full of DCG and
difference lists, using pairs to measure the Earth?s
circumference. They might also like the idea to use
difference pairs in rewriting. We attack the
commutative semiring N[x] where additive inverse
is missing, Grothendieck-Groups come handy.
The backtracking of Prolog is perfect to search
rewrite locations. Following Alexander Grothendieck
before category theory, a master in generalizing,
we apply rewriting on equations f = g and not only
individual terms f and g. The Lawvere example of
x? = x from x = xý + 1 runs in less than 1 ms.
Bye
See also:
Grothendieck-Group Rewriting in Dogelog Player
https://medium.com/2989/51cccc82e3de
Mild Shock schrieb:
Hi,
We can report some progress in the ã-WAM
compilation using the recently introduced assembly
with labels. While we already showed disjunction
(;)/2 without resorting into TRY_ME_ELSE,
RETRY_ME_ELSE or TRUST_ME. In this take we show how
to do if-then-else (->)/2 .
To aid in the compilation of (->)/2 we use the
front Dogelog VM transform that introduces
?$MARK?/1 and ?$CUT?/1. While SWI-Prologs light
weight choice points store a link address, we
need also to do the same to call the fresh
Tseytin proposition. But we do so with
Jump and Link from RISC.
Bye
See also:
ã-WAM Assembly: Jump and Link for Tseytin Transformation https://medium.com/2989/d81abe7cceb7
--- PyGate Linux v1.5.19
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)