--
You received this message because you are subscribed to the Google Groups "SWI-Prolog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swi-prolog+...@googlegroups.com.
Visit this group at https://groups.google.com/group/swi-prolog.
For more options, visit https://groups.google.com/d/optout.
Our Simplicity expression consists of 3 274 442 combinators.
However,
this counts the total number of nodes in the abstract syntax tree that
makes
up the expression. Several sub-expressions of this expression are duplicated
and can be shared. Imagine taking the abstract syntax tree and sharing
identical
sub-expressions to create a directed acyclic graph (DAG) representing
the
same expression. Counting this way, the same expression contains only 1 130
unique typed sub-expressions, which is the number of nodes that would
occur in the DAG representing the expression.