Lectures onType Theory
Chapter 43
Chapter 43Optional

Bunched Implications and Resource Semantics

Prerequisites. Direct starred prerequisites: none. No later core chapter depends on this route.

Suppose two separate groups of assumptions must establish the two parts of a resource-sensitive conjunction. Each group also contains an irrelevant assumption. A cartesian context permits discarding the irrelevant assumptions but forgets which group supplies which part. A linear context preserves the split but forbids discarding either assumption. The antecedent must therefore record both forms of grouping at once: cartesian structure within each group and a resource split between the groups.

One calculus of bunches

We use propositional intuitionistic BI without additive falsity.

Definition 43.1 — Formulas and bunches

Let p range over a fixed countable set of atoms. Formulas are A,B::=pIABABABABAB. Here is the additive truth constant and I is the multiplicative unit. A bunch is a finite binary tree generated by Γ,Δ::=AϵaϵmΓ;ΔΓ,Δ. The constructor Γ;Δ is additive. The constructor Γ,Δ is multiplicative. Their units are respectively ϵa and ϵm. A sequent has the form ΓA.

The two context constructors are not notational variants. The bunch (P;S),(Q;T) has additive subtrees below a multiplicative root. The bunch P;(Q,R) has a multiplicative subtree below an additive root. Both are legal, and neither is flattened.

Definition 43.2 — One-hole and many-hole bunch contexts

A one-hole bunch context is a bunch with one distinguished hole, generated by C[]::=[]C[];ΓΓ;C[]C[],ΓΓ,C[]. The replacement C[Δ] fills its unique hole with Δ. A finite many-hole context M[1,,n] is a bunch expression in which the leaves may include the n distinct numbered holes, each occurring exactly once. Write M[Δn] when every hole is filled by the same bunch Δ. For n=0, M[] is an ordinary bunch.

For example, let C[]:=([];S),(Q;T). Then C[P]=(P;S),(Q;T) and C[P;R]=((P;R);S),(Q;T). The hole lies inside an additive subtree, which itself lies inside a multiplicative bunch. This positional information will be the scope of weakening, contraction, and cut.

Definition 43.3 — Structural congruence

The structural congruence ΓΔ is the least congruence generated by the two separate commutative-monoid theories (Γ;Δ);ΘΓ;(Δ;Θ),Γ;ΔΔ;Γ,Γ;ϵaΓ,(Γ,Δ),ΘΓ,(Δ,Θ),Γ,ΔΔ,Γ,Γ,ϵmΓ. Congruence means that ΔΔ implies C[Δ]C[Δ]. Sequents are formed over congruence classes of antecedent bunches; hence ΓA and ΔA are the same sequent whenever ΓΔ.

No other equation is present. In particular, structural congruence does not contain distributivity, interchange, multiplicative weakening, multiplicative contraction, or ϵaϵm. The running bunch may be rearranged as (P;S),(Q;T)(S;P),(T;Q)(Q;T),(P;S), but not as (P,Q);(S,T).

Proposition 43.4 — Structural-congruence invariance

If ΓΔ, then ΓAΔA. Replacement respects congruence: if ΓΔ, then C[Γ]C[Δ].

Proof of Proposition 43.4 — Structural-congruence invariance

Proof. Antecedents are congruence classes by definition 43.3; the first statement is equality of sequents. The second is the congruence clause in the same definition. No logical or structural rule is required. ◻

Exercise 43.1

★☆☆ Decide which of the following equations hold by structural congruence. For each positive case, give a chain of generating equations. For each negative case, name the forbidden principle it would require. (a)(A;B),(C;D)(B;A),(D;C),(b)(A;B),(C;D)(A,C);(B,D),(c)A,(B,ϵm)B,A,(d)A;ϵmA,(e)C[(A;B);C]C[A;(C;B)].

The cut-free sequent rules

The rule system LBI0 below is the exact calculus used for the rest of the chapter. Identity is atomic; identity for compound formulas will be proved. Cut is not a primitive rule.

Definition 43.5 — The calculus LBI_0

The identity and structural rules are

pp
Id
C[Δ]A
C[Δ;Σ]A
W
C[Δ;Δ]A
C[Δ]A
C

The units are governed by

ϵa
Top-R
C[ϵa]A
C[]A
Top-L
ϵmI
I-R
C[ϵm]A
C[I]A
I-L

The additive connectives have rules

ΓAΔB
Γ;ΔAB
And-R
C[A;B]D
C[AB]D
And-L
ΓA
ΓAB
Or-R_1
ΓB
ΓAB
Or-R_2
C[A]DC[B]D
C[AB]D
Or-L
Γ;AB
ΓAB
Imp-R
ΔAC[B]D
C[Δ;(AB)]D
Imp-L

The multiplicative connectives have rules

ΓAΔB
Γ,ΔAB
Star-R
C[A,B]D
C[AB]D
Star-L
Γ,AB
ΓAB
Wand-R
ΔAC[B]D
C[Δ,(AB)]D
Wand-L

Every metavariable denotes a bunch or formula of definition 43.1. Every hole occurs once. No eigenvariable or freshness side condition is needed because the language is propositional. In Or-L, the same one-hole context C[] occurs in both premises. In W and C, the structural change is exactly the semicolon at the unique hole of C[].

The opening obstruction is now a derivation in LBI0. Its sequent is (P;S),(Q;T)PQ. The assumptions S and T may be discarded inside their additive groups, while the multiplicative root keeps the two groups separate. The two applications of additive weakening followed by one multiplicative split give PPP;SPWQQQ;TQW(P;S),(Q;T)PQStarR. Flattening the antecedent as a cartesian multiset would identify it with (P,Q);(S,T), although that bunch separates different pairs. Flattening it as one linear sequence would leave S and T unusable. The two constructors retain exactly the missing distinction.

Proposition 43.6 — Scope of additive weakening and contraction

For every one-hole bunch context C[]:

  1. if C[Δ]A, then C[Δ;Σ]A; and

  2. if C[Δ;Δ]A, then C[Δ]A.

The semicolon in C[Δ;Σ] or C[Δ;Δ] may occur at any depth, including under a comma. Replacing that semicolon by a comma does not satisfy either claim.

Proof of Proposition 43.6 — Scope of additive weakening and contraction

Proof. Apply W or C, respectively, at the displayed hole. Structural- congruence invariance permits reassociation and exchange inside the additive subtree before or after the application. Because the surrounding object is a one-hole bunch context, neither rule changes any multiplicative ancestor. ◻

Each new rule family can be read on a complete derivation. First, PPQQP;QPQAndR. Because P;QQ;P, structural-congruence invariance immediately gives the exchanged sequent Q;PPQ with the same derivation. Additive contraction is already needed to duplicate a shared assumption: PPPPP;PPPAndRPPPC. The scope of additive weakening may be nested under a comma. Taking C[]=[],Q, rule W gives P,QPQ(P;S),QPQW. The inserted S is additive to P, but the P;S subtree remains multiplicatively separate from Q.

The implication rules also differ only through their bunch constructor. Additive modus ponens is the complete derivation AABBA;(AB)BImpL. The semicolon permits additive weakening or contraction in any displayed subtree surrounding this application. By contrast, Wand-L combines its argument resource and function resource with a comma; no structural rule merges or discards those components.

