Skip to content
/ lotrec Public

LoTREC is an automated theorem prover for modal and description logic. It allows students and researchers in logic to define well-known and new exotic logics with Kripke's semantics, and to check the properties of their formulas, i.e. their satisfiability or validity, as well as performing model checking.

Notifications You must be signed in to change notification settings

bilals/lotrec

Repository files navigation

LoTREC - Tableaux Theorem Prover

Java License Latest Release

LoTREC is an automated theorem prover for modal and description logics using the tableau method. It enables students and researchers to define custom logics with Kripke semantics and verify formula properties (satisfiability, validity) through interactive proof visualization.

LoTREC Main Interface

Features

  • 38 predefined logics including K, KT, S4, S5, and description logics
  • Visual tableau construction with interactive graph display
  • Custom logic definition via XML-based rule specification
  • Step-by-step debugging with breakpoints on rules
  • Model checking capabilities

Quick Start

1. Download & Run

Download the latest release, extract the ZIP, and run:

  • Windows: bin/LoTREC.bat
  • Linux/macOS: bin/LoTREC

Requires Java 8 or later. Get it from Eclipse Adoptium.

2. Choose a Logic

On startup, select a predefined logic like Modal logic K or open your own logic file.

Task Pane

3. Test a Formula

Enter a formula and click Build Premodels to see the tableau proof tree.

Documentation

Guide Description
Getting Started Installation and your first proof
User Guide Complete interface reference
Defining Logics Create custom logics with XML
Predefined Logics List of 38 built-in logics

For Developers

Clone the repository and build with Gradle:

git clone https://github.com/bilals/lotrec.git
cd lotrec
./gradlew build    # Build and test
./gradlew run      # Run the application

See CLAUDE.md for detailed build commands and architecture overview.

Memory Allocation

For extensive debugging sessions or large proofs, increase memory allocation.

Edit bin/LoTREC.bat (Windows) or bin/LoTREC (Linux/macOS):

DEFAULT_JVM_OPTS="-Xmx512M"   # 512MB (or -Xmx2048M for 2GB)

Contributing

We welcome contributions! Please:

  • Fork the repository
  • Create a feature branch
  • Submit a pull request

Report issues on GitHub Issues.

Links

License

LoTREC is released under the GPL-2.0 License.

About

LoTREC is an automated theorem prover for modal and description logic. It allows students and researchers in logic to define well-known and new exotic logics with Kripke's semantics, and to check the properties of their formulas, i.e. their satisfiability or validity, as well as performing model checking.

Resources

Stars

Watchers

Forks

Packages

No packages published