ArticleslgStudy

mathematics

Calculus of structures

Calculus of structures is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Calculus of structures rather than just read about it. In short: In mathematical logic, the calculus of structures (CoS) is a proof calculus with deep inference for studying the structural proof theory of noncommutative logic. The calculus has since been applied to study linear logic, classical logic, modal logic, and process calculi, and many benefits are claimed to follow in these investigations from the way in which deep inference is made available in the calculus.

Key takeaways

  • Calculus of structures belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Calculus of structures to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Calculus of structures from memory before moving on to harder problems.

Reference excerpt

In mathematical logic, the calculus of structures (CoS) is a proof calculus with deep inference for studying the structural proof theory of noncommutative logic. The calculus has since been applied to study linear logic, classical logic, modal logic, and process calculi, and many benefits are claimed to follow in these investigations from the way in which deep inference is made available in the calculus. It was first introduced in 2001 in the paper A System of Interaction and Structure by Alessio Guglielmo of the University of Bath.

Definitions A formula is a (well-formed) string of logical symbols. For example, ((a∧b)∧¬c)∨d is a formula. An equational theory is a list of equations that describe an equivalence relation on the set of all formulas. The usual equations are associativity, commutativity, and equations for logical constants. A structure is an equivalence class of formulas. The name "structure" emphasizes that CoS does not distinguish sequents and formulas, but uses a single object to do the job of both in a sequent calculus. Specifically, a structure can be regarded as an equivalence class of formulas. A context is a structure with a sub-structure removed. For example, A∧− is a context, where the − denotes a removed sub-structure. Contexts are written as S{−}, so for example, if S{−}:=A∧−, then S{B} is defined as A∧B. An inference rule is of form S{A}S{B}, where A,B are substructures, and S{} is not any particular formula, but rather an indication that "any context can go here". We can present it in a simplified form as AB, leaving S{} implicit. By default, contexts appearing in inference rules must have positive polarity. A context has a polarity. The polarity of a context is either positive or negative. For example, A∨− is a positive context, but A∨¬− is a negative context, but (A∨¬−)→C is once again a positive context. The positivity or negativity of a context is called its polarity. For example, we say "A∨− has positive polarity", and "A∨¬− has negative polarity". Two structures may be duals to each other. Similarly, two inference rules S{A}S{B},S{B′}S{A′} can also be duals to each other, if it is possible to write A′ as a dual to A, and B′ as a dual to B. The classical contraposition is an example of this duality. A convention is to write () for a conjunction, and [] for a disjunction. For example, in linear logic, one writes (A1,…,An) for A1⊗⋯⊗An, and [A1,…,An] for A1⅋…⅋An.

Ideas

Deep inference In sequent calculus, each inference rule can only produce/eliminate logical connectives on the outermost level of a formula. In particular, this means that most subformulas remain unchanged. In deep inference, each inference rule can rewrite subformulas on any level. For example, in the sequent calculus for classical logic, the ruleΓ,A,B⊢ΔΓ,A∧B⊢Δleaves A,B and all their subformulas unchanged. Only the outermost logical connective of A∧B is produced. For deep inference, inference rules may apply to any subformula, arbitrarily deep within the syntax tree. In other words, out of all the nodes in the syntax tree of A∧B, an inference rule can only manipulate the outermost node. Deep inference allows a rule to manipulate arbitrary node within the syntax tree.

Top-down symmetry In sequent calculus and natural deduction, a proof is a tree of inference rules. This then produces a fundamental asymmetry: The top of a proof tree are made of many leaf-sequents, but the bottom of a proof tree is a single endsequent. However, many inference rules are symmetric: The top half and the bottom half are mutually derivable. For example, if one can apply a rule Γ⊢AΓ⊢BΓ⊢A&B(⊢&) to produce a proof of Γ⊢A&B, then one can also produce a proof of Γ⊢A, and a proof of Γ⊢B. In this way, the inference rule ⊢& has a top-down symmetry. The formalism of sequent calculus makes this top-down symmetry implicit, since the juxtaposition of a sequent Γ⊢A and another sequent Γ⊢B is not itself a sequent. This means this top-down symmetry is not on the object-level of the proof calculus. In the calculus of sequents, a proof is a line of inference rules. This places the top-down symmetry in the object level.

SKSg

Definition SKSg is a CoS for classical propositional logic. The symbols of SKSg consists of:

The atoms a0,a¯0,a1,a¯1,…. We say that ai,a¯i are atoms that are dual to each other. The connectives ∨,∧. The units ⊤,⊥. Negation does not exist in SKSg, since we have demoted negation from a logical connective to merely a pairing between logical atoms. A structure of SKSg has the following syntax in Backus–Naur form:F::=a|a¯|⊤|⊥|F∨F|F∧FWithout negation, all contexts are positive. Duality for structures is defined by:a‾=a¯,a¯‾=aA∧B‾=A‾∨B‾,A∨B‾=A‾∧B‾The structural inference rules come in 3 dual pairs:

The 2 logical inference rules are self-dual:

In addition to these rules, there are the following equations:A∨B=B∨AA∧B=B∧A(A∨B)∨C=A∨(B∨C)(A∧B)∧C=A∧(B∧C)A∨⊥=AA∧⊤=A⊤∨⊤=⊤⊥∧⊥=⊥All equations of the SKSg system can be replaced by inference rules. The resulting equation-less system is SKS.

Properties This is a valid derivation: (a∨b)∧a‖((a∨b)∧a)∧((a∨b)∧a)≡((aa∧a(c↑))∨(bb∧b(c↑))(a∨b)∧(a∨b)(m))∧(aa∧a(c↑)).This is a general principle in deep inference: structural rules on generic formulas can be replaced by the same structural rule on atoms. In this case, cocontraction. A cut-free derivation is a derivation where i↑ is not used. One can eliminate cuts by a technique called splitting.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Calculus of structures

Start with the simplest possible case. Write down what Calculus of structures claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Calculus of structures before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Calculus of structures ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Calculus of structures

In research
Calculus of structures appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Calculus of structures in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Calculus of structures is common in secondary-school and first-year university syllabi. It links to neighbouring topics Logical calculi, so understanding it makes those chapters shorter.
In everyday life
Look for Calculus of structures outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Calculus of structures” →

How to study Calculus of structures in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Calculus of structures means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Calculus of structures out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Calculus of structures in simple terms?

In mathematical logic, the calculus of structures (CoS) is a proof calculus with deep inference for studying the structural proof theory of noncommutative logic. The calculus has since been applied to study linear logic, classical logic, modal logic, and process calculi, and many benefits are claim…

Why does Calculus of structures matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Calculus of structures?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Calculus of structures.

Tags

  • Logical calculi

Keep exploring