Exercise 43.2

★★☆ Give complete cut-free derivations of (P;S),(Q;T)PQandP;(Q,R)P(QR). In the first derivation, exhibit the two nested weakenings. In the second, identify the multiplicative split and the final additive rule. Then derive P,Q(PP)Q by first building the duplicated additive premise and making contraction the final load-bearing step in the left subtree.

What the comma does not permit

There are no rules C[Δ]AC[Δ,Σ]AWmC[Δ,Δ]AC[Δ]ACm. Nor can these transformations be obtained from structural congruence: the comma equations only reassociate, exchange, and remove ϵm.

If multiplicative weakening were admitted, then PPP,QPWmPQPStarL would prove PQP. The two-element resource model in proposition 43.30 refutes this implication. If multiplicative contraction were admitted, identities followed by Star-R and Cm would derive PPP, also refuted there.

Interchange is subtler. The transformation (A,C);(B,D)Int(A;B),(C;D) would identify two additive proofs that may use different resource splits with one common split whose components satisfy both formulas. Its reverse is semantically valid; the displayed direction is not. Structural congruence contains neither direction.

Exercise 43.3

★☆☆ For each proposed conclusion below, determine whether it follows by structural congruence, additive weakening, additive contraction, or no rule of LBI0. In every negative case, state the multiplicative structural principle that would be required.

  1. P;(Q,R)QR, from Q,RQR.

  2. P,QP, from PP.

  3. PPP, from P,PPP.

  4. (P;S),(Q;T)PQ, from (S;P),(T;Q)PQ.

  5. The proposed interchange step from (A;B),(C;D)(AB)(CD) to (A,C);(B,D)(AB)(CD).

For (e), explain why a proof would need two potentially different multiplicative decompositions rather than one shared decomposition.

Identity, substitution, and cut elimination

Because Id is atomic, the first admissibility argument must reconstruct identity for every connective. This prevents the cut proof from hiding compound identities as primitive axioms.

Definition 43.7 — Formula size and derivation height

Put |p|=||=|I|=1,|AB|=|A|+|B|+1 for {,,,,}. The height h(D) of a derivation is one for a zero-premise rule and one plus the maximum premise height otherwise. For a displayed multicut with left derivations Di:ΔiA for 1in and right derivation E:M[A1,,An]B, its rank is ρ((Di)i=1n,E;A):=(|A|,h(E),i=1nh(Di)), ordered lexicographically. The separate right-height component is essential: contraction in the right derivation may duplicate a numbered hole, increasing the final sum, while still strictly decreasing h(E).

Theorem 43.8 — Identity expansion

For every formula A, the sequent AA has a cut-free derivation in LBI0.

Proof of Theorem 43.8 — Identity expansion

Proof. Induct on A. Atoms use Id. The two units use their right and left rules: ϵaTopLϵmIIIIL. For conjunction and multiplicative conjunction, use the induction hypotheses in the corresponding right rule, then expose the two assumptions with the left rule: AABBA;BABAndRABABAndL, AABBA,BABStarRABABStarL. For disjunction, introduce the selected injection in each branch and eliminate the assumption: AAAABOrR1BBBABOrR2ABABOrL. For additive implication, Imp-L and the induction hypotheses give A;(AB)B. Additive commutativity turns this into (AB);AB, and Imp-R yields ABAB. The wand case is the same calculation with comma: AABBA,(AB)BWandLABABWandR, where multiplicative commutativity rewrites A,(AB)B as (AB),AB, the premise required by Wand-R. These cases exhaust the grammar. ◻

Exercise 43.4

★★☆ Write the complete cut-free identity derivations for (PQ)R,(PQ)(RS),I. Mark every use of structural congruence and every appeal to an induction hypothesis.

The required substitution operation replaces a displayed formula occurrence by the entire antecedent of a derivation. Contraction can duplicate that occurrence before the substitution is performed, so the induction is stated for a finite family of displayed occurrences.

Definition 43.9 — Displayed multicut

For n0, the displayed multicut instance is Di:ΔiA (1in)M[A1,,An]BM[Δ1,,Δn]BMCut. Here each Ai denotes a numbered occurrence of the same cut formula A, not a distinct formula. The numbered holes of M determine exactly which occurrences are replaced, and hole i is replaced by the antecedent of Di. Other occurrences of the same formula are untouched. For n=0, the conclusion is the second premise. The ordinary one-hole cut is the case n=1; the repeated-derivation form with every Di=D is an immediate specialization.

Theorem 43.10 — Displayed multicut admissibility

If every Di:ΔiA and E:M[A1,,An]B is cut free, then there is a cut-free derivation of M[Δ1,,Δn]B.

Proof of Theorem 43.10 — Displayed multicut admissibility

Proof. Induct on the rank ρ((Di)i=1n,E;A) from definition 43.7. The proof is organized into identity, commuting, one-sided principal, structural, and two-sided principal cases. Antecedents are congruence classes, so no congruence inference must be commuted: every rule instance may first be reassociated and exchanged until its displayed subtree is visible.

Identity cases.

If n=0, return E. If E is the atomic identity pp, its only displayed occurrence is the antecedent p=A, and the required derivation is D1. If some Di is the atomic identity pp, remove hole i from the family: replacing that occurrence by its antecedent changes no sequent. The third rank component strictly decreases unless this was the only hole, in which case return E.

Commuting through the right derivation.

Suppose no selected occurrence is principal in the last rule R of E. Distribute the numbered holes among the premises, apply the induction hypothesis to every premise containing at least one hole, and reapply R. The cut formula is unchanged, but each recursive call uses a proper premise of E, so the second rank component decreases. The nonstructural distribution is as follows.

last rule locations of selected occurrences in its premises
Top-L, I-L, And-L, Star-L, Imp-R, Wand-R all holes occur in the unique premise
And-R, Star-R the holes partition between the two antecedent premises
Or-Ri all holes occur in its unique premise
Or-L a hole in the surrounding context is copied to both branch premises
Imp-L, Wand-L holes in the argument bunch occur in the first premise; holes in the surrounding context occur in the continuation premise

Identity was handled above, while W and C are handled separately below. Rules Top-R and I-R have antecedent units and therefore contain no selected formula occurrence unless n=0, which is the first identity case. For example, in the repeated-derivation specialization, if holes are split between the two premises of Star-R, D:ΔAE1:M1[Ai]CE2:M2[Aj]DM1[Ai],M2[Aj]CDStarRM1[Δi],M2[Δj]CDMCut reduces to Star-R applied to the two recursively normalized premises. For Or-L, apply the induction hypothesis to both branches and reapply the same Or-L; both calls have smaller right height.

Commuting through the left derivation.

Choose one index i such that the last rule R of Di does not introduce the outer connective of A. Replace only member i by each premise of R whose succedent is A, recurse, retain any auxiliary premise with a different succedent, and reapply R at hole i. The cut formula and right derivation are unchanged, while the sum of left heights strictly decreases. No logical right rule occurs in this case: every right rule of LBI0 introduces the outer connective of its succedent. The possible nonprincipal rules are therefore left rules, W, and C.

The premise distribution is exhaustive. A one-premise left or structural rule has one recursive premise. Suppose member i ends in Or-L with premises DiL:K[E]A and DiR:K[F]A, where K[] is a one-hole bunch context and E,F are the disjuncts. Apply the induction hypothesis once to the family with member i replaced by DiL, and once with it replaced by DiR. Rule Or-L combines the resulting derivations at occurrence i. If another member later also ends in Or-L, the outer induction repeats this construction in each existing branch. Thus two such members generate all four mixed choices, and n such members generate the required 2n branches; the proof does not retain only the two homogeneous branches. For Imp-L and Wand-L, the argument premise proves the antecedent of the implication and is retained unchanged; only the continuation premise has succedent A and is recursive. Thus no auxiliary premise is mistaken for a derivation of the cut formula.

As a representative one-premise commutation, suppose D ends in Star-L: D0:K[C,D]AK[CD]AStarL. Replace member i by D0 and recurse, obtaining a right derivation with K[C,D] at hole i and all other replacements unchanged. Reapply Star-L at that hole to obtain K[CD]. This is exactly the required replacement for member i.

Additive weakening and contraction.

These cases are separated because contraction changes the number of displayed occurrences. Suppose E ends in W. Put every selected occurrence in the old subtree into one induction-hypothesis call on the premise. In the same rule instance, replace every selected occurrence in the newly added bunch Σ directly by its corresponding Δi, then reapply W. Thus one family may mix old and newly weakened occurrences: the old subfamily is handled recursively and the new subfamily is filled without a recursive cut because it was not used by the premise.

Suppose E ends in C[Ξ;Ξ]BC[Ξ]BC. Form one recursive family containing every selected occurrence outside Ξ once and, for every selected occurrence inside Ξ, both displayed descendants with the same corresponding derivation Di. Apply the induction hypothesis once to that whole mixed family and reapply C. Hence a family may simultaneously contain outside holes and holes duplicated inside Ξ; no uniform-location assumption is being made. The right premise height has strictly decreased. Duplication may increase the third rank component, which is irrelevant after the second component has decreased.

If a selected Di ends in W or C, recurse with its premise in member i, then reapply the same structural rule at that hole. Again the sum of left heights decreases. The heterogeneous family statement keeps both copies in this single recursive call.

One-sided principal cases.

Assume occurrence i is principal in the last left rule of E, but the last rule of Di is not the matching right rule. The last rule of Di then carries its succedent through a left or structural inference. Commute the multicut above that inference as in the left-derivation paragraph and reapply it at hole i. The third rank component decreases. Dually, if Di introduces A but occurrence i is not principal in the last rule of E, commute the cut above that last rule, decreasing h(E). Thus the left-principal/right-nonprincipal and right-principal/left-nonprincipal cases each decrease the corresponding derivation height.

Other numbered occurrences in a principal case.

Before reducing the principal occurrence, push the cut into every proper premise of the final left rule for all other numbered holes. Those recursive calls retain the cut formula A but use a smaller right-derivation height. In Or-L, a surrounding hole is processed in both branch premises; in Imp-L and Wand-L, holes are sent to the argument premise when the occurrence lies in its antecedent bunch, and otherwise to the continuation premise. After these calls, every nonprincipal occurrence has been replaced by its corresponding Δj, while the one principal occurrence remains exposed as the immediate subformula bunch of the left rule. Apply the one-occurrence principal reduction for that connective; its recursive cuts use proper subformulas of A. Thus a principal step with any finite number of additional holes first decreases the second rank component and then the first; no unlisted family of mixed principal/nonprincipal occurrences remains.

Two-sided principal units.

For A=, the left derivation ends in Top-R and has antecedent ϵa; the right derivation ends in Top-L with premise C[ϵa]B. Erase both rules and return that premise. The A=I case is identical with ϵm, I-R, and I-L.

Two-sided principal conjunctions.

For A=CD, the principal fragment is D1:ΓCD2:ΘDΓ;ΘCDAndRE0:C[C;D]BC[CD]BAndLC[Γ;Θ]BMCut. The principal reduction records its rule pair on the transformation arrow: mcutCD(D,E)AndR/AndLmcutD(D2,mcutC(D1,E0)). The first result has antecedent C[Γ;D]; the second has C[Γ;Θ]. Both new cut formulas are proper subformulas of CD. The CD reduction is the same tree with semicolons replaced by commas and And by Star; it yields C[Γ,Θ]B. Hence each recursive call has a strictly smaller first rank component.

Two-sided principal disjunction.

If D ends in Or-R1, retain the left premise of the final Or-L in E and cut D0:ΓC into E1:C[C]B. The formula C is smaller than CD. The Or-R2 case uses the right branch and cuts on D. The unused branch disappears because the injection has already selected a summand.

Two-sided principal additive implication.

Let the cut formula be CD. The last rules have premises D0:Γ;CD,E1:ΘC,E2:C[D]B. First cut E1 for the displayed C in D0, obtaining Γ;ΘD. Then cut this result for D in E2. The conclusion is C[Γ;Θ]B, which is congruent to the required replacement of CD in C[Θ;(CD)]. The two new cut formulas are C and D, both smaller than CD. The two gains are visible in the annotated reduction: mcutCD(D,E)ImpR/ImpLmcutD(mcutC(E1,D0),E2).

Two-sided principal wand.

For CD, the premises are D0:Γ,CD,E1:ΘC,E2:C[D]B. Cut E1 into D0, obtaining Γ,ΘD, then cut that result into E2. The conclusion C[Γ,Θ]B is congruent to the required replacement in C[Θ,(CD)]. Again both recursive formulas are proper subformulas. Equivalently, the proof transformation is mcutCD(D,E)WandR/WandLmcutD(mcutC(E1,D0),E2).

Every case either decreases the right height, decreases the sum of left heights while preserving the first two components, or replaces the cut by cuts on proper subformulas. The lexicographic induction is therefore well founded. Its cases are identity; nonprincipal logical, weakening, and contraction rules; one-sided principal rules; and the two-sided principal connectives ,,,,,,I. ◻

Corollary 43.11 — Displayed substitution and cut

If ΔA and C[A]B are cut-free, then C[Δ]B has a cut-free derivation. More generally, if M[Ai]B contains finitely many displayed formulas and ΔiAi is cut free for each i, then successive displayed substitutions yield a cut-free derivation of M[Δi]B.

Proof of Corollary 43.11 — Displayed substitution and cut

Proof. The first statement is theorem 43.10 with one hole. For the second, induct on the finite list of formula families. The empty list leaves the given cut-free derivation unchanged. For a head family, apply the one-formula multicut theorem at its numbered holes to obtain a cut-free derivation, then apply the induction hypothesis to the remaining families. Because every replacement targets numbered holes, no unmarked occurrence changes. ◻

Definition 43.12 — Proposed cut rule

The cut extension of LBI0 adds

ΔAC[A]B
C[Δ]B
Cut

The displayed occurrence of A is the hole filled by the antecedent bunch Δ.

Theorem 43.13 — Cut elimination

Every derivation formed from LBI0 and finitely many displayed uses of Cut can be transformed into a cut-free derivation of the same sequent.

Proof of Theorem 43.13 — Cut elimination

Proof. Induct on the derivation. The induction hypothesis gives a cut-free derivation for each premise. If the last rule belongs to LBI0, reapply it. If the last rule is ΔAC[A]BC[Δ]B, corollary 43.11 gives a cut-free derivation of the conclusion. ◻

