Skip to main content

Crate lolli_core

Crate lolli_core 

Source
Expand description

§lolli-core

Core data structures for the Lolli linear logic workbench.

Linear logic is a resource-aware logic where hypotheses must be used exactly once. This crate provides the fundamental types for working with linear logic formulas, sequents, proofs, and extracted terms.

§Linear Logic Connectives

ConnectiveSymbolNameMeaning
TensorA ⊗ B“times”Both A and B (independently)
ParA ⅋ B“par”A or B (opponent chooses)
LolliA ⊸ B“lollipop”Consume A, produce B
WithA & B“with”Both available, choose one
PlusA ⊕ B“plus”One of them (I choose)
Of course!A“bang”Unlimited supply of A
Why not?A“whynot”Demand for A

Re-exports§

pub use formula::Formula;
pub use proof::Proof;
pub use proof::Rule;
pub use sequent::Sequent;
pub use sequent::TwoSidedSequent;
pub use term::Term;

Modules§

formula
Linear logic formula representation.
proof
Proof tree representation.
sequent
Sequent representation for linear logic.
term
Lambda term representation.