Skip to content
/ WAM Public

Let's write an automated theorem prover! A series of increasingly sophisticated automated theorem provers realized as Prolog-like language implementations using Warren's Abstract Machine.

License

Notifications You must be signed in to change notification settings

rljacobson/WAM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let’s write an automated theorem prover!

This is meant to be a series of articles about implementing an automated theorem prover. The theorem prover is realized by implementing a Prolog-like language in Rust using Warren’s Abstract Machine. The M_n branches are for different versions of the virtual machine of increasing complexity in n. The docs branch is where I write the articles linked below. I merge docs back into master on a periodic basis.

  1. Introduction
  2. Supporting infrastructure: parsing and flattening terms
  3. Machine $M_0$
  4. Machine $M_1$
  5. Machine $M_2$

If you would like to work along with me, I encourage you to use whichever programming language you are most familiar with. I chose to use Rust because I knew I would learn a lot about the Rust language this way.

Issues and pull requests are welcome, whether to report or fix errors or to suggest general improvements. There is always a better way to teach or do something!

Sincerely,

Robert Jacobson

Text License

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Software License

This software is released under the MIT license:

Copyright 2020 Robert Jacobson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Let's write an automated theorem prover! A series of increasingly sophisticated automated theorem provers realized as Prolog-like language implementations using Warren's Abstract Machine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages