Here you can find the code I used for the exploration of implicative theory of algebraic identities. The implicative theory is the set of all implications that hold in a given data domain. Here the data domain is the algebraic indentities.
Project holds the code for the attribute explorations of algebras of type (2, 1, 0) - Binary, Unary, Nulary operations, that's why they are called BUNnies. The data consists of three parts:
- Bunnies;
- Identities (of size 5 initially);
- Relation between bunnies and identities: a bunny is in relation with an identity if the identity holds in the bunny.
Example of a bunny:
|
|
|
Example of identity:
- -x = a*(-x), where x - variable, a = f0: nulary operation or constant, -x = f1(x): unary operation, x*y = f2(x,y): binary operation, brackets define the order.
The language for building identities is described in more details in the corresponding module term_parser.py, which holds the parser.
=== The polar fox is sweet, but dangerous for bunnies.