| Crates.io | lolli-core |
| lib.rs | lolli-core |
| version | 0.2.0 |
| created_at | 2025-12-04 04:34:05.16001+00 |
| updated_at | 2025-12-05 04:02:08.42455+00 |
| description | Core data structures for the Lolli linear logic workbench |
| homepage | https://github.com/ibrahimcesar/lolli |
| repository | https://github.com/ibrahimcesar/lolli |
| max_upload_size | |
| id | 1965846 |
| size | 36,901 |
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 searchProof - Proof tree data structuresTerm - Lambda terms extracted from proofsuse 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)
This is part of the Lolli linear logic workbench - a toolkit for parsing, proving, extracting, and compiling linear logic formulas to Rust.
MIT