The running derivation gives a compact principal reduction. Let DPS:=PPSSP;SPSAndR and let E contain the left additive subtree of (43.2): E:=R:(P;S),(Q;T)PQ(PS),(Q;T)PQAndL. Cutting DPS into E gives DPSE(P;S),(Q;T)PQCut. The principal reduction replaces the cut occurrence PS by the antecedent bunch P;S. It cuts the two identity premises of DPS against the corresponding P and S leaves of R; both cuts erase by the identity equations, so the contractum is R:(P;S),(Q;T)PQ.

Exercise 43.5

★★★ Reconstruct the complete principal reductions for the following two cuts.

  1. A Star-R/Star-L cut whose left premises are PP and QQ, and whose right premise is P,Q,R(PQ)R.

  2. A Wand-R/Wand-L cut with cut formula PQ, argument derivation SP, and continuation Q;TQQ.

For each recursive cut, give its formula, resulting antecedent, and strictly decreased rank component. In the second reduction, indicate the additive contraction needed to produce QQ.

Semantic replay through the universal BI algebra

The preceding proof is syntactic: its engine is displayed multicut. Frumin’s formalized proof gives an independent engine. It builds one BI algebra whose order remembers exactly cut-free derivability, proves ordinary algebraic soundness, and reflects the semantic inequality back to a cut-free proof. The algebraic route avoids a circular appeal to syntactic cut elimination: its order records cut-free derivability and its reflection map returns a cut-free proof. It does not use the resource-frame completeness theorem developed later in the chapter.

In this section ΓcfA is a reminder that the derivation uses only LBI0; it denotes the same relation as ΓA, because Cut is not a rule of that calculus. The semantic replay uses the rules of definition 43.5 and the cut-free invertibility result below; it does not appeal to theorem 43.10, theorem 43.13. Let Bunch be bunches modulo . Multiplicative composition is ΓΔ:=Γ,Δ,1:=ϵm. It is a commutative monoid because comma is associative, commutative, and unital modulo structural congruence.

Definition 43.14 — Formula represented by a bunch

The syntax-to-syntax map form is defined by form(A)=A,form(ϵa)=,form(ϵm)=I,form(Γ;Δ)=form(Γ)form(Δ),form(Γ,Δ)=form(Γ)form(Δ). This operation changes syntax into syntax; it is not semantic interpretation.

Lemma 43.15 — Cut-free invertibility, imported

For every cut-free derivation, the implication right rules are invertible: ΓcfABΓ;AcfB,ΓcfABΓ,AcfB. The four formula left rules are also invertible, in every one-hole bunch context: C[AB]cfDC[A;B]cfD,C[AB]cfDC[A,B]cfD,C[]cfDC[ϵa]cfD,C[I]cfDC[ϵm]cfD. Consequently, C[form(Γ)]cfDC[Γ]cfD.

Proof of Lemma 43.15 — Cut-free invertibility, imported

Proof. The two right-rule implications are Frumin’s Lemma 3.2. The four left-rule implications are his Lemma 3.4, and the final collapse equivalence is his Corollary 3.5 [Fru22]. Each invertibility proof is an induction on derivation height. The principal case removes the displayed introduction; every other last rule is re-applied to the induction hypothesis. Atomic identity in definition 43.5 is essential: an unrestricted identity axiom would obstruct the compound left cases. From left to right, the final equivalence uses their invertibility; from right to left, it is an induction on Γ using the four left rules. Thus no cut theorem is imported through this lemma. ◻

Definition 43.16 — Principal cut-free theories and Moore closure

For every formula A, put A:={ΓBunchΓcfA}. For XBunch, define cl(X):={AXA}. A set X is closed when cl(X)=X. Write UBI for the collection of closed sets. Thus UBI is precisely the closure of the principal theories under arbitrary intersections.

The definition gives extensivity, monotonicity, and idempotence directly. It also gives the adjunction used throughout the replay: cl(X)YXY(YUBI).

Lemma 43.17 — Structural closure properties

If XUBI, then

  1. ΓX implies Γ;ΔX;

  2. Γ;ΓX implies ΓX; and

  3. ΓX iff form(Γ)X.

Proof of Lemma 43.17 — Structural closure properties

Proof. Write X=iIAi. Membership of Γ means ΓcfAi for every i. Rule W gives Γ;ΔcfAi, and C sends Γ;ΓcfAi to ΓcfAi. The last equivalence follows pointwise from lemma 43.15, instantiated with the empty one-hole context. No cut is used. ◻

For arbitrary sets of bunches define XY:={Γ,ΔΓX,ΔY},MRes(X,Y):={ΓΔX. Γ,ΔY},ARes(X,Y):={ΓΔX. Γ;ΔY}. The two residuals differ at the displayed bunch constructor.

Lemma 43.18 — The two residuals are closed

If YUBI, then MRes(X,Y) and ARes(X,Y) are closed. They are respectively right adjoint to X and to additive meet on closed sets.

Proof of Lemma 43.18 — The two residuals are closed

Proof. Write Y=jJBj. The multiplicative residual has the principal-set presentation MRes(X,Y)=(Δ,j)X×Jform(Δ)Bj. For left-to-right inclusion, membership gives Γ,ΔcfBj; use lemma 43.15 to replace Δ by form(Δ), then apply Wand-R. For right-to-left inclusion, use the right invertibility and collapse clauses of that lemma in the reverse order. This proves equality and hence closedness. Replacing comma and Wand-R with semicolon and Imp-R gives ARes(X,Y).

The multiplicative adjunction now unfolds: ZXY iff ZMRes(X,Y). The additive adjunction needs the structural laws. Suppose ZXY and ΓZ. For every ΔX, weakening and additive commutativity give Γ;ΔZX, hence Γ;ΔY; therefore ΓARes(X,Y). Conversely, if ZARes(X,Y) and ΓZX, then Γ;ΓY, so contraction gives ΓY. These are exactly parts 1 and 2 of lemma 43.17. Thus ZXYZARes(X,Y). The closure adjunction (43.4) permits closing the left-hand multiplicative product without changing its equivalence. ◻

Definition 43.19 — The universal BI algebra

On UBI, define UBI=Bunch,UBI=cl(),XUBIY=XY,XUBIY=cl(XY),XUBIY=cl(XY),IUBI=cl({ϵm}),XUBIY=MRes(X,Y),XUBIY=ARes(X,Y). Atoms are interpreted by [[p]]UBI=p, and compound formulas by these operations.

Proposition 43.20 — Closed sets form a BI algebra

The structure of definition 43.19, ordered by inclusion, is a BI algebra. In particular, XUBIYZXYUBIZ.

Proof of Proposition 43.20 — Closed sets form a BI algebra

Proof. Arbitrary intersections make UBI a complete meet-semilattice; closing unions supplies joins and the displayed bottom. The additive implication is the right adjoint proved in lemma 43.18, so the additive structure is a bounded Heyting algebra.

Comma makes associative and commutative with unit {ϵm}. The closure is strong: cl(X)Ycl(XY). To prove the inclusion, test membership against an arbitrary principal set A containing XY; the residual description of lemma 43.18 turns this premise into a closed set containing X, hence one containing cl(X). The closure adjunction then lifts associativity, commutativity, and the unit to UBI. The same lemma supplies its residual, proving the displayed BI adjunction. ◻

Lemma 43.21 — Okada property

For every formula A, A[[A]]UBIA. Here the leftmost A is the one-leaf bunch.

Proof of Lemma 43.21 — Okada property

Proof. Induct on A. The atomic and unit cases are the definitions and their right rules. For BC, the induction hypotheses put the leaf bunches B and C in their interpretations. Additive weakening puts B;C in both, using additive commutativity for the second one; the collapse clause of lemma 43.15 puts the leaf BC in their intersection. Conversely, an element of that intersection derives both B and C, so And-R followed by contraction derives BC.

For BC, elements of the unclosed product have the form Γ,Δ with derivations of B and C. Rule Star-R derives BC, and closure extends this inclusion. The formula bunch BC itself belongs after putting B,C in the product and applying Star-L. The case uses the two right rules for inclusion and Or-L to place BC in the closed union. The implication and wand cases unfold the two residual descriptions, apply their right rules for the inclusion, and their left rules for membership of the formula bunch. These are all constructors of definition 43.1. ◻

Theorem 43.22 — Universal-algebra reflection

If [[form(Γ)]]UBI[[A]]UBI, then ΓcfA.

Proof of Theorem 43.22 — Universal-algebra reflection

Proof. By lemma 43.21, the formula bunch form(Γ) belongs to its interpretation. The assumed inclusion puts it in [[A]]UBI, and the other half of the Okada property gives form(Γ)cfA. Apply the cut-free bunch/formula equivalence of lemma 43.15. ◻

Theorem 43.23 — Algebraic soundness, imported

Let B be any BI algebra and interpret formulas by its bounded Heyting and residuated commutative-monoid operations. If ΓcfA, then [[form(Γ)]]BB[[A]]B. In the universal algebra, UBI is set inclusion.

Proof of Theorem 43.23 — Algebraic soundness, imported

Proof. This is Frumin’s Theorem 4.3, seq_interp_sound [Fru22], restricted to the formula grammar of definition 43.1. Its proof is induction on the cut-free derivation. Additive weakening and contraction use monotonicity and idempotence of meet. The right implication rules use the two residual adjunctions, while their left rules use the corresponding counits and monotonicity. The unit and conjunction rules are their algebraic laws. Those cases cover every rule of definition 43.5; neither multicut nor cut elimination is an induction case. ◻

Corollary 43.24 — Semantic cut certificate

If ΔcfA and C[A]cfB, then C[Δ]cfB.

Proof of Corollary 43.24 — Semantic cut certificate

Proof. Theorem 43.23 applied to the two cut-free derivations gives [[form(Δ)]]UBI[[A]]UBIand[[form(C[A])]]UBI[[B]]UBI. Induction on the one-hole bunch context, using monotonicity of meet and multiplicative product, replaces the occurrence of [[A]]UBI by the smaller [[form(Δ)]]UBI. Hence [[form(C[Δ])]]UBI[[B]]UBI. Reflection, theorem 43.22, yields the cut-free conclusion. Thus this corollary re-derives the one-hole case of corollary 43.11 by a semantic engine. ◻

Mechanized replay.

This construction is Frumin’s Lemmas 3.2 and 3.4, Corollary 3.5, Theorem 4.3, Definitions 4.1–4.2, 5.1, 5.5, and 6.1; Theorem 5.8; Lemma 6.6; and Theorems 6.7–6.8 [Fru22]. Appendix D records the pinned revision and proof-object identifiers. Frumin’s pinned Coq artifact checks the universal algebra and semantic cut route. It does not establish the resource-monoid completeness result of section 43.11.

A proof that alternates the two context formers

The running sequent can be closed into one formula: Mix(P,S,Q,T):=(PS)((QT)(PQ)). Its proof is not obtained by placing additive and multiplicative symbols side by side. The derivation changes context discipline twice.

First derive the opening sequent R from (43.2). Then package each additive subtree with And-L: R:(P;S),(Q;T)PQ(PS),(Q;T)PQAndL(PS),(QT)PQAndL. Now the outer comma is visible to Wand-R, and the remaining formula assumption is visible to Imp-R: (PS),(QT)PQPS(QT)(PQ)WandRϵaMix(P,S,Q,T)ImpR. The last premise of Imp-R is written ϵa;(PS), which is congruent to PS.

Both constructors are load bearing. Replacing either inner semicolon in the opening derivation by a comma removes the weakening step that discards S or T. Replacing the outer comma by a semicolon removes the context split required by Star-R and the comma required by Wand-R. Thus the formula proof alternates additive weakening, a multiplicative split, additive packaging, multiplicative abstraction, and additive abstraction.

Exercise 43.6

★★☆ Derive (PS)((QT)((PP)(QQ))). Your derivation must display the additive contractions that duplicate P and Q, the multiplicative split, both And-L steps, Wand-R, and Imp-R. Explain why changing the outer comma to a semicolon invalidates both Star-R and Wand-R, even though the intervening additive rules remain well formed.

Preordered commutative resource monoids

A bunch is proof-theoretic syntax. Its comma will be interpreted by resource composition, but the bunch itself is not a resource. The distinction is fixed before any semantic calculation.

Definition 43.25 — Resource frame and model

A resource frame is a tuple F=(M,,,e) with the following data and laws.

  1. (M,) is a preorder.

  2. (M,,e) is a commutative monoid: (mn)r=m(nr),mn=nm,me=m.

  3. Composition is monotone in both arguments: mm, nnmnmn.

A valuation V assigns to every atom p an upward-closed subset of M: if mV(p) and mn, then nV(p). A resource model is a resource frame together with such a valuation, written (F,V).

The preorder records intuitionistic accessibility. The monoid records a way to combine resources. The order need not be generated by the monoid, and mmn is not assumed. That omitted inequality is exactly why multiplicative weakening may fail.

Definition 43.26 — Forcing

For a resource model, the forcing relation mA is defined recursively by mpmV(p),malways,mIem,mABmA and mB,mABmA or mB,mABnm. (nAnB),mABx,y. xym  xA  yB,mABx. (xAmxB). The additive conjunction tests two formulas at the same world. The multiplicative conjunction exhibits two component worlds. Additive implication tests every accessible extension of the current world. Multiplicative implication tests every resource that can be composed with the current world. These quantifications are different even when the same atoms occur.

Lemma 43.27 — Persistence

If mn and mA, then nA.

Proof of Lemma 43.27 — Persistence

Proof. Induct on A. Atoms use valuation monotonicity. The clauses for ,, follow immediately from the induction hypotheses. For I, transitivity gives emn.

Suppose mAB, mn, and rn. Then rm, so rA implies rB.

Suppose mAB through x,y with xym. Transitivity gives xyn, so the same witnesses establish nAB.

Finally suppose mAB and xA. Then mxB. Monotonicity of composition gives mxnx, and the induction hypothesis for B gives nxB. Hence nAB. ◻

Definition 43.28 — Bunch forcing and validity

Recall the syntax-to-syntax map form from definition 43.14. Write mΓ as an abbreviation for mform(Γ). A sequent is valid in a model, ΓF,VA, when mM. (mΓmA). It is valid, ΓA, when it is valid in every resource model. A formula A is valid when the sequent ϵaA is valid.

