Order theory | Rewriting systems

Path ordering (term rewriting)

In theoretical computer science, in particular in term rewriting, a path ordering is a well-founded strict total order (>) on the set of all terms such that f(...) > g(s1,...,sn) if f .> g and f(...) > si for i=1,...,n, where (.>) is a user-given total precedence order on the set of all function symbols. Intuitively, a term f(...) is bigger than any term g(...) built from terms si smaller than f(...) using alower-precedence root symbol g.In particular, by structural induction, a term f(...) is bigger than any term containing only symbols smaller than f. A path ordering is often used as reduction ordering in term rewriting, in particular in the Knuth–Bendix completion algorithm.As an example, a term rewriting system for "multiplying out" mathematical expressions could contain a rule x*(y+z) → (x*y) + (x*z). In order to prove termination, a reduction ordering (>) must be found with respect to which the term x*(y+z) is greater than the term (x*y)+(x*z). This is not trivial, since the former term contains both fewer function symbols and fewer variables than the latter. However, setting the precedence (*) .> (+), a path ordering can be used, since both x*(y+z) > x*y and x*(y+z) > x*z is easy to achieve. There may also be systems for certain general recursive functions, for example a system for the Ackermann function may contain the rule A(a+, b+) → A(a, A(a+, b)), where b+ denotes the successor of b. Given two terms s and t, with a root symbol f and g, respectively, to decide their relation their root symbols are compared first. * If f <. g, then s can dominate t only if one of s's subterms does. * If f .> g, then s dominates t if s dominates each of t's subterms. * If f = g, then the immediate subterms of s and t need to be compared recursively. Depending on the particular method, different variations of path orderings exist. The latter variations include: * the multiset path ordering (mpo), originally called recursive path ordering (rpo) * the lexicographic path ordering (lpo) * a combination of mpo and lpo, called recursive path ordering by Dershowitz, Jouannaud (1990) Dershowitz, Okada (1988) list more variants, and relate them to Ackermann's system of ordinal notations. In particular, an upper bound given on the order types of recursive path orderings with n function symbols is φ(n,0), using Veblen's function for large countable ordinals. (Wikipedia).

Video thumbnail

Word: Line and Paragraph Spacing

In this video, you’ll learn the basics of working with line and paragraph spacing Word 2019, Word 2016, and Office 365. Visit https://edu.gcfglobal.org/en/word/line-and-paragraph-spacing/1/ for our text-based lesson. This video includes information on: • Formatting and fine tuning line sp

From playlist Microsoft Word

Video thumbnail

Word 2013: Line and Paragraph Spacing

In this video, you’ll learn more about line and paragraph spacing in Word 2013. Visit https://www.gcflearnfree.org/word2013/line-and-paragraph-spacing/1/ for our text-based lesson. This video includes information on: • Formatting and fine tuning line spacing • Formatting paragraph spacing

From playlist Microsoft Word 2013

Video thumbnail

Word 2007: Line and Paragraph Spacing

In this video, you’ll learn more about line and paragraph spacing in Word 2007. Visit https://www.gcflearnfree.org/word2007/line-and-paragraph-spacing/1/ for our text-based lesson. This video includes information on: • Formatting line spacing • Formatting paragraph spacing We hope you en

From playlist Microsoft Word 2007

Video thumbnail

Word 2010: Line and Paragraph Spacing

In this video, you’ll learn more about line and paragraph spacing in Word 2010. Visit https://www.gcflearnfree.org/word2010/line-and-paragraph-spacing/1/ for our text-based lesson. This video includes information on: • Formatting line spacing • Formatting paragraph spacing We hope you en

From playlist Microsoft Word 2010

Video thumbnail

Word: Aligning, Ordering, and Grouping Objects

In this video, you’ll learn the basics of aligning, ordering, and grouping objects in Word 2019, Word 2016, and Office 365. Visit https://edu.gcfglobal.org/en/word/aligning-ordering-and-grouping-objects/1/ for our text-based lesson. This video includes information on: • Aligning two or mo

From playlist Microsoft Word

Video thumbnail

Excel: Modifying Columns, Rows, and Cells

In this video, you’ll learn the basics of modifying columns, rows, and cells in Excel 2019, Excel 2016, and Office 365. Visit https://edu.gcfglobal.org/en/excel/modifying-columns-rows-and-cells/1/ for our text-based lesson. This video includes information on: • Inserting, deleting, moving

From playlist Microsoft Excel 2016

Video thumbnail

Sequences: Write Sequence With Term-To-Term Rule (Grade 2) - OnMaths GCSE Maths Revision

Topic: Sequences: Write Sequence With Term-To-Term Rule Do this paper online: https://www.onmaths.com/sequences-2/ Grade: 2 This question appears on calculator and non-calculator foundation GCSE papers. Practise and revise with OnMaths. Go to onmaths.com for more resources, like predicted

From playlist Sequences

Video thumbnail

Excel 2013: Modifying Columns, Cells, and Rows

In this video, you’ll learn more about modifying columns, cells, and rows in Excel 2013. Visit https://www.gcflearnfree.org/excel2013/modifying-columns-rows-and-cells/1/ for our text-based lesson. This video includes information on: • Inserting, deleting, moving, and hiding rows and colum

