├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── LICENSE-Apache-2.0 ├── README.md ├── askama.toml ├── docs ├── manual.ja.md ├── proof-example.png └── refutation-example.png ├── src ├── debruijn.rs ├── ipc │ ├── icnf.rs │ ├── icnf_decomp.rs │ ├── icnf_refutation.rs │ ├── icnf_solver.rs │ ├── mod.rs │ ├── refutation.rs │ ├── snapshots │ │ ├── logic_solver__ipc__icnf_refutation__tests__register1-2.snap │ │ └── logic_solver__ipc__icnf_refutation__tests__register1.snap │ └── solver.rs ├── kripke.rs ├── latex │ ├── branch_transformation.rs │ ├── kripke.rs │ ├── mod.rs │ ├── nj.rs │ ├── prop.rs │ └── split.rs ├── main.rs ├── naming │ ├── kripke.rs │ ├── mod.rs │ ├── nj.rs │ └── prop.rs ├── nj.rs ├── parsing │ ├── ast.rs │ ├── error.rs │ ├── mod.rs │ ├── parser.rs │ ├── pos.rs │ └── tokenizer.rs ├── prop.rs ├── result.rs ├── rollback.rs ├── rpc.rs ├── tests.rs └── visible_proof.rs ├── templates ├── base.tex ├── error.tex └── success.tex └── tests ├── latex.rs └── snapshots ├── latex__latex1.snap ├── latex__latex10.snap ├── latex__latex11.snap ├── latex__latex12.snap ├── latex__latex13.snap ├── latex__latex14.snap ├── latex__latex15.snap ├── latex__latex16.snap ├── latex__latex2.snap ├── latex__latex3.snap ├── latex__latex4.snap ├── latex__latex5.snap ├── latex__latex6.snap ├── latex__latex7.snap ├── latex__latex8.snap └── latex__latex9.snap /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE-Apache-2.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/LICENSE-Apache-2.0 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/README.md -------------------------------------------------------------------------------- /askama.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/askama.toml -------------------------------------------------------------------------------- /docs/manual.ja.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/docs/manual.ja.md -------------------------------------------------------------------------------- /docs/proof-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/docs/proof-example.png -------------------------------------------------------------------------------- /docs/refutation-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/docs/refutation-example.png -------------------------------------------------------------------------------- /src/debruijn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/debruijn.rs -------------------------------------------------------------------------------- /src/ipc/icnf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/icnf.rs -------------------------------------------------------------------------------- /src/ipc/icnf_decomp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/icnf_decomp.rs -------------------------------------------------------------------------------- /src/ipc/icnf_refutation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/icnf_refutation.rs -------------------------------------------------------------------------------- /src/ipc/icnf_solver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/icnf_solver.rs -------------------------------------------------------------------------------- /src/ipc/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/mod.rs -------------------------------------------------------------------------------- /src/ipc/refutation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/refutation.rs -------------------------------------------------------------------------------- /src/ipc/snapshots/logic_solver__ipc__icnf_refutation__tests__register1-2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/snapshots/logic_solver__ipc__icnf_refutation__tests__register1-2.snap -------------------------------------------------------------------------------- /src/ipc/snapshots/logic_solver__ipc__icnf_refutation__tests__register1.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/snapshots/logic_solver__ipc__icnf_refutation__tests__register1.snap -------------------------------------------------------------------------------- /src/ipc/solver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/ipc/solver.rs -------------------------------------------------------------------------------- /src/kripke.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/kripke.rs -------------------------------------------------------------------------------- /src/latex/branch_transformation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/latex/branch_transformation.rs -------------------------------------------------------------------------------- /src/latex/kripke.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/latex/kripke.rs -------------------------------------------------------------------------------- /src/latex/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/latex/mod.rs -------------------------------------------------------------------------------- /src/latex/nj.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/latex/nj.rs -------------------------------------------------------------------------------- /src/latex/prop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/latex/prop.rs -------------------------------------------------------------------------------- /src/latex/split.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/latex/split.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/naming/kripke.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/naming/kripke.rs -------------------------------------------------------------------------------- /src/naming/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/naming/mod.rs -------------------------------------------------------------------------------- /src/naming/nj.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/naming/nj.rs -------------------------------------------------------------------------------- /src/naming/prop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/naming/prop.rs -------------------------------------------------------------------------------- /src/nj.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/nj.rs -------------------------------------------------------------------------------- /src/parsing/ast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/parsing/ast.rs -------------------------------------------------------------------------------- /src/parsing/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/parsing/error.rs -------------------------------------------------------------------------------- /src/parsing/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/parsing/mod.rs -------------------------------------------------------------------------------- /src/parsing/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/parsing/parser.rs -------------------------------------------------------------------------------- /src/parsing/pos.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/parsing/pos.rs -------------------------------------------------------------------------------- /src/parsing/tokenizer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/parsing/tokenizer.rs -------------------------------------------------------------------------------- /src/prop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/prop.rs -------------------------------------------------------------------------------- /src/result.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/result.rs -------------------------------------------------------------------------------- /src/rollback.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/rollback.rs -------------------------------------------------------------------------------- /src/rpc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/rpc.rs -------------------------------------------------------------------------------- /src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/tests.rs -------------------------------------------------------------------------------- /src/visible_proof.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/src/visible_proof.rs -------------------------------------------------------------------------------- /templates/base.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/templates/base.tex -------------------------------------------------------------------------------- /templates/error.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/templates/error.tex -------------------------------------------------------------------------------- /templates/success.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/templates/success.tex -------------------------------------------------------------------------------- /tests/latex.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/latex.rs -------------------------------------------------------------------------------- /tests/snapshots/latex__latex1.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex1.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex10.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex10.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex11.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex11.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex12.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex12.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex13.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex13.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex14.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex14.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex15.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex15.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex16.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex16.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex2.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex3.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex3.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex4.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex4.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex5.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex5.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex6.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex6.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex7.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex7.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex8.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex8.snap -------------------------------------------------------------------------------- /tests/snapshots/latex__latex9.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qnighy/logic-solver-rs/HEAD/tests/snapshots/latex__latex9.snap --------------------------------------------------------------------------------