Formal Models of Biochemical Pathways vs. Gentzen-Style Sequent Calculus
How to use this vault
Start with the baseline Gentzen_Style_Calculus, then read the five model notes in order of decreasing similarity:
- Petri_Nets_and_Linear_Logic (High)
- Linear_Logic_and_Rewriting_Logic_Zsyntax (High)
- Rule_Based_Models_BioNetGen_and_Kappa (Medium)
- Process_Calculi_Pi_Calculus_BioPEPA_BIOCHAM (Medium)
- Boolean_Networks (Low)
Every model note uses the same running example, , and the same five-section template, so sections can be compared side by side.
Choosing a formalism? See 03_Synthesis_and_Tradeoffs: a decision guide based on pathway size, need for quantitative kinetics and handling of cyclic feedback loops.
Study guide: Biochemical_Rosetta_Stone writes one three-step signalling cascade (receptor binding → phosphorylation → transcription activation) side by side in all six formalisms, highlighting resource consumption vs. catalysis.
Executive Summary: How Proof Theory Bridges into Systems Biology
A biochemical pathway is a derivation: starting from available molecules, reactions are applied step by step until a target is produced. Gentzen’s sequent calculus (Gentzen_Style_Calculus) is the canonical mathematical theory of derivations. It gives three ideas that systematically illuminate pathway formalisms:
- Structural rules decide what a “resource” is. Classical logic allows weakening and contraction, so truths can be discarded or duplicated. Molecules cannot. Removing these rules gives linear logic (Girard, 1987), where literally means “consume one and one , produce one “. This single dividing line separates resource-sensitive formalisms (Petri nets, Zsyntax, BioNetGen, π-calculus) from resource-insensitive ones (Boolean networks, BIOCHAM’s Boolean semantics).
- Reachability is provability. For Petri nets this is a theorem: iff in the Horn fragment of linear logic. Rewriting logic generalises it to structured states, with deduction rules that are themselves a sequent calculus of change.
- Cut is pathway composition, and cut-elimination is analyticity. Cut composes a sub-pathway that produces an intermediate with one that consumes it. Cut-elimination promises analytic proof search (the subformula property). Simulation-based formalisms lose this guarantee and gain kinetics, scalability and dynamics in exchange.
The picture that emerges is a trade-off spectrum. Moving away from the sequent calculus, formalisms gain quantitative realism (rates, stochasticity, ODEs), scalability (network-free simulation, symbolic methods) and dynamics (attractors, oscillations). They lose explicit proof objects, compositional lemma reuse, analytic search and, in the Boolean case, conservation of mass.
Comparison Matrix
| Formalism | Mathematical Paradigm | Handling of Stoichiometry / Resources | Kinetics / Time | Combinatorial Complexity | Main Advantages | Main Drawbacks |
|---|---|---|---|---|---|---|
| Gentzen-style sequent calculus (baseline; LK/LJ, ILL) | Proof theory: sequents , inference rules, derivations | Controlled by structural rules. LK: none (weakening and contraction). ILL: exact, linear, multiset antecedents | None | Atoms per species; propositional LL is undecidable in full; Horn fragment ≡ Petri reachability | Cut-elimination, subformula property, explicit checkable proofs, compositional (cut) | No rates or time; naive search loops on reversible reactions; poor scalability; unfamiliar to biologists |
| linear logic | Bipartite graphs + linear algebra (incidence matrix); models of ILL | Exact: arc weights = stoichiometry; tokens consumed; P-invariants = conservation | Via extensions (stochastic, continuous, hybrid, timed PN) | Flat species → explosion for multi-site proteins; reachability Ackermann-complete | Exact LL correspondence; invariant analysis; graphical; mature tools | Inhibitor arcs break the LL reading; no internal species structure; implicit proof structure |
| rewriting logic (Zsyntax, Maude, Pathway Logic) | Logical theories: natural deduction (Zsyntax); rewrite theories with sequents | Exact (multisets modulo ACU; premises consumed); Zsyntax adds context-sensitive (non-monotonic) interactions | Qualitative core; quantitative via BIOCHAM, probabilistic / real-time Maude | Structured terms (compartments, modifications) reduce blow-up; ACU matching NP-hard in general | Deduction is the model; executable (Maude search, LTL); curated knowledge bases | Transitivity / cut not eliminable; state-space search; little kinetic support |
| Rule-based (BioNetGen, Kappa) | Graph rewriting on site graphs; CTMC semantics | Exact at agent level; rules consume and rewrite matched patterns; “don’t care, don’t write” context | First-class: SSA, ODE, network-free simulation | Best in class: few rules ↔ huge or infinite networks | Tames combinatorial explosion; causal stories; static analysis (KaSa) | No logical connectives or goals; reachability by simulation; no cut-elimination analogue |
| Process calculi (π, Bio-PEPA, BIOCHAM) | Concurrency theory: processes, communication, structural congruence; CTMC / ODE semantics | Consumed prefixes (π); explicit coefficients (Bio-PEPA); lost in BIOCHAM’s Boolean semantics | First-class: rates, CTMC, ODE, CSL / CTL model checking | Mobility and names model complexes; state-space explosion in CTMC analysis | Compositional models; multiple semantics; temporal-logic queries; proofs-as-processes link | Biochemical calculi are untyped, so the LL correspondence is heuristic; verification by model checking, not proof |
| Boolean networks | Classical propositional logic + discrete dynamical systems | None: activities, not amounts; contraction and weakening hold; depletion hand-coded with | Qualitative; stochastic or probabilistic extensions (MaBoSS, PBN) | states, but symbolic / SAT methods scale to hundreds of nodes | Parameter-free; attractors = phenotypes; feedback and inhibition natural | No mass conservation; update-scheme dependence; trivial proof content |
Correspondence Dictionary
How one biochemical notion appears in each formalism:
| Biochemical notion | Sequent calculus | Petri nets | Rewriting / Zsyntax | Kappa / BNGL | π / Bio-PEPA | Boolean networks |
|---|---|---|---|---|---|---|
| Species | Atom | Place | Constant / term; atom | Agent (with sites) | Process / species component | Variable |
| State | Antecedent multiset | Marking | ACU term / formula | Site-graph mixture | Parallel composition | Bit vector |
| Reaction | Proper axiom, rule or | Transition | Rewrite rule / EVF | Rule @ rate | Communication / shared action | Update function |
| Complex | Opaque atom | Opaque place | Atom or | Bonded graph E(s[1]),S(e[1]) | Private names | Variable |
| Catalyst | Consumed and re-produced | Self-loop / read arc | Appears on both sides | Agent restored in | Process recursion | Persisting |
| Composition | Cut | Sequence concatenation | Transitivity / chaining E | Rule sequencing (stories) | Function iteration | |
| Reachability | Provability | Reachability graph / state equation | search, model checking | Simulation, static analysis | CTMC, model checking | Attractor / STG reachability |
| Witness | Proof tree | Firing sequence | Proof term / trace | Causal story | Trace / probability | Trajectory |
Similarity Spectrum
graph LR G["Gentzen-style<br/>sequent calculus"] --- PN["Petri nets / LL<br/>(High)"] G --- RL["Rewriting logic / Zsyntax<br/>(High)"] PN --- RB["Kappa / BioNetGen<br/>(Medium)"] RL --- RB G --- PC["π-calculus / Bio-PEPA / BIOCHAM<br/>(Medium)"] PC --- BN["Boolean networks<br/>(Low)"] RL --- BN
Model Properties (static snapshot)
Static table
This table is a static snapshot of the YAML frontmatter of every note in
02_Formal_Models/(generated 2026-11-26), so it renders on the published website without the Dataview plugin. If you change a model note’s frontmatter, update this table in both00_Dashboard_and_Comparison.mdandindex.md.
| Model note | Model family | State space | Quantitative | Resource-sensitive | Gentzen similarity |
|---|---|---|---|---|---|
| Linear Logic and Rewriting Logic (Zsyntax) | Linear Logic / Rewriting Logic (Zsyntax, Maude, Pathway Logic) | Discrete | Partial | Yes | High |
| Petri Nets and Linear Logic | Petri Nets / Linear Logic | Discrete | Partial | Yes | High |
| Process Calculi (π-calculus, Bio-PEPA, BIOCHAM) | Process Calculi / Reaction Languages (Stochastic π-calculus, Bio-PEPA, BIOCHAM) | Hybrid | Yes | Yes | Medium |
| Rule-Based Models (BioNetGen, Kappa) | Rule-Based Models / Graph Rewriting (BioNetGen, Kappa) | Hybrid | Yes | Yes | Medium |
| Boolean Networks | Logical Models / Boolean Networks | Logical | Partial | No | Low |
Resource-sensitive formalisms only
- Linear Logic and Rewriting Logic (Zsyntax): Linear Logic / Rewriting Logic (Zsyntax, Maude, Pathway Logic)
- Petri Nets and Linear Logic: Petri Nets / Linear Logic
- Process Calculi (π-calculus, Bio-PEPA, BIOCHAM): Process Calculi / Reaction Languages (Stochastic π-calculus, Bio-PEPA, BIOCHAM)
- Rule-Based Models (BioNetGen, Kappa): Rule-Based Models / Graph Rewriting (BioNetGen, Kappa)
Grouped by Gentzen similarity
Formalisms with first-class kinetics
Key Cross-Cutting Themes
- Structural rules as the dividing line: 3. Structural Rules → contrast Petri_Nets_and_Linear_Logic with Boolean_Networks.
- Cut and composition: 4. Cut and Cut-Elimination → transitivity in Linear_Logic_and_Rewriting_Logic_Zsyntax, private channels in Process_Calculi_Pi_Calculus_BioPEPA_BIOCHAM.
- Combinatorial complexity: atoms (Gentzen_Style_Calculus), places (Petri_Nets_and_Linear_Logic), structured agents (Rule_Based_Models_BioNetGen_and_Kappa).
- Inhibition and non-monotonicity: inhibitor arcs (Petri_Nets_and_Linear_Logic), non-monotonic interactions (Linear_Logic_and_Rewriting_Logic_Zsyntax), negation (Boolean_Networks).
- Kinetics: absent in the baseline; first-class in Rule_Based_Models_BioNetGen_and_Kappa and Process_Calculi_Pi_Calculus_BioPEPA_BIOCHAM.
- Consumption vs. catalysis, side by side: Rosetta Stone summary table.
- When to choose which formalism: decision flowchart, suitability matrix and scenarios in 03_Synthesis_and_Tradeoffs (see Decision Flowchart and Suitability Matrix).
Open Research Directions
- A typed (session- or linearly-typed) biochemical π-calculus or Kappa, giving a genuine Curry–Howard reading of pathways.
- Quantitative sequent calculi (weighted or probabilistic linear logic) that would put rates inside proofs.
- Lambek-style non-commutative calculi for order-sensitive biology (polymers, ordered assembly); see 5.2 Lambek Calculus (Lambek, 1958).
- Proof-search with loop checking for reversible reaction systems, connecting backward search to Petri-net coverability.
Vault conventions and citation log: see CLAUDE.md in the vault root.