From playlist Microsoft Excel 2013

Video thumbnail

Wolfram Physics I: Basic Formalism, Causal Invariance and Special Relativity

Find more information about the summer school here: https://education.wolfram.com/summer/school Stay up-to-date on this project by visiting our website: http://wolfr.am/physics Check out the announcement post: http://wolfr.am/physics-announcement Find the tools to build a universe: https:

From playlist Wolfram Summer Programs

Video thumbnail

Word: Columns

In this video, you’ll learn the basics of working with columns in Word 2019, Word 2016, and Office 365. Visit https://edu.gcfglobal.org/en/word/columns/1/ for our text-based lesson. This video includes information on: • Removing columns • Adding column breaks • Removing column breaks We

From playlist Microsoft Word

Video thumbnail

Live CEOing Ep 551: Language Design in Wolfram Language [Multicomputation]

In this episode of Live CEOing, Stephen Wolfram discusses upcoming improvements and features to the Wolfram Language. If you'd like to contribute to the discussion in future episodes, you can participate through this YouTube channel or through the official Twitch channel of Stephen Wolfram

From playlist Behind the Scenes in Real-Life Software Design

Video thumbnail

Wolfram Physics III: Completion Procedures and Basic Quantum Mechanics"

Find more information about the summer school here: https://education.wolfram.com/summer/school Stay up-to-date on this project by visiting our website: http://wolfr.am/physics Check out the announcement post: http://wolfr.am/physics-announcement Find the tools to build a universe: https:

From playlist Wolfram Summer Programs

Video thumbnail

The Principle of Least Action: Derivation of Newton's Second Law

This video provides an introduction to the principle of least action and shows how Newton's Second Law emerges as a constraint for particle moving in one dimension. This video is inspired by Richard Feynman's lecture on the Principle of Least Action, which I highly recommend. You can help

From playlist Pen and Paper

Video thumbnail

Adam Piggott & Murray Elder Double Header: Geodesics in Groups

Double header seminar by two SMRI domestic visitors: Adam Piggott (Australian National University) ‘Stubborn conjectures concerning rewriting systems, geodesic normal forms and geodetic graphs’ & Murray Elder (University of Technology Sydney) ‘Which groups have polynomial geodesic growth

From playlist SMRI Seminars

Video thumbnail

Wolfram Physics Project: Relations to Category Theory

Stephen Wolfram and special guests discuss the Wolfram Physics Project and its relations to Category Theory. Begins at 9:50 Originally livestreamed at: https://twitch.tv/stephen_wolfram Stay up-to-date on this project by visiting our website: http://wolfr.am/physics Check out the announc

From playlist Wolfram Physics Project Livestream Archive

Video thumbnail

Live CEOing Ep 572: Language Design in Wolfram Language [Multicomputation]

In this episode of Live CEOing, Stephen Wolfram discusses upcoming improvements and features to the Wolfram Language. If you'd like to contribute to the discussion in future episodes, you can participate through this YouTube channel or through the official Twitch channel of Stephen Wolfram

From playlist Behind the Scenes in Real-Life Software Design

Video thumbnail

Macroscopic fluctuation theory (Lecture - 05) by Tridib sadhu

Bangalore School on Statistical Physics - VIII DATE: 28 June 2017 to 14 July 2017 VENUE: Ramanujan Lecture Hall, ICTS, Bengaluru This advanced level school is the eighth in the series. This is a pedagogical school, aimed at bridging the gap between masters-level courses and topics in s

From playlist Bangalore School on Statistical Physics - VIII

Video thumbnail

Live CEOing Ep 515: Design Review of Multicomputation

In this episode of Live CEOing, Stephen Wolfram discusses upcoming improvements and features to the Wolfram Language. If you'd like to contribute to the discussion in future episodes, you can participate through this YouTube channel or through the official Twitch channel of Stephen Wolfram

From playlist Behind the Scenes in Real-Life Software Design

Video thumbnail

Word 2007: Modifying Page Layout

In this video, you’ll learn more about modifying page layout in Word 2007. Visit https://www.gcflearnfree.org/word2007/modifying-page-layout/1/ for our text-based lesson. This video includes information on: • Changing page orientation • Changing the paper size and formatting margins • Ins

From playlist Microsoft Word 2007

Video thumbnail

From PhD to PhD: A Conference Mapping the Network on Lebanese Mathematics - Day 3 - June 3, 2021

“I dislike frontiers, political or intellectual, and I find that ignoring them is an essential catalyst for creative thought. Ideas should flow without hindrance in their natural course.” Michael Atiyah In the midst of social-political turmoil, financial meltdown, disease induced lockdown,

From playlist From PhD to PhD: A Conference Mapping the Network on Lebanese Mathematics - June 1-3, 2021

Related pages

Termination (term rewriting) | Higher-order function | Structural induction | Term (logic) | Multiset | Ackermann function | Transitive relation | General recursive function | Successor function | Continuous function (set theory) | Wilhelm Ackermann | Ackermann ordinal | Theoretical computer science | Veblen function | Elementary algebra | Knuth–Bendix completion algorithm | Reflexive closure | Reduction ordering