ArticleslgStudy

mathematics

Reduction strategy

Reduction strategy 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 Reduction strategy rather than just read about it. In short: In rewriting, a reduction strategy or rewriting strategy is a relation specifying a rewrite for each object or term, compatible with a given reduction relation. Some authors use the term to refer to an evaluation strategy.

Key takeaways

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

Reference excerpt

In rewriting, a reduction strategy or rewriting strategy is a relation specifying a rewrite for each object or term, compatible with a given reduction relation. Some authors use the term to refer to an evaluation strategy.

Definitions Formally, for an abstract rewriting system ( A , → ) {\displaystyle (A,\to )} , a reduction strategy → S {\displaystyle \to _{S}} is a binary relation on A {\displaystyle A} with → S ⊆ → + {\displaystyle \to _{S}\subseteq {\overset {+}{\to }}} , where → + {\displaystyle {\overset {+}{\to }}} is the transitive closure of → {\displaystyle \to } (but not the reflexive closure). In addition the normal forms of the strategy must be the same as the normal forms of the original rewriting system, i.e. for all a {\displaystyle a} , there exists a b {\displaystyle b} with a → b {\displaystyle a\to b} iff ∃ b ′ . a → S b ′ {\displaystyle \exists b'.a\to _{S}b'} . A one step reduction strategy is one where → S ⊆→ {\displaystyle \to _{S}\subseteq \to } . Otherwise it is a many step strategy. A deterministic strategy is one where → S {\displaystyle \to _{S}} is a partial function, i.e. for each a ∈ A {\displaystyle a\in A} there is at most one b {\displaystyle b} such that a → S b {\displaystyle a\to _{S}b} . Otherwise it is a nondeterministic strategy.

Term rewriting In a term rewriting system a rewriting strategy specifies, out of all the reducible subterms (redexes), which one should be reduced (contracted) within a term. One-step strategies for term rewriting include:

leftmost-innermost: in each step the leftmost of the innermost redexes is contracted, where an innermost redex is a redex not containing any redexes leftmost-outermost: in each step the leftmost of the outermost redexes is contracted, where an outermost redex is a redex not contained in any redexes rightmost-innermost, rightmost-outermost: similarly Many-step strategies include:

parallel-innermost: reduces all innermost redexes simultaneously. This is well-defined because the redexes are pairwise disjoint. parallel-outermost: similarly Gross-Knuth reduction, also called full substitution or Kleene reduction: all redexes in the term are simultaneously reduced Parallel outermost and Gross-Knuth reduction are hypernormalizing for all almost-orthogonal term rewriting systems, meaning that these strategies will eventually reach a normal form if it exists, even when performing (finitely many) arbitrary reductions between successive applications of the strategy. Stratego is a domain-specific language designed specifically for programming term rewriting strategies.

Lambda calculus

In the context of the lambda calculus, normal-order reduction refers to leftmost-outermost reduction in the sense given above. Normal-order reduction is normalizing, in the sense that if a term has a normal form, then normal‐order reduction will eventually reach it, hence the name normal. This is known as the standardization theorem. Leftmost reduction is sometimes used to refer to normal order reduction, as with a pre-order traversal the notions coincide, and similarly the leftmost-outermost redex is the redex with leftmost starting character when the lambda term is considered as a string of characters. When "leftmost" is defined using an in-order traversal the notions are distinct. For example, in the term ( λ x . x Ω ) ( λ y . I ) {\displaystyle (\lambda x.x\Omega )(\lambda y.I)} with Ω , I {\displaystyle \Omega ,I} defined here, the leftmost redex of the in-order traversal is Ω {\displaystyle \Omega } while the leftmost-outermost redex is the entire expression. Applicative order reduction refers to leftmost-innermost reduction. In contrast to normal order, applicative order reduction may not terminate, even when the term has a normal form. For example, using applicative order reduction, the following sequence of reductions is possible:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Reduction strategy

Start with the simplest possible case. Write down what Reduction strategy 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 Reduction strategy 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 Reduction strategy 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 Reduction strategy

In research
Reduction strategy 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 Reduction strategy 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
Reduction strategy is common in secondary-school and first-year university syllabi. It links to neighbouring topics Lambda calculus, Rewriting systems, so understanding it makes those chapters shorter.
In everyday life
Look for Reduction strategy 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.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Reduction strategy in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Reduction strategy 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 Reduction strategy out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Reduction strategy in simple terms?

In rewriting, a reduction strategy or rewriting strategy is a relation specifying a rewrite for each object or term, compatible with a given reduction relation. Some authors use the term to refer to an evaluation strategy.

Why does Reduction strategy 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 Reduction strategy?

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 Reduction strategy.

Tags

  • Lambda calculus
  • Rewriting systems

Keep exploring