We call $\mathcal M(f)$ the Lévy monoid of $f$, by analogy with what is usually called the Lévy group after Hida [H], who was in turn motivated by earlier work of Lévy [L, Part III] (I don't have access to a copy of Lévy's book, so this is second-hand information). In addition, we set $$\mathcal G(f) := \mathcal M(f) \cap {\rm aut}({\bf H}),$$ where ${\rm aut}({\bf H})$ is the set of all permutations of ${\bf H}$, and we refer to $\mathcal G(f)$ as the Lévy group of $f$ if, to nobody's surprise, $\mathcal G(f)$ is a subgroup of $\mathcal M(f)$, i.e. $f^{-1} \in \mathcal G(f)$ for every $f \in \mathcal G(f)$.
Q1. Is $\mathcal M(f)$ infinite? Q2. Is $\mathcal G(f)$ infinite? Q3. Is $\mathcal G(f)$ a subgroup of $\sf Set$group under composition? Q4. And what about Q1 and Q2 with $\mathcal G(f^\ast)$ in place of $\mathcal G(f)$? (Of course, $\mathcal G(f^\ast)$ isdoes always form a subgroupgroup under the operation of $\sf Set$composition.)
Both Q1 and Q2 can be answered in the affirmative if $f^\ast$ is monotone (nondecreasing), viz. $f^\ast(X) \le f^\ast(Y)$ whenever $X \subseteq Y \subseteq \bf H$ (in, in which case $f^\ast$ is called an upper density on $\bf H$ and $f$ an induced density).
Q4Q5. What is there in the literature about $\mathcal G(f)$ in the special case where $f^\ast$ is, say, the upper Banach density, the upper logarithmic density, or the upper analytic density (on $\bf N$)? (All of these are upper densities.)
For the record: In spite of a few articles dealing with the Lévy group of the asymptotic density on $\bf N$ and/or measure densities extending the asymptotic density to a finitely additive probability measure $\mathcal P(\mathbf N) \to \bf R$, see e.g. [NP], [SZ] and references therein, I can't even mention a single paper picking up with any of the cases mentioned in Q4, can you?Q5.