Skip to content
/ fol Public

Program to transform First order logic formulas into clause normal form

License

Notifications You must be signed in to change notification settings

lagenar/fol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencias:
 -- ocaml
 -- make

Compilación:

make

Para crear un ejecutable nativo:
make nc

Ejecutar:
./fol

Formato:
Variables comienzan con una letra mayúscula, funciones y predicados con minúscula.
El or lógico es "|"
El and es "&"
Implica es "=>"
Not es "~"

Ejemplos de fórmulas:

forall[X,Y](p(X,Y))
exists[Y](forall[X](P(X,Y) & ~Q(X,f(Y))))
~p(X) => e(Y)
exists[X](barber(X) & forall[Y]((~shaves(Y,Y) => shaves(X,Y)) & (shaves(X,Y) => ~shaves(Y,Y))))

About

Program to transform First order logic formulas into clause normal form

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages