encyclopegia.org

Graph reduction

In computer science, graph reduction implements an efficient version of non-strict evaluation, an evaluation strategy where the arguments to a function are not immediately evaluated. This form of non-strict evaluation is also known as lazy evaluation and used in functional programming languages. The technique was first developed by Chris Wadsworth in 1971.

In computer science, graph reduction implements an efficient version of non-strict evaluation, an evaluation strategy where the arguments to a function are not immediately evaluated. This form of non-strict evaluation is also known as lazy evaluation and used in functional programming languages. The technique was first developed by Chris Wadsworth in 1971. & {} &=&((2+2)+(2+2))+ 6 \\ & {} &=&((2+2)+ 4)+6 \\ & {} &=&(4+4)+6 \\ & {} &=&8+6 \\ & {} &=&14 \end{align} The above reduction sequence employs a strategy known as outermost tree reduction. The same expression can be evaluated using innermost tree reduction, yielding the reduction sequence: \begin{align} & {} & &((2+2)+(2+2))+(3+3) \\ & {} &= &((2+2)+4)+(3+3) \\ & {} &= &(4+4)+(3+3) \\ & {} &= &(4+4)+6 \\ & {} &= &8+6 \\ & {} &= &14 \end{align} Notice that the reduction order is made explicit by the addition of parentheses. This expression could also have been simply evaluated right to left, because addition is an associative operation. Represented as a tree, the expression above looks like this: This is where the term tree reduction comes from. When represented as a tree, we can think of innermost reduction as working from the bottom up, while outermost works from the top down. The expression can also be represented as a directed acyclic graph, allowing sub-expressions to be shared: As for trees, outermost and innermost reduction also applies to graphs. Hence we have graph reduction. Now evaluation with outermost graph reduction can proceed as follows: Notice that evaluation now only requires four steps. Outermost graph reduction is referred to as lazy evaluation and innermost graph reduction is referred to as eager evaluation. ==See also== Graph reduction machine SECD machine ==Notes== ==References== ==Further reading==

References

  1. Conception, evolution, and application of functional programming languages · retrieved 2026-11-17 · rev 1354484986
    Cite this reference

    MLA "Conception, evolution, and application of functional programming languages." Hudak, Paul (September 1989). 2026-11-17. https://en.wikipedia.org/wiki/Paul_Hudak. Accessed 24 November 2026.

    Chicago "Conception, evolution, and application of functional programming languages." Hudak, Paul (September 1989). 2026-11-17. https://en.wikipedia.org/wiki/Paul_Hudak.

    APA Hudak, Paul (September 1989). (2026). Conception, evolution, and application of functional programming languages. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Paul_Hudak

  2. Henderson, Peter; Morris, James H. (1976). A lazy evaluator . POPL '76: Proceedings of the 3rd ACM SIGACT-SIGPLAN symposium on Principles on programming languages. ACM Press. pp. 95– 103. doi : 10.1145/800168.811543 . Wikipedia revision 1354484986, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1354484986
    Cite this reference

    MLA "Henderson, Peter; Morris, James H. (1976). A lazy evaluator . POPL '76: Proceedings of the 3rd ACM SIGACT-SIGPLAN symposium on Principles on programming languages. ACM Press. pp. 95– 103. doi : 10.1145/800168.811543 . Wikipedia revision 1354484986, retrieved 2026-11-18." Henderson, Peter; Morris, James H. 2026-11-17. https://en.wikipedia.org/wiki/James_H._Morris. Accessed 24 November 2026.

    Chicago "Henderson, Peter; Morris, James H. (1976). A lazy evaluator . POPL '76: Proceedings of the 3rd ACM SIGACT-SIGPLAN symposium on Principles on programming languages. ACM Press. pp. 95– 103. doi : 10.1145/800168.811543 . Wikipedia revision 1354484986, retrieved 2026-11-18." Henderson, Peter; Morris, James H. 2026-11-17. https://en.wikipedia.org/wiki/James_H._Morris.

    APA Henderson, Peter; Morris, James H. (2026). Henderson, Peter; Morris, James H. (1976). A lazy evaluator . POPL '76: Proceedings of the 3rd ACM SIGACT-SIGPLAN symposium on Principles on programming languages. ACM Press. pp. 95– 103. doi : 10.1145/800168.811543 . Wikipedia revision 1354484986, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/James_H._Morris

  3. A History of Haskell: Being Lazy with Class · retrieved 2026-11-17 · rev 1354484986
    Cite this reference

    MLA "A History of Haskell: Being Lazy with Class." Hudak, Paul ; Hughes, John ; Peyton Jones, Simon ; Wadler, Philip. 2026-11-17. https://en.wikipedia.org/wiki/Paul_Hudak. Accessed 24 November 2026.

    Chicago "A History of Haskell: Being Lazy with Class." Hudak, Paul ; Hughes, John ; Peyton Jones, Simon ; Wadler, Philip. 2026-11-17. https://en.wikipedia.org/wiki/Paul_Hudak.

    APA Hudak, Paul ; Hughes, John ; Peyton Jones, Simon ; Wadler, Philip. (2026). A History of Haskell: Being Lazy with Class. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Paul_Hudak

Cite this article

MLA

"Graph reduction." encyclopegia.org, 2026, https://encyclopegia.org/wiki/graph-reduction. Accessed 24 November 2026.

Chicago

"Graph reduction." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/graph-reduction.

APA

encyclopegia.org. (2026). Graph reduction. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/graph-reduction

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

graph of a function

stub · references available

Turán graph

stub · references available

graph property

stub · references available

reduction

stub · references available

International Day for Disaster Reduction

stub · references available

reduction

stub · references available

Graph Modelling Language

stub · references available

vertex-weighted graph

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1354484986 · 0.55 · snapshot graph-reduction-636492-21bba26f1cedc7ad · QID Q5597097

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.