Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Install deduxit

The command deduxit is the package deduxit-cli. The shortest ways in:

  • download the package for your system from a release on GitHub, built for Linux, macOS and Windows (the sections below give the commands);
  • with Rust 1.92 or later, cargo install --locked deduxit-cli, from crates.io;
  • with Nix, nix run github:deduxit/deduxit -- --help, which runs it without installing.
systeminstallneeds
Debian, Ubuntuthe release's .debnothing
Fedorathe release's .rpmnothing
Arch Linuxthe release's packagenothing
any Linuxthe release's archive, one static binarynothing
NixOS, Nixthe flakeflakes enabled
macOSthe release's archivenothing
Windowsthe release's .zipnothing
any systemcargo install --locked deduxit-cliRust 1.92 or later

The files below are those of version 0.5.0; a later release names its own. For long searches on Linux, a build of your own is faster (Long searches).

Every release lists the SHA-256 sums of its files in SHA256SUMS. It also carries an attestation of where they were built, which the GitHub command checks: gh attestation verify FILE --repo deduxit/deduxit. The files of 0.2.0 and earlier were attested under the repository's former name, so for them it is gh attestation verify FILE --repo linlog-prover/linlog. The packages and binaries are not signed: each system's section says what that means there.

Debian and Ubuntu

curl -LO https://github.com/deduxit/deduxit/releases/download/v0.5.0/deduxit_0.5.0-1_amd64.deb
sudo apt install ./deduxit_0.5.0-1_amd64.deb
deduxit --version

arm64 instead of amd64 on an ARM machine. The package holds the binary, /usr/bin/deduxit, and the licences under /usr/share/doc/deduxit; it depends on nothing. To update, install the next release's .deb the same way; to remove, sudo apt remove deduxit.

Fedora

sudo dnf install https://github.com/deduxit/deduxit/releases/download/v0.5.0/deduxit-0.5.0-1.x86_64.rpm
deduxit --version

aarch64 instead of x86_64 on an ARM machine. The package is not signed, which dnf accepts for a package named on its command line. To update, install the next release's .rpm; to remove, sudo dnf remove deduxit.

Arch Linux

curl -LO https://github.com/deduxit/deduxit/releases/download/v0.5.0/deduxit-0.5.0-1-x86_64.pkg.tar.zst
sudo pacman -U ./deduxit-0.5.0-1-x86_64.pkg.tar.zst
deduxit --version

The package is for x86_64; on Arch Linux ARM, take the archive below. It is not signed. pacman checks the signatures of packages from its repositories, but asks nothing for a file named on its command line. To update, install the next release's package; to remove, sudo pacman -R deduxit.

Any Linux

The archive holds one statically linked binary, which runs on any distribution, with README and the licences:

curl -LO https://github.com/deduxit/deduxit/releases/download/v0.5.0/deduxit-0.5.0-x86_64-unknown-linux-musl.tar.gz
curl -LO https://github.com/deduxit/deduxit/releases/download/v0.5.0/SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMS
tar -xzf deduxit-0.5.0-x86_64-unknown-linux-musl.tar.gz
install -D deduxit-0.5.0-x86_64-unknown-linux-musl/deduxit ~/.local/bin/deduxit
deduxit --version

aarch64 instead of x86_64 on an ARM machine; ~/.local/bin is on the path of most distributions' shells. To update, do the same with the next release; to remove, rm ~/.local/bin/deduxit.

NixOS and Nix

The flake's default package is the command. Flakes are on with Determinate Systems' installer; with the official installer, add experimental-features = nix-command flakes to ~/.config/nix/nix.conf once.

nix run github:deduxit/deduxit -- --help                   # run it once, without installing
nix profile add github:deduxit/deduxit/v0.5.0#deduxit-cli   # install a release into your profile
nix profile remove deduxit-cli                                    # and to remove it

An entry added by a release's tag stays that release: to update, remove it and add the next release's tag. One added without a tag (github:deduxit/deduxit#deduxit-cli, the main branch, which may be ahead of the last release) follows it with nix profile upgrade deduxit-cli. The profile names an entry after the package installed, here deduxit-cli. On Nix before 2.30, nix profile add is nix profile install. The package carries the EUPL and the embedded fonts' licences under share/doc/deduxit-cli/.

In a flake of your own, a NixOS or Home Manager configuration say, take it as an input:

{
  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  inputs.deduxit.url = "github:deduxit/deduxit/v0.5.0";

  outputs = { nixpkgs, deduxit, ... }: {
    nixosConfigurations.HOST = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        ({ pkgs, ... }: {
          environment.systemPackages = [
            deduxit.packages.${pkgs.stdenv.hostPlatform.system}.default
          ];
        })
      ];
    };
  };
}

(home.packages takes it the same way.) To update, move the input's tag and rebuild; to remove, take it out of the list. Nix builds it from source on first use, which takes a few minutes. The binary cache that Development names holds the builds of main for x86_64-linux and saves that time once you trust it.

macOS

curl -LO https://github.com/deduxit/deduxit/releases/download/v0.5.0/deduxit-0.5.0-aarch64-apple-darwin.tar.gz
curl -LO https://github.com/deduxit/deduxit/releases/download/v0.5.0/SHA256SUMS
shasum -a 256 --check --ignore-missing SHA256SUMS
tar -xzf deduxit-0.5.0-aarch64-apple-darwin.tar.gz
mkdir -p ~/.local/bin
cp deduxit-0.5.0-aarch64-apple-darwin/deduxit ~/.local/bin/
~/.local/bin/deduxit --version

x86_64 instead of aarch64 on an Intel Mac; add ~/.local/bin to your shell's path (echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zprofile). The binary is not signed by an Apple developer. Fetched with curl as above it runs; fetched with a browser, macOS marks it and refuses to open it the first time ("cannot be opened because Apple cannot check it for malicious software"): remove the mark with xattr -d com.apple.quarantine ~/.local/bin/deduxit, or allow it once under System Settings, Privacy & Security, "Open Anyway". To update, do the same with the next release; to remove, rm ~/.local/bin/deduxit.

Windows

In PowerShell:

Invoke-WebRequest -OutFile deduxit.zip https://github.com/deduxit/deduxit/releases/download/v0.5.0/deduxit-0.5.0-x86_64-pc-windows-msvc.zip
(Get-FileHash deduxit.zip -Algorithm SHA256).Hash    # compare with the line of SHA256SUMS
Expand-Archive deduxit.zip -DestinationPath "$env:LOCALAPPDATA\Programs"
Rename-Item "$env:LOCALAPPDATA\Programs\deduxit-0.5.0-x86_64-pc-windows-msvc" deduxit
$bin = "$env:LOCALAPPDATA\Programs\deduxit"
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";$bin", "User")
& "$bin\deduxit.exe" --version

aarch64 instead of x86_64 on an ARM machine. A new terminal finds deduxit on its path. The program is not signed: if Windows shows "Windows protected your PC" when it first starts, choose More info, then Run anyway, or clear the download's mark beforehand with Unblock-File "$bin\deduxit.exe". To update, replace the folder with the next release's; to remove, delete it and its entry of the user's Path (Settings, System, About, Advanced system settings, Environment Variables).

Any system, with Rust

cargo install builds the command from crates.io:

cargo install --locked deduxit-cli
cargo install --locked deduxit-cli      # later: the newest release
cargo uninstall deduxit-cli             # and to remove it

It needs Rust 1.92 or later (a release raises that only with its second number, 0.2 to 0.3, and never to a Rust less than six months old) and a C compiler, which links the program. Not every distribution's own Rust reaches 1.92: Fedora's (sudo dnf install cargo gcc), Arch's (sudo pacman -S rust gcc), Ubuntu 26.04's (sudo apt install cargo build-essential) and Homebrew's (brew install rust) do; Debian 13's (1.85; 1.96 in trixie-backports) and Ubuntu 24.04's (1.75) do not. Elsewhere, install Rust with rustup, after the C compiler (sudo apt install build-essential on Debian and Ubuntu, xcode-select --install on macOS): on Linux and macOS

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

and on Windows rustup-init.exe from rustup.rs, which needs Microsoft's C++ build tools (Visual Studio's "Desktop development with C++", which rustup-init offers to install). rustup update keeps it current and rustup self uninstall removes it.

Long searches

The release's Linux files hold one binary linked statically against musl, so that it runs on every distribution. musl's C library is slower than glibc's at what a search does most. On two searches of about four seconds (cores of one machine, 2026-11-02), the static binary took 1.26 to 1.45 times as long as a build against glibc, on one thread and on four alike. For long searches on Linux, build the command on your machine with cargo install or Nix, which link against glibc. For everything else, the packages are the quicker way in.

The library

The library is the crate deduxit:

[dependencies]
deduxit = "0.5"

Its features:

featureon by defaultwhat it addsdependencies it brings
parseyesthe text syntaxes, the LLTP, TPTP and .spec readers, the generated familiesnone
serializeyesthe JSON forms, and the calculi given as rule filesserde
interactiveyesproving step by stepnone
latex, typst, svg, rocqyesthe exportsnone
satyesthe SAT solver that decides ordinary logic by defaultbatsat
protocolyeswhat each suite offers, run over JSON, and the workspace; needs parse, serialize and interactiveserde_json
parallelnothe search on a thread pool, not for WebAssemblyrayon
png, pdfnothe SVG drawings rendered as PNG and PDFresvg with png or with krilla and krilla-svg

The documentation's examples read and write JSON with serde_json, which you add yourself. Use the library shows how to call it.

The Rocq library

The Rocq certificates the command writes (--format rocq) are checked by the NanoYalla kernel or by deduxit's own Rocq library, rocq-deduxit, in its repository deduxit/rocq-deduxit. Check a certificate in Rocq says how to install each and check a certificate.