← Latest papers
💻 computer science

Tree transducers of linear size-to-height increase (and the additive conjunction of linear logic)

This paper introduces and characterizes a new class of tree transductions, defined by tree-walking Hennie machines with linear size-to-height increase, which strictly extends regular tree functions and is shown to be closed under specific compositions and equivalent to a linear lambda-calculus with additive tuples.

Original authors: Luc Dartois, Lê Thành Dung Nguyên, Charles Peyrat

Published 2026-05-06
📖 6 min read🧠 Deep dive

Original authors: Luc Dartois, Lê Thành D\~ung Nguyên, Charles Peyrat

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: The "Tree-Visiting" Robot

Imagine you have a giant, complex family tree (a "tree" in computer science, where every person has children, and those children have their own children). You want a robot to walk through this tree, read the names, and build a new family tree based on what it finds.

This paper introduces a new type of robot called a Tree-to-Tree Hennie Machine (THM).

Think of a THM as a very disciplined, slightly forgetful robot with a specific set of rules:

  1. It walks on the tree: It can move up to a parent, down to a child, or stay put.
  2. It has sticky notes (Memory): At every node (person) on the tree, it can write a tiny note. It can read the note later.
  3. The Golden Rule (Bounded Visits): This is the most important part. The robot is only allowed to visit any single person on the original tree a limited number of times (say, no more than 5 times). It cannot wander around forever checking the same person over and over.

The Main Discovery: "Linear Size-to-Height"

The authors discovered that robots following these "Bounded Visit" rules are incredibly powerful, but they have a specific limit on how big the new tree they build can get.

  • The Limit: If the original tree has a certain "height" (how many generations deep it is), the new tree the robot builds will not be exponentially huge. Instead, the height of the new tree grows linearly with the total number of people in the original tree.
  • The Analogy: Imagine the original tree is a library.
    • A "regular" robot might read every book and write a new library that is a million times bigger than the original (exponential growth).
    • A "Hennie" robot is efficient. If the library has 1,000 books, the new library it builds might be 1,000 shelves tall, but it won't be a mountain of books. It keeps the output "tall" but not "wildly wide."

The paper proves that these robots are a "Goldilocks" zone: they are more powerful than the standard "Macro Tree Transducers" (MTTs) used in computer science, but they aren't quite as wild as the most powerful "MSO Set Interpretations." They sit perfectly in the middle.

The Three Ways to Describe the Same Robot

One of the paper's coolest findings is that this specific type of robot (the THM) can be described in three completely different ways, and they all do the exact same job. It's like describing a car as "a vehicle with four wheels," "a machine that burns fuel," or "a collection of metal and rubber parts"—different languages, same object.

  1. The Robot (THM): The walking, note-taking machine described above.
  2. The Logic Puzzle (MSO Set Interpretation): A way of describing the new tree using complex logic sentences (like "Find all nodes that are ancestors of a red node and have a blue child"). The paper shows that if a robot can build a tree, a logic puzzle can describe it too.
  3. The "Actor" Play (Lambda Calculus): This is the most abstract one. Imagine the tree is being built by a cast of actors on a stage.
    • Each actor is a tiny program.
    • They pass messages to each other (like "I'm done with this branch, here is the result").
    • They use a special rule called "Additive Conjunction" (a fancy logic term).
    • The Metaphor: Think of the "Additive Conjunction" as a splitting ticket. If an actor needs to build two branches of a tree, they don't just clone themselves (which would be messy). Instead, they use a special ticket that says, "I can do Branch A and Branch B, but I have to do them separately." This ensures the robot doesn't get confused or visit nodes too many times.

Why Does This Matter? (The "Robustness" Check)

The authors wanted to make sure this new robot model wasn't just a fluke. They tested if it was "robust" by seeing what happens when you combine it with other tools:

  • Mixing and Matching: If you take a standard tree-processor and feed its output into this Hennie robot, the result is still a Hennie robot.
  • The Hierarchy: They proved that you can stack these robots on top of each other (like Russian nesting dolls), and each layer adds a new level of power that the layer below couldn't do alone. This creates a strict "ladder" of complexity.

The "Game" Behind the Scenes

To prove that the "Actor" model (the play) and the "Robot" model (the machine) are the same, the authors used a technique called Game Semantics.

  • The Metaphor: Imagine the robot and the logic system are playing a game of chess against each other.
  • The robot makes a move (writes a note, moves down).
  • The logic system responds.
  • The authors showed that no matter how the game plays out, if the robot follows the "Bounded Visit" rule, the game always ends with the same result as the logic system. This proves that the two different descriptions are mathematically identical.

Summary of Claims

  • New Model: They defined "Tree-to-Tree Hennie Machines" (robots that visit nodes a limited number of times).
  • Power Level: These machines can build trees that grow in height linearly relative to the input size (LSHI).
  • Equivalence: These machines are exactly the same as:
    1. A specific type of logic description (MSO Set Interpretations).
    2. A specific type of "Actor" system using linear logic (with additive branching).
  • Hierarchy: They are more powerful than standard tree transducers, and you can stack them to create even more powerful versions.
  • Regularity: If you ask the robot to find all the trees that it could have built, that set of trees is "regular" (predictable and easy to classify).

In short, the paper found a new, very efficient way to transform tree data, proved it sits in a sweet spot of power, and showed that it can be understood through three different lenses: as a walking robot, a logic puzzle, or a cast of actors passing messages.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →