arXiv:2610.27196cs.LOOct 2026

Manuscript Offprint

arXiv:2610.27196

Natural Deduction Derivations as Directed Acyclic Proof Graphs

Jonathan Chan, Aaron Stump

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

1 Introduction

In conventional natural deduction, a proof of a proposition is a derivation tree constructed out of inference rules with some number of premises and a conclusion judgement. For instance, the following are the usual rules for conjunctions and disjunctions.

Γ⊢AΓ⊢BΓ⊢A∧B∧iΓ⊢A1∧A2Γ⊢Ak∧ek\frac{\Gamma\vdash A\qquad\Gamma\vdash B}{\Gamma\vdash A\land B}\land i\qquad\qquad\frac{\Gamma\vdash A_{1}\land A_{2}}{\Gamma\vdash A_{k}}\land e_{k} Γ⊢AkΓ⊢A1∨A2∨ikΓ⊢A∨BΓ,A⊢CΓ,B⊢CΓ⊢C∨e\frac{\Gamma\vdash A_{k}}{\Gamma\vdash A_{1}\vee A_{2}}\vee i_{k}\qquad\qquad\frac{\Gamma\vdash A\vee B\qquad\Gamma,A\vdash C\qquad\Gamma,B\vdash C}{\Gamma\vdash C}\vee e

In contrast to the other rules, the disjunction elimination rule has an asymmetry to it because it involves some formula CC unrelated to either of the subformulae involved in the disjunction. Aside from its aesthetics, involvement of a tertiary propositional also complicates proof simplification. Consider taking the first conjunct resulting from a disjunction elimination.

⊢C∨DC⊢A∧BD⊢A∧B⊢A∧B⊢B∧e1∨e\frac{\vdash C\vee D\qquad C\vdash A\wedge B\qquad D\vdash A\wedge B}{\frac{\vdash A\wedge B}{\vdash B}\wedge e_{1}}\vee e

From a computational point of view, this is taking the first projection of a pair of AA and BB returned by a conditional expression branching on CC or DD. Therefore, it ought to be morally equivalent to take the projections in each of the branches instead.

C∨DC⊢A∧BC⊢B∧e1D⊢A∧BD⊢B∧e1⊢B∨e\frac{C\vee D\qquad\frac{C\vdash A\wedge B}{C\vdash B}\wedge e_{1}\qquad\frac{D\vdash A\wedge B}{D\vdash B}\wedge e_{1}}{\vdash B}\vee e

Doing this commuting conversion and pushing the projection into the branches is desirable, since it could lead to further proof simplification if the branches were to be conjunction literals. In terms of the simply typed lambda calculus, such a commutation corresponds to the following syntactic transformation:

(casecdofinlc⇒f∣inrd⇒g)a\left(case cd of inl c\Rightarrow f\mid inr d\Rightarrow g\right)a case cd of inl c⇒(fa)∣inr d⇒(ga)\mathrm{case~}cd\mathrm{~of~inl~}c\Rightarrow(f a)\mid\mathrm{inr~}d\Rightarrow(g a)

Sadly, these two derivations aren’t β\beta-equivalent, and commuting conversions are typically treated as compiler passes rather than bona fide β\beta-reductions, since doing them naïvely may result in excessive code duplication and requires special handling.

To resolve the asymmetry of disjunction elimination, Girard (1989, Chapter 10.1) suggests a rule with multiple conclusions, but claims that “we have no way of bringing them back together”.

⊢A∨B⊢A⊢B∨e′\frac{\vdash A\vee B}{\vdash A\quad\vdash B}\vee e^{\prime}

In this project, we pursue his proposal using the key insight that proof derivations need not be trees, but may be directed acyclic graphs (DAGs) in general. Derivation rules are represented as nodes, premises as incoming edges, and conclusions as outgoing edges. Treating derivations as DAGs permits using the alternate rule by ensuring that the subderivations pointed at by each conclusion eventually join up at a new concluding node. Commuting conversions can then be formulated in terms of interactions with this join node, which also acts as a join point from a computational perspective.

The primary goal of this project is to design a proof graph language with reduction rules such that proof simplification retains its concluding judgements, i.e. type preservation. These reduction rules should also encompass the various possible commuting conversions.