tseitin

command module
v0.0.0-...-9d0a38f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2015 License: MIT Imports: 5 Imported by: 0

README

tseitin

A tseitin encoder, and solve satisfactory problem.

Learning tseitin and yacc.

Installation

go get -d github.com/pocke/tseitin
cd $GOPATH/src/github.com/pocke/tseitin/
cd parser/
make
cd ../
go install

Usage

$ tseitin '(a&b&!c)|(!a&b&c)'
# => (!D|!a)&(D|a)&(!C|b)&(!C|D)&(!b|!D|C)&(!B|c)&(!B|C)&(!c|!C|B)&(!F|!c)&(F|c)&(!G|b)&(!G|a)&(!b|!a|G)&(!E|F)&(!E|G)&(!F|!G|E)&(!B|A)&(!E|A)&(!A|B|E)
#    true map[b:true a:true c:false]

Refs

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL