lolli-core

Crates.iololli-core
lib.rslolli-core
version0.2.0
created_at2025-12-04 04:34:05.16001+00
updated_at2025-12-05 04:02:08.42455+00
descriptionCore data structures for the Lolli linear logic workbench
homepagehttps://github.com/ibrahimcesar/lolli
repositoryhttps://github.com/ibrahimcesar/lolli
max_upload_size
id1965846
size36,901
Ibrahim Cesar (ibrahimcesar)

documentation

README

lolli-core

Core data structures for the Lolli linear logic workbench.

This crate provides the fundamental types for working with linear logic:

  • Formula - Linear logic formula representation (⊗, ⅋, ⊸, &, ⊕, !, ?, etc.)
  • Sequent - Sequent representation for proof search
  • Proof - Proof tree data structures
  • Term - Lambda terms extracted from proofs

Usage

use lolli_core::{Formula, Sequent};

// Create a linear implication: A ⊸ B
let formula = Formula::Lolli(
    Box::new(Formula::Atom("A".into())),
    Box::new(Formula::Atom("B".into())),
);

println!("{}", formula.pretty()); // (A ⊸ B)

Part of Lolli

This is part of the Lolli linear logic workbench - a toolkit for parsing, proving, extracting, and compiling linear logic formulas to Rust.

License

MIT

Commit count: 0

cargo fmt