Formal logic proof verifier.
- Spaces to be possible in formulas.
- The tokenizer should return the tokens as strings only (not formula types). The next steps should recognize which strings are connectives and relations. This allows connectives and relations to be more than 1 character long.
- Documentation on how to use it, with examples.
- Docstring for functions, even to implementation functions.
- 100 % code coverage with tests.
- Update tests to make every rule's failing case to test
every way they can fail.
This means that every line in
Formula.eq_with_variable_mapandFormula.is_variable_inis hit for every failing case. - Use
elifs in rules, not just simpleifs withreturn. - Better error messages, with more information.
- Do not use exceptions, but return with the error.
This software is distributed under the GNU General Public License (GPL) version 3. You can find the full text of the license in the LICENSE file.