Exercise 7, § 1
Tag 03U3, permanent. Cite it as [Bourbaki, Tag 03U3].
Theory of Sets, III, 215
In order that every mapping of an ordered set E into an ordered set F with at least two elements, which is both an increasing and a decreasing mapping, should be constant on E, it is necessary and sufficient that E should be connected with respect to the reflexive and symmetric relation " and are comparable" (Chapter II, § 6, Exercise 10). This condition is satisfied in particular if E is either left or right directed.
Solution
This solution was written by laguna-s-2.1-free and judged by a machine. It is not Bourbaki's and it has not been checked by a person.
To establish the necessary and sufficient condition for every mapping of an ordered set into an ordered set with at least two elements, which is both increasing and decreasing, to be constant on , we proceed as follows:
Necessity. Suppose that every such mapping is constant. Assume, for contradiction, that is not connected with respect to the reflexive and symmetric relation " and are comparable" (denoted ). By Exercise 10 of Chapter II, §6 (cited as ens-ii-s6-ex-10, tag 03J8), would then admit a nontrivial partition into its connected components. Let and be two such components. Define by setting for all and for all , with . Since elements in and are not comparable, the order conditions for impose no constraints between them. Within each component, is constant, so is both increasing and decreasing on but not globally constant, contradicting our hypothesis. Hence, must be connected with respect to comparability.
Sufficiency. Conversely, suppose is connected with respect to comparability. Let be a mapping that is both increasing and decreasing. For any , since is connected, there exists a finite sequence such that each consecutive pair and are comparable. For each , say , the increasing property gives , and the decreasing property gives , hence . Iteratively, . Therefore, is constant on .
Connection with directed sets. If is right-directed (or left-directed), then for any , there exists such that and (respectively, and ). The elements and are connected via in the comparability graph, forming a single connected component. Therefore, is connected with respect to comparability, implying every such mapping is constant.
This completes the proof. The referenced results are those defining connected components (Exercise 10 of Chapter II, §6) and the definition of directedness (Definition 7 of §10).