GithubHelp home page GithubHelp logo

anf2cnf-converter's Introduction

Algebraic Normal Form to Conjunctive Normal Form Converter

VERSION
0.1 (alpha)

LICENSE
This program is free software; see LICENSE for more details.

FUNCTIONALITY
Converts a multivariate polynomial system over F_2 into a logical formula in
conjunctive normal form (CNF). 

FEATURES
* Different output formats: 
  - DIMACS
  - XOR-DIMACS (for cryptominisat), please see http://www.msoos.org/xor-clauses
* Variety of term substitution strategies, for more details please see: 
http://www.degruyter.com/view/j/gcc.2010.2.issue-2/gcc.2010.016/gcc.2010.016.xml
On request a copy of the above paper can be sent to the interested reader.

REQUIREMENTS
* Python 3

USAGE
./anf2cnf.py CNF [3-6] [SS,LPS,DPS,QPS] [SS,CPS] source target
./anf2cnf.py XOR [SS,LPS,DPS,QPS] [SS,CPS] source target

DATAFORMAT (INPUT)
The first line of the input file must contain the configuration of the
indeterminates used by the polynomial system. Multi-indices are supported.
Notation: 
* VAR1[(0|1)..N];VAR2[(0|1)..M,(0|1)..K]
* VAR1,VAR2 alphabetic characters (lower and upper case)
* N,M,K natural numbers 
So for example k[1..3];X[0..1,1..2];y[1..2,0..1] expands to the 12 indeterminates
k[1],k[2],k[3],X[0,1],X[0,1],X[0,2],X[1,1],X[1,2],y[1,0],y[1,1],y[2,0],y[2,1].

EXAMPLES
Coming soon.

CONTACT
For any questions you can contact Philipp Jovanovic via <p dot jo at gmx dot net>  

anf2cnf-converter's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.