We introduce the notion of (Ramsey) action of a tree on a (filtered) semigroup. We then prove in this setting a general result providing a common generalization of the infinitary Gowers Ramsey theorem for multiple tetris operations, the infinitary Hales-Jewett theorems (for both located and nonlocated words), and the Farah-Hindman-McLeod Ramsey theorem for layered actions on partial semigroups. We also establish a polynomial version of our main result, recovering the polynomial Milliken-Taylor theorem of Bergelson-Hindman-Williams as a particular case. We present applications of our Ramsey-theoretic results to the structure of delta sets in amenable groups.2000 Mathematics Subject Classification. Primary 05D10, 54D80; Secondary 20M99, 05C05, 06A06. .
2.2.Actions of trees on compact right topological semigroups. Suppose that P is an ordered set, and X is a compact right topological semigroup.Definition 2.2. An action α of P on X is given by• an order-preserving function P → S (X), t → X t ,• a subsemigroup F α ⊂ End (X), such that for every τ ∈ F α there exists an function f τ : P → P-which we call the spine of τ -such that τ maps X t to X fτ (t) for every t ∈ P, and such that τ (x) = x for any x ∈ X t and t ∈ P such that f τ (t) = t.Given an action α of P on X we let X α be set of functions ξ : P → X such that ξ (t) ∈ X t and τ • ξ = ξ • f τ for every τ ∈ F α and t ∈ P. When X α is nonempty, we endow X α with the product topology and the entrywise operation. This turns X α into a compact right topological semigroup. Observe that an idempotent in X α is an element ξ of X α such that ξ (t) is an idempotent element of X t for every t ∈ P. We say that an idempotent ξ inSuppose now that T is a rooted tree. We regard T as an ordered set endowed with the canonical rooted tree order obtained by setting t ′ ≤ t if and only if t ′ is a descendent of t.and f maps two adjacent nodes either to the same node or to adjacent nodes.It is clear that any regressive homomorphism fixes the root, and maps every branch to itself.Definition 2.4. A Ramsey action α of T on X is given by an action of T on X in the sense of Definition 2.2 such that X α is nonempty and, for every τ ∈ F α , the corresponding spine f τ : T → T is a regressive homomorphism.A similar proof as [18, Lemma 2.1] shows the following.Proposition 2.5. Suppose that T is a rooted tree of height ≤ ω with root r. If α is a Ramsey action of T on X, then X α contains an order-preserving idempotent. Furthermore, if ξ (0) is an idempotent element of X α , then X α contains an order-preserving idempotent ξ such that ξ (r) = ξ (0) (r).Proof. Fix an idempotent element ξ (0) of X α . Let, for k ∈ ω, π k : T → T be the function that maps every node to its k-th predecessor, where we convene that the k-th predecessor of a node of height at most k is the root, and the 0-th predecessor of every node is itself. Let T k be the set of nodes in T of height at most k. We define by recursion on k ∈ ω idempotent elements ξ (k) of X α such that ξ (k) (t) + ξ (k) (t 0 ) = ξ (k) (t) whenever t 0...