Double brackets are not used in definition 43.28: replacing bunch constructors by formula constructors is a syntax-to-syntax operation, not semantic interpretation. Structural congruence preserves form(Γ) up to formulas valid in every resource model, because , and ,I separately satisfy the two commutative-monoid laws.

Lemma 43.29 — Monotonicity of bunch contexts

Suppose that for all worlds m, mΔ implies mΔ. Then for every one-hole bunch context C[], mC[Δ]mC[Δ].

Proof of Lemma 43.29 — Monotonicity of bunch contexts

Proof. Induct on C[]. The hole case is the hypothesis. For an additive parent, forcing is conjunction at the same world, so replace the hole component by the induction hypothesis and retain the other conjunct. For a multiplicative parent, write its forcing witness as xym, with the hole subtree forced at x (or at y for the other parent form). The induction hypothesis replaces xΔ by xΔ; the same x,y and inequality witness forcing of the rebuilt bunch. The additive and multiplicative left/right parent forms are covered by these two calculations. ◻

A finite calculation

Let M2={0,1,2},mnmn,mn=min(2,m+n),e=0. This is a preordered commutative monoid. Put V(P)=V(Q)=V(S)=V(T)={1,2},V(Z)={2}. All five sets are upward closed.

At world 1, additive conjunction shares the world: 1PQ. Multiplicative conjunction needs a split. It fails at 1, because two worlds forcing P and Q are each at least 1, and their truncated sum is 21. At world 2, the split 11=2 works: 1PQ,2PQ.

The two implications also separate. For additive implication, 1PZbecause11, 1P, 1Z, while 2PZ. For multiplicative implication, 1PZbecause every xP has x1,hence 1x=2Z. At world 0, the witness x=1 shows 0PZ. Thus additive implication asks what happens at larger versions of the same world; the wand asks what happens after composition with a separate resource.

The opening bunch is true at world 2. Choose the decomposition 11=2; the left component forces P;S, and the right component forces Q;T. Hence 2(P;S),(Q;T). The running formula is true at every world. To calculate its nonvacuous case, let nm force PS, and let xQT. Then nP, xQ, and nxnx. The same pair n,x witnesses nxPQ. Therefore mMix(P,S,Q,T) for all mM2. This calculation mirrors the additive weakening and multiplicative split in (43.2).

Exercise 43.7

★★☆ In the model M2, determine the complete forcing sets of PZ,PZ,PZ,PZ,(PQ)Z,P(QZ). For every multiplicative formula, list the decompositions or test resources that decide each world. Evaluate the opening bunch and Mix(P,S,Q,T) independently rather than invoking soundness.

Finite countermodels to forbidden structure

The absent structural rules are not merely omitted from the presentation. Small models make them unsound.

Proposition 43.30 — Weakening, contraction, and interchange fail

The following principles are not valid in all resource models: PQP,PPP,(AC)(BD)(AB)(CD).

Proof of Proposition 43.30 — Weakening, contraction, and interchange fail

Proof. For weakening and contraction, take the commutative group M=Z2,==,mn=m+n(mod2),e=0, and put V(P)=V(Q)={1}. At world 0, the split 11=0 shows 0PQ, while 0P. Thus PQP fails at 0. At world 1, 1P, but 1PP: the only worlds forcing P are 1,1, whose composition is 0, not 1. Hence PPP fails at 1.

For interchange, take M=Z3 with equality preorder and addition modulo three. Put V(A)=V(C)={0},V(B)={1},V(D)={2}. At world 0, AC is forced by 0+0=0, and BD is forced by 1+2=0. Hence 0(AC)(BD). But no world forces AB, and no world forces CD; therefore 0(AB)(CD). This is exactly the semantic failure of (43.3). ◻

The two units are also distinct. In the Z2 equality model, world 1 forces but not I, since 01. Thus identifying ϵa with ϵm would be unsound.

Exercise 43.8

★★☆ Construct a two- or three-world resource model refuting each proposed principle below. Give the carrier, preorder, monoid table, valuation, failing world, and complete forcing calculation. (PQ)PQ,(PQ)(PQ),I. At least one countermodel must use a nontrivial preorder, and at least one must use an equality preorder on a finite group.

Soundness

Theorem 43.31 — Soundness of LBI_0

If ΓA is derivable, then ΓA.

Proof of Theorem 43.31 — Soundness of LBI_0

Proof. Induct on the derivation. We verify every rule family.

For Id, forcing of the atomic antecedent is forcing of the succedent. For Top-R, every world forces . For I-R, if mϵm, then mI by definition. The left unit rules are sound because form(ϵa)= and form(ϵm)=I; use lemma 43.29.

For weakening, a world forcing Δ;Σ forces Δ. The induction hypothesis and lemma 43.29 therefore give the conclusion. For contraction, a world forces Δ;Δ exactly when it forces Δ, so the premise and conclusion antecedents have the same forcing set. These arguments apply at the unique occurrence selected by C[], even when its semicolon lies under a comma.

For And-R, suppose mΓ;Δ. Then mΓ and mΔ. The two induction hypotheses give mA and mB, hence mAB. For And-L, the formulas AB and bunch A;B have the same forcing set, so context monotonicity transports the premise. The two Or-R rules use the corresponding semantic injection. For Or-L, a world forcing the principal formula forces either A or B; apply the matching branch induction hypothesis inside the same context.

For Imp-R, suppose mΓ, let nm, and assume nA. Persistence gives nΓ; therefore nΓ;A. The induction hypothesis for the premise yields nB. Hence mAB.

For Imp-L, suppose mC[Δ;(AB)]. First prove the pointwise implication w.wΔ;(AB)wB. The first conjunct and the first induction hypothesis give wA; the implication clause at the reflexive extension of w gives wB. Now lemma 43.29 gives mC[B], and the second induction hypothesis yields mD.

For Star-R, suppose mΓ,Δ. There are x,y with xym, xΓ, and yΔ. The premise induction hypotheses give xA and yB, so the same witnesses establish mAB. For Star-L, the bunch A,B and formula AB have identical forcing clauses, and context monotonicity applies.

For Wand-R, suppose mΓ, let xA, and consider mx. The decomposition mxmx shows mxΓ,A. The premise induction hypothesis gives mxB, so mAB.

For Wand-L, suppose mC[Δ,(AB)]. Establish the pointwise implication w.wΔ,(AB)wB. Choose the displayed split xyw. The first induction hypothesis gives xA; commutativity and the wand clause give xyB, and persistence gives wB. Context monotonicity now yields mC[B], and the second induction hypothesis yields mD. The unit, structural, additive, multiplicative, and implication cases therefore all preserve forcing. ◻

Corollary 43.32 — Forbidden multiplicative structure is not admissible

Multiplicative weakening, multiplicative contraction, and the interchange transformation (43.3) are not admissible in LBI0.

Proof of Corollary 43.32 — Forbidden multiplicative structure is not admissible

Proof. If multiplicative weakening were admissible, the derivation displayed in section 43.3 would yield PQP, and Imp-R would derive PQP. If multiplicative contraction were admissible, Star-R followed by that rule would derive PPP, hence PPP.

If interchange were admissible in the direction (A,C);(B,D)Int(A;B),(C;D), expose an assumption (AC)(BD) by And-L and two Star-L steps, apply interchange, derive AB and CD in the two comma components, and finish with Star-R and Imp-R. This would derive the third formula of proposition 43.30. Soundness contradicts the three finite countermodels there. ◻

The semantic calculation of Mix above is now also an instance of theorem 43.31: applying soundness to the derivation (43.6) proves validity in every resource model, not only in M2.

Corollary 43.33 — Atomic non-derivability

For every atom p, neither ϵap nor ϵmp is derivable.

Proof of Corollary 43.33 — Atomic non-derivability

Proof. Take the one-world monoid M={e} with equality preorder and empty valuation V(p)=. The world forces both bunch units: e and eI. It does not force p. Thus both sequents are invalid, and soundness rules out derivations. ◻

Exercise 43.9

★★★ Reprove soundness for Imp-L and Wand-L without referring to the main proof. For each rule, prove the pointwise implication from forcing its displayed hole bunch to forcing B, then name the exact invocation of lemma 43.29 that lifts it through C[]. Record every split, commutativity, reflexivity, and persistence step. Then show directly that soundness of Wm would force validity of PQP, contradicting proposition 43.30.

Selected completeness and the disjunctive boundary

The elementary term model is complete for the falsity-free fragment without . Its disjunction case fails exactly where a world containing AB need not contain either disjunct; prime resources repair that step in the stronger construction.

Lemma 43.34 — A bunch and its represented formula

For every bunch Γ and formula A, ΓAform(Γ)A. Moreover, Γform(Γ).

Proof of Lemma 43.34 — A bunch and its represented formula

Proof. Induct on Γ. A formula bunch is immediate. For ϵa and ϵm, use the corresponding unit rules and identity expansion. If Γ=Δ;Θ, the induction hypotheses and And-R derive Δ;Θform(Δ)form(Θ). Rule And-L converts between the bunch and the represented conjunction in an arbitrary antecedent context. The comma case uses Star-R and Star-L in the same way. Cutting Γform(Γ) into form(Γ)A proves one implication; the left rules prove the other. Cut elimination removes the auxiliary cuts. ◻

Let L be the selected formula grammar with the clause removed.

Definition 43.35 — The elementary term model

For formulas A,BL, write ABAB and BA. Let [A] be the equivalence class of A. Define [A][B]BA,[A][B]:=[AB],e:=[I]. The canonical valuation is [A]Vt(p)Ap.

The order is reverse derivability. This orientation is forced by persistence: if BA and Ap, then cut gives Bp.

Lemma 43.36 — The term frame is well defined

The definitions in definition 43.35 are independent of chosen representatives. They form a preordered commutative monoid, composition is monotone, and Vt is upward closed.

Proof of Lemma 43.36 — The term frame is well defined

Proof. Interderivability is an equivalence relation by identity expansion and cut. If AA and BB, then ABAB: derive A,BAB by cutting the two component derivations into Star-R, then apply Star-L; the reverse direction is symmetric. Hence is well defined. The preorder is well defined because changing either representative composes derivations by cut.

Reflexivity and transitivity of are identity and cut. The commutative-monoid equations follow from comma congruence, Star-R, Star-L, I-R, and I-L. For monotonicity, suppose [A][A] and [B][B], so AA and BB. Rule Star-R followed by Star-L gives ABAB, hence [AB][AB].

Finally, if [A]Vt(p) and [A][B], then Ap and BA. Cut yields Bp, so [B]Vt(p). ◻

Theorem 43.37 — Term-model truth lemma

For A,BL, [A]BAB in the term model of definition 43.35.

Proof of Theorem 43.37 — Term-model truth lemma

Proof. Induct on B. The atomic case is the definition of Vt. Every formula derives : start with ϵa and weaken by A. Thus the case agrees with forcing. For I, [A]Ie[A]AI.

For conjunction, the induction hypotheses give [A]BCAB and AC. The right side is equivalent to ABC: use And-R on two copies of A, then C; conversely, cut with the two projections obtained by And-L and additive weakening.

For additive implication, suppose ABC, [A][D], and [D]B. Then DA and DB. Cut the first derivation into ABC. Apply Imp-L using DB, cut the resulting formula occurrence, and contract the two additive copies of D; this gives DC. The induction hypothesis yields [D]C.

Conversely, assume [A]BC. Put D=AB. The formula D derives both A and B, so [A][D] and [D]B. The semantic hypothesis and the induction hypothesis give ABC. Cut the derivation A;BAB into it and apply Imp-R; hence ABC.

For multiplicative conjunction, if [A]BC, choose [X],[Y] with [XY][A], XB, and YC. Thus AXY. Cut the component derivations through Star-L and Star-R to obtain ABC. Conversely, if ABC, choose the worlds [B] and [C]. The inequality [BC][A] is exactly the assumed derivation, and identities force the two components.

For the wand, first suppose ABC and let [X]B. By induction, XB. Rule Wand-L, identity on C, and a cut with ABC give A,XC; Star-L gives AXC. Hence [AX]C, as required. Conversely, assume [A]BC and choose [X]=[B]. Identity forces B, so the hypothesis gives ABC. Rule Star-L inverted through lemma 43.34 gives A,BC, and Wand-R yields ABC. These cases exhaust L. ◻

Corollary 43.38 — Elementary completeness without disjunction

If Γ and A contain no disjunction, then ΓAΓA.

Proof of Corollary 43.38 — Elementary completeness without disjunction

Proof. Put G=form(Γ) and evaluate validity in the term model at world [G]. Identity and the truth lemma give [G]Γ, so validity gives [G]A. The truth lemma yields GA, and lemma 43.34 yields ΓA. ◻

The naive extension to disjunction fails at one exact line. At the world [PQ], identity gives PQPQ. The forcing clause would require either PQP or PQQ, neither of which is derivable. The invariant needed for repair is a prime resource: whenever it contains a disjunction, it contains one selected disjunct. Constructing enough prime bunches while preserving the comma operation is the substantial external step.

Lemma 43.39 — Bridge to the source NBI presentation

Let ΓNBIA denote derivability in the falsity-free fragment of the natural-deduction system NBI in Table 1 of Pym, O’Hearn, and Yang. Then ΓAΓNBIA.

Proof of Lemma 43.39 — Bridge to the source NBI presentation

Proof. The two presentations have the same formulas, bunches, structural congruence, and additive weakening and contraction. Translate derivations in both directions by induction on the final rule.

Every NBI introduction rule is the corresponding right rule of LBI0, with the same semicolon or comma in its conclusion. An NBI elimination is translated by the corresponding left rule followed by cut. For example, additive application first derives B from ΔC and the displayed assumption CB by Imp-L; cutting this result into the elimination continuation gives the NBI conclusion. Multiplicative application uses Wand-L with a comma. Elimination of CD, CD, or CD uses, respectively, And-L, Or-L, or Star-L followed by cut; the two unit eliminations use Top-L and I-L. NBI substitution is admissible: weaken a continuation context to expose φ;, derive Δφ by introduction, and eliminate that conjunction into the displayed occurrence. Under the translation this is the displayed cut of definition 43.9; theorem 43.13 removes every cut introduced by the translation.

