├── .github └── workflows │ └── rust.yml ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── LICENSE ├── README.md ├── book ├── .gitignore ├── book.toml └── src │ ├── SUMMARY.md │ ├── background.md │ ├── background │ ├── chase.md │ ├── satisfiability.md │ └── termination.md │ ├── build.md │ ├── example.md │ ├── example │ ├── golden-head.md │ ├── hold-the-door.md │ └── valar-morghulis.md │ ├── intro.md │ ├── run.md │ ├── run │ ├── bounded.md │ └── scheduler.md │ ├── syntax.md │ └── syntax │ ├── grammar.md │ ├── precedence.md │ ├── syntax │ └── variations.md ├── razor-chase ├── Cargo.toml ├── benches │ └── perf_test.rs └── src │ ├── chase.rs │ ├── chase │ ├── bounder.rs │ ├── impl.rs │ ├── impl │ │ ├── basic.rs │ │ ├── batch.rs │ │ ├── collapse.rs │ │ ├── relational.rs │ │ └── relational │ │ │ ├── attribute.rs │ │ │ ├── constants.rs │ │ │ ├── evaluator.rs │ │ │ ├── expression.rs │ │ │ ├── model.rs │ │ │ ├── pre_processor.rs │ │ │ ├── rewrite.rs │ │ │ ├── sequent.rs │ │ │ └── symbol.rs │ ├── scheduler.rs │ └── strategy.rs │ ├── lib.rs │ ├── test_prelude.rs │ ├── trace.rs │ └── trace │ └── subscriber.rs ├── razor-fol ├── Cargo.toml ├── build.rs └── src │ ├── grammar.lalrpop │ ├── lib.rs │ ├── parser.rs │ ├── syntax.rs │ ├── syntax │ ├── formula.rs │ ├── formula │ │ ├── clause.rs │ │ ├── fof.rs │ │ └── qff.rs │ ├── macros.rs │ ├── signature.rs │ ├── symbol.rs │ ├── term.rs │ └── theory.rs │ ├── test_macros.rs │ ├── transform.rs │ └── transform │ ├── cnf.rs │ ├── dnf.rs │ ├── gnf.rs │ ├── linear.rs │ ├── nnf.rs │ ├── pnf.rs │ ├── range_restrict.rs │ ├── relational.rs │ ├── simplify.rs │ └── snf.rs ├── razor ├── Cargo.toml └── src │ ├── command.rs │ ├── constants.rs │ ├── main.rs │ ├── terminal.rs │ └── utils.rs └── theories ├── bounded ├── thy0.config ├── thy0.model ├── thy0.raz ├── thy1.config ├── thy1.model ├── thy1.raz ├── thy2.config ├── thy2.model ├── thy2.raz ├── thy3.config ├── thy3.model ├── thy3.raz ├── thy4.config ├── thy4.model ├── thy4.raz ├── thy5.config ├── thy5.model ├── thy5.raz ├── thy6.config ├── thy6.model ├── thy6.raz ├── thy7.config ├── thy7.model └── thy7.raz ├── core ├── thy0.model ├── thy0.raz ├── thy1.model ├── thy1.raz ├── thy10.model ├── thy10.raz ├── thy11.model ├── thy11.raz ├── thy12.model ├── thy12.raz ├── thy13.model ├── thy13.raz ├── thy14.model ├── thy14.raz ├── thy15.model ├── thy15.raz ├── thy16.model ├── thy16.raz ├── thy17.model ├── thy17.raz ├── thy18.model ├── thy18.raz ├── thy19.model ├── thy19.raz ├── thy2.model ├── thy2.raz ├── thy20.model ├── thy20.raz ├── thy21.model ├── thy21.raz ├── thy22.model ├── thy22.raz ├── thy23.model ├── thy23.raz ├── thy24.model ├── thy24.raz ├── thy25.model ├── thy25.raz ├── thy26.model ├── thy26.raz ├── thy27.model ├── thy27.raz ├── thy28.model ├── thy28.raz ├── thy29.model ├── thy29.raz ├── thy3.model ├── thy3.raz ├── thy30.model ├── thy30.raz ├── thy31.model ├── thy31.raz ├── thy32.model ├── thy32.raz ├── thy33.model ├── thy33.raz ├── thy35.model ├── thy35.raz ├── thy36.model ├── thy36.raz ├── thy37.model ├── thy37.raz ├── thy38.model ├── thy38.raz ├── thy39.model ├── thy39.raz ├── thy4.model ├── thy4.raz ├── thy40.model ├── thy40.raz ├── thy41.model ├── thy41.raz ├── thy42.model ├── thy42.raz ├── thy43.model ├── thy43.raz ├── thy44.model ├── thy44.raz ├── thy45.model ├── thy45.raz ├── thy46.model ├── thy46.raz ├── thy47.model ├── thy47.raz ├── thy5.model ├── thy5.raz ├── thy6.model ├── thy6.raz ├── thy7.model ├── thy7.raz ├── thy8.model ├── thy8.raz ├── thy9.model └── thy9.raz └── examples ├── golden-lion.raz ├── grandpa.raz ├── hodor-linear.raz ├── hodor-time-loop.raz ├── lannisters.raz ├── toy.raz └── valar-morghulis.raz /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM rust:1.37 2 | 3 | COPY . . 4 | 5 | RUN cargo test -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/README.md -------------------------------------------------------------------------------- /book/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /book/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/book.toml -------------------------------------------------------------------------------- /book/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/SUMMARY.md -------------------------------------------------------------------------------- /book/src/background.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/background.md -------------------------------------------------------------------------------- /book/src/background/chase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/background/chase.md -------------------------------------------------------------------------------- /book/src/background/satisfiability.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/background/satisfiability.md -------------------------------------------------------------------------------- /book/src/background/termination.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/background/termination.md -------------------------------------------------------------------------------- /book/src/build.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/build.md -------------------------------------------------------------------------------- /book/src/example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/example.md -------------------------------------------------------------------------------- /book/src/example/golden-head.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/example/golden-head.md -------------------------------------------------------------------------------- /book/src/example/hold-the-door.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/example/hold-the-door.md -------------------------------------------------------------------------------- /book/src/example/valar-morghulis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/example/valar-morghulis.md -------------------------------------------------------------------------------- /book/src/intro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/intro.md -------------------------------------------------------------------------------- /book/src/run.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/run.md -------------------------------------------------------------------------------- /book/src/run/bounded.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/run/bounded.md -------------------------------------------------------------------------------- /book/src/run/scheduler.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/run/scheduler.md -------------------------------------------------------------------------------- /book/src/syntax.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/syntax.md -------------------------------------------------------------------------------- /book/src/syntax/grammar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/syntax/grammar.md -------------------------------------------------------------------------------- /book/src/syntax/precedence.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/syntax/precedence.md -------------------------------------------------------------------------------- /book/src/syntax/syntax: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/syntax/syntax -------------------------------------------------------------------------------- /book/src/syntax/variations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/book/src/syntax/variations.md -------------------------------------------------------------------------------- /razor-chase/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/Cargo.toml -------------------------------------------------------------------------------- /razor-chase/benches/perf_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/benches/perf_test.rs -------------------------------------------------------------------------------- /razor-chase/src/chase.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/bounder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/bounder.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/basic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/basic.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/batch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/batch.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/collapse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/collapse.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/attribute.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/constants.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/evaluator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/evaluator.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/expression.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/expression.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/model.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/pre_processor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/pre_processor.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/rewrite.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/rewrite.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/sequent.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/sequent.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/impl/relational/symbol.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/impl/relational/symbol.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/scheduler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/scheduler.rs -------------------------------------------------------------------------------- /razor-chase/src/chase/strategy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/chase/strategy.rs -------------------------------------------------------------------------------- /razor-chase/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/lib.rs -------------------------------------------------------------------------------- /razor-chase/src/test_prelude.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/test_prelude.rs -------------------------------------------------------------------------------- /razor-chase/src/trace.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/trace.rs -------------------------------------------------------------------------------- /razor-chase/src/trace/subscriber.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-chase/src/trace/subscriber.rs -------------------------------------------------------------------------------- /razor-fol/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/Cargo.toml -------------------------------------------------------------------------------- /razor-fol/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/build.rs -------------------------------------------------------------------------------- /razor-fol/src/grammar.lalrpop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/grammar.lalrpop -------------------------------------------------------------------------------- /razor-fol/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/lib.rs -------------------------------------------------------------------------------- /razor-fol/src/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/parser.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/formula.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/formula.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/formula/clause.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/formula/clause.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/formula/fof.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/formula/fof.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/formula/qff.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/formula/qff.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/macros.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/signature.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/signature.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/symbol.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/symbol.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/term.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/term.rs -------------------------------------------------------------------------------- /razor-fol/src/syntax/theory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/syntax/theory.rs -------------------------------------------------------------------------------- /razor-fol/src/test_macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/test_macros.rs -------------------------------------------------------------------------------- /razor-fol/src/transform.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/cnf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/cnf.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/dnf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/dnf.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/gnf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/gnf.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/linear.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/linear.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/nnf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/nnf.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/pnf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/pnf.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/range_restrict.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/range_restrict.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/relational.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/relational.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/simplify.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/simplify.rs -------------------------------------------------------------------------------- /razor-fol/src/transform/snf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor-fol/src/transform/snf.rs -------------------------------------------------------------------------------- /razor/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor/Cargo.toml -------------------------------------------------------------------------------- /razor/src/command.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor/src/command.rs -------------------------------------------------------------------------------- /razor/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor/src/constants.rs -------------------------------------------------------------------------------- /razor/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor/src/main.rs -------------------------------------------------------------------------------- /razor/src/terminal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor/src/terminal.rs -------------------------------------------------------------------------------- /razor/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/razor/src/utils.rs -------------------------------------------------------------------------------- /theories/bounded/thy0.config: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /theories/bounded/thy0.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy0.model -------------------------------------------------------------------------------- /theories/bounded/thy0.raz: -------------------------------------------------------------------------------- 1 | P('a); 2 | P(x) implies P(f(x)); -------------------------------------------------------------------------------- /theories/bounded/thy1.config: -------------------------------------------------------------------------------- 1 | 20 -------------------------------------------------------------------------------- /theories/bounded/thy1.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy1.model -------------------------------------------------------------------------------- /theories/bounded/thy1.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy1.raz -------------------------------------------------------------------------------- /theories/bounded/thy2.config: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /theories/bounded/thy2.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy2.model -------------------------------------------------------------------------------- /theories/bounded/thy2.raz: -------------------------------------------------------------------------------- 1 | P('a); 2 | P(f(x)); -------------------------------------------------------------------------------- /theories/bounded/thy3.config: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /theories/bounded/thy3.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy3.model -------------------------------------------------------------------------------- /theories/bounded/thy3.raz: -------------------------------------------------------------------------------- 1 | ?x . P(x) & Q(x); -------------------------------------------------------------------------------- /theories/bounded/thy4.config: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /theories/bounded/thy4.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy4.model -------------------------------------------------------------------------------- /theories/bounded/thy4.raz: -------------------------------------------------------------------------------- 1 | P('a); 2 | P(x) -> exists y. P(y) | Q(x); -------------------------------------------------------------------------------- /theories/bounded/thy5.config: -------------------------------------------------------------------------------- 1 | 10 -------------------------------------------------------------------------------- /theories/bounded/thy5.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy5.model -------------------------------------------------------------------------------- /theories/bounded/thy5.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy5.raz -------------------------------------------------------------------------------- /theories/bounded/thy6.config: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /theories/bounded/thy6.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy6.model -------------------------------------------------------------------------------- /theories/bounded/thy6.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy6.raz -------------------------------------------------------------------------------- /theories/bounded/thy7.config: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /theories/bounded/thy7.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/bounded/thy7.model -------------------------------------------------------------------------------- /theories/bounded/thy7.raz: -------------------------------------------------------------------------------- 1 | P('a); 2 | P(x) implies exists y . P(y); -------------------------------------------------------------------------------- /theories/core/thy0.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy0.model -------------------------------------------------------------------------------- /theories/core/thy0.raz: -------------------------------------------------------------------------------- 1 | P('a); -------------------------------------------------------------------------------- /theories/core/thy1.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy1.model -------------------------------------------------------------------------------- /theories/core/thy1.raz: -------------------------------------------------------------------------------- 1 | P('a); 2 | P('b); -------------------------------------------------------------------------------- /theories/core/thy10.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy10.model -------------------------------------------------------------------------------- /theories/core/thy10.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy10.raz -------------------------------------------------------------------------------- /theories/core/thy11.model: -------------------------------------------------------------------------------- 1 | Domain: {} 2 | Facts: 3 | -------------------------------------------------------------------------------- /theories/core/thy11.raz: -------------------------------------------------------------------------------- 1 | true implies true; -------------------------------------------------------------------------------- /theories/core/thy12.model: -------------------------------------------------------------------------------- 1 | Domain: {} 2 | Facts: 3 | -------------------------------------------------------------------------------- /theories/core/thy12.raz: -------------------------------------------------------------------------------- 1 | P(x) implies Q(x); -------------------------------------------------------------------------------- /theories/core/thy13.model: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theories/core/thy13.raz: -------------------------------------------------------------------------------- 1 | true implies false; -------------------------------------------------------------------------------- /theories/core/thy14.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy14.model -------------------------------------------------------------------------------- /theories/core/thy14.raz: -------------------------------------------------------------------------------- 1 | P('a) or Q('b); 2 | P(x) implies false; -------------------------------------------------------------------------------- /theories/core/thy15.model: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theories/core/thy15.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy15.raz -------------------------------------------------------------------------------- /theories/core/thy16.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy16.model -------------------------------------------------------------------------------- /theories/core/thy16.raz: -------------------------------------------------------------------------------- 1 | P('c, 'c); 2 | P(x, x) implies Q(x); -------------------------------------------------------------------------------- /theories/core/thy17.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy17.model -------------------------------------------------------------------------------- /theories/core/thy17.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy17.raz -------------------------------------------------------------------------------- /theories/core/thy18.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy18.model -------------------------------------------------------------------------------- /theories/core/thy18.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy18.raz -------------------------------------------------------------------------------- /theories/core/thy19.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy19.model -------------------------------------------------------------------------------- /theories/core/thy19.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy19.raz -------------------------------------------------------------------------------- /theories/core/thy2.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy2.model -------------------------------------------------------------------------------- /theories/core/thy2.raz: -------------------------------------------------------------------------------- 1 | P('a); 2 | P(x) implies Q(x); -------------------------------------------------------------------------------- /theories/core/thy20.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy20.model -------------------------------------------------------------------------------- /theories/core/thy20.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy20.raz -------------------------------------------------------------------------------- /theories/core/thy21.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy21.model -------------------------------------------------------------------------------- /theories/core/thy21.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy21.raz -------------------------------------------------------------------------------- /theories/core/thy22.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy22.model -------------------------------------------------------------------------------- /theories/core/thy22.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy22.raz -------------------------------------------------------------------------------- /theories/core/thy23.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy23.model -------------------------------------------------------------------------------- /theories/core/thy23.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy23.raz -------------------------------------------------------------------------------- /theories/core/thy24.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy24.model -------------------------------------------------------------------------------- /theories/core/thy24.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy24.raz -------------------------------------------------------------------------------- /theories/core/thy25.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy25.model -------------------------------------------------------------------------------- /theories/core/thy25.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy25.raz -------------------------------------------------------------------------------- /theories/core/thy26.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy26.model -------------------------------------------------------------------------------- /theories/core/thy26.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy26.raz -------------------------------------------------------------------------------- /theories/core/thy27.model: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theories/core/thy27.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy27.raz -------------------------------------------------------------------------------- /theories/core/thy28.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy28.model -------------------------------------------------------------------------------- /theories/core/thy28.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy28.raz -------------------------------------------------------------------------------- /theories/core/thy29.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy29.model -------------------------------------------------------------------------------- /theories/core/thy29.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy29.raz -------------------------------------------------------------------------------- /theories/core/thy3.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy3.model -------------------------------------------------------------------------------- /theories/core/thy3.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy3.raz -------------------------------------------------------------------------------- /theories/core/thy30.model: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theories/core/thy30.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy30.raz -------------------------------------------------------------------------------- /theories/core/thy31.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy31.model -------------------------------------------------------------------------------- /theories/core/thy31.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy31.raz -------------------------------------------------------------------------------- /theories/core/thy32.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy32.model -------------------------------------------------------------------------------- /theories/core/thy32.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy32.raz -------------------------------------------------------------------------------- /theories/core/thy33.model: -------------------------------------------------------------------------------- 1 | Domain: {} 2 | Facts: 3 | -------------------------------------------------------------------------------- /theories/core/thy33.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy33.raz -------------------------------------------------------------------------------- /theories/core/thy35.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy35.model -------------------------------------------------------------------------------- /theories/core/thy35.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy35.raz -------------------------------------------------------------------------------- /theories/core/thy36.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy36.model -------------------------------------------------------------------------------- /theories/core/thy36.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy36.raz -------------------------------------------------------------------------------- /theories/core/thy37.model: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theories/core/thy37.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy37.raz -------------------------------------------------------------------------------- /theories/core/thy38.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy38.model -------------------------------------------------------------------------------- /theories/core/thy38.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy38.raz -------------------------------------------------------------------------------- /theories/core/thy39.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy39.model -------------------------------------------------------------------------------- /theories/core/thy39.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy39.raz -------------------------------------------------------------------------------- /theories/core/thy4.model: -------------------------------------------------------------------------------- 1 | Domain: {e#0} 2 | Facts: 3 | 'a, 'b -> e#0 -------------------------------------------------------------------------------- /theories/core/thy4.raz: -------------------------------------------------------------------------------- 1 | 'a = 'b; -------------------------------------------------------------------------------- /theories/core/thy40.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy40.model -------------------------------------------------------------------------------- /theories/core/thy40.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy40.raz -------------------------------------------------------------------------------- /theories/core/thy41.model: -------------------------------------------------------------------------------- 1 | Domain: {} 2 | Facts: 3 | -------------------------------------------------------------------------------- /theories/core/thy41.raz: -------------------------------------------------------------------------------- 1 | // This produces an empty model (no formulae) -------------------------------------------------------------------------------- /theories/core/thy42.model: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theories/core/thy42.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy42.raz -------------------------------------------------------------------------------- /theories/core/thy43.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy43.model -------------------------------------------------------------------------------- /theories/core/thy43.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy43.raz -------------------------------------------------------------------------------- /theories/core/thy44.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy44.model -------------------------------------------------------------------------------- /theories/core/thy44.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy44.raz -------------------------------------------------------------------------------- /theories/core/thy45.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy45.model -------------------------------------------------------------------------------- /theories/core/thy45.raz: -------------------------------------------------------------------------------- 1 | P('a); 2 | Q('b); 3 | P(x) & Q(y) -> x = y | R(x, y); -------------------------------------------------------------------------------- /theories/core/thy46.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy46.model -------------------------------------------------------------------------------- /theories/core/thy46.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy46.raz -------------------------------------------------------------------------------- /theories/core/thy47.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy47.model -------------------------------------------------------------------------------- /theories/core/thy47.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy47.raz -------------------------------------------------------------------------------- /theories/core/thy5.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy5.model -------------------------------------------------------------------------------- /theories/core/thy5.raz: -------------------------------------------------------------------------------- 1 | true implies P('a, 'b); -------------------------------------------------------------------------------- /theories/core/thy6.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy6.model -------------------------------------------------------------------------------- /theories/core/thy6.raz: -------------------------------------------------------------------------------- 1 | P(f('a)); -------------------------------------------------------------------------------- /theories/core/thy7.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy7.model -------------------------------------------------------------------------------- /theories/core/thy7.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy7.raz -------------------------------------------------------------------------------- /theories/core/thy8.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy8.model -------------------------------------------------------------------------------- /theories/core/thy8.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy8.raz -------------------------------------------------------------------------------- /theories/core/thy9.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/core/thy9.model -------------------------------------------------------------------------------- /theories/core/thy9.raz: -------------------------------------------------------------------------------- 1 | P('a); 2 | Q('b); 3 | P(x) and Q(y) implies x = y; -------------------------------------------------------------------------------- /theories/examples/golden-lion.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/examples/golden-lion.raz -------------------------------------------------------------------------------- /theories/examples/grandpa.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/examples/grandpa.raz -------------------------------------------------------------------------------- /theories/examples/hodor-linear.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/examples/hodor-linear.raz -------------------------------------------------------------------------------- /theories/examples/hodor-time-loop.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/examples/hodor-time-loop.raz -------------------------------------------------------------------------------- /theories/examples/lannisters.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/examples/lannisters.raz -------------------------------------------------------------------------------- /theories/examples/toy.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/examples/toy.raz -------------------------------------------------------------------------------- /theories/examples/valar-morghulis.raz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salmans/rusty-razor/HEAD/theories/examples/valar-morghulis.raz --------------------------------------------------------------------------------