Manuscript Offprint
arXiv:2610.34266A Lambda Calculus Based on Quantum Logic
ABSTRACT
We propose a typed lambda calculus based on quantum logic. We first present a natural deduction system for quantum logic with the Sasaki hook as its implication operation and then formulate a typed lambda calculus connected to this system through the Curry–Howard correspondence. We prove soundness and completeness of the former with respect to orthomodular lattices and strong normalization of the latter. The resulting lambda calculus has the characteristic feature that only one assumption is available in the typing derivation that serves as the premise of -abstraction. Under this restriction, ordinary currying is not available in general, but it is still possible to perform -abstraction by combining multiple assumptions into a single argument of product type and to construct a term corresponding to a deduction using the Sasaki projection.
Keywords: quantum logic, natural deduction, typed lambda calculus, Curry–Howard correspondence, strong normalization
1 Introduction
Nishimura developed sequent systems for quantum logic [13, 14]. Based on these systems, a natural deduction system for quantum logic and an associated typed lambda calculus were introduced in [18]. Another natural deduction system for quantum logic, SOM [11], uses ordered sequences of assumptions, and the deduction theorem for the Sasaki hook holds for these ordered sequences.
Meanwhile, lambda calculi for quantum computation have also been studied. Van Tonder proposed a quantum lambda calculus closely related to linear lambda calculus as a computational model for describing quantum algorithms [19]. Selinger and Valiron formulated a lambda calculus that handles quantum data under classical control and provided a type system based on affine intuitionistic linear logic [16]. Altenkirch and Grattage also introduced the functional quantum programming language QML based on linear logic [1].
1.2 Contributions
We revisit the natural deduction system NQ for quantum logic and the typed lambda calculus QuLam, which we introduced in our previous paper [18], and add the missing rules explicitly. We then establish once again the correspondence between the former system and Nishimura's sequent calculus GOM for quantum logic [13], together with the resulting soundness and completeness theorem, and prove strong normalization of QuLam.
The types of QuLam correspond to formulas of quantum logic, and its terms correspond to proofs in quantum logic. In QuLam, there is a restriction that the body of a -abstraction may depend only on its bound argument. Although this restriction prevents currying in general, we show that it is still possible to perform -abstraction by combining multiple assumptions into a single product argument and to construct terms corresponding to deductions based on the Sasaki projection. We also treat negative inference, double negation, and orthomodular lattice semantics.
1.3 Organization
The paper is organized as follows. Section 2 establishes the formal foundations of NQ and QuLam. This includes soundness and completeness of NQ in Section 2.3 and strong normalization of QuLam in Section 2.4. Section 3 describes the correspondence between deductions and terms. Section 4 develops the orthomodular lattice semantics of QuLam. Section 5 examines the structure of terms in QuLam. Section 6 concludes the paper.
2 Formal Foundations
2.1 Orthomodular Lattices
We briefly review orthomodular lattices, which provide the semantics for quantum logic. For further details, see standard references such as Kalmbach [10].
Let be a partially ordered set. We say that is a lattice if, for any , the join and the meet exist. A lattice is said to be bounded if it has a least element and a greatest element . For a bounded lattice , suppose that a map satisfies the following conditions for all :
(i) and .
(ii)
(iii) If , then .
Then is called an ortholattice. Here denotes the orthocomplement of , which is interpreted as the quantum-logical negation of the proposition . An ortholattice is called an orthomodular lattice if it further satisfies the following orthomodularity condition:
(iv) If , then .
The lattice of closed subspaces of a Hilbert space, ordered by inclusion, is an example of an orthomodular lattice.
In quantum logic, propositions are interpreted as elements of an orthomodular lattice, and the order is interpreted as the entailment relation “a entails b.” For an orthomodular lattice , elements are said to commute if the subortholattice of generated by and is Boolean, or equivalently, if and belong to a common Boolean subortholattice. On any Boolean subortholattice, the logical connectives behave as in classical logic. In general, orthomodular lattices need not satisfy the distributive law of over .
We introduce two additional operations, which we use below for the interpretation of implication and for the study of terms.
Definition 2.1 (Sasaki operations)
Let be an orthomodular lattice and let . We define the Sasaki hook as and the Sasaki projection of onto as .
The Sasaki hook has been studied in the context of quantum implication [4, 7, 8].
The two operations satisfy the following adjunction.
Lemma 2.2 (Sasaki adjunction)
For all in an orthomodular lattice, if and only if .
Proof. Suppose . Applying the orthomodularity condition to , we obtain . Since , we conclude .
Conversely, suppose . The projection is monotone, and we obtain from the orthomodularity condition. Therefore .
We use for the operation on lattice elements and for the logical connective of NQ and the type constructor of QuLam.
2.2 Natural Deduction for Quantum Logic
In this subsection, we redefine the natural deduction system NQ for quantum logic, which we presented in our previous paper [18], with the rules supplemented. The language of NQ consists of countably many propositional variables, the constant , conjunction , and primitive implication . Negation abbreviates . Assumptions carry labels . Contexts in proof figures are finite sets of labeled assumptions, with each label assigned a unique formula. An occurrence is discharged by the rule bearing the label . When is a set of formulas, means that can be derived in NQ using only formulas in as undischarged assumptions. Each assumption is assigned a distinct label as needed. The set may contain unused assumptions.
Definition 2.3 (Natural deduction system NQ)
Proof figures of NQ are generated by the following rules. Here, renamings of discharged assumption labels are understood in the usual way. The schematic letters denote entire premise derivations. The displayed figures provide the final inference of each rule.
Assumption (ASM). An occurrence constitutes a derivation of with that occurrence as its undischarged assumption.
Ex falso (EFQ).
Conjunction introduction and elimination.
Implication introduction and elimination.
The premise derivation above () must have no undischarged assumptions other than . Since the application of discharges , the derivation of the conclusion has no undischarged assumptions. This remains true when the derivation occurs inside a larger proof.
Modus tollens (MT).
The derivation must have no undischarged assumptions. The conclusion inherits the undischarged assumptions of .
Double-negation introduction and elimination.
Sasaki hook introduction and elimination.
The last two rules preserve all undischarged assumptions of their premise derivations. They are distinct from the restricted rule and from modus ponens .
Remark 2.4 (Relation to the earlier rules)
The rules of NQ above, except and , already appeared in our previous paper [18]. In the proof of Theorem 3.6 of [18], the case corresponding to the O-modular rule of GOM implicitly identified the expression with the primitive implication . The rule explicitly formulates the inference used in this part as a rule. The converse rule is needed to work with formulas containing primitive implication as a subformula. We continue to use the name NQ for the system with these rules added.
The logical connectives of NQ are interpreted through the operations of orthomodular lattices.
Definition 2.5 (Interpretation of formulas)
Let be an orthomodular lattice. A valuation in is a map from propositional variables to . We extend it to formulas by , and . For a finite set of formulas, is the meet of the values of its elements, with . For a finite context of labeled assumptions, we use the same notation for the meet of the values of its underlying formulas, independently of the labels.
2.3 Soundness and Completeness
Nishimura’s GOM is a sequent calculus for quantum logic [13]. GOM adopts conjunction and negation as primitive logical connectives and is sound and complete with respect to orthomodular lattice semantics. A sequent of GOM is an expression of the form , where and are finite sets of formulas. Besides the structural rules for sequents and the rules for conjunction and negation, GOM has the following O-modular rule.
In GOM, the Sasaki hook is used as an abbreviation for . We define the translation from GOM formulas to NQ formulas as follows:
• .
• .
• .
Under this translation , a contradiction representing in GOM is translated as , which is interderivable with in NQ.
Conversely, we fix a propositional variable and define the translation from NQ formulas to GOM formulas as follows:
• .
• .
• .
• .
Since NQ uses as an abbreviation for , the image of under is generally not literally . These GOM formulas are nevertheless interderivable. By Propositions 3.3 and 3.4 of [18], all contradiction formulas are interderivable, and the Sasaki hook with a contradictory consequent is interderivable with negation. The conjunction and negation rules of GOM, together with cut, permit these equivalences to be used inside larger formulas. Thus the translated formulas are interderivable with the corresponding GOM expressions used in Theorem 3.5 of [18]. Moreover, and have the same value under every corresponding valuation in every orthomodular lattice, since and .
Lemma 2.6 (Admissibility in GOM)
If , then is derivable in GOM.
Proof. We proceed by induction on an NQ derivation of from .
Base case. An assumption is translated into the initial sequent of GOM. By weakening, we obtain .
Induction step. We proceed by cases according to the last rule applied.
(i) Case Sasaki hook. For either rule for the Sasaki hook, the premise and conclusion have equal values in every orthomodular lattice. Therefore, by the soundness and completeness of GOM [13], the formulas obtained by translating the premise and conclusion with are interderivable in GOM. In particular, since the translated conclusion can be derived from the translated premise, we obtain a derivation of the conclusion by applying cut to the derivation of the premise.
(ii) Case remaining rules. These cases are established in Theorem 3.5 of [18]. By the preceding equivalences, we can use the translation in place of the abbreviated GOM expressions in that proof.
We next turn to the converse translation. The O-modular rule requires .
Lemma 2.7 (Translation of normal GOM sequences)
A GOM sequent is called normal when contains at most one formula. Suppose a normal sequent is derivable in GOM by a derivation consisting of normal sequents. If , then is derivable in NQ from the assumptions . If , then is derivable in NQ from .
Proof. We first replace every use of the O-modular rule by the derivation in Proposition 3.2 of [18]. This uses the derived rule MP to infer from and . Note that in GOM the implication in this rule abbreviates . The resulting derivation still consists of normal sequents. For each normal sequent in this derivation, we then prove that is derivable in NQ from if , and that is derivable in NQ from if . We proceed by induction on the number of applications of inference rules in the subderivation ending with each sequent.
Base case. An initial sequent is translated into ASM of NQ.
Induction step. We proceed by cases according to the last rule applied.
(i) Case MP. By the induction hypotheses, we obtain NQ derivations from of and . We apply to the first and to the resulting implication and the second derivation. The conclusion is .
(ii) Case remaining rules. We handle the remaining rules for normal sequences using the constructions in Theorem 3.6 of [18]. In each case, the translated undischarged assumptions are preserved. An empty succedent corresponds to a derivation of . Substitution of derivations for undischarged assumptions, used in cut and the left rules, preserves the restriction on implication introduction in NQ. Moreover, the double-negation left rule can be handled by the present double-negation elimination rule and substitution of derivations.
We next verify that interderivable formulas can be substituted for each other within larger formulas.
Lemma 2.8 (Congruence of interderivability)
We write when and . If and , then , , and .
Proof. We obtain the conjunction claim from , , and . If , we obtain a closed proof of by the restricted rule . By applying MT to this proof and an assumption , we obtain . By applying the same argument to , we obtain the negation claim. By the two rules for the Sasaki hook, holds. Therefore, by the congruence properties for conjunction and negation, we obtain .
We use Lemmas 2.6–2.8 to establish soundness and completeness of NQ.
Theorem 2.9 (Soundness and completeness of NQ)
For every finite set of assumptions and every formula , if and only if for every orthomodular lattice and every valuation in .
Proof. We first prove soundness. Suppose . By Lemma 2.6, is derivable in GOM. By the soundness of GOM [13], the meet of the values of is below the value of . Since preserves values under the corresponding valuations, we obtain .
Next we prove completeness. Suppose that the entailment of by is valid in all orthomodular lattices. As noted after the definition of , this translation preserves the value of each NQ formula under the corresponding valuations. By the completeness of GOM [13], we then obtain a GOM derivation of from . By the normal sequent theorem (Theorem 2.5.a of [13]), there is a GOM derivation of in which all sequences are normal, for some . If , by Lemma 2.7, we obtain an NQ derivation of from . If , by the same lemma, we obtain a derivation of from the same assumptions, and then by EFQ.
We verify that for every NQ formula , by induction on its construction.
Base case. The translation fixes propositional variables. The image of is , which is interderivable with . From an assumption , we obtain and , and hence by E. The converse follows by EFQ.
Induction step. We proceed by cases according to the constructors.
(i) Case . By Lemma 2.8 and the two induction hypotheses, we obtain the assertion.
(ii) Case . If , we obtain interderivability of the corresponding expansions in conjunction and negation by the induction hypotheses and Lemma 2.8. The rules and relate the expansions to the primitive implications. Negation is included since abbreviates .
Finally, for each assumption , we replace the translated assumption by its derivation from , and then append the derivation of from . Thus we obtain .
2.4 Typed Lambda Calculus Based on Quantum Logic
In this subsection, we present the typed lambda calculus QuLam corresponding to NQ. We first define types inductively from countably many type variables and the type constant .
Definition 2.10 (Types)
The types of QuLam are inductively defined as follows:
• Type variable. If is a type variable, then is a type.
• Bottom type. is a type.
• Product type. If and are types, then is a type.
• Implication type. If and are types, then is a type.
• Only strings obtained by finitely many applications of the above rules are types.
Parentheses are omitted if there is no ambiguity.
Definition 2.11 (Typing environments)
A declaration is an expression of the form consisting of a term variable and a type . An environment is a finite partial map from term variables to types. We denote environments by , or by , , .... We write for the domain of . Two environments are consistent when they agree on their common domain. In that case, denotes their union as partial maps.
The environment specifies the available term variables and their types. We now present the formation rules for terms.
Definition 2.12 (Typed -terms)
Typed -terms (or simply -terms) are inductively defined as follows:
• Variable. is a -term under if .
• Exfalso. is a -term under if is a -term under , where is an arbitrary type.
• Projections. and are -terms under if is a -term under .
• Pairing. is a -term under if is a -term under and is a -term under , where and are consistent.
• Abstraction. is a -term under if is a -term under .
• Application. is a -term under if is a -term under and is a -term under , where and are consistent.
• Modus tollens. is a -term under if is a -term under and is a -term under .
• Double-negation elimination. is a -term under if is a -term under .
• Double-negation introduction. is a -term under if is a -term under .
• Sasaki hook introduction. is a -term under if is a -term under , with abbreviating .
• Sasaki hook elimination. is a -term under if is a -term under .
• Only strings obtained by finitely many applications of the above rules are -terms.
The correspondence between term constructors and inference rules of NQ is as follows.
Here the environment in the conclusion is understood as an ambient environment available after weakening. The premise for the body remains the singleton environment , so the abstraction is formed from a body whose available variable is .
| Term constructor | Inference rule |
|---|---|
| ASM | |
| EFQ | |
| MT | |
A typing judgment is an expression of the form , meaning that “ is a -term under the environment .” In a typing judgment , we often simply call a -term. When is empty, we write instead of . We may omit braces around environments when listing their declarations.
Definition 2.13 (Variables in terms)
Free and bound variables are defined in the usual way. The set of free variables of a term is given by the following clauses:
In this definition, -terms equivalent under -conversion are treated as the same term.
The following lemmas concern the behavior of environments under the typing rules. We use these lemmas in the proof of subject reduction and in the construction of abstractions over product arguments in Section 5.4.
Lemma 2.14 (Free variables)
If , then . Moreover, if a term of the form is typable, then it is closed and .
Proof. We proceed by induction on the typing derivation.
Base case. If the last rule types a variable under , then and .
Induction step. We proceed by cases according to the last rule applied.
(i) Case pairing or application. The set of free variables of the resulting term is contained in the domain of the union of the premise environments.
Since is closed, this is in fact equal to .
(ii) Case abstraction. The premise has environment . Therefore, by the induction hypothesis, we obtain and .
(iii) Case modus tollens. The first argument of is typed in the empty environment, and its second argument satisfies the induction hypothesis.
(iv) Case remaining constructors. For each unary constructor, including and , the free variables are those of the premise term. The induction hypothesis applies.
We may also enlarge an environment without changing the type of a term.
Lemma 2.15 (Weakening)
If and is a consistent extension of , then .
Proof. We proceed by induction on the typing derivation.
Base case. If is a variable typed under , its declaration also belongs to .
Induction step. We proceed by cases according to the form of the last typing rule.
(i) Case pairing or application. By the induction hypotheses, both premises are typed under . Their union is , which is consistent with itself.
(ii) Case abstraction. The singleton premise is unchanged, since the conclusion may have any ambient environment.
(iii) Case modus tollens. The closed first premise is unchanged, and the induction hypothesis applies to the second premise.
(iv) Case remaining constructors. By the induction hypothesis, typing under is preserved by their formation rules, including the rules for and .
We next prove a substitution lemma in which all substituted terms are typed under a common environment. Since abstractions are closed, they remain unchanged under such substitutions.
Lemma 2.16 (Substitution)
Suppose with distinct variables , and for every . Then , where substitution is simultaneous and avoids variable capture. The same statement holds when is typed under a subenvironment of .
Proof. We proceed by induction on a typing derivation of .
Base case. If , we obtain the required typing from .
Induction step. We proceed by cases according to the constructors.
(i) Case pairing or application. By the induction hypotheses, we obtain both premises under . We use their consistent union .
(ii) Case abstraction. By Lemma 2.14, the abstraction is closed. After renaming the bound variable to avoid capture, substitution leaves it unchanged. By Lemma 2.15, we obtain its original typing under .
(iii) Case modus tollens. The first argument of is closed and unchanged by substitution. We apply the induction hypothesis to the second argument.
(iv) Case remaining constructors. The rules for , projections, , , , and follow by applying the induction hypotheses to their premises.
An initial subenvironment can first be weakened to using Lemma 2.15.
We next define subterms in preparation for the conversion rules.
Definition 2.17 (Subterms)
A λ-term that occurs as a subexpression of the λ-term is called a subterm of . Equivalently, corresponds to a subtree of the abstract syntax tree of .
We now define conversion rules on λ-terms, corresponding on the proof-theoretic side to the elimination of detours in proofs of NQ. Type annotations in the conversion patterns and in Proposition 5.2 indicate the types assigned to the respective terms.
Definition 2.18 (Conversion)
A λ-term is said to be converted to in one step, written , if is obtained from by one of the following replacements of a subterm:
• is replaced with .
• is replaced with .
- is replaced with . Here denotes the result of substituting for all free occurrences of in . Bound variables are assumed to have been renamed consistently so as to avoid capturing free variables.
• is replaced with .
No conversion rule has or at its root. In particular, the terms and remain unchanged at their roots under conversion.
We write for the reflexive and transitive closure of . That is, for -terms and , we write if there exist -terms such that , , and for all , where . The case means that no conversion step is performed.
Definition 2.19 (Normal forms)
A -term to which no one-step conversion can be applied is called a normal form. A -term is said to be normalizable if there exists a normal form such that .
The conversion rules preserve typing, as we now verify.
Proposition 2.20 (Subject reduction)
If and , then . Consequently, if and , then .
Proof. We proceed by induction on the typing derivation.
Base case. A variable has no conversion step, so there is nothing to prove.
Induction step. We consider root conversions and conversions in proper subterms separately.
(i) Case projection. In a projection from a pair, we select a component typed under one of two consistent environments. By Lemma 2.15, that component is typed under their union.
(ii) Case beta conversion. In , we obtain from the abstraction rule and a typing of with type from the application rule. By Lemma 2.16, the result is typed under the environment of . By weakening, this typing is extended to the environment of the application.
(iii) Case double negation. In , is already typed with the required type in the premise.
(iv) Case proper subterm. By the induction hypothesis, the term in the affected premise remains typable with the same type. We then reconstruct the typing of the containing term by the formation rule. In particular, the singleton premise of abstraction and the closed premise of are still typed under their required environments. The same reasoning applies to and , since neither has a root conversion. By iterating subject reduction for one-step conversions, we obtain subject reduction for .
In what follows, we establish strong normalization using reducibility sets. The definitions and their basic properties are extensions of the method of Section 5 of [18] to the present term constructors. The proof method is based on [5].
Definition 2.21 (Reducibility sets)
We consider raw terms formed from the constructors in Definition 2.12 without imposing typing conditions. Substitution is assumed to avoid variable capture. By removing the type annotations from the two projection conversions, beta conversion, and double-negation conversion of Definition 2.18, we extend these conversions to raw terms. We write SN for the set of raw terms having no infinite conversion sequence.
For each type , we define the reducibility set of raw terms by induction on the structure of . If is a type variable or , we set . We define to consist of the terms such that and . We define to consist of the terms such that for every . If and , we impose the additional condition . This condition corresponds to the argument type of the constructor . We call the members of reducible at type .
Every raw term has finitely many subterms, and only finitely many conversion rules can be applied to each subterm. Consequently, each raw term has only finitely many immediate reducts. Moreover, if , no infinite conversion sequence starts from . Therefore, by König's lemma, the lengths of conversion sequences starting from have a finite maximum. We denote this maximum by and use it as a measure in the following inductions.
Lemma 2.22 (Properties of reducibility sets)
For every type , the following properties hold.
• (C1) Every term in is strongly normalizing.
• (C2) If and , then .
- (C3) If the outermost constructor of is neither pairing, abstraction, nor , and all immediate reducts of belong to , then .
Proof. We prove the three properties simultaneously by induction on the complexity of .
Base case. If is a type variable or , then . The assertion in (C1) follows from the definition. For (C2), any reduct of a strongly normalizing term is strongly normalizing. For (C3), an infinite conversion sequence from would pass through an immediate reduct of . Therefore, if all immediate reducts are strongly normalizing, then is strongly normalizing.
Induction step. We assume (C1)–(C3) for all types of lower complexity. We proceed by cases according to the form of .
(i) Case product type. Suppose . If , then . Since an infinite conversion sequence from would induce one from , we prove (C1). If , then for . By applying (C2) at the component types, we prove (C2) for the product. For (C3), suppose is not a pair and all its immediate reducts are reducible at . The projections have no root conversion, and their immediate reducts are the corresponding projections of immediate reducts of . By (C3) at the component types, we obtain and . Hence .
(ii) Case implication type. Suppose . By (C3) at type , a variable belongs to . If , then . Since every conversion in induces a conversion in , we establish (C1). If , then for each . By (C2) at type , we obtain . In the special case and , we also have . By (C2) at type , the additional condition is preserved. This proves (C2).
For (C3), suppose that has none of the three excluded outermost constructors and that every immediate reduct belongs to . Since is not an abstraction, has no root conversion for any . Fix . By (C1) at type , is finite. We establish by induction on .
Base case. If , each immediate reduct of has the form with . It belongs to by the assumption on . Therefore, by (C3) at type , we obtain .
Induction step. Assume the claim for reducible arguments of smaller maximal conversion length. The immediate reducts of have the forms with and with . The first form belongs to by the assumption on . In the second form, by (C2) at type , we obtain , and . Therefore, by the induction hypothesis, we obtain . By (C3) at type , we obtain .
Thus for every . If and , we must also establish . Since is not a term, has no root conversion. Each of its immediate reducts is with . These reducts belong to by the additional condition on . Therefore, by (C3) at type , we obtain .
The next lemma states the constructor properties used in the substitution argument. In particular, statement (iv) concerning abstraction does not assume that M or N is typable. This is because the reducibility sets in Definition 2.21 are defined for raw terms.
Lemma 2.23 (Reducibility of constructors)
The following statements hold for all types and .
(i) if .
(ii) and if .
(iii) if and .
(iv) if for every .
(v) if and .
(vi) if and .
(vii) if .
(viii) if .
Proof. We treat the constructors in turn. Projections and application satisfy the required conditions directly by Definition 2.21. The condition for is the additional clause of the same definition.
(i) Case ex falso. Suppose . We prove by induction on .
Base case. If M is normal, then has no immediate reduct. Since it satisfies the outermost constructor condition of (C3), we obtain the claim.
Induction step. Every immediate reduct of is for some . By (C2), , and . By the induction hypothesis, we obtain . Therefore, by (C3), we obtain .
(iii) Case pairing. Suppose and . We prove that both projections of are reducible by induction on .
Base case. If both terms are normal, the only immediate reduct of is , and the only immediate reduct of is . Therefore, by (C3) at the respective component types, we obtain both claims.
Induction step. An immediate reduct of is either the selected component or a projection of with or with . The selected component is reducible by assumption. By (C2), reducibility of the reduced component is preserved. Since the corresponding sum of maximal conversion lengths is smaller, the induction hypothesis applies to the other reducts. By (C3) at the component type, we obtain reducibility of each projection and hence of the pair.
(iv) Case abstraction. Suppose for every . By (C3), the variable is reducible at type . Taking , we obtain . Hence is strongly normalizing by (C1). Fix . We prove by induction on .
Base case. If and are normal, the only immediate reduct of is , which belongs to by assumption. This application has an outermost constructor permitted by (C3). Thus .
Induction step. Every immediate reduct of has one of the forms with and with . The first is reducible by assumption. In the second, the hypothesis on substitution is preserved, since for every , and (C2) applies at type . In the third, by (C2). Since the latter two conversions decrease the induction measure, by the induction hypothesis, we obtain reducibility in each of these cases. We complete the induction by applying (C3) at type .
If and , we also need . We prove this by induction on .
Base case. When is normal, has no immediate reduct. Since its outermost constructor is , (C3) at type applies.
Induction step. Every immediate reduct is with . As observed above, the substitution hypothesis holds for , and . By the induction hypothesis, we obtain reducibility of each immediate reduct. Therefore, (C3) at type applies once more.
(vi) Case modus tollens. Suppose and . By (C1), both terms are strongly normalizing. For every , the term has no root conversion. Each conversion occurs inside , , or . Since all three are strongly normalizing, is strongly normalizing and hence belongs to .
If , the result type of is a double-negation type. We must also prove . We use induction on .
Base case. If and are normal, has no immediate reduct. Therefore, by (C3) at type , we obtain reducibility.
Induction step. Its immediate reducts are with and with . By (C2), reducibility of the arguments is preserved, and each conversion decreases the induction measure. Therefore, the induction hypothesis applies to all immediate reducts. By (C3) at type , we obtain the claim.
(viii) Case double-negation introduction. Suppose . For any , the term has no root conversion, and conversions occur only in or . By (C1), both arguments are strongly normalizing. Therefore . We also establish by induction on .
Base case. If is normal, the only immediate reduct of is , which belongs to . Therefore, by (C3) at type , we obtain reducibility.
Induction step. The immediate reducts are and the terms with . The first is reducible by assumption. By (C2), we obtain , and . By the induction hypothesis, we obtain reducibility of all remaining immediate reducts. Therefore, we conclude by (C3) at type .
We can now establish strong normalization using simultaneous substitution and the constructor properties.
Proposition 2.24 (Strong normalization)
Every well-typed term of QuLam is strongly normalizing under the conversions of Definition 2.18.
Proof. We prove a stronger substitution statement by induction on a typing derivation. Suppose and for every . We set and prove .
Base case. If , then , which is reducible by assumption.
Induction step. We proceed by cases according to the form of the last typing rule.
(i) Case ex falso. If , by the induction hypothesis, we obtain . The claim follows from part (i) of Lemma 2.23.
(ii) Case projections. By the induction hypothesis, we obtain reducibility of the pair term after substitution. Part (ii) of Lemma 2.23 applies to the indicated projection.
(iii) Case pairing. By the induction hypotheses, we obtain reducibility of both components under the restrictions of to their respective environments. Part (iii) of Lemma 2.23 applies to their pair.
(iv) Case abstraction. The body is typed under . For any , by the induction hypothesis with , we obtain . Since the abstraction is closed, up to renaming of bound variables. By part (iv) of Lemma 2.23, we obtain the conclusion.
(v) Case application. By the induction hypotheses, we obtain reducibility of the function and argument after substitution. Part (v) of Lemma 2.23 applies.
(vi) Case modus tollens. The first argument of is typed in the empty environment and is unchanged by . By the induction hypotheses, we obtain reducibility of both arguments. By part (vi) of Lemma 2.23, we obtain reducibility of their term.
(vii) Case double-negation elimination. By the induction hypothesis, we obtain a reducible argument of double-negation type. Part (vii) of Lemma 2.23 applies.
(viii) Case double-negation introduction. By the induction hypothesis, we obtain a reducible argument. Part (viii) of Lemma 2.23 applies.
(ix) Case Sasaki hook introduction. Suppose and the conclusion type is . By the induction hypothesis, we obtain . We prove by an inner induction on .
Base case. If is normal, has no immediate reduct. Since its outermost constructor satisfies the condition of (C3), it belongs to the required reducibility set.
Induction step. Every immediate reduct is with . By (C2), remains reducible at its original type, and . By the inner induction hypothesis, we obtain . We complete this case by applying (C3).
(x) Case Sasaki hook elimination. Suppose and the conclusion type is . By the induction hypothesis, we obtain . We prove that is reducible at the conclusion type by an inner induction on .
Base case. If is normal, has no immediate reduct, and (C3) applies.
Induction step. Every immediate reduct is with . By (C2), the reduct is reducible and has smaller maximal conversion length. The inner induction hypothesis applies to . By (C3), we obtain the conclusion.
By (C3), every variable belongs to its corresponding reducibility set. Taking in the substitution statement, we obtain . By (C1), we obtain strong normalization.
3 Curry–Howard Correspondence
In this section, we relate NQ derivations to typing derivations in QuLam through the Curry–Howard correspondence [5, 9, 17]. We follow the term assignment in [18] for the rules shared with that work. We specify the clauses corresponding to and in terms of the constructors and , respectively.
3.1 Types as Propositions
We first describe the correspondence between formulas of NQ and types of QuLam. Let PropVar be the set of propositional variables and TypeVar the set of type variables. Since both sets are countably infinite, we can fix a bijection . Let Form be the set of all formulas of NQ and Type the set of all types of QuLam. We extend by structural recursion to obtain mutually inverse maps and that preserve the structure of formulas and types as follows:
•
•
•
• For each type variable , is the corresponding propositional variable.
•
•
•
3.2 Terms as Proofs
We next describe the correspondence between proofs in NQ and terms in QuLam. Let Label be the set of labels used for assumptions in NQ, and let Var be the set of term variables in QuLam. Since both sets are countably infinite, we fix a bijection . We use the same symbol for the recursively defined map from labeled NQ derivations to QuLam terms. For a finite set of labeled assumptions, we write for the environment .
We regard two labeled NQ derivations as equivalent if they differ only in the names of discharged assumption labels. We also regard two QuLam typing derivations as equivalent if they differ only in the names of bound term variables.
We define a canonical typing derivation as a derivation obtained recursively from a labeled NQ derivation by assigning the corresponding QuLam rule to each NQ rule. When constructing a canonical QuLam typing derivation, we associate each NQ subderivation with a QuLam typing judgment. The environment of this typing judgment consists of the declarations corresponding to the undischarged assumptions of the NQ subderivation, except for the extensions described below.
The implication introduction rule →I corresponds to λ-abstraction. In NQ, a derivation of β used for this rule cannot have any undischarged assumptions other than the labeled assumption . The corresponding QuLam derivation has the singleton environment , where , and assigns type to the body . The result is the closed term . The rule →I also introduces an implication, but it does not discharge any assumptions.
If the implication introduction rule →I discharges an assumption that is not used in its premise derivation, the corresponding QuLam term is initially typed under the empty environment. However, the QuLam abstraction rule requires to be typed under the environment , where . We therefore use Lemma 2.15 to extend the environment of the typing derivation of . This operation may also extend the environments of intermediate typing judgments in that derivation. In canonical typing derivations, we allow only the extensions required by this procedure.
The rules concerning negation and double negation correspond to the term constructors , , and . The modus tollens rule MT of NQ combines a closed proof of with a proof of under assumptions to derive under the same assumptions . In QuLam, this inference is represented by the constructor . More precisely, given a closed term and a term under , we obtain a term under .
The double-negation introduction and elimination rules and correspond to the term constructors and , respectively. For example, by applying the double-negation elimination rule to a proof of under the assumptions , we obtain a proof of under . In QuLam, this situation is reflected by the typing judgments and .
Proposition 3.1 (Derivation correspondence)
When we identify equivalent derivations, the map that sends each labeled NQ derivation to its canonical QuLam typing derivation is a bijection. If an NQ derivation of has undischarged assumptions , then the corresponding typing derivation concludes with .
Proof. We prove that the two transformations are inverses of each other. We use induction on the height of an NQ derivation in one direction and on the height of a canonical QuLam typing derivation in the other.
Base case. An NQ assumption corresponds to the QuLam variable . Both transformations return the same labeled assumption or declaration.
Induction step. We proceed by cases according to the last rule applied. In each case, we apply the induction hypotheses to the premise derivations.
(i) Case implication introduction. In NQ, the premise derivation has no undischarged assumptions other than the assumption discharged by I. In QuLam, the body of the corresponding abstraction is typed under an environment containing only the declaration corresponding to that assumption. If the assumption is not used in the NQ premise derivation, we use weakening to type the QuLam term under this environment. This restriction is preserved in both directions of the correspondence, and renaming the discharged NQ assumption label corresponds to renaming the bound variable in QuLam. When transforming the QuLam typing derivation back into an NQ derivation, we remove the environment extensions introduced when the discharged assumption is not used.
(ii) Case Sasaki hook. The rules and correspond to and , respectively. In particular, and . In the reverse transformation, we apply when the outermost constructor of the QuLam term is and when it is . Neither NQ rule discharges any assumptions.
(iii) Case remaining rules. The NQ rules EFQ, conjunction introduction, conjunction elimination, implication elimination, MT, double-negation introduction, and double-negation elimination correspond to the QuLam constructors , pairing, projections, application, , , and , respectively. The first premise of MT has no undischarged assumptions, and the first premise of the QuLam typing rule for is typed under the empty environment.
3.3 Constructors for the Sasaki Hook
The constructors and correspond to the NQ rules and , respectively. Their typing rules are and . In the typing rule for , the premise and conclusion have the same environment . In contrast, the body of a -abstraction must be typed under an environment containing a single declaration.
Example 3.2 (Term for the rule MP)
The closed term has type in QuLam. To type the body of this abstraction, we assume . Thus and , and we obtain a term of type by application. This term corresponds to the rule MP. In the proof of Lemma 2.7, MP is used in the derivation that replaces the O-modular rule.
Example 3.3 (Implication from a conjunction)
Assume . Since under the assumption , the closed term has type . Moreover, has type . By the typing rule for , we obtain . Applying the typing rule for , we obtain .
4 Orthomodular Lattice Semantics
In this section, we present a semantics for typing judgments in QuLam using orthomodular lattices. We then prove soundness and completeness with respect to this semantics.
4.1 Interpretation of Types
We interpret the types of QuLam in orthomodular lattices, as we do the formulas of NQ.
We now define the interpretation of types inductively from a valuation of type variables according to the structure of types.
Definition 4.1 (Interpretation of types)
Let be an orthomodular lattice, and let be a valuation of type variables. We define an element for every type as follows:
- for .
• .
• .
• .
By this definition, for every type , the value is uniquely determined as an element of , and we obtain a map [[-\]]_\rho : \text{Type} \to L that preserves the structure of types. In what follows, when the orthomodular lattice and the valuation of type variables are clear from the context, we omit the subscript and write instead of .
Next, we prove that the interpretations of formulas and types coincide under corresponding valuations.
Lemma 4.2 (Transport of valuations)
Let be an orthomodular lattice, and a valuation of type variables. We put for every propositional variable . Then for every NQ formula . The same equality holds for the meet of the values of any finite set of corresponding assumptions.
Proof. We proceed by induction on the construction of .
Base case. The claim follows from the definition of for propositional variables. Both interpretations assign to .
Induction step. We proceed by cases according to the form of .
(i) Case conjunction. Both interpretations use the meet. We apply the induction hypotheses to the respective operands.
(ii) Case implication. Both interpretations use the Sasaki hook. We apply the induction hypotheses to the respective operands.
For finite sets, the equalities for their individual elements imply that the meets of the respective values are also equal. The empty set has value 1 on both sides.
4.2 Semantics of Typing Judgments
In this subsection, we interpret environments and typing judgments with respect to the same orthomodular lattice and valuation of type variables as in the preceding subsection.
First, we define the interpretation of an environment. Since an environment is a finite partial map, it can be represented as the finite set . We define its interpretation as the meet . For the empty environment, we set as the meet of the empty family. The interpretation does not depend on the order in which the elements of are listed or on the names of the variables. Thus an environment is interpreted by an element , which coincides with the interpretation, on the NQ side, of the conjunction of the assumptions corresponding to .
Next, we interpret a typing judgment through the order relation between the interpretations of its environment and type. We say that the typing judgment is valid in when the inequality holds. In particular, since the interpretation of the empty environment is 1, a closed typing judgment is valid in if and only if .
By Lemma 4.2, this inequality coincides, through the inverse correspondence , with the inequality holding for the corresponding NQ formulas under the same orthomodular lattice and the corresponding valuation.
4.3 Soundness of Typing Judgments
In this subsection, we prove that QuLam is sound for the semantics introduced in Sections 4.1 and 4.2.
Theorem 4.3 (Soundness)
Let be an orthomodular lattice, and let be a valuation of type variables. If is derivable in QuLam, then . In particular, if is derivable in QuLam, then .
Proof. We proceed by induction on a QuLam typing derivation. All interpretations below are taken in the orthomodular lattice under the valuation .
Base case. If the last rule types a variable under , then . Consequently, .
Induction step. We proceed by cases according to the form of the last typing rule.
(i) Case ex falso. By the induction hypothesis, we obtain . Therefore, holds for every conclusion type .
(ii) Case projections. Suppose the premise has type . By the induction hypothesis, . The required inequality follows for either projection.
(iii) Case pairing. Let , and suppose the two premise environments are consistent. Put and . Since is below the interpretations of both premise environments, the induction hypotheses imply .
(iv) Case abstraction. The premise is typed under and has conclusion type . By the induction hypothesis, we have , where and . Therefore, . Moreover, the abstraction has type under any permitted ambient environment , and holds.
(v) Case application. Suppose the function and argument have types and under consistent environments and , respectively. We write , , and . By the induction hypotheses, we obtain and . Therefore, using the orthomodularity condition, we have .
(vi) Case modus tollens. From the closed first premise, we obtain for the values of its antecedent and consequent types and . Since , we obtain by Lemma 2.2. By the induction hypothesis for the second premise, we obtain . Therefore, holds.
(vii) Case double negation. Orthocomplementation satisfies . Therefore, the interpretation of equals that of , and the induction hypothesis applies to both and .
(viii) Case Sasaki hook. In an orthomodular lattice, . Therefore, the premise and conclusion types of each rule for or have equal interpretations. By the induction hypothesis, we obtain the required inequality.
These cases cover all typing rules. If , then , and the final assertion follows.
Next, we prove completeness of QuLam typing judgments using the completeness of NQ and Proposition 3.1.
Corollary 4.4 (Completeness of typing judgments)
Suppose holds for every orthomodular lattice and every valuation of type variables. Then is derivable for some QuLam term .
Proof. Let be an arbitrary orthomodular lattice, and let be a valuation of propositional variables in . Since is a bijection on variables, we have if we set . Hence, by Lemma 4.2, the assumed inequality also holds for the NQ formulas corresponding to and . Since and are arbitrary, this inequality and the completeness of NQ (Theorem 2.9) imply that the formula corresponding to is derivable in NQ from the assumptions corresponding to . Next, using Proposition 3.1, we transform such an NQ derivation into a canonical typing derivation with . Finally, by Lemma 2.15, we derive .
5 Structure of Terms
In this section, we examine the structure of terms in QuLam from the standpoint of the proof theory of NQ. We first discuss negative inference, double negation, and their corresponding term constructions. We then consider restricted abstraction, the use of product arguments, and a deduction principle based on the Sasaki projection.
5.1 Negative Composition
The constructor implements the modus tollens rule of NQ. Its first argument is a closed implication term, while its second argument carries the available assumptions.
Proposition 5.1 (Term assignment for modus tollens)
If and , then . Under the correspondence of Proposition 3.1, this typing rule serves as the term assignment for the modus tollens rule of NQ.
Proof. We obtain this typing judgment directly from the formation rule for in Definition 2.12. The premise corresponds to a closed proof of , and the premise corresponds to a proof of under the assumptions represented by . Therefore, is the term corresponding to the conclusion of modus tollens in NQ.
Under the hypotheses of Proposition 5.1, if and and are consistent, we obtain by the formation rule for application.
5.2 Double Negation
The constructors and correspond to the double-negation elimination and introduction rules of NQ, respectively. For a type , we use as an abbreviation for and as an abbreviation for . The constructor maps a term of type to a term of type , and maps a term of type to a term of type .
Proposition 5.2 (Double-negation retraction)
For every type , the terms and have types and , respectively. Moreover, for every term , we have .
Proof. We obtain the typing of and from the formation rules for , , and -abstraction. For the conversion claim, we obtain by ordinary beta conversion and by the double-negation conversion rule.
The double-negation pair behaves as follows in QuLam. The constructor embeds a term into its double-negation type, and returns it to its original type. The composite reduces to the identity on terms of the given type.
We can also combine the constructors and as follows. Suppose and , and let be a variable of type . Then , and hence . We obtain this typing from Proposition 5.1 and the formation rules for application, abstraction, and double-negation elimination.
5.3 Restrictions on Dependencies
The restriction on -abstraction governs the structure of terms in QuLam. The implication introduction rule of NQ allows a proof of to be constructed from a derivation of under the single assumption . Under the Curry–Howard correspondence, we obtain the term rule by which is constructed from a derivation of under the singleton environment . Therefore, every -abstraction is a self-contained proof fragment whose body depends only on its explicit argument.
Proposition 5.3 (Explicit dependency principle)
Let be a well-typed abstraction of type in QuLam. Then and . In particular, variables other than cannot occur free in . Instead, we can combine variables from the surrounding environment into a single product argument and access its components through projections, as in Proposition 5.4. Closed terms may also occur within the body.
Proof. Since is derived under the singleton environment by the formation rule for -abstraction, the only possible free variable of is . Therefore, by binding , we obtain .
The same principle also applies to . In the formation rule for , the implication term is closed, and the environment of the conclusion is inherited from the negative premise . Therefore, the positive implication from to is a self-contained term, while the surrounding assumptions are concentrated in the negative part of the construction. This expresses, at the level of terms, the corresponding restriction in the modus tollens rule of NQ. In contrast, a term of implication type may have free variables inherited from its premise , as permitted by Definition 2.12.
5.4 Abstraction over Product Arguments
Although QuLam does not permit unrestricted abstraction over a surrounding environment, it permits several assumptions to be combined into a single product argument.
Proposition 5.4 (Abstraction over a pair)
Suppose , where and are distinct. If is fresh, then the closed term has type . Here the substitutions are performed simultaneously and are assumed to avoid variable capture.
In continuation-passing style (CPS), the type represents a computation with answer type . When , this type is . A related type structure occurs in Parigot’s -calculus [15]. Connections between classical logic and control operators are also studied in [2, 6].
Proof. By Lemma 2.16, we obtain a derivation of by simultaneously replacing and with and , respectively. We then obtain the indicated closed term by the abstraction rule.
This construction can be extended to any finite list of two or more assumptions by using right-associated products. In the case of a single assumption, we use the ordinary restricted abstraction rule.
Next, we consider the relation corresponding semantically to Proposition 5.4. Let , and be the interpretations of , , and , respectively. From Lemma 2.2 and , it follows that and are equivalent for every element . Putting , we see that and are equivalent.
We can also perform uncurrying by using product arguments. Indeed, if is a closed term of type , then, for a variable of type , and have types and , respectively. Therefore, has type . Since is closed, the only free variable of this term is . Hence, by the restricted abstraction rule, we obtain the closed term of type .
5.5 Failure of Ordinary Currying
The converse of uncurrying, namely ordinary currying, is not available in general. In particular, -terms such as and cannot be typed under the abstraction rule of QuLam, since occurs free in their inner abstractions.
The semantic fact corresponding to this failure is as follows. Let be the orthomodular lattice with six elements, consisting of , and four pairwise incomparable elements , and . The pairs and belong to different Boolean subortholattices with four elements. If we interpret the type variables and by and , respectively, then, since and , we have and . Therefore, is not valid in all orthomodular lattices. By Theorem 4.3, no closed QuLam term has this type. Moreover, since but , implication does not furnish an exponential right adjoint to the product.
5.6 Sasaki Projection
A different form of deduction is available through the Sasaki projection. In what follows, we formulate this deduction principle. For types and , let . Under the interpretation introduced in Definition 4.1, fix a valuation in an orthomodular lattice, and write and . Then is the Sasaki projection of onto .
Proposition 5.5 (Deduction using the Sasaki projection)
Suppose . Then there exists a term of type under the single assumption . More precisely, we choose a fresh variable and put . Since has no free variables other than , is a closed term of type , and holds.
Proof. Under the assumption , the pair has type . Therefore, is a closed term of type . Now assume . The second projection has type , and therefore has type . Applying , we obtain a term of type under . When we apply this term to , the resulting term has type . Therefore, by abstraction over , we can construct with no free variables. Moreover, by the double-negation introduction rule, holds. By modus tollens, has type under . Furthermore, applying , we obtain a term of type under the same assumption.
We put . By soundness, we obtain from the hypothesis of Proposition 5.5 and from its conclusion. These inequalities correspond to the forward direction of Lemma 2.2. If and commute in an orthomodular lattice, the projection equals . Therefore, for commuting and , this deduction principle has a premise interpreted by their meet.
Malinowski [12] established a general obstruction to an ordinary deduction theorem for consequence relations determined by classes of orthomodular lattices.
The hypothesis of Proposition 5.5 has the same semantic condition as Kornell’s ordered sequent . In SOM [11], this sequent is interpreted as , where .
6 Conclusion
In this paper, we have refined the natural deduction system NQ for quantum logic and its corresponding typed lambda calculus QuLam, presented in our previous paper, and introduced rules for the Sasaki hook and the corresponding term constructors and . Furthermore, for these extended systems, we have established the soundness and completeness of NQ, the Curry–Howard correspondence between the two systems, the strong normalization of QuLam, and the soundness and completeness of typing judgments.
In QuLam, the body of a -abstraction must be typed under a single assumption, and hence ordinary currying is not available in general. However, we can still perform -abstraction by combining multiple assumptions into a single product argument, uncurry closed terms, and realize deduction based on the Sasaki projection as a term.
Acknowledgments
This work was supported by JSPS KAKENHI Grant Number JP24K03372.
References
[1] T. Altenkirch and J. Grattage, A functional quantum programming language, in 20th Annual IEEE Symposium on Logic in Computer Science (LICS'05), IEEE, 2005, 249–258. doi:10.1109/LICS.2005.1.
[2] Z. M. Ariola and H. Herbelin, Minimal classical logic and control operators, in Automata, Languages and Programming, Lecture Notes in Computer Science, Vol. 2719, Springer, Berlin and Heidelberg, 2003, 871–885. doi:10.1007/3-540-45061-0_68.
[3] G. Birkhoff and J. von Neumann, The Logic of Quantum Mechanics, Annals of Mathematics 37(4) (1936), 823–843. doi:10.2307/1968621.
[4] B. Coecke and S. Smets, The Sasaki hook is not a [static] implicative connective but induces a backward [in time] dynamic one that assigns causes, International Journal of Theoretical Physics 43(7–8) (2004), 1705–1736. doi:10.1023/B:IJTP.0000048815.92983.6e.
[5] J.-Y. Girard, Proofs and Types, translated and with appendices by P. Taylor and Y. Lafont, Cambridge Tracts in Theoretical Computer Science, Vol. 7, Cambridge University Press, Cambridge, 1989.
[6] T. G. Griffin, A formulae-as-type notion of control, in Proceedings of the 17th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, ACM Press, New York, 1990, 47–58. doi:10.1145/96709.96714.
[7] G. M. Hardegree, The conditional in abstract and concrete quantum logic, in C. A. Hooker, ed., The Logico-Algebraic Approach to Quantum Mechanics, Volume II: Contemporary Consolidation, D. Reidel, Dordrecht, 1979, 49–108.
[8] G. M. Hardegree, Material implication in orthomodular (and Boolean) lattices, Notre Dame Journal of Formal Logic 22(2) (1981), 163–182. doi:10.1305/ndjfl/1093883401.
[9] W. A. Howard, The formulae-as-types notion of construction, in J. R. Hindley and J. P. Seldin, eds., To H.B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism, Academic Press, London, 1980, 479–490.
[10] G. Kalmbach, Orthomodular Lattices, Academic Press, London and New York, 1983.
[11] A. Kornell, A natural deduction system for orthomodular logic, The Review of Symbolic Logic 17(3) (2024), 910–949. doi:10.1017/S1755020323000229.
[12] J. Malinowski, The deduction theorem for quantum logic—some negative results, The Journal of Symbolic Logic 55(2) (1990), 615–625. doi:10.2307/2274651.
[13] H. Nishimura, Sequential method in quantum logic, The Journal of Symbolic Logic 45(2) (1980), 339–352. doi:10.2307/2273194.
[14] H. Nishimura, Gentzen methods in quantum logic, in K. Engesser, D. M. Gabbay, and D. Lehmann, eds., Handbook of Quantum Logic and Quantum Structures: Quantum Logic, Elsevier, Amsterdam, 2009, 227–260. doi:10.1016/B978-0-444-52869-8.50009-8.
[15] M. Parigot, -calculus: an algorithmic interpretation of classical natural deduction, in A. Voronkov, ed., Logic Programming and Automated Reasoning, Lecture Notes in Computer Science, Vol. 624, Springer, Berlin and Heidelberg, 1992, 190–201. doi:10.1007/BFb0013061.
[16] P. Selinger and B. Valiron, A lambda calculus for quantum computation with classical control, in Typed Lambda Calculi and Applications, Lecture Notes in Computer Science, Vol. 3461, Springer, Berlin and Heidelberg, 2005, 354–368. doi:10.1007/11417170_26.
[17] M. H. Sørensen and P. Urzyczyn, Lectures on the Curry–Howard Isomorphism, Studies in Logic and the Foundations of Mathematics, Vol. 149, Elsevier, Amsterdam, 2006.
[18] K. Tokuo, Natural deduction for quantum logic, Logica Universalis 16(3) (2022), 469–497. doi:10.1007/s11787-022-00307-7.
[19] A. Van Tonder, A lambda calculus for quantum computation, SIAM Journal on Computing 33(5) (2004), 1109–1135. doi:10.1137/S0097539703432165.