Conversely, translate a left rule into the corresponding NBI elimination and substitution into its displayed bunch context. The load-bearing implication case is explicit: from ΔNBIC, the displayed assumption CD, and the continuation C[D]NBIB, additive application gives D inside Δ;(CD); source substitution into C[] gives the Imp-L conclusion. Replacing the semicolon by a comma and additive application by multiplicative application gives Wand-L. The conjunction, disjunction, star, and unit left rules are their eliminations in the same way. Atomic identity translates directly, and theorem 43.8 gives AA for every compound formula A. This exhausts the LBI0 and falsity-free NBI rule sets. ◻

Pym, O’Hearn, and Yang state equivalence of full NBI and HBI as Lemma 1 on printed p. 7 [POY04], but describe the argument only as induction on proofs. That does not establish conservativity of full HBI over its falsity-free restriction: an unspecified induction might pass through an additive-falsity rule. Accordingly, this chapter imports no falsity-free HBI–NBI equivalence.

Lemma 43.40 — Order-dual presentation

Let (M,,,e,V) be a resource model in the upward-closed presentation of definition 43.25. Define xopy iff yx. Then the same monoid and valuation form the downwards-closed presentation used by Pym, O’Hearn, and Yang, and forcing is unchanged after every order comparison is dualized.

Proof of Lemma 43.40 — Order-dual presentation

Proof. An upward-closed subset for is downwards closed for op. Reflexivity and transitivity are immediate. Monotonicity of is preserved because reversing both hypotheses and the conclusion reverses the same inequality. Induct on formulas. The atomic and additive clauses use closure and accessible worlds with the order reversed. In the star clause, replace xyz by zopxy, the same assertion by definition. The wand clause has no order comparison of its own: it is unchanged except that its recursively forced formulas are translated by the induction hypotheses. It does not replace the star inequality a second time. The units are unchanged. ◻

Convention 43.41 — Full disjunctive completeness: external boundary

The stronger source statement says that, for the falsity-free grammar of definition 43.1 including , validity in every elementary resource monoid implies derivability in HBI. Together with an independently proved falsity-free HBI–NBI correspondence and lemma 43.40, lemma 43.39, lemma 43.34, that statement would imply ΓAΓA for the full selected grammar. This chapter does not count that implication among its proved or imported theorems.

The reason for the boundary is mathematical. Pym, O’Hearn, and Yang state the prime-bunch extension but leave its construction to Pym’s monograph; their prime-evaluation sketch omits the construction required for a completeness proof. Since the chapter does not reconstruct it, the extension is not one of its theorems. The paper also uses downwards-closed valuations, not literally the upward-closed presentation above; lemma 43.40 proves that order duality sends those valuations and forcing clauses to the upward-closed presentation. The source does prove that adding additive falsity destroys completeness for elementary total monoids [POY04].

Exercise 43.10

★★★ Prove the BC and BC cases of theorem 43.37 as complete derivation calculations. Then explain, using the world [PQ], why the same term model cannot satisfy the semantic disjunction clause. State precisely which part of the external prime-resource construction would have to repair the failed step, and why the source statement alone does not discharge that construction here.

Exact resource-semantic boundary

Additive structure admits sharing and discarding, whereas multiplicative structure preserves the resource split. Cut elimination is theorem 43.13; soundness is theorem 43.31; and corollary 43.38 gives completeness for the disjunction-free, falsity-free fragment. The universal BI algebra independently re-derives displayed cut through theorem 43.23, corollary 43.24. Full disjunctive completeness has exactly the extra prime-resource obligation in convention 43.41. The formula AB holds at a world that decomposes into components forcing A and B. A heap logic additionally needs a command semantics, a locality theorem, and a frame rule; none follows from the BI formula grammar.

The calculus and its bunch discipline originate in O’Hearn and Pym’s propositional BI development [OP99]. The elementary resource semantics, its falsity boundary, and the completeness construction are from Pym, O’Hearn, and Yang [POY04]. For the sequent presentation fixed here, theorem 43.10, theorem 43.13 establish the local structural and cut results needed by the soundness and term-model arguments. Frumin’s universal-algebra construction supplies the independent semantic cut replay [Fru22].

Suggested first pass.

Problems exercise 43.11, exercise 43.12, and exercise 43.13 form the suggested first pass. None of these problems is a prerequisite for a later chapter.

Exercise 43.11

★★★ Normalize each bunch below modulo the two ACU theories by sorting the leaves inside every maximal additive or multiplicative node, while retaining the alternation tree. Decide whether each pair is congruent and justify the answer from definition 43.3: pair 1: (A;(B;ϵa)),(C,D)(B;A),(D,C),pair 2: (A,B);(C,D)(A;C),(B;D),pair 3: ((A;B),ϵm);CC;(B;A). Then give an algorithm that decides congruence of finite bunches and prove its correctness by induction on the alternating normal form.

Exercise 43.12

★★★ Take a principal cut between a derivation ending in Imp-R and one ending in Imp-L, with nonempty additive contexts on both sides. Write the entire derivation before reduction, the two smaller cuts after reduction, and the exact structural congruence needed at the conclusion. Repeat for Wand-R/Wand-L. Finally, place the cut occurrence inside a subtree contracted by C and show why one displayed multicut, rather than two uncontrolled sequential cuts, decreases the rank.

Exercise 43.13

★★☆ List every upward-closed valuation on the truncated-addition frame M2. Fix two atoms P,Q. For each pair of valuations, determine whether PQPQ is valid. Identify exactly which valuations make the frame behave as though xxy held for every resource pair, and explain why that observation does not validate multiplicative weakening over the class of all resource frames.

Exercise 43.14

★★★ Find the strongest direction, if any, valid in all resource models between (AB)(CD)and(AC)(BD). Prove the valid direction directly from witnesses. Refute the converse with a finite model. Translate both directions back into bunch transformations and state why only one resembles the forbidden interchange equation.

Exercise 43.15

★★☆ At the world [PQ] of the elementary term model, prove that the truth lemma’s disjunction step cannot choose a disjunct. State a prime-resource property sufficient to make that choice, then show why additive falsity still blocks elementary completeness. Finally formulate the resulting falsity-free completeness implication with its exact frame and valuation hypotheses.

Exercise 43.16

★★★ Practical project.bi-resource-semantics Implement a finite checker and evaluator for the selected BI distinctions. Represent formulas, bunches, one-hole contexts, and a finite resource model as ordinary data. Maintain these invariants:

  1. bunch congruence normalizes the additive and multiplicative ACU nodes separately and never performs interchange;

  2. additive weakening and contraction are accepted only at a displayed semicolon;

  3. multiplicative right rules split the displayed comma into the two premise bunches; and

  4. forcing of AB searches resource decompositions, whereas forcing of AB reuses one world.

The observable result is a deterministic report whose named cases cover a purely additive derivation; nested additive weakening and contraction; rejection of multiplicative weakening and contraction; a valid multiplicative split; rejection of interchange; the running mixed derivation; all four binary semantic distinctions; and a finite structural countermodel. The acceptance test compares every line exactly and exits unsuccessfully when any case differs. In addition, test three separately typechecking mutations: allow multiplicative weakening, identify the two bunch constructors, and interpret as . Each mutation must make the unchanged oracle fail. Appendix E records the four acceptance commands.

Search the book

Type to search the local edition.