Skip to content

igorii/LogicProver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogicProver

A proposition validation system for verifying the validity of classical propositional statements.

Usage

The expected usage is as a command line executable that can take a proposition such as:

$ logic “p and ~p”
    Invalid:
        Contradiction: found both ‘p’ and ‘~p’

If used on a valid statement, the executable would respond with the valid cases. For example, take the transitivity of the conditional:

$ logic “((p -> q) and (q -> r)) -> (p -> r)”
    Valid

Underlying this system is a basic proof-tree mechanism. See analytic tableaux.

TODO

  • Improve output
    • current only valid/invalid, but required information for specific success/fail cases is available -- see Usage

About

A classical proposition validating system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published