Skip to content

Latest commit

 

History

History
68 lines (57 loc) · 1.58 KB

README.md

File metadata and controls

68 lines (57 loc) · 1.58 KB

Bunny

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.

alt tag

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:

  1. Bunnies;
  2. Identities (of size 5 initially);
  3. Relation between bunnies and identities: a bunny is in relation with an identity if the identity holds in the bunny.

Example of a bunny:

f2 0 1
0 0 1
1 0 1
f1
0 1
1 0
f1
0

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.