Hostname: page-component-586b7cd67f-tf8b9 Total loading time: 0 Render date: 2024-11-23T19:27:00.626Z Has data issue: false hasContentIssue false

A NEW PERSPECTIVE ON SEMI-RETRACTIONS AND THE RAMSEY PROPERTY

Published online by Cambridge University Press:  08 March 2024

DANA BARTOŠOVÁ*
Affiliation:
DEPARTMENT OF MATHEMATICS UNIVERSITY OF FLORIDA 1400 STADIUM ROAD GAINESVILLE, FL 32601 USA URL: https://people.clas.ufl.edu/dbartosova/
LYNN SCOW
Affiliation:
DEPARTMENT OF MATHEMATICS CALIFORNIA STATE UNIVERSITY, SAN BERNARDINO 5500 UNIVERSITY PARKWAY SAN BERNARDINO, CA 92407 USA E-mail: [email protected] URL: https://www.csusb.edu/profile/lynn.scow
Rights & Permissions [Opens in a new window]

Abstract

We investigate the notion of a semi-retraction between two first-order structures (in typically different signatures) that was introduced by the second author as a link between the Ramsey property and generalized indiscernible sequences. We look at semi-retractions through a new lens establishing transfers of the Ramsey property and finite Ramsey degrees under quite general conditions that are optimal as demonstrated by counterexamples. Finally, we compare semi-retractions to the category theoretic notion of a pre-adjunction.

Type
Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press on behalf of The Association for Symbolic Logic

1 Introduction

Our current subject is finiteness of Ramsey degrees for embeddings of finitely generated structures and mechanisms that transfer this property between classes. Given a first-order structure $\mathcal {A}$ in any signature, let $\mathcal {K}:=\text {age}(\mathcal {A})$ be the class of all finitely generated substructures of $\mathcal {A}$ . Given an element $A \in \mathcal {K}$ , we may refer to all substructures of $\mathcal {A}$ isomorphic to A as the A-substructures of $\mathcal {A}$ . We say that $\mathcal {K}$ has the Ramsey property if it has a certain partition property as stated in Definition 2.5: The class $\mathcal {K}$ has the Ramsey property (RP) if for all $A, B \in \mathcal {K}$ and integers $k \geq 1$ there exists $C \in \mathcal {K}$ such that for any coloring of the A-substructures of C, there exists a copy $B'$ of B in C such that the coloring is constant on the A-substructures of $B'$ . There has been much recent work in structural Ramsey theory to understand the full landscape of classes of structures with the Ramsey property. The Nešetřil–Rödl and Abramson–Harrington theorems gave general classes of structures with the Ramsey property [Reference Abramson and Harrington1, Reference Nešetřil and Rödl26], such as linearly ordered graphs and hypergraphs. Several years later, this work was extended to first-order structures in signatures that are not purely relational [Reference Hubička and Nešetřil13], which is our present context.

Ramsey, in his 1929 paper, described the Entscheidungsproblem from the 1928 book by Hilbert and Ackermann, Grundzüge der theoretischen Logik as “the problem of finding a regular procedure to determine the truth or falsity of any given logical formula” [Reference Ramsey30]. In an effort to address this problem for special cases of formulas, Ramsey proved what is now known as the infinite Ramsey theorem for sets, followed by the finite Ramsey theorem for sets (what we would call the Ramsey property for the class of finite sets, in the language of Definition 2.5). The main theorem in [Reference Ramsey30] for universal sentences F in a relational signature states that there is an integer m depending on certain quantities derived from F, such that F is consistent in a structure whose universe has m or more members if and only if some logically equivalent sentence P in disjunctive normal form contains a disjunct of a certain syntactic form. Let $\Delta $ be a finite set of relation symbols and let n be an integer. It is the presence of $\Delta $ -n-indiscernible sequences (see Definition 2.22) of a certain size depending on m, guaranteed by Ramsey’s combinatorial theorem, that guarantees the necessity of the condition in this main theorem. For further implications of Ramsey’s work, the interested reader is invited to consult [Reference MacBride, Marion, Frápolli, Edgington, Elliott, Lutz, Paris, Zalta and Nodelman19]. Later, in [Reference Ehrenfeucht and Mostowski7], the infinite Ramsey theorem for sets is applied to obtain infinite $\Delta $ -n-indiscernible sequences locally based on an infinite subset of a structure. This notion was generalized in [Reference Shelah34] to $\mathcal {I}$ -indexed indiscernible sets, which were the starting point for the investigations of the second author.

An $\mathcal {I}$ -indexed (generalized) indiscernible set (see Definition 2.23) is an $\mathcal {I}$ -indexed set of same-length finite tuples $\overline {a}_i$ from some structure $\mathcal {M}$ , for $i \in \mathcal {I}$ , which sequence is homogeneous in a certain way: The structure $\mathcal {M}$ does not make any more distinctions between finite strings $\overline {a}_{\overline {\imath }}$ , $\overline {a}_{\overline {\jmath }}$ of tuples than the atomic formulas in $\mathcal {I}$ do between $\overline {\imath }$ and $\overline {\jmath }$ . This tool gives streamlined proofs of the equivalence of certain dividing lines in classification theory in model theory, for example, that a theory is unstable if and only if it has the independence property or the strict-order property; or that a theory has the tree property if and only if it has the tree property of either the first or second kind [Reference Shelah34]. A property stated for a specific class of trees in [Reference Džamonja and Shelah6] was referred to as the modeling property by the second author in [Reference Scow31] and proved to be equivalent to $\textrm {age}(\mathcal {I})$ having the Ramsey property, under certain assumptions on $\mathcal {I}$ . In the Introduction to [Reference Scow32], this latter result was termed a “dictionary” theorem, in the spirit that the theorem translates phrase (1) (stated in the language of model theory) into phrase (2) (stated in the language of partition theory) under mild conditions:

  1. (1) For the structure $\mathcal {I}$ , $\mathcal {I}$ -indexed indiscernible sets have the modeling property.

  2. (2) For the structure $\mathcal {I}$ , $\textrm {age}(\mathcal {I})$ has the Ramsey property.

It is arguable that the entanglement of logic and partition theory from the start (as in [Reference Ramsey30]) renders the use of the term “dictionary” moot. The second author appeals to recent history when the two properties described in (1) and (2) were not as well understood to be equivalent. Though the Ramsey property was used extensively in [Reference Shelah34] in different contexts to prove the existence of $\mathcal {I}$ -indexed indiscernible sets that model the definable relations on a pre-existing set of parameters (as was done in [Reference Ehrenfeucht and Mostowski7]), it was not generally clear that these were equivalent properties, and indeed, that the failure of the Ramsey property would guarantee failure of the modeling property in specific contexts, to the detriment of certain model-theoretic investigations. The outstanding hope is that manipulations on the model-theory side could yield new results in partition theory. In fact, an argument in [Reference Scow32] that leveraged the theory of generalized indiscernible sequences provided a new proof of the result in [Reference Leeb18] that a certain class of trees in a functional signature has the Ramsey property. In [Reference Scow32], the dictionary theorem was extended to include all cases when $\mathcal {I}$ is locally finite and ordered, modulo an additional property which was eliminated in [Reference Scow33] as a result of conversations with the first author. The complete Dictionary Theorem is stated in Theorem 2.30.

In [Reference Scow33], the notion of semi-retraction was introduced by the second author, which is a pair of maps between two structures $\mathcal {A}, \mathcal {B}$ in possibly different signatures (see Definition 2.20). This notion, together with the Dictionary Theorem, yielded a theorem detailing when a semi-retraction transfers the Ramsey property from $\mathcal {B}$ to $\mathcal {A}$ , stated in Corollary 2.34. Since the notion of semi-retraction is essentially algebraic, the first author suggested an investigation into a “formula-free” proof of the same result (one that does not specifically use the tools of first-order logic). This approach ultimately led to Theorem 5.1, Corollary 5.5, and Theorem 5.9, which are sharper refinements of Corollary 2.34.

The paper is organized as follows. In Section 2, we outline our basic definitions and notational conventions as well as overview prior results. In Section 3, we state a characterization of semi-retractions in terms of the Ramsey property under certain conditions, Theorem 3.7, and give several examples and non-examples of semi-retractions. In Section 4, we show that the countable random graph and countable random n-regular hypergraphs for $n\geq 3$ are semi-retracts of the countable atomless Boolean algebra. In Section 5, we present our “formula-free” argument for how semi-retractions transfer the Ramsey property, Corollary 5.5: If $\mathcal {A}$ is locally finite and the finitely generated substructures of $\mathcal {B}$ are rigid, then if $\mathcal {B}$ has RP and $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ , $\mathcal {A}$ must have RP. Moreover, Theorem 5.9 eliminates the assumption of rigidity in the case of relational structures. The same technique yields a result on transfer of finite small Ramsey degrees in Corollary 5.3 and Theorem 5.1 (in the latter, rigidity may be omitted again). In Section 6, we explore a categorical characterization of semi-retractions as well as the relationship to pre-adjunctions, which were introduced in [Reference Mašulović21]. In Section 7, we discuss the relationship between semi-retractions and more common constructions in model theory.

2 Preliminaries

We present our basic notation around sequences. A tuple $\overline {a}$ is a finite sequence $(a_0,\ldots ,a_{n-1})$ for some natural number n, and $|\overline {a}|=n$ is defined to be the length of the tuple. Given a set X and an integer $s \geq 1$ , $X^s$ denotes the set of all s-tuples from X. We define $\textrm {ran}~\overline {a} :=\{a_0,\ldots ,a_{n-1}\}$ . All tuples $\overline {a}$ are assumed to be finite unless said otherwise. For two tuples $\overline {a}_1, \overline {a}_2$ , by $\overline {a}_1 \subseteq \overline {a}_2$ we mean that $\textrm {ran}~\overline {a}_1 \subseteq \textrm {ran}~\overline {a}_2$ as sets. For an integer $k \geq 0$ , $k:=\{0,1,2,\ldots ,k-1\}$ . For an integer $k \geq 1$ a k-coloring of a set X is any function $c: X \rightarrow k$ . We denote the image $\{c(x) : x \in X\}$ by $c(X)$ . Given a function $f: X^n \rightarrow Y$ and ${\overline {\imath }':=(i_k : k<s) \in X^s}$ , we define $f(\overline {\imath }') = (f(i_k) : k<s)$ . Let $f:\mathrm{X}\rightarrow Y$ be an injective function and let $\psi :A\rightarrow B$ be a function between two subsets of X. We will denote by $f(\psi ):f(A)\rightarrow f(B)$ the function defined by $f(\psi ):=\{(f(a),f(\psi (a))):a\in A\}.$ Moreover, if $\psi $ is injective, $f(\psi )$ is also injective.

A signature L is a list of symbols that must be interpreted in any L-structure as either relations or functions of the specified arity. The signature is relational if it consists only of relation symbols, and functional if it contains at least one function symbol. We do not assume that signatures are either finite or relational, unless explicitly stated. The cardinality of a set S is denoted by $|S|$ . Given a structure $\mathcal {A}$ , $L({\mathcal {A}})$ refers to the signature of $\mathcal {A}$ , $|\mathcal {A}|$ refers to the underlying set of $\mathcal {A}$ , and $||\mathcal {A}||$ to the cardinality of the set $|\mathcal {A}|.$ We denote by $\textrm {Th}(\mathcal {A})$ the theory of $\mathcal {A}$ – the set of all $L({\mathcal {A}})$ -sentences true in $\mathcal {A}$ . Given $\overline {a}$ from $\mathcal {A}$ , $\left < \overline {a} \right>_{\mathcal {A}}$ denotes the substructure generated by $\overline {a}$ in $\mathcal {A}$ (it will be the closure of $\overline {a}$ under the n-ary function symbols of $L({\mathcal {A}})$ for all $n \geq 0$ ). Given a (possibly infinite) tuple $\overline {x}$ in 1–1 correspondence with an enumeration $\overline {a}$ of $\mathcal {A}$ , by $\textrm {Diag}_{\mathcal {A}}(\overline {x})$ we mean the set of all $R(x_{i_0},\ldots ,x_{i_{n-1}})$ for relation symbols $R \in L({\mathcal {A}})$ such that $\mathcal {A} \vDash R(a_{i_0},\ldots ,a_{i_{n-1}})$ . For an integer $n \geq 1$ , an n-ary L-formula is a first-order formula with free variables included in the list $x_0,\ldots ,x_{n-1}$ with parameters in $\mathcal{A}$ . We say that a set $X \subseteq {|\mathcal {A}|}^n$ is definable if there exists n and an n-ary $L({\mathcal {A}})$ -formula $\varphi (\overline {x})$ such that for all $\overline {a}$ from $\mathcal {A}$ , $\mathcal {A} \vDash \varphi (\overline {a})$ if and only if $\overline {a} \in X$ , and $0$ -definable if $\varphi (\overline {x})$ may be chosen without parameters from $\mathcal {A}$ . A set $X \subseteq {|\mathcal {A}|}^n$ is quantifier-free definable if it is $0$ -definable by way of a quantifier-free formula $\varphi (\overline {x})$ . A structure $\mathcal {A}$ is $\omega $ -homogeneous if any partial isomorphism between finite subsets of $\mathcal {A}$ can be extended to an automorphism of $\mathcal {A}$ . For the basics of formulas, structures, and Fraïssé theory the reader is referred to [Reference Hodges12, Reference Marker20].

For structures $\mathcal {A}, \mathcal {B}$ , $\mathcal {A} \subseteq \mathcal {B}$ always denotes that $\mathcal {A}$ is a substructure of $\mathcal {B}$ , in which case they are structures in the same signature. The age of a structure $\mathcal {A}$ , $\textrm {age}(\mathcal {A})$ is the set of all finitely generated substructures of $\mathcal {A}$ , modulo $L({\mathcal {A}})$ -isomorphism. We will use Roman letters $A, B$ for finitely generated substructures of a given structure $\mathcal {A}$ . For structures $\mathcal {A}, \mathcal {A}'$ , $\mathcal {A} \cong \mathcal {A}'$ means that the structures are isomorphic (and thus, they are in the same signature). To emphasize the shared signature, we might write $\mathcal {A} \cong _L \mathcal {A}'$ , where $L=L({\mathcal {A}})=L(\mathcal {A}')$ . We say that a structure $\mathcal {A}$ is rigid if the only automorphism of $\mathcal {A}$ is the identity map.

Remark 2.1. If $\textrm {age}(\mathcal {B})$ consists of rigid elements, then for any $C, C' \in \textrm {age}(\mathcal {B})$ , if $C \cong C'$ , then this is witnessed by a unique isomorphism $\tau : C \rightarrow C'$ .

Fix a signature L, an L-structure $\mathcal {A}$ , and an integer $n \geq 1$ .

  1. (1) Given a set $\Delta $ of L-formulas, a $\Delta $ -n-type (over $\emptyset $ in $\mathcal {A}$ ) is a set of n-ary formulas from $\Delta $ that is consistent with $\textrm {Th}(\mathcal {A})$ . A complete $\Delta $ -n-type $\pi $ is a $\Delta $ -n-type such that for every n-ary formula $\varphi $ from $\Delta $ , either $\varphi \in \pi $ or $\neg \varphi \in \pi $ . If we drop the use of n, we mean $\Delta $ -n-type for some n.

  2. (2) In the case that $\Delta $ is the set of all quantifier-free L-formulas, we call a $\Delta $ -n-type in $\mathcal {A}$ a quantifier-free n-type in $\mathcal {A}$ . In the case that $\Delta $ is the set of all L-formulas, we call a $\Delta $ -n-type in $\mathcal {A}$ an n-type in $\mathcal {A}$ . Such types are described as “complete” if they are complete $\Delta $ -n-types for the appropriate $\Delta $ .

  3. (3) An n-type p over $\emptyset $ in $\mathcal {A}$ is realized (in $\mathcal {A}$ ) if there exists $\overline {a} \in {|\mathcal {A}|}^n$ such that $\mathcal {A} \vDash \varphi (\overline {a})$ for all $\varphi \in p$ .

  4. (4) A structure $\mathcal {A}$ is $\kappa $ -saturated if for all subsets $S \subseteq |\mathcal {A}|$ such that $|S| < \kappa $ , $\mathcal {A}$ realizes all types in $\mathcal {A}$ over S. We say that $\mathcal {A}$ is saturated, if it is $||\mathcal {A}||$ -saturated.

  5. (5) We define $S^{\mathcal {M}}_n(\emptyset )$ to be the space of all complete n-types over $\emptyset $ in $\mathcal {A}$ with the usual Stone topology, with basic open sets $[\psi ] := \{p \in S^{\mathcal {M}}_n(\emptyset ) \mid \psi \in p\}$ .

  6. (6) Given a tuple $\overline {a} \in {|\mathcal {A}|}^n$ , $\textrm {tp}_\Delta ^{\mathcal {A}}(\overline {a})$ is the complete $\Delta $ -n-type of $\overline {a}$ in $\mathcal {A}$ . For $\textrm {tp}_\Delta ^{\mathcal {A}}(\overline {a})$ , we write $\textrm {qftp}^{\mathcal {A}}(\overline {a})$ when $\Delta $ is the set of all quantifier-free formulas, and we write $\textrm {tp}^{\mathcal {A}}(\overline {a})$ when $\Delta $ is the set of all formulas.

  7. (7) For same-length tuples $\overline {a}, \overline {a}'$ from $\mathcal {A}$ , we will use $\overline {a} \sim _{\mathcal {A}} \overline {a}'$ to mean that $\textrm {qftp}^{\mathcal {A}}(\overline {a})=\textrm {qftp}^{\mathcal {A}}(\overline {a}')$ , $\overline {a} \equiv _\Delta ^{\mathcal {A}} \overline {a}'$ to mean that $\textrm {tp}_\Delta ^{\mathcal {A}}(\overline {a})=\textrm {tp}_\Delta ^{\mathcal {A}}(\overline {a}')$ , and $\overline {a} \equiv ^{\mathcal {A}} \overline {a}'$ to mean that $\textrm {tp}^{\mathcal {A}}(\overline {a})=\textrm {tp}^{\mathcal {A}}(\overline {a}')$ .

Remark 2.2. If a structure $\mathcal {A}$ is saturated then $\mathcal {A}$ realizes all types $p \in S^{\mathcal {A}}_\kappa (\emptyset )$ such that $\kappa \leq ||\mathcal {A}||$ (see Lemma 1.12 in [Reference Shelah34]).

2.1 Structural Ramsey theory and topological dynamics

We start this section with some standard definitions from structural Ramsey theory (see [Reference Kechris, Pestov and Todorčević16, Introduction of part (D)] and [Reference Nešetřil24, Reference Nguyen Van Thé28]). Given L-structures $A, B$ we define ${B \choose A}$ to be the set of all substructures $A' \subseteq B$ such that $A' \cong A$ and $\textrm {Emb}(A,B)$ to be the set of all L-embeddings $f:A \rightarrow B$ . Given an L-embedding $h: B \rightarrow C$ , we define $h \circ \textrm {Emb}(A,B) = \{h \circ f : f \in \textrm {Emb}(A,B) \} \subseteq \textrm {Emb}(A,C)$ .

Following [Reference Masulović22], we define two types of Erdős–Rado partition arrow.

Definition 2.3. Given a signature L, L-structures $A, B, \mathcal {M}$ , and integers $k, d \geq 1$ , the notation

$$ \begin{align*}\mathcal{M} \longrightarrow (B)^A_{r,d}\end{align*} $$

denotes that for all r-colorings $c: {\mathcal {M} \choose A} \rightarrow r$ , there exists $B' \subseteq \mathcal {M}$ , $B' \cong B$ , such that $\left |c({B' \choose A})\right | \leq d$ .

We say that the structure $B'$ above is $\leq d$ -chromatic (for the coloring c on copies of A).

If $d=1$ , it will be dropped in the notation, and we will write

$$ \begin{align*}\mathcal{M} \longrightarrow (B)^A_{r}.\end{align*} $$

Moreover,

denotes that for all r-colorings $c: \textrm {Emb}(A,\mathcal {M}) \rightarrow r$ , there exists $h \in \textrm {Emb}(B,\mathcal {M})$ such that $|c(h \circ \textrm {Emb}(A,B))| \leq d$ .

If $d=1$ , it will be dropped in the notation, and we will write

Definition 2.4. Let $\mathcal {K}$ be a class of finitely generated L-structures, for some signature L, and let $A, B \in \mathcal {K}$ . We say that $(A, B)$ is a Ramsey duo for $\mathcal {K}$ if for all integers $r \geq 2$ there exists $C \in \mathcal {K}$ such that

$$ \begin{align*}C \longrightarrow (B)^A_{r} .\end{align*} $$

We say that $B'$ is a copy of B homogeneous for c (on copies of A).

Definition 2.5. We say that $\mathcal {K}$ has the Ramsey property (RP) if for all $A, B \in \mathcal {K}$ , $(A, B)$ is a Ramsey duo for $\mathcal {K}$ .

Example 2.6. The following classes have RP:

  1. (1) All finite sets in $L = \emptyset $ [Reference Ramsey30].

  2. (2) All finite linear orders in $L= \{<\}$ [Reference Ramsey30].

  3. (3) All finite simple graphs with no loops with an ordering on the vertices in $L = \{R,<\}$ [Reference Abramson and Harrington1, Reference Nešetřil and Rödl26].

  4. (4) All finite n-regular hypergraphs with linear orders in $L=\{R,<\}$ , where R is n-ary [Reference Abramson and Harrington1, Reference Nešetřil and Rödl26].

  5. (5) Convexly ordered finite equivalence relations in $L= \{E,<\}$ (known, see discussion after Corollary 6.8 in [Reference Kechris, Pestov and Todorčević16]).

  6. (6) Finite Boolean algebras in $L=\{\vee ,\wedge ,\neg ,\mathbf {0},\mathbf {1}\}$ [Reference Graham and Rothschild11].

Example 2.7. The following classes do not have RP:

  1. (1) All finite simple graphs with no loops [Reference Nešetřil and Rödl25].

  2. (2) Finite equivalence relations with any ordering on points in $L = \{E,<\}$ (Theorem 6.4 in [Reference Kechris, Pestov and Todorčević16]).

  3. (3) Partial orders with any linear ordering on points in $L = \{<,\prec \}$ [Reference Sokić35].

As we can see in examples above, the class of finite graphs does not have the Ramsey property, but its expansion by linear orders does. This phenomenon leads to the notion of a Ramsey degree.

Definition 2.8. Let $\mathcal {K}$ be a class of L-structures and let $A\in \mathcal {K}$ . We say that A has finite Ramsey degree in $\mathcal {K}$ if there is an integer $d \geq 1$ such that for every $B\in \mathcal {K}$ and every $r\geq 2$ , there is $C\in \mathcal {K}$ such that $C \longrightarrow (B)^A_{r,d}$ .

We define $d(A,\mathcal {K})$ to be the least such integer d, if it exists, and otherwise define $d(A,\mathcal {K})=\infty $ . If $d(A,\mathcal {K})$ is finite, it is the Ramsey degree of A in $\mathcal {K}$ .

Observation 2.9. A class $\mathcal {K}$ has RP if and only if $d(A,\mathcal {K})=1$ for all $A \in \mathcal {K}$ .

We can make a related definition for an infinite structure $\mathcal {M}$ .

Definition 2.10. Given an L-structure $\mathcal {M}$ and a finitely generated substructure $A \subseteq \mathcal {M}$ , we say that A has finite small Ramsey degree in $\mathcal {M}$ if for some integer $d \geq 1$ , for all finitely generated structures $B \subseteq \mathcal {M}$ , for all integers $r \geq 2$ ,

$$ \begin{align*}\mathcal{M} \longrightarrow (B)^A_{r,d}.\end{align*} $$

If A has finite small Ramsey degree in $\mathcal {M}$ , then we define $d(A,\mathcal {M})$ to be the least integer d such that for all finitely generated structures $B \subseteq \mathcal {M}$ , for all integers $r \geq 2$ , $\mathcal {M} \longrightarrow (B)^A_{r,d}$ .

If A does not have finite small Ramsey degree in $\mathcal {M}$ , we define $d(A,\mathcal {M}) = \infty $ .

We say that $(A,B)$ is a Ramsey duo for $\mathcal {M}$ if for all integers $r \geq 2$ ,

$$ \begin{align*}\mathcal{M} \rightarrow (B)^A_{r}.\end{align*} $$

Proposition 2.11. Fix a signature L and a locally finite L-structure M. Let $\mathcal {K}:=\textrm {age}(\mathcal {M})$ . Then, for any finite substructures $A, B \subseteq \mathcal {M}$ , $(A,B)$ is a Ramsey duo for $\mathcal {K}$ if and only if $(A,B)$ is a Ramsey duo for $\mathcal {M}$ .

A proof for Proposition 2.11 is straightforward and provided in the Appendix.

Given the ability to do calculations in a countably infinite structure, the following is common usage:

Definition 2.12. We say that $\mathcal {A}$ has RP if $\textrm {age}(\mathcal {A})$ has RP.

Striking connections between dynamics of an automorphism group of an $\omega $ -homogeneous structure $\mathcal {A}$ and Ramsey degrees of $\textrm {age}(\mathcal {A})$ were established in [Reference Kechris, Pestov and Todorčević16]. The work of these authors and others shows that this relationship is best explained in terms of the Ramsey properties of embeddings rather than substructures.

Definition 2.13. Let $\mathcal {K}$ be a class of L-structures and let $A\in \mathcal {K}$ . We say that A has finite Ramsey degree for embeddings in $\mathcal {K}$ if there is an integer $d \geq 1$ such that for every $B\in \mathcal {K}$ and every $r\geq 2$ there is $C\in \mathcal {K}$ such that for every coloring $c:\textrm {Emb}(A,C)\rightarrow \{0,1,\ldots ,r-1\},$ there is $h\in \textrm {Emb}(B,C)$ such that c on $h\circ \textrm {Emb}(A,B)$ takes at most d colors.

We define $d_e(A,\mathcal {K})$ to be the least such integer d, if it exists, and otherwise define $d_e(A,\mathcal {K})=\infty $ . If $d_e(A,\mathcal {K})$ is finite, it is the Ramsey degree for embeddings of A in $\mathcal {K}$ .

If $d_e(A,\mathcal {K})=1$ for all $A \in \mathcal {K}$ , then we say that $\mathcal {K}$ has the Ramsey property for embeddings.

Definition 2.14. Given an L-structure $\mathcal {M}$ and a finitely generated substructure $A \subseteq \mathcal {M}$ , say that A has finite small Ramsey degree for embeddings in $\mathcal {M}$ if for some integer $d \geq 1$ , for all finitely generated structures $B \subseteq \mathcal {M}$ , for all integers $r \geq 2$ ,

We define $d_e(A,\mathcal {M})$ to be the least such integer d, if it exists, and otherwise define $d_e(A,\mathcal {M})=\infty $ . If $d_e(A,\mathcal {M})$ is finite, it is the Ramsey degree for embeddings of A in  $\mathcal {M}$ .

It is well known that the Ramsey property for a class $\mathcal {K}$ that is an age of finite structures can be understood as a property of an infinite structure $\mathcal {M}$ with ${\textrm {age}(\mathcal {M}) = \mathcal {K}}$ . This is proved for a countable age of finite structures in Proposition 3 of [Reference Nguyen Van Thé28] using ultrafilters, and the generalization to Ramsey degrees is proved in the more general setting of a category $\mathbb {C}$ with a distinguished subcategory $\mathbb {C}_{\textrm {fin}}$ satisfying certain assumptions in Lemma 3.4 of [Reference Masulović22]. In the Appendix we provide a model-theoretic argument for Lemma 2.15 by compactness as an alternative approach.

Lemma 2.15. Fix a signature L and a locally finite L-structure $\mathcal {M}$ . Let ${\mathcal {K}:=\textrm {age}(\mathcal {M})}$ . Then, for any finite substructure $A \subseteq \mathcal {M}$ ,

  1. (1) $d_e(A,\mathcal {K}) = d_e(A,\mathcal {M})$ , and

  2. (2) $d(A,\mathcal {K}) = d(A,\mathcal {M})$ .

The relationship between Ramsey degrees for structures and Ramsey degrees for embeddings has a long history, dating back to work in [Reference Abramson and Harrington1, Reference Fouché10, Reference Nešetřil and Rödl26]. This history is cataloged in the introduction to Section 10 of [Reference Kechris, Pestov and Todorčević16], in which the case of $\mathcal {K}$ having an ordered expansion with RP is worked out in detail. A more general result in a category theory context is offered by Proposition 3.1 of [Reference Masulović22].

Proposition 2.16 [Reference Kechris, Pestov and Todorčević16, Reference Masulović22].

Given a signature L and a class $\mathcal {K}$ of finite L-structures and $A \in \mathcal {K}$ , if $d_e(A,\mathcal {K})$ is finite, then so is $d(A,\mathcal {K})$ and

$$ \begin{align*}d_e(A,\mathcal{K}) = |\textrm{Aut}(A)| \cdot d(A,\mathcal{K}).\end{align*} $$

Below we state the famous Kechris–Pestov–Todorčević correspondence from [Reference Kechris, Pestov and Todorčević16] between the Ramsey property of $\textrm {age}(\mathcal {A})$ for a (countable) $\omega $ -homogeneous structure $\mathcal {A}$ and the fixed point on compacta property of $\textrm {Aut}(\mathcal {A}).$ We start by introducing the necessary notions from topological dynamics.

Let G be a topological group and X a compact Hausdorff space. A continuous function $\alpha :G\times X\to X$ is a G-flow if:

  1. (1) $\alpha (e,x)=x$ for any $x\in X$ and e the neutral element of G,

  2. (2) $\alpha (gh,x)=\alpha (g,\alpha (h,x))$ for every $g,h\in G$ and $x\in X$ .

In, other words, a flow is a continuous group action, where continuity is considered with respect to the product topology. We typically write $gx$ in place of $\alpha (g,x).$ A G-flow on X is minimal if X does not contain a non-empty proper closed G-invariant subset. A homomorphism between G-flows X and Y is a G-equivariant continuous map $\phi :X\to Y,$ i.e., for every $g\in G$ and $x\in X,$ we have $\phi (gx)=g\phi (x).$ If $\phi $ is onto, we say that Y is a quotient of X and if $\phi $ is bijective, it is called an isomorphism. Ellis showed that up to isomorphism, for every topological group G, there is a unique universal minimal flow, $M(G)$ , that is, a minimal G-flow which has every minimal G-flow as a quotient (see [Reference Ellis8] for discrete and [Reference Ellis9] for arbitrary groups). We call G extremely amenable if every G-flow X has a fixed point—a point $x_0\in X$ such that $gx_0=x_0$ for every $g\in G.$ It immediately follows that G is extremely amenable if and only if $M(G)$ is a single point (and thus every minimal G-flow is a single point).

Theorem 2.17 ([Reference Kechris, Pestov and Todorčević16] for countable structures; [Reference Bartošová3] for uncountable structures).

Let $\mathcal {A}$ be an $\omega $ -homogeneous structure. The following are equivalent.

  1. (1) The group $\textrm {Aut}(\mathcal {A})$ is extremely amenable.

  2. (2) The class $\textrm {age}(\mathcal {A})$ satisfies the Ramsey property and consists of rigid elements—structures whose automorphism group is trivial.

In fact a consequence of Proposition 2.16 was observed as Proposition 2.3 in [Reference Mašulović and Scow23] stated in a more general category theory context, namely that a class $\mathcal {K}$ of finite structures has the Ramsey property for embeddings if and only if $\mathcal {K}$ has the Ramsey property for substructures and every member of $\mathcal {K}$ is rigid. Thus item (2) in Theorem 2.17 can be replaced by

  1. (2)’ $\textrm {age}(\mathcal {A})$ satisfies the Ramsey property for embeddings.

In [Reference Kechris, Pestov and Todorčević16], the authors computed a number of universal minimal flows of automorphism groups of countable $\omega $ -homogeneous structures whose ages have finite Ramsey degrees. In fact, Zucker later proved in [Reference Zucker37] that finite Ramsey degrees are equivalent to the universal minimal flow being metrizable, as stated precisely below.

Theorem 2.18 [Reference Kechris, Pestov and Todorčević16, Reference Zucker37].

Let $\mathcal {A}$ be a countable $\omega $ -homogeneous structure. The following are equivalent.

  1. (1) The universal minimal flow $M(\textrm {Aut}(\mathcal {A}))$ is metrizable.

  2. (2) The class $\textrm {age}(\mathcal {A})$ has finite Ramsey degrees for embeddings.

2.2 Semi-retractions

In this section, we will review the notions that informed the proof of the Ramsey transfer result Corollary 2.34. These notions come from model theory, but we will see later that the more general approach in the current paper allows us to drop some of the assumptions originally thought to be necessary in Corollary 2.34, as evidenced by Corollary 5.5.

Definition 2.19 [Reference Scow33].

Given any structures $\mathcal {A}, \mathcal {B}$ , not necessarily in the same signature, we say that an injection $h: \mathcal {A} \rightarrow \mathcal {B}$ is:

  1. (i) Quantifier-free type-respecting (qftp-respecting) if for all finite, same-length tuples $\overline {\imath }, \overline {\jmath }$ from $\mathcal {A}$ ,

    $$ \begin{align*}\overline{\imath} \sim_{\mathcal{A}} \overline{\jmath} \Rightarrow h(\overline{\imath}) \sim_{\mathcal{B}} h(\overline{\jmath}) .\end{align*} $$
  2. (ii) Quantifier-free type-preserving (qftp-preserving) if $\mathcal {A}, \mathcal {B}$ are structures in the same signature and $\textrm {qftp}^{\mathcal {A}}(\overline {\imath }) = \textrm {qftp}^{\mathcal {B}}(h(\overline {\imath }))$ (thus, it is also qftp-respecting).

Definition 2.20 [Reference Scow33].

Let $\mathcal {A}$ , $\mathcal {B}$ be any structures. We say that $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ (via $(g,f)$ ) if:

  1. (1) there exist qftp-respecting injections $\mathcal {A} \xrightarrow {g} \mathcal {B} \xrightarrow {f} \mathcal {A}$ ,

  2. (2) such that $\mathcal {A} \xrightarrow {fg} \mathcal {A}$ is an embedding (equivalently, is qftp-preserving).

We refer to the pair $(g,f)$ as the semi-retraction between $\mathcal {A}$ and $\mathcal {B}$ . We will refer to property (1) in this Definition as the qftp-respecting property of semi-retractions and property (2) as the composition property of semi-retractions.

Observation 2.21. If $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ , then $||\mathcal {A}||=||\mathcal {B}||$ , by the Schröder–Bernstein theorem.

2.3 The modeling property

The first use of Definition 2.22 was in [Reference Ehrenfeucht and Mostowski7] to construct models with many automorphisms. The presentation of Definition 2.22 that we adopt in this paper can be found in [Reference Shelah34].

Definition 2.22 [Reference Ehrenfeucht and Mostowski7].

Given a structure $\mathcal {M}$ , a set $\Delta $ of $L(\mathcal {M})$ -formulas, and an integer $n \geq 1$ , a $\Delta $ -n-indiscernible sequence is a sequence of finite l-tuples $\overline {a}_i$ from $\mathcal {M}$ for some integer $l \geq 1$ indexed by some linear order $\mathcal {I} = (|\mathcal {I}|,<)$ such that for all increasing n-tuples $\overline {\imath },\overline {\jmath }$ from $\mathcal {I}$ ,

$$ \begin{align*}\overline{a}_{\overline{\imath}} \equiv_\Delta^{\mathcal{M}} \overline{a}_{\overline{\jmath}} .\end{align*} $$

In the study of classification theory in model theory there has been significant use of a generalization of this notion named “ $\mathcal {I}$ -indexed indiscernible sets” in [Reference Shelah34] which we will define as follows.

Definition 2.23 [Reference Shelah34].

Fix a structure $\mathcal {I}$ , an integer $l \geq 1$ , and l-tuples $\overline {a}_i$ from some structure $\mathcal {M}$ , for all $i \in \mathcal {I}$ . We say that $(\overline {a}_i \mid i \in \mathcal {I})$ is an $\mathcal {I}$ -indexed indiscernible set if for any integer $n \geq 1$ , for all n-tuples $\overline {\imath },\overline {\jmath }$ from $\mathcal {I}$ ,

$$ \begin{align*}\overline{\imath} \sim_{\mathcal{I}} \overline{\jmath} \Rightarrow \overline{a}_{\overline{\imath}} \equiv^{\mathcal{M}} \overline{a}_{\overline{\jmath}} .\end{align*} $$

We say that $(\overline {a}_i \mid i \in \mathcal {I})$ is an $\mathcal {I}$ -indexed indiscernible sequence if $\mathcal {I}$ is an ordered structure, and additionally a generalized indiscernible sequence when $\mathcal {I}$ is clear from context.

We review some definitions and basic results from [Reference Scow33], where the second author gave a more complete proof that the modeling property is a model-theoretic analogue of the Ramsey property.

Definition 2.24 [Reference Scow32].

Given an integer $l \geq 1$ , an $L'$ -structure $\mathcal {I}$ , an L-structure $\mathcal {M}$ and an $\mathcal {I}$ -indexed set of l-tuples from $\mathcal {M}$ , $X = (\overline {a}_i \mid i \in \mathcal {I})$ , we define the EM-type of X ( $\textrm {EMtp}(X)$ ) to be a syntactic type in variables $(\overline {x}_i \mid i \in \mathcal {I})$ , where $|\overline {x}_i| = l$ for each $i \in \mathcal {I}$ , as follows:

$$ \begin{align*}&\textrm{EMtp}(X) = \{ \psi(\overline{x}_{i_0},\ldots,\overline{x}_{i_{n-1}}) \mid \psi \\ &\quad\in L, \overline{\imath} \in {|\mathcal{I}|}^n \textrm{~and~} (\forall \overline{\jmath} \in {|\mathcal{I}|}^n)( \overline{\jmath} \sim_{\mathcal{I}} \overline{\imath} \Rightarrow \mathcal{M} \vDash \psi(\overline{a}_{j_0},\ldots,\overline{a}_{j_{n-1}})) \}.\end{align*} $$

Proposition 2.25 (Proposition 2 of [Reference Scow32]).

Given an $L'$ -structure $\mathcal {I}$ and an L-structure $\mathcal {M}$ , fix sets of l-tuples from $\mathcal {M}$ indexed by $\mathcal {I}$ , $X = (\overline {a}_i \mid i \in \mathcal {I})$ and $Y = (\overline {b}_i \mid i \in \mathcal {I})$ . We have that $Y \vDash \textrm {EMtp}(X)$ if and only if for any integer $n \geq 1$ , for all complete quantifier-free n-types $\eta $ in $\mathcal {I}$ and all $n \cdot l$ -ary formulas $\varphi \in L$ , if we have the rule

$$ \begin{align*}(\forall \overline{\jmath}) ( \mathcal{I} \vDash \eta(\overline{\jmath}) \Rightarrow \mathcal{M} \vDash \varphi(\overline{a}_{\overline{\jmath}})),\end{align*} $$

then we have the rule

$$ \begin{align*}(\forall \overline{\jmath}) ( \mathcal{I} \vDash \eta(\overline{\jmath}) \Rightarrow \mathcal{M} \vDash \varphi(\overline{b}_{\overline{\jmath}})).\end{align*} $$

Definition 2.26 [Reference Scow32].

Fix sequences of parameters $X = (\overline {a}_i \mid i \in \mathcal {A})$ , $Y = (\overline {b}_i \mid i \in \mathcal {A})$ , where $\overline {a}_i, \overline {b}_i$ are from some L-structure $\mathcal {M}$ .

We say Y is locally based on X if for any finite set of L-formulas, $\Delta $ , and for any finite tuple $(j_0, \ldots , j_{n-1})$ from $\mathcal {A}$ , there exists a tuple $(i_0, \ldots , i_{n-1})$ from $\mathcal {A}$ such that

$$ \begin{align*}\overline{\jmath} \sim_{\mathcal{A}} \overline{\imath}\end{align*} $$

and

$$ \begin{align*}\overline{b}_{\overline{\jmath}} \equiv^{\mathcal{M}}_\Delta \overline{a}_{\overline{\imath}},\end{align*} $$

where Y and X are understood from context, this property will be referred to as local basedness.

We give a proof sketch to illustrate the idea behind Proposition 2.27.

Proposition 2.27 (Proposition 2 in [Reference Scow32]).

Fix sequences of parameters $X = (\overline {a}_i \mid i \in \mathcal {I})$ , $Y = (\overline {b}_i \mid i \in \mathcal {I})$ , where $\overline {a}_i, \overline {b}_i$ are l-tuples from some L-structure $\mathcal {M}$ , for some integer $l \geq 1$ . We have that Y is locally based on X if and only if $Y \vDash \textrm {EMtp}(X)$ .

Proof Suppose $Y \vDash \textrm {EMtp}(X)$ . To show local basedness, fix a finite set of L-formulas $\Delta $ and a finite tuple $\overline {\jmath }$ from $\mathcal {I}$ with complete quantifier-free type $\eta $ in $\mathcal {I}$ . Let $\varphi $ be a conjunction of all the formulas in the finite $\Delta $ -type of $\overline {b}_{\overline {\jmath }}$ . Suppose, for contradiction, there is no $\overline {\imath } \sim _{\mathcal {I}} \overline {\jmath }$ such that $\overline {a}_{\overline {\imath }} \equiv ^{\mathcal {M}}_\Delta \overline {b}_{\jmath }$ . Then

$$ \begin{align*}(\forall \overline{\imath}) ( \mathcal{I} \vDash \eta(\overline{\imath}) \Rightarrow \mathcal{M} \vDash \neg \varphi(\overline{a}_{\overline{\imath}})).\end{align*} $$

Since $Y \vDash \textrm {EMtp}(X)$ , we must have that

$$ \begin{align*}(\forall \overline{\jmath}) ( \mathcal{I} \vDash \eta(\overline{\jmath}) \Rightarrow \mathcal{M} \vDash \neg \varphi(\overline{b}_{\overline{\jmath}})),\end{align*} $$

which contradicts the $\Delta $ -type of $\overline {b}_{\overline {\jmath }}$ .

Suppose Y is locally based on X. To show $Y \vDash \textrm {EMtp}(X)$ , consider a rule from $\textrm {EMtp}(X)$ :

$$ \begin{align*}(\forall \overline{\imath}) ( \mathcal{I} \vDash \eta(\overline{\imath}) \Rightarrow \mathcal{M} \vDash \varphi(\overline{a}_{\overline{\imath}})).\end{align*} $$

Fix any $\overline {\jmath }$ from $\mathcal {I}$ such that $\mathcal {I} \vDash \eta (\overline {\jmath })$ . By local basedness, there is $\overline {\imath } \sim _{\mathcal {I}} \overline {\jmath }$ such that $ \overline {b}_{\overline {\jmath }} \equiv _{\{\varphi \}} \overline {a}_{\overline {\imath }}$ . By the rule for $\eta $ , $\mathcal {M} \vDash \varphi (\overline {a}_{\overline {\imath }})$ . Thus we have that $\mathcal {M} \vDash \varphi (\overline {b}_{\overline {\jmath }})$ , as well. And so we have proved the rule

$$ \begin{align*}(\forall \overline{\jmath}) ( \mathcal{I} \vDash \eta(\overline{\jmath}) \Rightarrow \mathcal{M} \vDash \varphi(\overline{b}_{\overline{\jmath}})).\end{align*} $$

Since this is true for any rule, $Y \vDash \textrm {EMtp}(X)$ .

Definition 2.28 [Reference Scow32].

Given a structure $\mathcal {I}$ , we say that $\mathcal {I}$ -indexed indiscernible sets have the modeling property if for any integer $l \geq 1$ , any $||\mathcal {I}||^+$ -saturated structure $\mathcal {M}$ , and any $\mathcal {I}$ -indexed set of l-tuples from $\mathcal {M}$

$$ \begin{align*}X = (\overline{a}_i \mid i \in \mathcal{I}) ,\end{align*} $$

there exists an $\mathcal {I}$ -indexed indiscernible set of l-tuples from $\mathcal {M}$

$$ \begin{align*}Y = (\overline{b}_i \mid i \in \mathcal{I}),\end{align*} $$

such that $Y \vDash \textrm {EMtp}(X)$ (equivalently, Y is locally based on X, by Proposition 2.27).

Remark 2.29. In fact, it suffices to require that $\mathcal {M}$ in Definition 2.28 be $||\mathcal {I}||$ -saturated, since the type describing Y has $||\mathcal {I}||$ variables and no parameters from $\mathcal {M}$ , as noted in Remark 2.2. Previously, in [Reference Scow32], the bound was required to be $||\mathcal {I}||^+$ not $||\mathcal {I}||$ .

Theorem 2.30 (Dictionary Theorem [Reference Scow31Reference Scow33]).

Suppose that $\mathcal {I}$ is a locally finite ordered structure. Then $\mathcal {I}$ -indexed indiscernible sequences have the modeling property if and only if $\textrm {age}(\mathcal {I})$ has RP.

Theorem 2.30 fails when we drop order:

Example 2.31. Let $\mathcal {I}=(\mathbb {N},=)$ and note that $\textrm {age}(\mathcal {I})$ has RP by Example 2.6. If we take an $\mathcal {I}$ -indexed set in $\mathcal {M}:=(\mathbb {N},<)$ , $X = (i \mid i \in \mathcal {I})$ , then there is no $\mathcal {I}$ -indexed indiscernible set in any extension $\mathcal {M}' \succeq \mathcal {M}$ locally based on X. Such a set would need to have $\textrm {tp}^{\mathcal {M}'}(i,j)=\textrm {tp}^{\mathcal {M}'}(j,i)$ for $i\neq j\in \mathbb {N}$ , which is not possible.

Example 2.31 illustrates why rigidity has been important in applications of structural Ramsey theory to generalized indiscernible sequences in model theory. Consider an injection $f: \mathcal {I} \rightarrow \mathcal {M}$ and parameters $(a_i : i \in \mathcal {I})$ such that $a_i = f(i)$ , for all $i \in \mathcal {I}$ . Given a finite substructure $A \subseteq \mathcal {I}$ of size n, the injection f induces a (possibly infinite) coloring on tuples $(a_0,\ldots ,a_{n})$ such that $\textrm {ran} (\overline {a}) \cong A$ , where $\textrm {tp}^{\mathcal {M}} (f(\overline {a}))$ is the color of $\overline {a}$ . Thus, if finitely generated substructures of $\mathcal {M}$ are rigid, then we will not have an $\mathcal {I}$ -indexed indiscernible set locally based on $(a_i : i \in \mathcal {I})$ if A has a nontrivial automorphism. Note that the modeling property (Definition 2.28) is a universal statement about all structures $\mathcal {M}$ , and so it would immediately fail for $\mathcal {I}$ -indexed indiscernible sets if $\mathcal {I}$ is not rigid. The reason for the modeling property to be a universal property is so that $\mathcal {I}$ can function as a tool in classification theory to compare all theories, even those theories whose models have rigid finitely generated substructures. In fact, theories whose models are linearly ordered by a formula in the language play an important role in classification theory as they are unstable and have the strict-order property.

Theorem 2.30 fails when we drop local finiteness:

Example 2.32. Let $\mathcal {I} = (\mathbb {Z},p,s,<)$ be the structure on $\mathbb {Z}$ with the usual order $<$ and where $p, s$ are unary function symbols interpreted as “predecessor” and “successor”, respectively. The only possible finitely generated substructure of $\mathbb {Z}$ is the whole structure. Since $||\textrm {age}(\mathcal {I})||=1$ , the class trivially has RP. However, we will show that $\mathcal {I}$ -indexed indiscernibles do not have the modeling property, showing the essentialness of the assumption that $\mathcal {I}$ be locally finite in Theorem 2.30. Let $\mathcal {M}$ be the Fraïssé limit of finite convexly ordered equivalence classes in signature $\{E,\prec \}$ . Let $X=(a_i \mid i \in \mathbb {Z})$ be such that all $a_i$ for i odd are in one E-class that we call $\texttt {Odd}$ and all $a_j$ for j even are in a separate E-class that we call $\texttt {Even}$ . Moreover, let $i < j \Rightarrow a_i \prec a_j$ , and $\texttt {Odd}<\texttt {Even}$ in $\mathcal {M}$ . Within this example, we use $\sim $ to denote E-equivalence in the following visualization, where elements are listed in $\prec $ -increasing order in $\mathcal {M}$ :

$$ \begin{align*}\ldots a_1 \sim a_3 \sim a_5 \ldots \nsim \ldots a_2 \sim a_4 \sim a_6 \ldots.\end{align*} $$

The type $\textrm {EMtp}(X)$ requires that whenever $j=s(s(i))$ , $x_i \prec x_j$ and $E(x_i,x_j)$ . However, a decision is not made about $x_i \prec x_j$ when $j=s(i)$ , since sometimes $a_i \prec a_j$ and sometimes $a_j \prec a_i$ , when $j=s(i)$ , though $a_i, a_j$ are always E-inequivalent when $j=s(i)$ . Suppose there is an $\mathcal {I}$ -indexed indiscernible set locally based on X. If this indiscernible set chooses the rule that $b_i \prec b_j$ , whenever $j=s(i)$ , then $\mathcal {M}$ would admit equivalence classes that are not convexly ordered, e.g., with $b_1 \sim b_3$ but

$$ \begin{align*}\ldots b_1 \nsim b_2 \nsim b_3 \ldots\end{align*} $$

a contradiction. The alternative, choosing $b_i \succ b_{s(i)}$ , is incompatible with ${b_i \prec b_{s(s(i))}}$ .

Theorem 2.33 [Reference Scow33].

Let $\mathcal {A}$ and $\mathcal {B}$ be any structures. Suppose that $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ . Furthermore, suppose that $\mathcal {B}$ -indexed indiscernible sets have the modeling property. Then $\mathcal {A}$ -indexed indiscernible sets have the modeling property.

Corollary 2.34 [Reference Scow33].

Let $\mathcal {A}$ and $\mathcal {B}$ be locally finite ordered structures. Suppose that $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ and $\mathcal {B}$ has RP. Then $\mathcal {A}$ has RP.

Proof This follows by Theorems 2.33 and 2.30.

3 Semi-retractions, reducts, and examples

In this section, we consider basic examples of semi-retractions and give a characterization of semi-retractions in Theorem 3.7 under certain assumptions.

Definition 3.1. We say that $\mathcal {A}$ is a quantifier-free reduct of $\mathcal {B}$ if $|\mathcal {A}|=|\mathcal {B}|=M$ and $\sim _{\mathcal {B}}$ refines $\sim _{\mathcal {A}}$ on M, i.e., for all finite same-length tuples $\overline {\imath }, \overline {\jmath }$ from $|\mathcal {A}|$ , $\overline {\imath } \sim _{\mathcal {B}} \overline {\jmath } \Rightarrow \overline {\imath } \sim _{\mathcal {A}} \overline {\jmath }$ .

Observation 3.2. Note that $\mathcal {A}$ is a quantifier-free reduct of $\mathcal {B}$ if and only if $|\mathcal {A}|=|\mathcal {B}|$ and the identity map $id : \mathcal {B} \rightarrow \mathcal {A}$ is qftp-respecting.

Example 3.3. For two structures $\mathcal {A}, \mathcal {B}$ such that $|\mathcal {A}|=|\mathcal {B}|$ , $\mathcal {A}$ is a quantifier-free reduct of $\mathcal {B}$ if any of the following hold.

  1. (1) The signature $L({\mathcal {A}})$ is contained in the signature $L({\mathcal {B}})$ .

  2. (2) Every atomic formula of $\mathcal {A}$ with no parameters is equivalent to a quantifier-free formula of $\mathcal {B}$ with no parameters.

Definition 3.4. We say that $\mathcal {A}$ and $\mathcal {B}$ are quantifier-free interdefinable if $|\mathcal {A}|=|\mathcal {B}|$ and each of $\mathcal {A}$ , $\mathcal {B}$ is a quantifier-free reduct of the other.

Remark 3.5. If $|\mathcal {A}|=|\mathcal {B}|$ , then $\mathcal {A}$ and $\mathcal {B}$ are quantifier-free interdefinable if and only if the pair of identity maps between $\mathcal {A}$ and $\mathcal {B}$ give a semi-retraction (in either order).

Remark 3.6. In Theorem 3.7, the assumption that every quantifier-free type realized in $\mathcal {B}$ is equivalent in $\mathcal {B}$ to an $L({\mathcal {B}})$ -formula follows from the assumption that there are only finitely many quantifier-free n-types realized in $\mathcal {B}$ for any $n \geq 1$ . To see why this is true, enumerate the quantifier-free n-types realized in $\mathcal {B}$ , $\{q_s : s < m\}$ , and note that there exists a quantifier-free formula $\theta _s \in q_t \setminus q_s$ for all $s \neq t$ , $s<m$ . Then, for any $t<m$ , $\mathcal {M} \vDash \forall x \left ( q_t(x) \leftrightarrow \bigwedge _{s \neq t} \theta _s(x) \right )$ .

The assumption that there are only finitely many quantifier-free n-types realized in $\mathcal {B}$ for any $n \geq 1$ holds in any countable $\omega $ -homogeneous structure $\mathcal {B}$ in a finite signature that is uniformly locally finite (meaning for each n, there is a finite bound on the size of substructures of $\mathcal {B}$ generated by n elements). A proof of this result can be read in Corollary 7.4.2 of [Reference Hodges12].

Theorem 3.7. Fix locally finite ordered structures $\mathcal {A}$ and $\mathcal {B}$ and suppose that $\mathcal {A}$ is a quantifier-free reduct of $\mathcal {B}$ (thus, for some $\kappa $ , $|\mathcal {A}|=|\mathcal {B}|=\kappa $ ). Assume that $\mathcal {B}$ is saturated $(i.e.$ , $\kappa $ -saturated.) Suppose that every quantifier-free type realized in $\mathcal {B}$ is equivalent in $\mathcal {B}$ to an $L({\mathcal {B}})$ -formula. Suppose that $\mathcal {B}$ has RP. Then, $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ if and only if $\mathcal {A}$ has RP.

Proof The $\Rightarrow $ is from Corollary 2.34. It remains to show $\Leftarrow $ .

Suppose that $\mathcal {A}$ has RP. Let $X = (a_i \mid i \in \mathcal {A})$ enumerate $\mathcal {B}$ where $a_i = i$ . Since $\mathcal {A}$ has RP, by Theorem 2.30, $\mathcal {A}$ -indexed indiscernible sets have the modeling property. Let $Y = (b_i \mid i \in \mathcal {A})$ be an $\mathcal {A}$ -indexed indiscernible set locally based on X. By the saturation assumption, we know that we can witness Y in $\mathcal {B}$ , and not just in some elementary extension of $\mathcal {B}$ (see Remark 2.2). Define $f: \mathcal {A} \rightarrow \mathcal {B}$ to take $i \mapsto b_i$ . This is an injective map, since $a_i \neq a_j$ for all $i \neq j$ and Y is $\mathcal {A}$ -indexed indiscernible locally based on X. It remains to show that

$$ \begin{align*}\mathcal{A} \xrightarrow{f} \mathcal{B} \xrightarrow{id} \mathcal{A}\end{align*} $$

is a semi-retraction.

By Observation 3.2, we already know that the identity map is qftp-respecting. We must show the remaining properties from Definition 2.19: (i) $\overline {\imath }_1 \sim _{\mathcal {A}} \overline {\imath }_2 \Rightarrow f(\overline {\imath }_1) \sim _{\mathcal {B}} f(\overline {\imath }_2)$ and that (ii) $\overline {\jmath } \sim _{\mathcal {A}} id(f(\overline {\jmath })) = f(\overline {\jmath })$ , for all tuples $\overline {\jmath }, \overline {\imath }_1, \overline {\imath }_2 \in {|\mathcal {A}|}^n$ , for all $n<\omega $ . We have (i) as a direct consequence of $\mathcal {A}$ -indexed indiscernibility. We have (ii) from local basedness: for every finite subset of $L({\mathcal {B}})$ -formulas $\Delta $ , for any $\overline {\jmath } \in {|\mathcal {A}|}^n$ , there is $\overline {\imath } \sim _{\mathcal {A}} \overline {\jmath }$ from $\mathcal {A}$ such that $b_{\overline {\jmath }} \equiv ^{\mathcal {B}}_{\Delta } a_{\overline {\imath }}$ . In other words, $f(\overline {\jmath }) = b_{\overline {\jmath }} \equiv ^{\mathcal {B}}_{\Delta } a_{\overline {\imath }} = \overline {\imath }$ . Given an arbitrary $\overline {\jmath }$ , let $\Delta $ contain the formula equivalent to $\textrm {qftp}^{\mathcal {B}}(f(\overline {\jmath }))$ , and fix a corresponding $\overline {\imath } \sim _{\mathcal {A}} \overline {\jmath }$ . Then, $f(\overline {\jmath }) \sim _{\mathcal {B}} \overline {\imath }$ , which implies that $f(\overline {\jmath }) \sim _{\mathcal {A}} \overline {\imath }$ , since $\mathcal {A}$ is a quantifier-free reduct of $\mathcal {B}$ . Since $f(\overline {\jmath }) \sim _{\mathcal {A}} \overline {\imath } \sim _{\mathcal {A}} \overline {\jmath }$ , we have that $f(\overline {\jmath }) \sim _{\mathcal {A}} \overline {\jmath }$ , showing (ii).

Example 3.8. Let $\mathcal {B}:=\mathcal {R}^<$ be the random ordered graph (the Fraïssé limit of finite ordered graphs) and $\mathcal {A}:= \mathcal {B} \upharpoonright \{<\}$ , so $\mathcal {A}$ is isomorphic to the rational linear order. It is easy to see that $\mathcal {A}$ is a quantifier-free reduct of $\mathcal {B}$ , $\mathcal {B}$ is countably saturated, and both are locally finite and ordered. By Theorem 3.7, $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ .

In order to find a semi-retraction $(g,f)$ between $\mathcal {A}$ and $\mathcal {B}$ , one strategy is to take an indiscernible sequence $(g(i) \mid i \in \mathcal {A})$ in $\mathcal {R}^<$ , i.e., such that for all integers $n \geq 0$ , for all $i_0<\dots <i_{n-1}$ and $j_0<\dots <j_{n-1}$ from $\mathcal {A}$ , the map $g(i_k) \mapsto g(j_k)$ for all $k<n$ provides an isomorphism of ordered graphs in $\mathcal {B}$ . Such an indiscernible sequence is guaranteed to exist in $\mathcal {B}$ , but in such a straightforward case, we can discern the existence of such a one directly: let $g(\mathcal {A})$ be a copy of the countably infinite complete graph $K_\omega $ whose vertices form a dense linear order without endpoints under $<$ (guaranteed to exist in $\mathcal {B}$ by its saturation), where $g: \mathcal {A} \rightarrow \mathcal {B}$ is set up to preserve order. Then f can be taken to be merely the identity map, as follows:

$$ \begin{align*}\mathcal{A} \xrightarrow{g} \mathcal{B} \xrightarrow{f=\textrm{id}} \mathcal{A} .\end{align*} $$

This pair $(g,f)$ now witnesses that $\mathcal {A}$ is a semi-retract of $\mathcal {R}$ .

Though both $\mathcal {A},\mathcal {B}$ are well-known to have RP, this fact can be thought of as an instance of transfer by Corollary 5.5.

A similar argument can be made for the case $\mathcal {A} = (\mathbb {Q},<)$ and $\mathcal {B} = (|\mathcal {B}|, E, \prec ),$ where $\mathcal {B}$ is either of the ordered equivalence relation structures described in Examples 2.6 or 2.7.

Next we look at three locally finite ordered structures known to have RP: the Shelah tree $\mathcal {I}_{\textrm {stree}}$ , the strong tree $\mathcal {I}_{\textrm {strtree}}$ , and the convexly ordered equivalence relation $\mathcal {I}_{\textrm {eq}}$ . The structure $\mathcal {I}_{\textrm {eq}}$ has RP (Example 2.6) which fact is related to the usefulness of mutually indiscernible sequences in model theory (see Theorem III.7.12(iii) in [Reference Shelah34] for an early example of mutually indiscernible sequences) even if RP is not explicitly mentioned. An infinitary proof that shows that $\mathcal {I}_{\textrm {stree}}$ has RP is given in the Appendix of [Reference Shelah34] and a finitary proof is given in Lemma 2 in Section 2.2 of Chapter 2 of [Reference Nguyen Van Thé27]. The fact that $\mathcal {I}_{\textrm {strtree}}$ has RP is implicitly used in the proof of Theorem III.7.11 in [Reference Shelah34] and used explicitly in the survey paper [Reference Kim, Kim and Scow17] (see [Reference Scow32] for a more detailed discussion of this history).

Definition 3.9.

  • Define $\mathcal {I}_{\textrm {stree}}$ to be the structure on $\omega ^{<\omega }$ (finite sequences from $\omega $ ) in the signature $\{\unlhd , \wedge , <_{\textrm {lex}}, \{P_n\}_{n \in \omega } \}$ , where for all $\eta , \nu \in \omega ^{<\omega }$ , $\eta \unlhd \nu $ if and only if $\eta $ is an initial segment of $\nu $ , $\wedge $ is the meet in the partial order $\unlhd $ , $<_{\textrm {lex}}$ is the lexicographic order on finite sequences, i.e., $\eta <_{\textrm {lex}} \nu $ if and only if

    $$ \begin{align*}\eta \unlhd \nu \textrm{~or~} \eta( |\eta \wedge \nu| ) < \nu( |\eta \wedge \nu| ) ,\end{align*} $$
    and $ \eta \in P_n $ if and only if $ |\eta | = n$ , for all $n \in \omega $ .
  • Define $\mathcal {I}_{\textrm {strtree}}$ to be the structure on $\omega ^{<\omega }$ in the signature $\{\unlhd , \wedge , <_{\textrm {lex}}, <_{\textrm {len}} \}$ , where $\unlhd , \wedge , <_{\textrm {lex}}$ are interpreted as in $\mathcal {I}_{\textrm {stree}}$ and $<_{\textrm {len}}$ is the preorder on $\mu , \nu \in \omega ^{<\omega }$ defined by the lengths of the sequences:

    $$ \begin{align*}\mu <_{\textrm{len}} \nu \Leftrightarrow|\mu| < |\nu|.\end{align*} $$
  • Define $\mathcal {I}_{\textrm {eq}}$ to be the structure on $\omega \times \omega $ in the signature $\{ E, \prec \}$ , where for all $(i,j),(s,t) \in \omega \times \omega $ , $(i,j)E(s,t) \Leftrightarrow i=s$ and $(i,j) \prec (s,t) \Leftrightarrow i<s \vee (i=s \wedge j<t)$ .

We recall the following example of a semi-retraction that transfers RP from $\textrm {age}(\mathcal {I}_{\textrm {strtree}})$ to $\textrm {age}(\mathcal {I}_{\textrm {eq}})$ .

Proposition 3.10 [Reference Scow33].

Let $\mathcal {A}$ be the structure on the underlying set $\omega \times \mathbb {Q}$ such that $\textrm {age}(\mathcal {A}) = \textrm {age}(\mathcal {I}_{\textrm {eq}})$ and each equivalence class in $\mathcal {A}$ is densely ordered by $\prec $ . Let $\mathcal {B}$ be the structure on the underlying set ${\mathbb {Q}}^{<\omega }$ such that $\textrm {age}(\mathcal {B}) = \textrm {age}(\mathcal {I}_{\textrm {strtree}})$ and the $\unlhd $ -successors of any fixed node in $\mathcal {B}$ are densely ordered by $<_{\textrm {lex}}$ . Then $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ .

Proof Given $i \in \omega $ , by the ith level in $\mathcal {B}$ , we mean all sequences in ${\mathbb {Q}}^{<\omega }$ of length i, and by the ith equivalence class in $\mathcal {A}$ , we mean $\{(i,x) \mid x \in \mathbb {Q} \}$ .

Let $\eta _i = {\underbrace {( 0, \ldots , 0 )}_{2i}}$ . Let g take the ith equivalence class in $\mathcal {A}$ into $\{\eta _i^\smallfrown ( j ) \mid j \in \mathbb {Q}_{>0}\}$ in a way that preserves the order. Let $f: \mathcal {B} \rightarrow \mathcal {A}$ be the map that takes the ith level in $\mathcal {B}$ into the ith equivalence class in $\mathcal {A}$ in a way that preserves the order. Then $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ via $(g,f)$ .

The following example is an application of Theorem 3.7.

Example 3.11. Since $\mathcal {I}_{\textrm {stree}}$ is ordered and has RP, $\textrm {age}(\mathcal {I}_{\textrm {stree}})$ is an amalgamation class. Let $\mathcal {B}$ be the Fraïssé limit of $\mathcal {I}_{\textrm {stree}}$ and let $\mathcal {A}$ be the reduct of $\mathcal {B}$ to the signature of $\mathcal {I}_{\textrm {strtree}}$ . Thus, $\textrm {age}(\mathcal {A}) = \textrm {age}(\mathcal {I}_{\textrm {strtree}})$ and so $\mathcal {A}$ has RP and $\mathcal {B}$ has RP. Since $\mathcal {B}$ is $\omega $ -homogeneous and uniformly locally finite in a finite signature, $\textrm {Th}(\mathcal {B})$ is $\aleph _0$ -categorical and has quantifier elimination, as in Remark 3.6, and so $\mathcal {B}$ is $\aleph _0$ -saturated and every quantifier-free type in $\mathcal {B}$ is equivalent to an $L({\mathcal {B}})$ -formula in $\mathcal {B}$ . Since the conditions in Theorem 3.7 are satisfied and $\mathcal {A}$ has RP, it must be that $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ .

4 (Counter)example

This section is inspired by an example of Mašulović from [Reference Mašulović21] where a pre-adjunction (see Section 6.1) is constructed to transfer RP from the category of finite naturally ordered Boolean algebras to the category of finite linearly ordered graphs. Both classes were previously known to have RP (see [Reference Abramson and Harrington1, Reference Nešetřil and Rödl26] for linearly ordered graphs, and [Reference Graham and Rothschild11] for Boolean algebras), but the mechanism of transfer is quite interesting with a number of applications.

Let $\mathcal {R}$ denote the countably infinite Random graph (the Fraïssé limit of finite graphs) and let $\mathcal {H}_n$ denote the countably infinite random n-regular hypergraph (the Fraïssé limit of finite n-regular hypergraphs). Let $\mathcal {B}_{ba}$ denote the countable atomless Boolean algebra (the Fraïssé limit of finite Boolean algebras) with its induced partial order denoted by $<^{\mathcal {B}_{ba}}$ . Below we show that $\mathcal {R}$ and $\mathcal {H}_n$ are semi-retracts of $\mathcal {B}_{ba}$ . By Theorem 5.1, this gives us upper bounds on Ramsey degrees for embeddings of finite graphs, respectively, finite n-regular hypergraphs, in terms of Ramsey degrees for embeddings of finite Boolean algebras, and consequently on Ramsey degrees of substructures by Corollary 5.2 (see Remark 4.2 for a more detailed analysis).

4.1 Semi-retracts of the countable atomless Boolean algebra

Theorem 4.1. The countable random graph $\mathcal {R}$ is a semi-retract of the countable atomless Boolean algebra $\mathcal {B}_{ba}$ .

Proof We define a graph relation R on $\mathcal {B}_{ba}$ as Mašulović does on power set algebras of finite sets in [Reference Mašulović21]: $(a,b)\in R$ if and only if $a \neq b$ and $a\wedge b\neq \mathbf {0}$ . We will build a graph embedding $g:\mathcal {R}\rightarrow (\mathcal {B}_{ba},R)$ that will be qftp-respecting when $\mathcal {B}_{ba}$ is considered as a Boolean algebra. Since $\mathcal {R}$ is universal for countable graphs, there must be a graph embedding $f: (\mathcal {B}_{ba},R)\rightarrow \mathcal {R}$ . Clearly, f will remain qftp-respecting with respect to $\mathcal {B}_{ba}$ in the signature of Boolean algebras. Since g and f are graph embeddings, $f\circ g$ is a graph embedding from $\mathcal {R}$ to itself. Thus $(g,f)$ will be a semi-retraction between $\mathcal {R}$ and $\mathcal {B}_{ba}$ .

Let $V=\{v_n:n\in \omega \}$ be an enumeration of vertices in $\mathcal {R}$ . Recall that an antichain in a Boolean algebra is a collection of non-zero elements such that every two distinct elements have zero meet. Pick an infinite antichain $B=\{b_n:n\in \omega \}$ in $\mathcal {B}_{ba}$ . For any $b_n\in B,$ let $\{b_n^i:i\in \omega \}$ be an antichain $\leq ^{\mathcal {B}_{ba}}$ -below $b_n.$ Define $g:\mathcal {R}\to \mathcal {B}_{ba}$ by

$$\begin{align*}g(v_n)=b_n\vee\bigvee_{i<n}b_i^n(\varepsilon),\end{align*}$$

where

$$\begin{align*}b_i^n(\varepsilon)=\begin{cases} b_i^n,\ \textrm{if } (v_i,v_n)\in E,\\ \mathbf{0},\ \textrm{otherwise}. \end{cases} \end{align*}$$

We will show that g is qftp-respecting: Every quantifier-free type in $\mathcal {R}$ is determined by E on pairs of points, and that needs to be reflected in the image of g. By the definition of g, if $(v_i,v_n)\in E$ and $i<n$ then $g(v_i)\wedge g(v_n)=b_i^n \neq \mathbf {0}$ . If $(v_i,v_n)\notin E,$ then $g(v_i)\wedge g(v_n)=\mathbf {0}$ .

Any Boolean expression with variables $x_0,\ldots , x_{n-1}$ has its unique equivalent full disjunctive normal form, that is, a disjunction of clauses, where each clause consist of conjunction of literals $x_i$ or $\neg x_i$ so that each of the variables $x_i$ appears in every clause. We will show that an n-type of elements of $\mathcal {B}_{ba}$ in the image of g depends only on the type of the graph they encode:

  1. (1) For every triple of distinct numbers $i,j,k$ : $g(v_i)\wedge g(v_j)\wedge g(v_k)=\textbf {0}$ .

  2. (2) Whenever $i< j,$ we have that $g(v_i)\wedge g(v_j)=\begin {cases} \mathbf {0},\ \ \text {if } (v_i,v_j)\notin E,\\ b_i^j,\ \ \text {if } (v_i,v_j)\in E. \end {cases}$

It follows that every non-zero clause has at most two positive literals. Further,

  1. (3) For any $i\neq j$ ,

    $$\begin{align*}g(v_i)\wedge \neg g(v_j)=g(v_i)\wedge \neg(g(v_i)\wedge g(v_j))= \!\begin{cases} g(v_i),\ \text{if } (v_i,v_j)\notin E,\\ g(v_i) \wedge \neg b_i^j, \ \text{if } (v_i,v_j)\in E \ \text{and} \ i<j, \\ g(v_i) \wedge \neg b_j^i, \ \text{if } (v_i,v_j)\in E \ \text{and } i>j. \end{cases} \end{align*}$$
  2. (4) For $i\neq j,\ \neg g(v_i)\wedge \neg g(v_j)=\neg (g(v_i)\vee g(v_j))$ by de Morgan’s law.

Let $v_{i_0}, v_{i_2},\ldots , v_{i_{n-1}}$ be n distinct vertices of $\mathcal {R}$ . We will consider Boolean expression in $g(v_{i_0}),\ldots , g(v_{i_{n-1}})$ in full disjunctive normal form. From the analysis above, we have three cases.

  1. (i) If a clause contains no positive literal, then it is equal to $\neg (\bigvee _{k=0}^{n-1}g(v_{i_k}))$ , which is a positive element disjoint from any $g(v_{i_k}).$

  2. (ii) If a clause has one positive literal $g(v_{i_k})$ and all other $n-1$ negative, it equals to

    $$\begin{align*}g(v_{i_k})\wedge \neg(\bigvee \{g(v_{i_k})\wedge g(v_{i_j}):(v_{i_k},v_{i_j})\in E\}),\end{align*}$$
    which is $\leq ^{\mathcal {B}_{ba}} g(v_{i_k})$ and disjoint from every $g(v_{i_k})\wedge g(v_{i_j})$ for $j\neq k.$
  3. (iii) If a clause contains two positive literals $g(v_{i_k}), g(v_{i_l})$ , then it is equal to $g(v_{i_k})\wedge g(v_{i_l}).$

There are no non-trivial equations with quantifier free formulas about an n-tuple in the image of g other than comparison with $\mathbf {0}$ . Since clauses in items (i) and (ii) are never equal to $\mathbf {0},$ the entire type is decided by the clauses as in (iii), which corresponds exactly to the type of the finite graph in the preimage.

Remark 4.2. We say that A is a Ramsey object in $\mathcal {K}$ if for all $B \in \mathcal {K}$ , $(A,B)$ is a Ramsey duo for $\mathcal {K}$ . The class of finite Boolean algebras has RP (as in Example 2.6) while only complete or empty graphs are Ramsey objects in the class of finite graphs, as shown in [Reference Nešetřil and Rödl25]. Therefore, to secure transfer of RP by semi-retractions, the requirement on rigidity of $\mathcal {B}$ in Corollary 5.5 or on relational signature in Theorem 5.9 cannot be completely removed. The reason in the example of Theorem 4.1 is that there can be two distinct copies $\Gamma _1,\Gamma _2$ of the same finite graph in $\mathcal {R}$ such that $f^{-1}(\Gamma _1)$ and $f^{-1}(\Gamma _2)$ have the same quantifier-free type and generate the same Boolean subalgebra A of $\mathcal {B}_{ba}$ (thanks to function symbols in the signature of Boolean algebras). This would not have been possible if $\textrm {age}(\mathcal {B}_{ba})$ were rigid, since a partial isomorphism from $f^{-1}(\Gamma _1)$ to $f^{-1}(\Gamma _2)$ given by having the same quantifier-free type would extend to a non-trivial automorphism of A.

Theorem 5.1 applied to $(g,f)$ shows that the finite Ramsey degree of a finite graph $\Gamma $ in the class of finite graphs with embeddings is bounded above by the Ramsey degree of the Boolean subalgebra of $\mathcal {B}_{ba}$ generated by $g(\Gamma )$ in the class of finite Boolean algebras with embeddings (which is equal to $n!$ , where n is the number of atoms in $\left <g(\Gamma )\right>$ ). It can be derived from results in [Reference Abramson and Harrington1] and [Reference Nešetřil and Rödl26] that the exact Ramsey degree for embeddings of a graph on m vertices is $m!$ . Thus our estimate is optimal only in the case of discrete graphs.

Question 4.3. The example of a semi-retraction on Theorem 4.1 was inspired by an example in [Reference Mašulović21]. However, Mašulović’s example is about the classes of finite ordered graphs and finite naturally ordered Boolean algebras, rather than their unordered versions presented here. Is the random ordered graph (the Fraïssé limit of finite linearly ordered graphs) a semi-retract of the countable atomless Boolean algebra with a generic normal order (the Fraïssé limit of finite naturally ordered Boolean algebras)?

Let $\mathcal {H}_n=(V,E)$ be the countable random n-regular hypergraph. Mašulović commented in his paper [Reference Mašulović21] that the method he used to witness the Ramsey property of linearly ordered graphs by that of finite naturally ordered Boolean algebras did not generalize to higher arity hypergraphs. We were able to overcome this obstacle in the unordered case. As in graphs, one needs to ensure that the g-part of the semi-retraction maps to a portion of the Boolean algebra, where every type is determined only by the hypergraph relation. This can be achieved by a construction similar to that in Theorem 4.1, while making sure that all k-tuples for $k<n$ have the same type.

Theorem 4.4. For any integer $n\geq 2$ , $\mathcal {H}_n$ is a semi-retract of $\mathcal {B}_{ba}$ .

Proof We define an n-ary hypergraph embedding $H_n$ on $\mathcal {B}_{ba}$ by $(b_0,\ldots ,b_{n-1})\in H_n$ iff $\bigwedge _{i<j<n} b_i \neq b_j$ and $\bigwedge _{l=0}^{n-1} b_l\neq \textbf {0}$ . We will define an hypergraph embedding $g:\mathcal {H}_n\to (\mathcal {B}_{ba}, H_n)$ and by universality of $\mathcal {H}_n,$ there is an embedding $f:(\mathcal {B}_{ba},H_n)\to \mathcal {H}_n$ . Since $H_n$ is quantifier-free definable in $\mathcal {B}$ , taking the reduct $\mathcal {B}_{ba}$ of $(\mathcal {B}_{ba}, H_n),\ (g,f)$ will be a semi-retraction between $\mathcal {B}_{ba}$ and $\mathcal {H}_n$ , as in the case of the random graph. However, we need to be more careful when defining g than in the graph case – in $(\mathcal {B}_{ba},H_n)$ there are different $<n$ -types, which is not true in $\mathcal {H}_n$

For every $1\leq k\leq n,$ let $B_k=\{b_{\overline {\imath }}: \overline {\imath }\in \omega ^{[k]}\}$ be an antichain in $\mathcal {B}_{ba}$ , where $\omega ^{[k]}$ denotes all strictly increasing sequences in $\omega $ of length k. We further require that if $\overline {\imath }$ is an initial segment of $\overline {\jmath },$ then $b_{\overline {\jmath }} <^{\mathcal {B}_{ba}} b_{\overline {\imath }}.$ Let $\{v_l:l\in \omega \}$ be an enumeration of vertices of $\mathcal {H}_n$ and let E denote the set of hyperedges. We define $g:\mathcal {H}_n\to (\mathcal {B}_{ba},H_n)$ by

$$\begin{align*}g(v_l)=\bigvee_{\overline{\imath}(|\overline{\imath}|-1)=l, |\overline{\imath}|<n} b_{\overline{\imath}}\vee \bigvee_{\overline{\imath}(|\overline{\imath}|-1)=l,|\overline{\imath}|=n, (v_{i(0)},\ldots,v_{i(n-1)})\in E} b_{\overline{\imath}}. \end{align*}$$

Since each $B_k$ is an antichain, we have that for any $\overline {\imath }\in \omega ^{[k]}$

$$\begin{align*}\bigwedge_{l=0}^{k-1} g(v_{i(l)})\neq\mathbf{0} \ \text{iff } k<n, \text{\ or } k=n \ \text{and}\ (v_{i(0)},\ldots,v_{i(n-1)})\in H_n. \end{align*}$$

We have that g and f are hypergraph embeddings and thus $fg$ is an embedding. As in the proof of Theorem 4.1, one can show that every N-type for $N\geq n$ in $g(\mathcal {H}_n)$ is determined by n-types. Here it is crucial that every two k-tuples for $k<n$ have the same type and therefore n-types are determined solely by the hypergraph relation. We can conclude that g considered as a map $\mathcal {H}_n\to \mathcal {B}_{ba}$ is qftp-respecting.

Remark 4.5. As in 4.2, by Theorem 5.1, the Ramsey degree for embeddings of a finite hypergraph H in the class of finite hypergraphs is bounded above by the Ramsey degree of $\left <g(H)\right>$ in the class of finite Boolean algebras with embeddings.

5 Formula-free approach to transferring the RP

In prior work [Reference Scow33], Corollary 2.34 demonstrated how semi-retractions transfer RP when $\mathcal {A}$ and $\mathcal {B}$ are both ordered and locally finite. In this section we show in Corollary 5.5 that some of the assumptions in Corollary 2.34 may be dropped. Namely, we only need rigidity of the structures in $\textrm {age}(\mathcal {B})$ and we only need local finiteness of $\mathcal {A}$ . In fact, the transfer can be done locally for a pair of finite structures $(A,B)$ in $\mathcal {A}$ , as demonstrated in Corollary 5.4. Moreover, if the signatures of $\mathcal {A}$ and $\mathcal {B}$ are relational, we no longer need rigidity in $\textrm {age}(\mathcal {B})$ as shown in Theorem 5.9.

In Remark 4.2, we noted that the rigidity assumption in Corollary 5.4 or the relational language in Theorem 5.9 cannot be removed. However, if we consider the Ramsey property for embeddings rather than for substructures, which is the natural framework in dynamical applications, we obtain a transfer principle for finite Ramsey degrees for embeddings (Theorem 5.1) that does not assume more about $\mathcal {A}$ and $\mathcal {B}$ other than that $\mathcal {A}$ is a locally finite semi-retract of $\mathcal {B}$ . We include examples that demonstrate the necessity of the assumptions in Corollaries 5.4 and 5.5.

Theorem 5.1. Suppose that $\mathcal {A}$ is a locally finite semi-retract of $\mathcal {B}$ via $(g,f)$ . Let $A \in \textrm {age}(\mathcal {A})$ . Suppose that $\left <g(A)\right>_{\mathcal {B}}$ has Ramsey degree d for embeddings in $\textrm {age}(\mathcal {B})$ . Then A has Ramsey degree $\leq d$ for embeddings in $\textrm {age}(\mathcal {A})$ .

Proof Let $A_0, B_0$ be finite substructures of $\mathcal {A}$ and let $A=fg(A_0)\cong A_0$ and $B=fg(B_0)\cong B_0$ . Let $c:\textrm {Emb}(A,\mathcal {A})\to \{0,1,\ldots , r-1\}$ be a coloring. We will make use of Lemma 2.15 in proving this result.

Let $A'=\left <g(A_0)\right>_{\mathcal {B}}$ and $B'=\left <g(B_0)\right>_{\mathcal {B}}$ . Given any $e \in \textrm {Emb}(A',B')$ , the domain of $f(e \upharpoonright g(A_0))$ is $fg(A_0)=A$ . For any $\overline {x}\in g(A_0),$ we have $\overline {x} \sim _{\mathcal {B}} e(\overline {x})$ since e is an embedding, and thus by the qftp-respecting property of f, $f(\overline {x}) \sim _{\mathcal {A}} f(e(\overline {x}))$ . By these two observations, $f(e\upharpoonright g(A_0)) \in \textrm {Emb}(A,\mathcal {A})$ . Thus, we may define an induced coloring $c_0: \textrm {Emb}(A',\mathcal {B}) \rightarrow \{0,1,\ldots , r-1\}$ by $c_0(e)=c(f(e \upharpoonright g(A_0)))$ .

By assumption, there exists $h \in \textrm {Emb}(B',\mathcal {B})$ such that $c_0$ restricted to $h\circ \textrm {Emb}(A',B')$ takes on at most d colors. We let $k=f(h\restriction g(B_0))$ . By an argument similar to the one in the previous paragraph, we have that $k\in \textrm {Emb}(B,\mathcal {A})$ . We claim that c restricted to $k \circ \textrm {Emb}(A,B)$ takes on at most d colors:

Fix any $j \in \textrm {Emb}(A,B)$ . It is enough to show that $c(k \circ j) = c_0(h \circ j')$ for some $j' \in \textrm {Emb}(A',B')$ . By the definition of A and B, and since $fg: \mathcal {A} \to \mathcal {A}$ is an embedding, we have that $(fg)^{-1}(j) \in \textrm {Emb}(A_0,B_0)$ . Let $j'\in \textrm {Emb}(A',B')$ to be unique embedding extending the partial embedding $g((fg)^{-1}(j))= f^{-1}(j):g(A_0) \to g(B_0)$ . Then $j'$ satisfies $c(k \circ j) = c_0(h \circ j')$ . To see this, note that $c_0(h \circ j')$ is defined to be $c(f((h \circ j') \upharpoonright g(A_0)))$ . However, $(h \circ j') {\kern1pt}\upharpoonright{\kern1pt} g(A_0){\kern1pt} = h {\kern1.5pt}\circ{\kern1.5pt} (j' {\kern1.5pt}\upharpoonright{\kern1.5pt} g(A_0)) {\kern2.5pt}={\kern2.5pt} h {\kern1.5pt}\circ{\kern1.5pt} (f^{-1}(j) {\kern1.5pt}\upharpoonright{\kern1.5pt} g(A_0)) {\kern2.5pt}={\kern2.5pt} (h {\kern1.5pt}\upharpoonright{\kern1.5pt} g(B_0)) {\kern1.5pt}\circ{\kern1.5pt} (f^{-1}(j) {\kern1.5pt}\upharpoonright{\kern1.5pt} g(A_0)){\kern1.5pt} = (f^{-1}(k)) \circ (f^{-1}(j) \upharpoonright g(A_0))$ . Now applying f to $(h \circ j') \upharpoonright g(A_0)$ we obtain f applied to $(f^{-1}(k)) \circ (f^{-1}(j) \upharpoonright g(A_0))$ which is $k \circ j$ . Thus $c(f((h \circ j') \upharpoonright g(A_0))) = c(k \circ j)$ , as desired.

In Proposition 2.16, we recalled the exact formula relating the Ramsey degree for embeddings and the Ramsey degree for substructures in case of a locally finite class. Therefore Theorem 5.1 immediately yields the following corollary.

Corollary 5.2. Suppose that $\mathcal {A}$ is a locally finite semi-retract of $\mathcal {B}$ via $(g,f)$ . Let $A \in \textrm {age}(\mathcal {A})$ . Suppose that $\left <g(A)\right>_{\mathcal {B}}$ has Ramsey degree d for embeddings in $\textrm {age}(\mathcal {B})$ . Then A has Ramsey degree $\leq d/|\textrm {Aut}(\mathcal {A})|$ for substructures in $\textrm {age}(\mathcal {A})$ .

In Theorem 4.1, we provided an example of the random graph as a semi-retract of the countable atomless Boolean algebra. While the class of finite Boolean algebras is a Ramsey class, the class of finite graphs is not, so we cannot simply say that semi-retractions transfer the Ramsey property for structures. However, the existence of the semi-retraction provides a bound on finite Ramsey degrees of finite graphs as per Corollary 5.2. We point out that the reason that Section 4 does not provide a direct transfer of the Ramsey property is that the signature of Boolean algebras contains function symbols, $\textrm {age}(\mathcal {B}_{ba})$ is not rigid, and the semi-retraction defined in the proof of Theorem 4.1 allows two distinct finite isomorphic graphs to generate the same Boolean algebra via preimages under f. We show in Theorem 5.9 that restricting to relation symbols and in Corollary 5.5 that restricting to $\mathcal {B}$ with age consisting of rigid structure, suffice to transfer the Ramsey property, respectively.

Example 2.31 explained why rigidity is essential for applications of Ramsey theory to indiscernible sequences. Thus we present a few special cases of Theorem 5.1 in the rigid setting.

Corollary 5.3. Let $\mathcal {A}, \mathcal {B}$ be structures and let $\mathcal {K}:=\textrm {age}(\mathcal {A}), \mathcal {K}' = \textrm {age}(\mathcal {B})$ . Assume $\mathcal {A}$ is locally finite and $\mathcal {K}'$ consists of rigid elements. Suppose that $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ by the maps $(g,f)$ . For any finite substructure $A \subseteq \mathcal {A}$ , letting $A':=\left < g(A) \right>_{\mathcal {B}}$ , if $A'$ has finite Ramsey degree d in $\mathcal {K}'$ , then A has finite Ramsey degree in $\mathcal {K}$ , and in fact, $d(A,\mathcal {K}) \leq d$ .

Proof By Proposition 2.16, $d(A,\mathcal {K}) \leq d_e(A,\mathcal {K})$ . If $\mathcal {K}'$ consists of rigid elements, then $d_e(A',\mathcal {K}') = (1) \cdot d(A',\mathcal {K}')$ . Thus we have the inequalities:

$$ \begin{align*}d(A,\mathcal{K}) \leq d_e(A,\mathcal{K}) \leq d_e(A',\mathcal{K}') = d(A',\mathcal{K}')=d,\end{align*} $$

where the middle inequality follows from Theorem 5.1.

Corollary 5.4 follows easily from the argument for Theorem 5.1: we merely need to be aware of how we fix B in the beginning and set $d=1$ . An alternative argument, not as a corollary of Theorem 5.1, is presented in the Appendix in Section 8.1.

Corollary 5.4. Let $\mathcal {A}, \mathcal {B}$ be structures and suppose $(g,f)$ is a semi-retraction between $\mathcal {A}$ and $\mathcal {B}$ . Suppose that $\overline {a}, \overline {b}$ are finite tuples from $\mathcal {A}$ that generate finite substructures $A, B$ , respectively, of $\mathcal {A}$ , such that $g(\overline {a}), g(\overline {b})$ generate rigid substructures $A_0, B_0$ , respectively, of $\mathcal {B}$ . If $(A_0,B_0)$ is a Ramsey duo for $\mathcal {B}$ , then $(A,B)$ is a Ramsey duo for $\mathcal {A}$ .

Corollary 5.5 is a special case of Corollary 5.4.

Corollary 5.5. Let $\mathcal {A}, \mathcal {B}$ be structures and suppose $(g,f)$ is a semi-retraction between $\mathcal {A}$ and $\mathcal {B}$ . Suppose that $\mathcal {A}$ is locally finite, and $\textrm {age}(\mathcal {B})$ consists of rigid structures. If $\mathcal {B}$ has RP, then $\mathcal {A}$ has RP.

To show the necessity of the assumptions in Corollary 5.5, we give an example of a structure $\mathcal {A}$ that is a semi-retract of $\mathcal {B}$ , where each structure is in a non-relational signature, such that $\mathcal {A}$ fails to be locally finite, the element in $\textrm {age}(\mathcal {B})$ is not rigid, and RP fails to transfer from $\mathcal {B}$ to $\mathcal {A}$ .

Example 5.6. Let $\mathcal {A} = (\mathbb {Z},s)$ , $\mathcal {B} = (\mathbb {Z}, s, p)$ , where $s, p$ are interpreted as the successor and predecessor functions, respectively, that is, $s(z)=z+1$ and $p(z)=z-1$ for every $z\in \mathbb {Z}$ . Note that any finite subset of $\mathcal {B}$ generates $\mathcal {B}$ , and so $\mathcal {B}$ trivially has RP. On the other hand, any finite subset X of $\mathcal {A}$ generates the tail $[a, \infty ) \subseteq \mathbb {Z}$ , where $a = \min X$ .

To see that $\mathcal {A}$ fails to have RP, let $A = B = [0,\infty )$ . For any copy of A, there is a unique element $a \in A$ ( $\min A$ ) that generates all of A. Color copies of A in $\mathcal {A}$ red if that unique element is odd, blue, if it is even. There is no copy of B in $\mathcal {A}$ that is homogeneous for this coloring on copies of A.

It remains to verify that the identity maps give a semi-retraction $\mathcal {A} \xrightarrow {\textrm {id}} \mathcal {B} \xrightarrow {\textrm {id}} \mathcal {A}$ , but this is the case because $\mathcal {A}$ and $\mathcal {B}$ are quantifier-free interdefinable (see Remark 3.5). In the case of the predecessor function, we can define it from the successor function by switching variables: For any $a_1, a_2 \in |\mathcal {A}|=|\mathcal {B}|=\mathbb {Z}$ , $\mathcal {B} \vDash p(a_2)=a_1 \Leftrightarrow \mathcal {A} \vDash s(a_1)=a_2$ .

To show the necessity of the assumptions in Corollary 5.4, we give an example of a structure $\mathcal {A}$ that is a semi-retract of $\mathcal {B}$ , where $\mathcal {A}$ is in a non-relational signature, such that all structures in $\textrm {age}(\mathcal {B})$ are finite and rigid, and a Ramsey duo for $\mathcal {B}$ fails to transfer to a Ramsey duo for $\mathcal {A}$ , specifically because the pair in $\mathcal {A}$ is a counterexample to local finiteness in $\mathcal {A}$ .

Example 5.7. Let $\mathcal {A} = (\mathbb {Z}, s)$ be the structure where s is interpreted as the successor function on $\mathbb {Z}$ . Let $\mathcal {B} = (\mathbb {Z}, \{R_{(n,\overline {k})}\})$ , where $R_{(n,\overline {k})}(a_0,\ldots ,a_{n-1})$ for $\overline {k}=(k_0,\ldots ,k_{n-1})$ holds exactly of increasing n-tuples $a_0<a_1<\dots < a_{n-1}$ from $\mathbb {Z}$ such that $a_{i+1}-a_i=k_i$ , for all $i<n$ . The identity maps $(g,f):=(\textrm {id},\textrm {id})$ give a semi-retraction because $\mathcal {A}$ and $\mathcal {B}$ are quantifier-free interdefinable (see Remark 3.5).

Using the notation of Corollary 5.4, let $a:=0, b:=0$ in $\mathcal {A}$ , and $a_0:=g(0)=0, b_0:=g(0)=0$ in $\mathcal {B}$ . Define substructures of $\mathcal {A}$ : $A:=\left < a \right>_{\mathcal {A}} = [0,\infty )$ , $B:=\left < b \right>_{\mathcal {A}} = [0,\infty )$ . Define substructures of $\mathcal {B}$ : $A_0:=\left < g(a_0) \right>_{\mathcal {B}} = \{0\}$ , $B_0:=\left < g(b_0) \right>_{\mathcal {B}} = \{0\}$ . Clearly $(A_0,B_0)$ is a Ramsey duo for $\mathcal {B}$ . Moreover, all structures in $\textrm {age}(\mathcal {B})$ are finite, and thus rigid.

However, the structures generated by a and b in $\mathcal {A}$ are not finite, so the assumptions of Corollary 5.4 are not satisfied. And indeed, the conclusion of Corollary 5.4 is not achieved: $(A,B)$ is not a Ramsey duo for $\mathcal {A}$ , as we saw in Example 5.6.

Example 5.7 can be modified slightly to satisfy the assumptions of Corollary 5.5.

Example 5.8. Let $\mathcal {A} = (\mathbb {N}, p)$ be the structure where p is interpreted as the predecessor function on the positive integers, i.e., $p(n+1)=n$ , for all $n \in \mathbb {N}$ , and $p(0):=0$ . Let $\mathcal {B} = (\mathbb {N}, p, s),$ where p is defined as in $\mathcal {A}$ and s is the successor function on $\mathbb {N}$ . The identity maps $(g,f):=(\textrm {id},\textrm {id})$ give a semi-retraction because $\mathcal {A}$ and $\mathcal {B}$ are quantifier-free interdefinable (see Remark 3.5). In the case of the successor function, we can define it from the predecessor function by switching variables: for any $a_1, a_2 \in |\mathcal {A}|=|\mathcal {B}|=\mathbb {N}$ , $\mathcal {B} \vDash s(a_1)=a_2 \Leftrightarrow \mathcal {A} \vDash p(a_2)=a_1 \wedge a_1 \neq a_2$ .

It is clear that $\mathcal {A}$ is locally finite. The structure $\mathcal {A}$ trivially has RP because for all $A, B$ in $\textrm {age}(\mathcal {A})$ , there is at most one copy of A in B. The structure $\mathcal {B}$ trivially has RP because $\textrm {age}(\mathcal {B})$ consists of one element (as in Example 5.6) however this one element (which is all of $\mathcal {B}$ ) happens to be rigid, because the element $0$ must be fixed by any automorphism of $\mathcal {B}$ . Thus, the assumptions (and conclusion) of Corollary 5.5 are satisfied in this example.

Theorem 5.9. Let $\mathcal {A}, \mathcal {B}$ be structures each in relational signature and suppose that $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ , and let $A\in \textrm {age}(\mathcal {A}).$ If $\left < g(A)\right>_{\mathcal {B}}$ has Ramsey degree d in $\textrm {age}(\mathcal {B})$ , then A has Ramsey degree bounded by d in $\mathcal {A}$ .

It would be possible to prove Theorem 5.9 with no mention of function symbols, but there is a property, the “restricted inverse images under f” property (defined in Definitions 5.10 and 5.13), that could be of independent interest in the functional case. For this reason, we pursue a slightly longer development of the argument than needed here. The reader who would like to pursue the additional details for a proof of Corollary 5.5 using the “restricted inverse images under f” property, is invited to read Section 8.1 within the Appendix.

The argument for Theorem 5.1 is of a category-theoretic nature and so certain details at the level of substructures may not be immediately evident. For example, consider Definition 5.10 and what it would take for a certain finite $B_0 \subseteq \mathcal {B}$ to have this property.

Definition 5.10. Fix structures $\mathcal {A}, \mathcal {B}$ in relational signatures, finite substructures $A, B \subseteq \mathcal {A}$ and an injection $f: \mathcal {B} \rightarrow \mathcal {A}$ . Fix substructures $A_0, B_0$ from $\mathcal {B}$ such that $||A_0||=||A||$ . We say that $B_0$ has the relational restricted inverse images under f property for A witnessed by $A_0$ if for any $C_1 \subseteq f(B_0)$ such that $C_1 \cong _{L({\mathcal {A}})} A$ , $f^{-1}(C_1) \cong _{L({\mathcal {B}})} A_0$ .

It turns out that if $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ via $(g,f),$ so long as $B_0$ is isomorphic to an image under g of a structure in $\mathcal {A}$ containing A as a substructure, then $B_0$ has restricted inverse images under f for $A.$

Proposition 5.11. Fix structures $\mathcal {A}$ and $\mathcal {B}$ in relational signatures. Fix a semi-retraction $(g,f)$ between $\mathcal {A}$ and $\mathcal {B}$ and finite substructures $A, B \subseteq \mathcal {A}$ . Let $A_0 = g(A), B_0=g(B), A_1=f(A_0)$ . Then, for any $B_0' \cong _{L({\mathcal {B}})} B_0$ , $B_0'$ has the relational restricted inverse images under f property for A witnessed by $A_0$ .

To develop the proof, we first state the analogues of Definition 5.10 and Proposition 5.11 in the case that the signatures contain function symbols. Since Definition 5.13 seems technical at first, we motivate it with Example 5.12.

Example 5.12. Let $\mathcal {A}$ and $\mathcal {B}$ be as defined in Proposition 3.10. Fix a quantifier-free type $p(x_0,x_1) = \{E(x_0,x_1), E(x_1,x_2), x_0\prec x_1\prec x_2\}$ in $\mathcal {A}$ and let $\overline {a}$ be a realization of this type in $\mathcal {A}$ . Let $\overline {b}$ be a finite tuple from $\mathcal {A}$ containing the elements of $\overline {a}$ . Let $(g,f)$ be the semi-retraction described in Proposition 3.10. Define $\overline {a}_0:=g(\overline {a})$ , $\overline {b}_0:=g(\overline {b})$ .

Consider the various quantifier-free types of $\{b_0 <_{\textrm {lex}} b_1 <_{\textrm {lex}} b_2\}$ in the tree $\mathcal {B}:=\mathcal {I}_{\textrm {strtree}}$ that map to copies of $\overline {a}$ in $\mathcal {A}$ under the map $f: \mathcal {B} \rightarrow \mathcal {A}$ :

  1. (1) $\neg ( b_0 \wedge b_1 \unlhd b_2),$

  2. (2) $\neg ( b_1 \wedge b_2 \unlhd b_0),$

  3. (3) $b_0 \wedge b_1 = b_1 \wedge b_2.$

The quantifier-free type described in (3) corresponds to $\overline {a}_0$ in Definition 5.13, since it is the only quantifier-free type that is realized within $\overline {b}_0$ in $\mathcal {B}$ that is a preimage of  $\overline {a}$ .

Definition 5.13. Fix finite tuples $\overline {a}, \overline {b}$ from $\mathcal {A}$ and an injection $f: \mathcal {B} \rightarrow \mathcal {A}$ . Fix finite tuples $\overline {a}_0,\overline {b}_0$ from $\mathcal {B}$ such that $|\overline {a}| = |\overline {a}_0|$ . We say that $\overline {b}_0$ has the restricted inverse images under f property for $\overline {a}$ witnessed by $\overline {a}_0$ if for any $\overline {c}_1$ in $\left < f(\overline {b}_0) \right>_{\mathcal {A}}$ such that $\overline {c}_1 \sim _{\mathcal {A}} \overline {a}$ , $\overline {c}_0:=f^{-1}(\overline {c}_1) \subseteq \overline {b}_0$ and $\overline {c}_0 \sim _{\mathcal {B}} \overline {a}_0$ .

Proposition 5.14. Let $\mathcal {A}$ and $\mathcal {B}$ be any structures with a semi-retraction $(g,f)$ between $\mathcal {A}$ and $\mathcal {B}$ . For any finite tuples $\overline {a}, \overline {b}$ enumerating substructures of $\mathcal {A}$ , for any $\overline {b}_0' \sim _{\mathcal {B}} g(\overline {b})$ , $\overline {b}_0'$ has the restricted inverse images under f property for $\overline {a}$ witnessed by $g(\overline {a})$ .

Proof Fix structures $\mathcal {A}, \mathcal {B}$ and a pair of maps $g: \mathcal {A} \rightarrow \mathcal {B}$ and $f: \mathcal {B} \rightarrow \mathcal {A}$ witnessing that $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ . Fix finite tuples $\overline {a},\overline {b}$ enumerating substructures of $\mathcal {A}$ and let $\overline {a}_0:=g(\overline {a}), \overline {b}_0:=g(\overline {b})$ , $\overline {a}_1:=f(\overline {a}_0)$ , and $\overline {b}_1:=f(\overline {b}_0)$ . Let $n:=|\overline {a}|$ .

Fix a tuple $\overline {c}_1$ in $\left < \overline {b}_1 \right>_{\mathcal {A}}$ such that:

(1) $$ \begin{align} \overline{c}_1 \sim_{\mathcal{A}} \overline{a}. \end{align} $$

We will argue that $\overline {c}_0:=f^{-1}(\overline {c}_1)$ is in $\left < \overline {b}_0 \right>_{\mathcal {B}}$ : Since $fg$ is an $L({\mathcal {A}})$ -embedding and we assumed $\overline {b} = \left < \overline {b} \right>_{\mathcal {A}}$ , it must be that $\overline {b}_1 = \left < \overline {b}_1 \right>_{\mathcal {A}}$ . Thus $\overline {c}_1 \subseteq \overline {b}_1$ so there is some $\overline {c} \subseteq \overline {b}$ such that $g(\overline {c}) = \overline {c}_0$ and $f(\overline {c}_0) = \overline {c}_1$ , and therefore $f^{-1}(\overline {c}_1)=g(\overline {c}) \subseteq \overline {b}_0$ .

By the embedding property of semi-retractions,

(2) $$ \begin{align} \overline{c} \sim_{\mathcal{A}} \overline{c}_1. \end{align} $$

The equations (1) and (2) imply that:

(3) $$ \begin{align} \overline{c} \sim_{\mathcal{A}} \overline{a}. \end{align} $$

Thus, by the qftp-respecting property of semi-retractions:

(4) $$ \begin{align} \overline{c}_0 = g(\overline{c}) \sim_{\mathcal{B}} g(\overline{a}) = \overline{a}_0. \end{align} $$

By (4), we may conclude that $\overline {c}_0=f^{-1}(\overline {c}_1) \sim _{\mathcal {B}} \overline {a}_0$ , as desired.

To complete the proof, fix any $\overline {b}_0'$ from $\mathcal {B}$ such that

(5) $$ \begin{align} \overline{b}_0' \sim_{\mathcal{B}} \overline{b}_0. \end{align} $$

Since $\overline {b}_0' \sim _{\mathcal {B}} \overline {b}_0$ , $f(\overline {b}_0') \sim _{\mathcal {A}} f(\overline {b}_0)=\overline {b}_1$ and so $f(\overline {b}_0')$ inherits $\overline {b}_1$ ’s property of enumerating a substructure of $\mathcal {A}$ , i.e., $\left < f(\overline {b}_0') \right>_{\mathcal {A}}=f(\overline {b}_0')$ .

Fix any $\overline {e}_1 \subseteq \overline {b}_1'=\left < f(\overline {b}_0') \right>_{\mathcal {A}}=f(\overline {b}_0')$ such that $\overline {e}_1 \sim _{\mathcal {A}} \overline {a}$ . Then there exists $\overline {e}_0:=f^{-1}(\overline {e}_1) \subseteq \overline {b}_0'$ . The similarity (5) guarantees the existence of some $\overline {e}_0' \subseteq \overline {b}_0$ (on the same coordinates as $\overline {e}_0 \subseteq \overline {b}_0'$ ) such that $\overline {e}_0' \sim _{\mathcal {B}} \overline {e}_0$ . By the qftp-respecting property for semi-retractions, $f(\overline {e}_0') \sim _{\mathcal {A}} f(\overline {e}_0) = \overline {e}_1 \sim _{\mathcal {A}} \overline {a}$ , and we just argued that $\overline {b}_0$ has the restricted inverse images under f property for $\overline {a}$ witnessed by $\overline {a}_0$ , so $\overline {e}_0' \sim _{\mathcal {B}} \overline {a}_0$ , thus $\overline {e}_0 \sim _{\mathcal {B}} \overline {a}_0$ , as desired.

Now we are ready to adapt Proposition 5.14 to the case of relational signatures.

Proof of Proposition 5.11

Let $\mathcal {A}, \mathcal {B}, f, g, A, B, A_0, B_0, A_1$ be as in the statement. Let $\overline {a}, \overline {b}$ be enumerations of $A, B$ , respectively, and let $\overline {a}_0 := g(\overline {a}), \overline {b}_0:=g(\overline {b}), \overline {a}_1:=f(\overline {a}_0)$ . Clearly $\overline {a}_0, \overline {b}_0, \overline {a}_1$ enumerate $A_0, B_0, A_1$ , respectively, and $|\overline {a}|=|\overline {a}_0|$ . Fix any $B_0' \cong _{L({\mathcal {B}})} B_0$ and fix an isomorphism $\sigma : B_0 \rightarrow B_0'$ and let $\overline {b}_0' :=\sigma (\overline {b}_0)$ . By Proposition 5.14, $\overline {b}_0'$ has the restricted inverse images under f property for $\overline {a}$ witnessed by $\overline {a}_0$ . Clearly, this implies that $B_0'$ has the relational restricted inverse images under f property for A witnessed by $A_0$ .

Having pointed out this technical property, we can deduce the relational case with little machinery.

Proof of Theorem 5.9

Fix structures $\mathcal {A}, \mathcal {B}$ in relational signatures and ${A\in \textrm {age}(\mathcal {A})}$ . Fix the pair of maps $g: \mathcal {A} \rightarrow \mathcal {B}$ and $f: \mathcal {B} \rightarrow \mathcal {A}$ witnessing that $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ . Assume that $A_0:=g(A)\in \textrm {age}(\mathcal {B})$ has Ramsey degree d in $\textrm {age}(\mathcal {B})$ . Note that $A_0$ is a substructure of $\mathcal {B}$ since the signature of $\mathcal {B}$ is relational.

Let $B\in \textrm {age}(\mathcal {A})$ and let $c: {\mathcal {A} \choose A} \rightarrow k$ be a coloring. Denote $B_0:=g(B), A_1:= f(A_0), B_1:=f(B_0)$ . Define an induced coloring $c_0 : {\mathcal {B} \choose A_0} \rightarrow k$ by $c_0(A_0'):=c(f(A_0'))$ . This coloring is well-defined by the qftp-preserving property of semi-retractions.

Since $d(A_0,\textrm {age}(\mathcal {B}))=d$ , there exists a copy $B_0'$ of $B_0$ such that $c_0$ takes at most d colors on $B_0'$ . We will argue that c takes at most d colors on $B_1':=f(B_0') \subseteq \mathcal {A}$ .

As $B_0' \cong _{L({\mathcal {B}})} B_0$ , we have that $B_1' \cong _{L({\mathcal {A}})} B_1 (\cong _{L({\mathcal {A}})} B)$ by the qftp-respecting property of semi-retractions. Fix any copy $A_1'$ of A in $B_1'$ , and let $A_0':=f^{-1}(A_1') \subseteq B_0'$ . By Proposition 5.11, $B_0'$ has the relational restricted inverse images under f property for A witnessed by $A_0$ , thus, $A_0' \cong _{L({\mathcal {B}})} A_0$ . But then $A_0'$ is a copy of $A_0$ in $B_0'$ , so $c_0(A_0')=c(f(A_0'))=c(A_1')$ . This proves the claim.

6 Semi-retractions and categorical notions

In the next two sections, we point out similarities between semi-retractions and two category theoretic notions—pre-adjunctions and retractions.

6.1 Pre-adjunctions

Dragan Mašulović realized in [Reference Mašulović21] that a categorical notion of pre-adjunction was implicitly used in coding one Ramsey problem into another in the book [Reference Prömel29] by Pröml. The notions of pre-adjunction and semi-retraction appear to be closely related in the usual setting of classes of finitely generated structures. We show that every semi-retraction defines a pre-adjunction and that in some instances pre-adjunctions define semi-retractions. For a category $\mathbf {C}$ , we denote by $\textrm {Obj}(\mathbf {C})$ its objects and by $\hom _{\mathbf {C}}(A,B)$ the collection of morphisms between objects $A, B \in \textrm {Obj}(\mathbf {C})$ .

Definition 6.1. Let $\mathbf {C}$ and $\mathbf {D}$ be categories and let $F:\textrm {Obj}(\mathbf {D})\to \textrm {Obj}(\mathbf {C})$ and

$G:\textrm {Obj}(\mathbf {C})\to \textrm {Obj}(\mathbf {D})$ be maps on objects. We say that $(F,G)$ is a pre-adjunction if for every $A\in \textrm {Obj}(\mathbf {D})$ and $C\in \textrm {Obj}(\mathbf {C})$ we have a map

$$\begin{align*}\Phi_{A,C} : \hom_{\mathbf{C}}(F(A),C)\to \hom_{\mathbf{D}}(A,G(C)), \end{align*}$$

such that

$$\begin{align*}\forall A,B\in \textrm{Obj}(\mathbf{D})\; \forall C\in\textrm{Obj}(\mathbf{C})\; \forall v\in \hom_{\mathbf{D}}(A,B)\; \forall \psi\in \hom_{\mathbf{C}}(F(B),C)\end{align*}$$
$$\begin{align*}\exists w\in\hom_{\mathbf{C}}(F(A),F(B))\textrm{~such that~} \Phi_{A,C}(\psi\circ w)=\Phi_{B,C}(\psi)\circ v. \end{align*}$$

We state a version of Mašulović’s result restricted to our setting.

Theorem 6.2 [Reference Mašulović21].

Let $\mathbf {C}$ and $\mathbf {D}$ be categories of finite structures with embeddings as morphisms. Assume that $F: \textrm {Obj}(\mathbf {D}) \rightleftarrows \textrm {Obj}(\mathbf {C}) : G$ is a pre-adjunction and that $\mathbf {C}$ has the Ramsey property for embeddings. Then $\mathbf {D}$ has the Ramsey property for embeddings.

6.2 Pre-adjunctions from semi-retractions

Theorem 6.3. Any semi-retraction $(g,f)$ between $\mathcal {A}$ and $\mathcal {B}$ defines a pre-adjunction between the categories of finite tuples of $\mathcal {A}$ and $\mathcal {B},$ respectively, with qftp-preserving injections.

Proof Let $\mathbf {D}$ be all finite tuples of $\mathcal {A}$ with qftp-preserving injections as morphisms and let $\mathbf {C}$ be all finite tuples of $\mathcal {B}$ with qftp-preserving injections as morphisms. Define $F:\textrm {Obj}(\mathbf {D})\to \textrm {Obj}(\mathbf {C})$ by $F(\overline {a})=g(\overline {a})$ and $G:\textrm {Obj}(\mathbf {C})\to \textrm {Obj}(\mathbf {D})$ by $G(\overline {c})=f(\overline {c}),$ and we simply let $\Phi _{\overline {a},\overline {c}}:\hom _{\mathbf {C}}(F(\overline {a}),\overline {c})\to \hom _{\mathbf {D}}(\overline {a},G(\overline {c}))$ be defined by $\psi \mapsto f(\psi )\circ f\circ g.$

Suppose that $\overline {a},\overline {b}\in \textrm {Obj}(\mathbf {D})$ , $\overline {c}\in \textrm {Obj}(\mathbf {C})$ , $\psi \in \hom _{\mathbf {C}}(g(\overline {b}),\overline {c}),$ and $v\in \hom _{\mathbf {D}}(\overline {a},\overline {b}).$ Let $w\in \hom _{\mathbf {C}}(g(\overline {a}),g(\overline {b}))$ be equal to $g(v)$ . Then

$$ \begin{align*} \Phi_{\overline{b},\overline{c}}(\psi)\circ v &= f(\psi)\circ f\circ g\circ v \\ &= f(\psi)\circ f\circ g(v)\circ g \\ &= f(\psi)\circ f(g(v))\circ f\circ g \\ &= f(\psi\circ g(v))\circ f\circ g= f(\psi\circ w)\circ f\circ g \\ &= \Phi_{\overline{a},\overline{c}}(\psi\circ w). \end{align*} $$

Therefore $(F,G)$ is a pre-adjunction.

Theorem 6.4. Let $\mathcal {A}$ and $\mathcal {B}$ be locally finite and let $(g,f)$ be a semi-retraction between $\mathcal {A}$ and $\mathcal {B}$ . Then there is a pre-adjunction between $\textrm {age}(\mathcal {A})$ and $\textrm {age}(\mathcal {B})$ with embeddings as morphisms.

Proof The proof goes along the same lines as the proof of Theorem 6.3. Let $g:\mathcal {A}\rightarrow \mathcal {B}$ and $f:\mathcal {B}\rightarrow \mathcal {A}$ be a semi-retraction and let $\mathbf {C}$ be $\textrm {age}(\mathcal {B})$ with embeddings and let $\mathbf {D}$ be $\textrm {age}(\mathcal {A})$ with embeddings. Define $F: \text {Obj}(\mathbf {D})\rightarrow \text {Obj}(\mathbf {C})$ by $F(A)=\left <g(A)\right>_{\mathcal {B}}$ and $G:\textrm {Obj}(\mathbf {C})\rightarrow \textrm {Obj}(\mathbf {D})$ by $G(C)=\left <f(C)\right>_{\mathcal {A}}.$ For any $A,B\in \textrm {Obj}(\mathbf {D})$ and embedding $v:A\to B,$ denote by $g(v)'$ the unique extension of $g(v)$ to $\left <g(A)\right>_{\mathcal {B}}$ , and similarly for $C,D\in \textrm {Obj}(\mathbf {C})$ and embedding $w:C\to D$ we define $f(w)'$ to be the unique extension of $f(w)$ to $\left < f(C)\right>_{\mathcal {A}}.$ Finally, define $\Phi _{B,C}:\hom _{\mathbf {C}}(\left <g(B)\right>_{\mathcal {B}},C)\to \hom _{\mathbf {D}}(B, \left <f(C)\right>_{\mathcal {A}})$ by $\psi \mapsto f(\psi \restriction g(B))\circ f\circ g$ . By analogous diagram chasing as in the proof of Theorem 6.3, we can verify that we obtain a pre-adjunction.

6.3 Semi-retractions from pre-adjunctions

We now consider the reverse direction—building semi-retractions out of pre-adjunctions.

Suppose that $\mathcal {A}$ and $\mathcal {B}$ are countable structures in relational signatures. Let $\mathbf {D}$ be $\textrm {age}(\mathcal {A})$ with embeddings as morphisms and let $\mathbf {C}$ be $\textrm {age}(\mathcal {B})$ with embeddings as morphisms.

Theorem 6.5. Suppose that $(F,G)$ is a pre-adjunction between $\mathbf {D}$ and $\mathbf {C}$ and assume that F and G preserve cardinality. Then there is a semi-retraction between $\mathcal {A}$ and a structure $\mathcal {B}'$ whose age is contained in $\mathbf {C}$ .

Proof Let $\mathcal {A}=\bigcup _{i=1}^\infty A_i$ be an increasing enumeration of $\mathcal {A},$ where each $||A_i||=i.$ For any $e_i:A_i\subset A_{i+1}$ we consider the identity morphism, $\textrm {id}:F(A_{i+1})\rightarrow F(A_{i+1})$ to obtain $w_i:F(A_i)\rightarrow F(A_{i+1})$ by the definition of pre-adjunction satisfying the following:

$$ \begin{align*}\Phi_{A_i,F({A_{i+1}})}(w_i)=\Phi_{A_i,F({A_{i+1}})}(w_i\circ \textrm{id}_{F(A_{i+1})})=\Phi_{A_{i+1},F({A_{i+1}})}(\textrm{id}_{F(A_{i+1}}))\circ e_i.\end{align*} $$

We will define $g:\mathcal {A}\to \mathcal {B}'$ for some $\mathcal {B}'$ with $\textrm {age}$ included in $\textrm {age}(\mathcal {B})$ by $g(A_1)=F(A_1)$ and $g(A_{i+1}\setminus A_i)=F(A_{i+1})\setminus w_i(F(A_i))$ .

Since F and G are cardinality preserving, we have for every $A_i$ that $a_i:=\Phi _{A_i, F(A_i)}(\textrm {id}_{F(A_i)})$ is an isomorphism from $A_i$ to $GF(A_i).$ It follows that $b_i=a_{i+1}\circ e_i\circ a_i^{-1}$ is an embedding from $GF(A_i)$ into $GF(A_{i+1})$ and that $\bigcup _{i=1}^{\infty }(GF(A_i),b_i)\cong \mathcal {A}$ via $\bigcup _{i=1}^{\infty } a_i$ .

We define $f:\mathcal {B}'\to \mathcal {A}$ by $f(b)=a$ iff $a_i(g^{-1}(b))=a.$

Question 6.6. Let $\mathcal {A}$ and $\mathcal {B}$ be (locally finite) structures and suppose that there is a pre-adjunction between $\textrm {age}(\mathcal {A})$ and $\textrm {age}(\mathcal {B})$ with embeddings as morphisms. Under which conditions is there a semi-retraction between $\mathcal {A}$ and $\mathcal {B}$ ?

7 Concluding remarks

In this section we gather together some concepts and prior work related to semi-retractions. From a model-theoretic perspective, it is natural to ask what is the relationship of semi-retractions to interpretations, and we approach this question in Section 7.1. In Section 7.2 we cite work that has addressed the question of when interpretations preserve RP.

The notion of a retraction is defined generally for categories, which we quote from [Reference Bergman4].

Definition 7.1. Given a category $\mathbf {C}$ and morphisms $f \in \mathbf {C}(X,Y)$ and $g \in \mathbf {C}(Y,X)$ , if $fg = \textrm {id}_{Y}$ , i.e.,

$$ \begin{align*}Y \xrightarrow{g} X \xrightarrow{f} Y\ \text{and}\ Y \xrightarrow{fg=\textrm{id}} Y\end{align*} $$

we say that the pair of maps $(g,f)$ is a retraction of X onto Y and that Y is the retract of X (via f and g).

The term “retraction” in Definition 7.7 implies the existence of a retraction in the category of topological groups. In Section 7.3 we indicate a retraction that exists in the category of products of types spaces $(S^{\mathcal {A}}_n(\emptyset ))_{n<\omega }$ for structures $\mathcal {A}$ that have the property rqe, which retraction is induced by any semi-retraction.

The fact that pairs of interpretations (under certain conditions) induce a retraction in a distinct category from the category associated with semi-retractions suggests that these are different concepts. We also give an example of an interpretation map that is not qftp-respecting in Example 7.4.

7.1 Interpretations and the Ramsey property

The results presented in this subsection are well-known.

Definition 7.2. Given two structures $\mathcal {A}, \mathcal {B}$ a (finitary) interpretation of $\mathcal {B}$ in $\mathcal {A}$ denoted by $f: \mathcal {A} \rightsquigarrow \mathcal {B}$ is a surjective function $f: U \rightarrow |\mathcal {B}|$ where $U \subseteq {|\mathcal {A}|}^n$ is 0-definable, $n<\omega $ , and for every integer m and $0$ -definable m-ary relation R in $\mathcal {B}$ (where we include the relation $x_0=x_1$ ), the set

$$ \begin{align*}\{(\overline{a}_0,\ldots,\overline{a}_{m-1}) : \mathcal{B} \vDash R(f(\overline{a}_0),\ldots,f(\overline{a}_{m-1})) \} \subseteq |\mathcal{A}|^{n\cdot m}\end{align*} $$

is $0$ -definable in $\mathcal {A}$ . In other words, there exists a formula $\varphi _R(\overline {x}_0,\ldots ,\overline {x}_{m-1})$ in the signature of $\mathcal {A}$ such that for all $\overline {a}_i \in U$ , for all $i<m$ :

$$ \begin{align*}\mathcal{A} \vDash \varphi_R(\overline{a}_0,\ldots,\overline{a}_{m-1}) \Leftrightarrow \mathcal{B} \vDash R(f(\overline{a}_0),\ldots,f(\overline{a}_{m-1})).\end{align*} $$

Remark 7.3. In Definition 7.2:

  • We may define $E \subseteq U \times U$ to hold of $(\overline {a}_1,\overline {a}_2)$ if and only if $\mathcal {B} \vDash f(\overline {a}_1) = f(\overline {a}_2)$ , in other words, $E:=\varphi _=$ . Then $\mathcal {B}$ is isomorphic to the induced structure on $U/E$ (reducted to the signature $\{\varphi _R\}_R$ ), what is called a relativised reduct (of a definitional expansion) of $\mathcal {A}^{\textrm {eq}}$ in Theorem 5.3.1 of [Reference Hodges12].

  • If $\mathcal {B}$ is interpreted in $\mathcal {A}$ such that the E-classes in $\mathcal {A}$ (as described above) are singletons, then $\mathcal {B}$ is a (relativised) reduct of $\mathcal {A}$ .

In Example 7.4 we give an example of an interpretation map whose inverse is not qftp-respecting, and thus does not constitute half of a semi-retraction pair.

Example 7.4. Let $\mathcal {A} := (\mathbb {Z},s)$ , $\mathcal {B} := (\mathbb {Z} + \mathbb {Z},s)$ , and $f: \mathcal {A} \rightarrow \mathcal {B}$ be the bijection that maps the even numbers of $\mathcal {A}$ onto the “first” copy of $\mathbb {Z}$ in $\mathcal {B}$ and the odd numbers of $\mathcal {A}$ onto the “second” copy of $\mathbb {Z}$ in $\mathcal {B}$ , in the natural way. Let $p \in S_2^{\mathcal {B}}(\emptyset )$ be the 2-type $p(x,y):=\{ s^n(x) \neq y: n < \omega \}$ . Let $g : \mathcal {B} \rightarrow \mathcal {A}$ be defined as the inverse map, $g = f^{-1}$ . The function g maps realizations $(x,y)$ of the type p in $\mathcal {B}$ onto realizations of various $2$ -types in $\mathcal {A}$ (namely, all pairs of odd distances) thus g is not qftp-respecting. To see that f interprets $\mathcal {B}$ in $\mathcal {A}$ , we just need to look at the atomic formula $s(x_0) = x_1$ . For all $(a_0,a_1) \in |\mathcal {A}|$ ,

$$ \begin{align*}\mathcal{B} \vDash s(f(a_0)) = f(a_1) \Leftrightarrow \mathcal{A} \vDash s(s(a_0)) = a_1 .\end{align*} $$

Definition 7.5. An interpretation $h: W \rightsquigarrow \mathcal {A}$ for $W \subseteq |\mathcal {A}|^k$ is homotopic to the identity interpretation on $\mathcal {A}$ if the set $\{(\overline {a},b) : h(\overline {a})=b \} \subseteq W \times |\mathcal {A}|$ is 0-definable in $\mathcal {A}$ .

Remark 7.6. Note that the interpretation h in Definition 7.5 gives an isomorphism between the induced structure on $W/E$ and $\mathcal {A}$ that is definable in $\mathcal {A}$ .

Definition 7.7 [Reference Ahlbrandt and Ziegler2].

Given countable, $\aleph _0$ -categorical structures $\mathcal {A}$ and $\mathcal {B}$ , $\mathcal {A}$ is a retraction of $\mathcal {B}$ if there exist interpretations $f: \mathcal {A} \rightsquigarrow \mathcal {B}\ g: \mathcal {B} \rightsquigarrow \mathcal {A}$ such that $g \circ f$ is homotopic to the identity interpretation on $\mathcal {A}$ .

Definition 7.8. Given countable $\aleph _0$ -categorical structures $\mathcal {A}, \mathcal {B}$ , if $\mathcal {A}$ and $\mathcal {B}$ are retractions of one another, then we say they are bi-interpretable.

In [Reference Ahlbrandt and Ziegler2], Ahlbrandt and Ziegler introduce the $\textbf {Aut}$ functor between the category of countable $\aleph _0$ -categorical structures in a countable signature with interpretations as maps and the category of topological groups. The functor $\textbf {Aut}$ associates with each interpretation $f: \mathcal {A} \rightsquigarrow \mathcal {B}$ a continuous homomorphism $\textbf {Aut} f: \textrm {Aut}(\mathcal {A}) \rightarrow \textrm {Aut}(\mathcal {B})$ in the natural way. The following result, attributed to T. Coquand, follows from the work in [Reference Ahlbrandt and Ziegler2].

Theorem 7.9 (T. Coquand).

Given countable $\aleph _0$ -categorical structures $\mathcal {A}$ and $\mathcal {B}$ , $\mathcal {A}$ is a retraction of $\mathcal {B}$ iff there are continuous homomorphisms

$$ \begin{align*}\textrm{Aut}(\mathcal{A}) \xrightarrow{\varphi} \textrm{Aut}(\mathcal{B}) \xrightarrow{\psi} \textrm{Aut}(\mathcal{A})\end{align*} $$

such that $\psi \circ \varphi = 1$ .

Corollary 7.10 [Reference Ahlbrandt and Ziegler2].

Countable $\aleph _0$ -categorical structures $\mathcal {A}, \mathcal {B}$ are bi-interpretable if and only if their automorphism groups are isomorphic as topological groups.

In the preliminaries we introduced the notion of a definable set. Here we introduce a generalization.

Definition 7.11. Fix a structure $\mathcal {A}$ , and an integer $n \geq 1$ . A set $X \subseteq {|\mathcal {A}|}^n$ is quasidefinable if it is the union of $\textrm {Aut}(\mathcal {A})$ -orbits of ${|\mathcal {A}|}^n$ , where the action of $\sigma \in \textrm {Aut}(\mathcal {A})$ on ${|\mathcal {A}|}^n$ is given by $(a_0,\ldots ,a_{n-1}) \mapsto (\sigma (a_0),\ldots ,\sigma (a_{n-1}))$ .

Remark 7.12. Using Scott sentences one can show that any quasidefinable subset of a countable structure $\mathcal {A}$ is definable by an $L_{\omega _1,\omega }$ formula with no parameters. If $\mathcal {A}$ is countable and $\aleph _0$ -categorical, then quasidefinable sets are in fact 0-definable (see [Reference Kaye and Macpherson15]).

Remark 7.13. In Definition 7.2, if “0-definable” is replaced with “quasidefinable” and the map f is replaced with a countable collection of maps $f_i$ such that equality between $f_i(\overline {u})$ and $f_j(\overline {v})$ is quasidefinable in $\mathcal {A}$ (just as equality between $f(\overline {u})$ and $f(\overline {v})$ must be definable in $\mathcal {A}$ in a finitary interpretation) we may call this an infinitary interpretation, see the introductory chapter of [Reference Kaye and Macpherson15], “Models and Groups.”

An account due to Kaye in [Reference Kaye and Macpherson15], “Models and Groups” expands on Corollary 7.10 as follows:

Theorem 7.14 [Reference Kaye and Macpherson15].

If $\mathcal {A}, \mathcal {B}$ are countable structures, $\textrm {Aut}(\mathcal {A}) \cong \textrm {Aut}(\mathcal {B})$ as topological groups if and only if $\mathcal {A}, \mathcal {B}$ are infinitarily bi-interpretable.

It is satisfying to see that the following proposition and corollary follow immediately from [Reference Kechris, Pestov and Todorčević16] and [Reference Zucker37].

Proposition 7.15. Let $\mathcal {A}, \mathcal {B}$ be countable $\omega $ -homogeneous structures, and suppose that $\mathcal {A}$ is a retraction of $\mathcal {B}$ in the sense of Definition 7.7. If $\mathcal {B}$ has finite Ramsey degrees for embeddings, then $\mathcal {A}$ has finite Ramsey degrees for embeddings.

Proof Since $\mathcal {B}$ is $\omega $ -homogeneous, if $\mathcal {B}$ has finite Ramsey degrees for embeddings then the universal minimal flow $M(\textrm {Aut}(\mathcal {B}))$ is metrizable by the reverse direction of Theorem 2.18. Let K be the kernel of the quotient $\psi : \textrm {Aut}(\mathcal {B}) \rightarrow \textrm {Aut}(\mathcal {A})$ . Any $\textrm {Aut}(\mathcal {A})$ -flow on X induces an $\textrm {Aut}(\mathcal {B})$ -flow on X by $fx=(Kf)x$ , where $\textrm {Aut}(\mathcal {A})$ is identified with the quotient group $\{Kf:f\in \textrm {Aut}(\mathcal {B})\}$ . If M is a non-metrizable minimal flow of $\textrm {Aut}(\mathcal {A}),$ it induces a non-metrizable minimal $\textrm {Aut}(\mathcal {B})$ -flow as above, which is a contradiction. We may conclude that $M(\textrm {Aut}(\mathcal {A}))$ is metrizable, and thus that $\mathcal {A}$ has finite Ramsey degrees for embeddings by Theorem 2.18.

Corollary 7.16. If $\mathcal {A}, \mathcal {B}$ are countable $\omega $ -homogeneous infinitarily bi-interpretable structures, then $\mathcal {A}$ has finite Ramsey degrees (for embeddings) if and only if $\mathcal {B}$ has finite Ramsey degrees (for embeddings).

Remark 7.17. Note that in the proof of Proposition 7.15 we only needed that $\textrm {Aut}(\mathcal {A})$ is a quotient of $\textrm {Aut}(\mathcal {B}).$

7.2 Related work

It is a natural question to ask under what conditions interpretations transfer the Ramsey property. Proposition 7.18 gives an example of this type of result.

Proposition 7.18 (Proposition 3.8 in [Reference Bodirsky5]).

Given a countable $\omega $ -homogeneous $\aleph _0$ -categorical structure $\Gamma $ with RP for embeddings, every structure $\mathcal {M}$ with a first-order interpretation in $\Gamma $ has an $\aleph _0$ -categorical expansion $\mathcal {N}$ with RP for embeddings. Furthermore, if $\Gamma $ is $\omega $ -homogeneous in a finite relational signature, we can choose $\mathcal {N}$ to be $\omega $ -homogeneous in a finite relational signature.

In [Reference Sokić36], classes of structures interpretable in a fixed class $\mathcal {K}$ of finite structures in some relational signature L are defined and investigated with respect to the Ramsey property. For example, $\mathcal {E}\mathcal {K}$ is defined to be all structures and $A/E$ is in $\mathcal{K}$ . A in the signature $L \cup \{E\}$ , where $E \notin L$ is interpreted as an equivalence relation. In the following, by an ordered expansion of a structure we mean an expansion by a new relation symbol whose interpretation linearly orders the structure. Suppose that $\mathcal {K}^*$ is a class of ordered expansions of structures in $\mathcal {K}$ , (this context could easily be adapted to the case where $\mathcal {K}$ is ordered by a relation in L) and define $\mathcal {C}\mathcal {E}[\mathcal {K}^*]$ to be all ordered expansions of structures $A \in \mathcal {E}\mathcal {K}$ such that the ordering is convex (meaning that each equivalence class is an interval with respect to the ordering) and the induced ordered structure $A/E \in \mathcal {K}^*$ . Theorem 4.5 of [Reference Sokić36] states that $\mathcal {K}^*$ has the Ramsey property if and only if $\mathcal {C}\mathcal {E}[\mathcal {K}^*]$ has the Ramsey property.

The previous works provide an intriguing look into the relationship between the Ramsey property and interpretations, but do not completely settle the question. Suppose $\mathcal {A}$ is interpreted in $\mathcal {B}$ by way of $\mathbf {D}$ , E, where $\mathbf {D}$ is a definable subset of $\mathcal {B}$ , E is a definable equivalence relation on $\mathbf {D}$ , and $\mathcal {A}$ is isomorphic to some reduct of $D / E$ . If $\textrm {age}(\mathcal {A}) = \mathcal {K}$ , and $\textrm {age}(\mathcal {B}) = \mathcal {K}'$ , then the interpretation demonstrates that a subset (the substructures of D) of a reduct of $\mathcal {K}'$ coincides with $\mathcal {E}\mathcal {K}$ . Thus, the Ramsey transfer given by a particular interpretation is related to the question of which reducts of a structure with the Ramsey property have the Ramsey property.

We have learned that in recent work, a notion weaker than a semi-retraction has been used in Lemma 3.14(iii) of [Reference Kamsma14], which paper generalizes many of the Ramsey transfer results of [Reference Kim, Kim and Scow17] to positive logic.

7.3 Semi-retractions and retractions

In the case that $\mathcal {A}, \mathcal {B}$ are countable and $\aleph _0$ -categorical, the type spaces are finite, and so a well-defined map between them is continuous. Under additional assumptions, qftp-respecting maps induce maps between type spaces.

Definition 7.19. Say that a structure $\mathcal {A}$ has property $\texttt {rqe}$ (realized, quantifier-eliminable types) if

$$ \begin{align*}S_n^{\mathcal{A}}(\emptyset) = \{ \textrm{qftp}(\overline{a}) : \overline{a} \in {|\mathcal{A}|}^n \}.\end{align*} $$

Observation 7.20. If $\mathcal {A}$ has $\texttt {rqe}$ then every n-type over the empty set in $\mathcal {A}$ is realized in $\mathcal {A}$ .

Remark 7.21. If $\mathcal {A}$ is in a finite relational signature and $\textrm {Th}(\mathcal {A})$ has quantifier elimination, then complete quantifier-free types are complete types that are also finite types, so any type realized in an elementary extension is realized in $\mathcal {A}$ . Thus $\mathcal {A}$ has $\texttt {rqe}$ .

More generally, if $\mathcal {A}$ is an $\omega $ -homogeneous uniformly locally finite structure in a finite signature, then $\textrm {Th}(\mathcal {A})$ is $\aleph _0$ -categorical and has quantifier elimination as in Remark 3.6, thus $\mathcal {A}$ has $\texttt {rqe}$ .

Definition 7.22. Given $\mathcal {A}, \mathcal {B}$ that have rqe, let $g: \mathcal {A} \rightarrow \mathcal {B}$ be a qftp-respecting injection on the underlying sets. We define $\theta _g: S_n^{\mathcal {A}}(\emptyset ) \rightarrow S_n^{\mathcal {B}}(\emptyset )$ to take $p \in S_n^{\mathcal {A}}(\emptyset )$ to $q \in S_n^{\mathcal {B}}(\emptyset )$ such that there exists $\overline {\imath } \in {|\mathcal {A}|}^n$ satisfying $p(\overline {x})$ and $g(\overline {\imath }) \in \mathcal {B}^n$ satisfies $q(\overline {x})$ (i.e., $q = \textrm {qftp}^{\mathcal {B}}(g(\overline {\imath }))$ ).

Remark 7.23. Note that Definition 7.22 is well-defined since for any $\overline {\imath }, \overline {\imath }'$ satisfying $p(\overline {x})$ , $\overline {\imath } \sim _{\mathcal {A}} \overline {\imath }'$ and so $g(\overline {\imath }) \sim _{\mathcal {B}} g(\overline {\imath }')$ and thus $\textrm {qftp}^{\mathcal {B}}(g(\overline {\imath }))=\textrm {qftp}^{\mathcal {B}}(g(\overline {\imath }'))$ .

Observation 7.24. Given countable, $\aleph _0$ -categorical $\mathcal {A}, \mathcal {B}$ that have rqe, let $g: \mathcal {A} \rightarrow \mathcal {B}$ be a qftp-respecting injection on the underlying sets. The map $\theta _g$ as in Definition 7.22 is continuous.

Proposition 7.25. Let $\mathcal {A}, \mathcal {B}$ be countable $\aleph _0$ -categorical and $\texttt {rqe}$ . If $\mathcal {A}$ is a semi-retract of $\mathcal {B}$ via $(g,f)$ , then the pair of maps $(\theta _g,\theta _f)$ is a retraction of $S_n^{\mathcal {B}}(\emptyset )$ onto $S_n^{\mathcal {A}}(\emptyset )$ in the category $\mathbf {C}$ of type spaces with continuous maps as morphisms.

Proof By Observation 7.24, we know that $(\theta _g, \theta _f)$ are maps in the category $\mathbf {C}$ .

By assumption, there exist qftp-respecting injections on the underlying sets $\mathcal{A} \xrightarrow {g} \mathcal {B} \xrightarrow {f} \mathcal {A}$ such that the composition is qftp-preserving $\mathcal {A} \xrightarrow {fg} \mathcal {A}.$

Thus,

$$ \begin{align*}S_n^{\mathcal{A}}(\emptyset) \xrightarrow{\theta_g} S_n^{\mathcal{B}}(\emptyset) \xrightarrow{\theta_f} S_n^{\mathcal{A}}(\emptyset)\end{align*} $$

and

$$ \begin{align*}S_n^{\mathcal{A}}(\emptyset) \xrightarrow{\theta_f \cdot \theta_g = \textrm{id}_{S_n^{\mathcal{A}}(\emptyset)}} S_n^{\mathcal{A}}(\emptyset),\end{align*} $$

which shows that the pair of maps is indeed a retraction in this category.

8 Appendix

We start by providing proofs of some of the basic results quoted in the Preliminaries.

Lemma 2.15. Fix a signature L and a locally finite L-structure M. Let $\mathcal {K}:=\textrm {age}(\mathcal {M})$ . Then, for any finite substructure $A \subseteq \mathcal {M}$ ,

  1. (1) $d_e(A,\mathcal {K}) = d_e(A,\mathcal {M})$ , and

  2. (2) $d(A,\mathcal {K}) = d(A,\mathcal {M})$ .

Proof Fix L, $\mathcal {M}$ , $\mathcal {K}$ and A as in the assumptions. Let $n := ||A||$ . First we prove (2) and then we indicate how (1) follows by a similar argument.

Since $\mathcal {M}$ is assumed to be locally finite with age $\mathcal {K}$ , we may expand L to a signature $L'$ that contains new predicates $p_C(\overline {x})$ , for all $C \in \mathcal {K}$ , and expand $\mathcal {M}$ to an $L'$ -structure $\mathcal {M}'$ such that $\mathcal {M}' \vDash p_C(\overline {c}')$ if and only if $\overline {c}'$ is an enumeration of some structure $C'$ such that $C' \cong C$ .

Let $\textrm {Diag}(\mathcal {M}')$ be the atomic diagram of $\mathcal {M}'$ in the signature $L'$ in variables $\{x_c : c \in \mathcal {M}\}$ . In other words, for any atomic $L'$ -formula $\varphi (x_0,\ldots ,x_{n-1})$ , $\varphi (x_{c_0},\ldots ,x_{c_{n-1}}) \in \textrm {Diag}(\mathcal {M}')$ if and only if $\mathcal {M}' \vDash \varphi (c_0,\ldots ,c_{n-1})$ .

We may further expand $L'$ to a signature $L^*$ that contains new n-ary predicate symbols $\{R_i(\overline {x}) : i < \omega \}$ . Define $\theta _{A,r}$ to be the $L^*$ -sentence stating that the interpretations of $\{R_i\}_{i<r}$ form a partition on the copies of A in $\mathcal {M}$ :

$$ \begin{align*}\theta_{A,r}:= \forall \overline{x} \left( \!\left( p_A(\overline{x}) \kern1.3pt{\leftrightarrow}\kern1.3pt \bigvee_{i<r} R_i(\overline{x})\kern-1.3pt\right) {\wedge} \bigwedge_{i \neq j < r} \neg (R_i(\overline{x}) \kern1.3pt{\wedge}\kern1.3pt R_j(\overline{x})) \wedge \bigwedge_{i < r, \sigma \in \textrm{Sym}(n)} (R_i(\overline{x}) \kern1.3pt{\leftrightarrow}\kern1.3pt R_i(\sigma(\overline{x})))\!\right)\!.\end{align*} $$

Define $\psi _{B,A,r,d}$ to be the $L^*$ -sentence stating (in conjunction with $\theta _{A,r}$ ) that the r-coloring of copies of A given by the interpretations of the $\{R_i\}_{i<r}$ achieves at least d colors on copies of A within any copy of B:

$$ \begin{align*}\psi_{B,A,r,d}:=\forall \overline{y} \left(p_B(\overline{y}) \rightarrow \bigvee_{\overline{x}_0,\ldots,\overline{x}_{d-1} \subseteq \overline{y}; \atop |\overline{x}_i|=n, i<d} \left[ \bigwedge_{i<d} p_A(\overline{x}_i) \wedge \bigvee_{i_0<i_1<\dots<i_{d-1}<r} \!\left( \bigwedge_{j<d} R_{i_j}(\overline{x}_j) \!\right) \!\right] \!\right)\!.\end{align*} $$

Suppose $d(A,\mathcal {K}) \geq d$ , for some integer $d \geq 1$ . By definition, there exists an integer $r \geq 2$ and a structure $B \in \mathcal {K}$ such that for all $C \in \mathcal {K}$ , there is a coloring $c: {C \choose A} \rightarrow r$ such that for all $B' \subseteq C$ with the property that $B' \cong B$ , $|c({B' \choose A})| \geq d$ . Thus, the following $L^*$ -type $\Gamma $ is finitely satisfiable (in expansions of $\mathcal {M}'$ ):

$$ \begin{align*}\Gamma(\{x_c : c \in |\mathcal{M}|\}):= \textrm{Diag}(\mathcal{M}') \cup \{\theta_{A,r} \wedge \psi_{B,A,r,d} \}.\end{align*} $$

A realization of $\Gamma $ induces a coloring $c_0: {\mathcal {M} \choose A} \rightarrow r$ such that for any $B' \subseteq M$ with the property that $B' \cong B$ , $|c_0({B' \choose A})| \geq d$ . Thus, we have shown that $d(A,\mathcal {M}) \geq d$ .

If A does not have finite Ramsey degree in $\mathcal {K}$ , then for all integers $d \geq 1$ , ${d(A,\mathcal {K}) \geq d}$ . By the previous argument, $d(A,\mathcal {M}) \geq d$ , for all integers $d \geq 1$ , and so A does not have finite small Ramsey degree in $\mathcal {M}$ .

If A does have finite Ramsey degree in $\mathcal {K}$ , then it follows immediately that A has finite small Ramsey degree in $\mathcal {M}$ , and $d(A,\mathcal {M}) \leq d(A,\mathcal {K})$ . By the argument above, we also have that $d(A,\mathcal {M}) \geq d(A,\mathcal {K})$ , and so $d(A,\mathcal {M}) = d(A,\mathcal {K})$ .

To see (1), for each finite substructure $C \subseteq \mathcal {M}$ we fix an enumeration $\overline {c}$ of C that we call its “natural” enumeration. We then expand L to a signature $L'$ that contains new predicates $p^e_C(\overline {x})$ , for all $C \in \mathcal {K}$ , and expand $\mathcal {M}$ to an $L'$ -structure $\mathcal {M}'$ such that $\mathcal {M}' \vDash p^e_C(\overline {c}')$ if and only if $\overline {c}' \sim \overline {c}$ , where $\overline {c}$ is the natural enumeration of C.

Then we expand by predicates $\{R_i(\overline {x}) : i < \omega \}$ and define

$$ \begin{align*}\theta^e_{A,r}:= \forall \overline{x} \left( p^e_A(\overline{x}) \leftrightarrow \bigvee_{i<r} R_i(\overline{x}) \wedge \bigwedge_{i \neq j < r} \neg (R_i(\overline{x}) \wedge R_j(\overline{x})) \right)\end{align*} $$
$$ \begin{align*}\psi^e_{B,A,r,d}:=\forall \overline{y} \left(\! p^e_B(\overline{y}) \rightarrow \bigvee_{\overline{x}_0,\ldots,\overline{x}_{d-1} \subseteq \overline{y}; \atop {|\overline{x}_i|=n, i<d}} \left[ \bigwedge_{i<d} p^e_A(\overline{x}_i) \wedge \bigvee_{i_0<i_1<\dots<i_{d-1}<r} \left( \bigwedge_{j<d} R_{i_j}(\overline{x}_j) \!\right)\! \right]\! \right).\end{align*} $$

After this, the argument proceeds in the same manner.

Proposition 2.11. Fix a signature L and a locally finite L-structure $\mathcal {M}$ . Let $\mathcal {K}:=\textrm {age}(\mathcal {M})$ . Then, for any finite substructures $A, B \subseteq \mathcal {M}$ , $(A,B)$ is a Ramsey duo for $\mathcal {K}$ if and only if $(A,B)$ is a Ramsey duo for $\mathcal {M}$ .

Proof If $(A,B)$ is a Ramsey duo for $\mathcal {K}$ , it follows immediately that $(A,B)$ is a Ramsey duo for $\mathcal {M}$ . Suppose $(A,B)$ is not a Ramsey duo for $\mathcal {K}$ . Then there exists an integer $r \geq 2$ such that for all $C \in \mathcal {K}$ , there exists a bad r-coloring $f_C: {C \choose A} \rightarrow r$ . As in Proposition 2.15, we can write the type of a structure $\mathcal {M}'$ isomorphic to $\mathcal {M}$ with a bad r-coloring, i.e., such that for all $B' \cong B$ in $\mathcal {M}'$ , $|c({B' \choose A})| \geq 2$ . This type is finitely satisfiable using the bad colorings $f_C$ and the fact that $\mathcal {K} = \textrm {age}(\mathcal {M})$ . Now the L-reduct of the realization of this type is isomorphic to $\mathcal {M}$ , and the isomorphism induces a bad coloring on $\mathcal {M}$ .

8.1 An RP transfer argument from the perspective of substructures

In this section, we develop an argument for Corollary 5.5 built on the “restricted inverse images under f” property as defined in Definition 5.13.

Corollary 5.5. Let $\mathcal {A}, \mathcal {B}$ be structures and suppose $(g,f)$ is a semi-retraction between $\mathcal {A}$ and $\mathcal {B}$ . Suppose that $\overline {a}, \overline {b}$ are finite tuples from $\mathcal {A}$ that generate finite substructures $A, B$ , respectively, of $\mathcal {A}$ , such that $g(\overline {a}), g(\overline {b})$ generate rigid substructures $A_0, B_0$ , respectively, of $\mathcal {B}$ . If $(A_0,B_0)$ is a Ramsey duo for $\mathcal {B}$ , then $(A,B)$ is a Ramsey duo for $\mathcal {A}$ .

Proof Fix structures $\mathcal {A}, \mathcal {B}$ , maps $g, f$ , finite tuples $\overline {a}, \overline {b}$ , and structures $A, B, A_0, B_0$ , as in the statement. Assume $(A_0,B_0)$ is a Ramsey duo for $\mathcal {B}$ .

Fix finitely generated structures $A, B \subseteq \mathcal {A}$ and fix generators, $\overline {a}$ and $\overline {b}$ for these structures, respectively, in some fixed enumeration. Since $\mathcal {A}$ is assumed locally finite, we may assume that $\overline {a}, \overline {b}$ enumerate $A, B$ , respectively.

Fix a coloring $c: {\mathcal {A} \choose A} \rightarrow 2$ . We define the tuples $\overline {a}_0:=g(\overline {a}), \overline {b}_0:=g(\overline {b}), \overline {a}_1:=f(\overline {a}_0), \overline {b}_1:=f(\overline {b}_0)$ . Moreover, let $A_0:=\left < \overline {a}_0 \right>_{\mathcal {B}}$ , $B_0 = \left < \overline {b}_0 \right>_{\mathcal {B}}$ . Since $fg$ is an embedding and $\overline {a}$ and $\overline {b}$ were assumed to be structures, $\overline {a}_1$ and $\overline {b}_1$ must also enumerate $L({\mathcal {A}})$ -structures, which we denote by $A_1$ and $B_1$ , respectively. Since g is not an embedding, we must consider that the structures generated by $\overline {a}_0, \overline {b}_0$ might be strictly larger than the generators: $A_0:=\left < \overline {a}_0 \right>_{\mathcal {B}}$ , $B_0 = \left < \overline {b}_0 \right>_{\mathcal {B}}$ . If there exists an $L({\mathcal {B}})$ -isomorphism $\rho : A_0 \rightarrow A_0'$ , for some substructure $A_0' \subseteq \mathcal {B}$ , let $\overline {a}_0' := \rho (\overline {a}_0)$ and define an induced coloring $c_0 : {\mathcal {B} \choose A_0} \rightarrow 2$ by $c_0(A_0') := c(\left < f(\overline {a}_0') \right>_{\mathcal {A}})$ . Since $\rho $ is an $L({\mathcal {B}})$ -isomorphism, we know that $\overline {a}_0' \sim _{\mathcal {B}} \overline {a}_0$ , and since f is qftp-respecting, we know that $f(\overline {a}_0') \sim _{\mathcal {A}} f(\overline {a}_0)$ which implies that $\left < f(\overline {a}_0') \right>_{\mathcal {A}} \cong \left < f(\overline {a}_0) \right>_{\mathcal {A}} \cong \mathcal {A}$ . This, and the fact that the isomorphism $\rho $ , if it exists, is unique, guarantee that this coloring $c_0$ is well-defined and total on the domain ${\mathcal {B} \choose A_0}$ .

By the assumption of that $(A_0, B_0)$ is a Ramsey duo, there is a copy $B_0'$ of $B_0$ in $\mathcal {B}$ homogeneous for the coloring $c_0$ on copies of $A_0$ . Thus, there is $d<2$ such that $c_0(A_0')=d$ for all $A_0' \cong _{L({\mathcal {B}})} A_0$ in $B_0'$ . Since $B_0 \cong _{L({\mathcal {B}})} B_0'$ , Remark 2.1 guarantees the existence of a unique isomorphism $\sigma : B_0 \rightarrow B_0'$ . Define $\overline {b}_0' := \sigma (\overline {b}_0)$ and $\overline {b}_1' :=f(\overline {b}_0')$ and observe that $\overline {b}_0' \sim _{\mathcal {B}} \overline {b}_0$ . By the qftp-respecting property of semi-retractions, since $\overline {b}_0' \sim _{\mathcal {B}} \overline {b}_0$ , $\overline {b}_1' = f(\overline {b}_0')\sim _{\mathcal {A}} f(\overline {b}_0)=\overline {b}_1$ . By the composition property of semi-retractions, $\overline {b}_1 \sim _{\mathcal {A}} \overline {b}$ . Thus, by transitivity of the relation $\sim _{\mathcal {A}}$ , $\overline {b}_1' \sim _{\mathcal {A}} \overline {b}$ .

Since $\overline {b}_1$ enumerates an $L({\mathcal {A}})$ -structure the $\sim _{\mathcal {A}}$ tuples $\overline {b}_1'$ enumerates an $L({\mathcal {A}})$ -structure, which we may denote by $B_1'$ . Moreover, we have shown that $B_1' \cong B$ . We claim that $B_1'$ is the desired homogeneous copy of B in $\mathcal {A}$ for the coloring c. To verify, let $A_1'$ be a copy of A in $B_1'$ , and let $\xi : A \rightarrow A_1'$ be the unique function witnessing the isomorphism. Define $\overline {a}_1': = \xi (\overline {a})$ and note that $\overline {a}_1' \sim _{\mathcal {A}} \overline {a}$ . Define $\overline {a}_0':=f^{-1}(\overline {a}_1')$ . By Proposition 5.14, $\overline {b}_0'$ has the restricted inverse images under f property for $\overline {a}$ witnessed by $\overline {a}_0$ . So in particular, $\overline {a}_0' \subseteq \overline {b}_0'$ and $\overline {a}_0' \sim _{\mathcal {B}} \overline {a}_0$ . By homogeneity of $B_0'$ for the coloring $c_0$ , $c_0(\left < \overline {a}_0' \right>_{\mathcal {B}}) = d$ , and since $\overline {a}_0' \sim _{\mathcal {B}} \overline {a}_0$ , $c_0(\left < \overline {a}_0' \right>_{\mathcal {B}}) := c(\left < f(\overline {a}_0') \right>_{\mathcal {A}})$ thus $d=c(\left < f(\overline {a}_0') \right>_{\mathcal {A}})=c(\left < \overline {a}_1' \right>_{\mathcal {A}})=c(A_1')$ , as desired.

Remark 8.1. In the previous argument for Corollary 5.5, we make essential use of the local finiteness of $\mathcal {A}$ . If $\mathcal {A}$ is not locally finite, then some finite tuple $\overline {b}$ from $\mathcal {A}$ generates an infinite substructure $B \subseteq \mathcal {A}$ . Then $g(B) \subseteq |\mathcal {B}|$ is an infinite set that may or may not be generated by a finite set of generators from $\mathcal {B}$ , in which case it may not be contained in an element of $\textrm {age}(\mathcal {B})$ . This is a problem, because any copy of $A \subseteq B$ in $fg(B) \subseteq \mathcal {A}$ has a preimage that is somewhere in $g(B)$ , and may be outside the image $g(\overline {b})$ of the original generators, $\overline {b}$ . In general, the Ramsey property for $\mathcal {B}$ does not constrain infinite sets such as $g(B)$ that are not contained in elements of $\textrm {age}(\mathcal {B})$ . For a more specific illustration of what could go wrong, see Example 5.7.

Acknowledgements

The second author thanks John Mumma for a helpful discussion about Frank Ramsey’s 1929 paper and Anand Pillay for a discussion about lifting automorphisms in the early stages of thinking about this paper. The authors thank the anonymous referee for comments that led to improvement of the presentation of the paper.

Funding

The first author was supported by the National Science Foundation grants DMS-1953955 and CAREER DMS-2144118. The second author was supported by the National Science Foundation grant number DMS-2246995. This article is based upon the work supported by the National Science Foundation under Grant No. DMS-1928930 while the second author participated in a program hosted by the Mathematical Sciences Research Institute in Berkeley, California, during Summer 2022. The second author completed parts of this paper in collaboration with the first author while supported by an AWM-NSF Travel Grant in 2023. A portion of this research was carried out as part of the American Institute of Mathematics (AIM) SQuaREs program. The authors thank AIM for their support.

References

Abramson, F. G. and Harrington, L. A., Models without indiscernibles, Journal of Symbolic Logic, vol. 43 (1978), no. 3, pp. 572–600.Google Scholar
Ahlbrandt, G. and Ziegler, M., Quasi-finitely axiomatizable totally categorical theories . Annals of Pure and Applied Logic , vol. 30 (1986), no. 1, pp. 6382. Stability in model theory (Trento, 1984).CrossRefGoogle Scholar
Bartošová, D., Universal minimal flows of groups of automorphisms of uncountable structures . Canadian Mathematical Bulletin , vol. 56 (2013), no. 4, pp. 709722.CrossRefGoogle Scholar
Bergman, G. M., An Invitation to General Algebra and Universal Constructions , second ed., Universitext, Springer, Cham, 2015.CrossRefGoogle Scholar
Bodirsky, M., Ramsey classes: Examples and constructions , Surveys in Combinatorics 2015 (A. Czumaj, A. Georgakopoulos, D. Král, V. Lozin and O. Pikhurko, editors), 424, London Mathematical Society Lecture Note Series, Cambridge University Press, Cambridge, 2015, pp. 148.Google Scholar
Džamonja, M. and Shelah, S., On ${\vartriangleleft}^{\ast }$ -maximality . Annals of Pure and Applied Logic , vol. 125 (2004), nos. 1–3, pp. 119158.CrossRefGoogle Scholar
Ehrenfeucht, A. and Mostowski, A., Models of axiomatic theories admitting automorphisms . Fundamenta Mathematicae , vol. 43 (1956), pp. 5068.CrossRefGoogle Scholar
Ellis, R., Universal minimal sets . Proceedings of American Mathematical Society , vol. 11 (1960), pp. 540543.CrossRefGoogle Scholar
Ellis, R., Lecture Notes on Topological Dynamics , Universitext, W.A. Benjamin, New York, 1969.Google Scholar
Fouché, W. L., Symmetries and Ramsey Properties of Trees , vol. 197/198, 1999, 16th British Combinatorial Conference, London, 1997, pp. 325330.Google Scholar
Graham, R. L. and Rothschild, B. L., Ramsey’s theorem for n-parameter sets . Transactions of the American Mathematical Society , vol. 159 (1971), pp. 257292.Google Scholar
Hodges, W., Model Theory , Encyclopedia of Mathematics and its Applications, 42, Cambridge University Press, Cambridge, 1993.CrossRefGoogle Scholar
Hubička, J. and Nešetřil, J., All those Ramsey classes (Ramsey classes with closures and forbidden homomorphisms) . Advances in Mathematics , vol. 356 (2019), 106791.CrossRefGoogle Scholar
Kamsma, M., Positive Indiscernibles , preprint, 2023.Google Scholar
Kaye, R. and Macpherson, D. (eds.), Automorphisms of First-Order Structures , Oxford Science Publications, The Clarendon Press, Oxford University Press, New York, 1994.CrossRefGoogle Scholar
Kechris, A. S., Pestov, V. G., and Todorčević, S., Fraïssé limits, Ramsey theory, and topological dynamics of automorphism groups . Geometric and Functional Analysis , vol. 15 (2005), no. 1, pp. 106189.CrossRefGoogle Scholar
Kim, B., Kim, H.-J., and Scow, L., Tree indiscernibilities, revisited . Archive for Mathematical Logic , vol. 53 (2014), nos. 1–2, pp. 211232.CrossRefGoogle Scholar
Leeb, K., Vorlesungen Uber Pascaltheorie , Lecture Notes, Universitat Erlangen, Erlangen, 1973.Google Scholar
MacBride, F., Marion, M., Frápolli, M. J., Edgington, D., Elliott, E., Lutz, S., and Paris, J., Frank Ramsey , The Stanford Encyclopedia of Philosophy (Zalta, Edward N. and Nodelman, Uri, editors). Metaphysics Research Lab, Stanford University, Stanford, 2023. Available at https://plato.stanford.edu/archives/win2023/entries/ramsey/.Google Scholar
Marker, D., Model Theory , Graduate Texts in Mathematics, 217, Springer, New York, 2002.Google Scholar
Mašulović, D., Pre-adjunctions and the Ramsey property . European Journal of Combinatorics , vol. 70 (2018), pp. 268283.CrossRefGoogle Scholar
Masulović, D., The Kechris–Pestov–Todorčević correspondence from the point of view of category theory . Applied Categorical Structures , vol. 29 (2021), no. 1, pp. 141169.CrossRefGoogle Scholar
Mašulović, D. and Scow, L., Categorical equivalence and the Ramsey property for finite powers of a primal algebra . Algebra Universalis , vol. 78 (2017), no. 2, pp. 159179.CrossRefGoogle Scholar
Nešetřil, J., Ramsey classes and homogeneous structures . Combinatorics, Probability and Computing , vol. 14 (2005), nos. 1–2, pp. 171189.CrossRefGoogle Scholar
Nešetřil, J. and Rödl, V., Partitions in subgraphs , Recent Advances in Graph Theory , Academia, Prague, 1975, pp. 413423.Google Scholar
Nešetřil, J. and Rödl, V., Partitions of finite relational and set systems . Journal of Combinatorial Theory Series A , vol. 22 (1977), no. 3, pp. 289312.CrossRefGoogle Scholar
Nguyen Van Thé, L., Structural Ramsey theory of metric spaces and topological dynamics of isometry groups . Memoirs of the American Mathematical Society , vol. 206 (2010), no. 968, p. 140.CrossRefGoogle Scholar
Nguyen Van Thé, L., More on the Kechris–Pestov–Todorcevic correspondence: Precompact expansions . Fundamenta Mathematicae , vol. 222 (2013), no. 1, pp. 1947.CrossRefGoogle Scholar
Prömel, H. J., Ramsey Theory for Discrete Structures , Springer, Cham, 2013. With a foreword by Angelika Steger.CrossRefGoogle Scholar
Ramsey, F. P., On a problem of formal logic . Proceedings of the London Mathematical Society. (2) , vol. 30 (1929), no. 4, pp. 264286.Google Scholar
Scow, L., Characterization of NIP theories by ordered graph-indiscernibles . Annals of Pure and Applied Logic , vol. 163 (2012), no. 11, pp. 16241641.CrossRefGoogle Scholar
Scow, L., Indiscernibles, EM-types, and Ramsey classes of trees . Notre Dame Journal of Formal Logic , vol. 56 (2015), no. 3, pp. 429447.CrossRefGoogle Scholar
Scow, L., Ramsey transfer to semi-retractions . Annals of Pure and Applied Logic , vol. 172 (2021), no. 3, Article no. 102891, 18 pp.CrossRefGoogle Scholar
Shelah, S., Classification Theory and the Number of Nonisomorphic Models , Studies in Logic and the Foundations of Mathematics, 92, North-Holland, Amsterdam, 1978.Google Scholar
Sokić, M., Ramsey properties of finite posets . Order , vol. 29 (2012), no. 1, pp. 130.CrossRefGoogle Scholar
Sokić, M., Relational quotients . Fundamenta Mathematicae , vol. 221 (2013), no. 3, pp. 189220.CrossRefGoogle Scholar
Zucker, A., Topological dynamics of automorphism groups, ultrafilter combinatorics, and the generic point problem . Transactions of the American Mathematical Society , vol. 368 (2016), no. 9, pp. 67156740.CrossRefGoogle Scholar