Submitted:
15 September 2026
Posted:
16 September 2026
You are already at the latest version
Abstract
We study guarded recursive operators on spaces of formal languages equipped with weighted first-disagreement ultrametrics generated by arbitrary decreasing depth profiles. We show that all admissible profiles preserve the same compact complete finite-depth topology while producing substantially different quantitative contraction behavior. A uniform decay profile is introduced to measure the relative decrease of metric weights under guarded disagreement shifts. We determine the exact Lipschitz modulus of canonical guarded contexts and prove that the same decay quantity is the optimal universal Lipschitz coefficient for finite guarded wrapping operators with a prescribed minimal guard length. This leads to an exact universal Banach contractivity criterion and to a sharp guard-length threshold separating uniformly contractive and nonuniform regimes. Independently of Banach contractivity, positive guardedness is shown to guarantee a unique fixed language, global Picard convergence, and explicit finite-depth stabilization for every admissible weight profile. Representative geometric, stretched-exponential, polynomial, and block-structured profiles illustrate all possible finite and infinite decay-threshold regimes.
Keywords:
formal languages
; ultrametric spaces
; weighted first-disagreement metric
; guarded language operators
; Banach contractions
; fixed points
; Picard iteration
; recursive language equations
MSC: 47H10; 54E50; 68Q45; 68Q70
1. Introduction
Fixed-point theory has long provided one of the basic mathematical tools for studying iterative and recursive processes. Since Banach’s classical contraction principle [1], contractive mappings on complete metric spaces have been used to establish existence and uniqueness of solutions together with convergence of successive approximations. The strength of this approach lies not only in the existence of a fixed point, but also in the possibility of obtaining quantitative information about the iteration leading to it.
Formal languages provide a natural setting in which recursive constructions and metric ideas can interact. The classical theory of formal languages, developed systematically in works such as [3,7], is primarily combinatorial and algebraic. At the same time, spaces of languages can also be studied topologically by measuring how early two languages can be distinguished. An important development in this direction was the study of the Bodnarchuk metric space of languages by Vianu [9], where the topology of language spaces was related to agreement and disagreement on words of bounded length. Related topological questions for classes of formal languages were later revisited, from a modern perspective, by Fulop and Kephart [4].
This point of view is especially well suited to ultrametric structures. Instead of measuring the total amount by which two languages differ, a first-disagreement ultrametric records the earliest word length at which a difference occurs. Such a metric reflects the hierarchical nature of formal languages: two languages are close when they agree on all sufficiently short words, regardless of what may happen at larger lengths. More generally, transformations associated with ultrametric structures form part of the broader theory of ultrametric-preserving functions; see, for example, [6].
Weighted approaches to formal languages have also appeared in other forms. For instance, Bruse, Herwig, and Lange [2] introduced a geometric weighting of words and used the resulting weighted symmetric difference to define distances between languages, with applications to automatic grading. Their construction and the one considered here address different aspects of language comparison. The former accumulates contributions from differing words, whereas the first-disagreement approach studied in the present paper retains only the earliest level at which two languages cease to agree.
A direct connection between first-disagreement ultrametrics and fixed-point theory was developed recently in [5]. There, guarded language operators were studied in the classical length-based ultrametric. The central observation was that fixed left and right contexts postpone possible disagreements between languages. For positively guarded recursive operators, this combinatorial displacement produces a Banach contraction in the classical metric. As a consequence, guarded recursive language equations admit unique fixed languages, Picard iteration converges globally, and finite-depth correctness can be controlled explicitly.
The classical metric used in that framework assigns geometrically decreasing weights to successive disagreement depths. This particular choice has an important consequence: postponing a disagreement by a fixed number of word positions automatically produces a uniform contraction factor. The combinatorial effect of the guards and the numerical decay of the metric are therefore tightly linked. This raises a natural question that is not visible in the classical geometric setting: what happens when the same first-disagreement structure is retained, but the numerical weights assigned to successive depths are allowed to decay according to a general profile?
The present paper addresses this question. We replace the classical geometric weighting by an arbitrary strictly decreasing positive sequence converging to zero and study the resulting family of weighted first-disagreement ultrametrics. One of the first conclusions is that the choice of weights does not alter the underlying finite-depth topology. All admissible profiles considered here lead to the same qualitative notion of convergence and preserve compactness and completeness of the language space. What changes, sometimes drastically, is the quantitative behavior of guarded operators.
To describe this behavior, we introduce a uniform decay profile that measures how much of the metric weight can remain after a disagreement is shifted by a prescribed number of positions. This quantity turns out to have a remarkably rigid structure. It is monotone and submultiplicative, and it leads to a dichotomy between two fundamentally different regimes. Either no fixed positive displacement produces a uniform decrease bounded away from one, or such a decrease appears from a certain finite depth onward. In the latter case, the uniform decay becomes asymptotically strong and necessarily admits an exponential upper envelope. This gives rise to a natural decay threshold associated solely with the chosen weight profile.
The same decay quantity also has a precise operator-theoretic meaning. We compute the exact Lipschitz modulus of a single fixed-context operator and show that the decay profile gives the best possible Lipschitz coefficient that can be guaranteed uniformly over all guarded wrapping operators whose representations satisfy a prescribed lower bound on guard depth. This leads to an exact criterion for universal Banach contractivity and identifies the decay threshold with the precise guard level at which Banach contractivity becomes guaranteed for the whole corresponding operator class.
An equally important conclusion is that the absence of a uniform Banach coefficient does not destroy the fixed-point mechanism. Positive guardedness still pushes every possible disagreement to progressively greater depth. Using this combinatorial fact directly, we prove that every positively guarded wrapping operator has a unique fixed language and that its Picard iteration converges globally for every admissible weight profile, including profiles for which the operator need not be a Banach contraction. The same argument yields explicit finite-depth stabilization bounds. Thus the weighted setting separates phenomena that coincide in the classical geometric metric: displacement of disagreement depth, strict decrease of individual nonzero distances, and uniform Banach contractivity.
The examples developed in the final part of the paper show that this distinction is genuine rather than merely formal. Geometric profiles recover the familiar uniformly contractive situation. Stretched-exponential weights exhibit a transition between uniform and nonuniform behavior. A block-structured construction shows that every prescribed finite decay threshold can occur, while polynomially decaying weights provide a natural example with no finite uniform threshold. In the latter case, a guarded operator may fail to be Banach contractive and nevertheless possess a unique fixed language together with a globally convergent Picard orbit having an explicit quantitative rate.
From a broader perspective, the results show that the fixed-point behavior of guarded language operators is governed by two distinct mechanisms: the combinatorial displacement produced by the guards and the numerical geometry chosen on the language space. Separating these mechanisms makes it possible to identify exactly which conclusions genuinely require uniform Banach contractivity and which follow already from the underlying guarded structure. This distinction also provides a natural starting point for the study of more general contractive conditions on weighted language spaces, although such extensions lie beyond the scope of the present paper.
The paper is organized as follows. Section 2 recalls the necessary background on formal languages, first-disagreement ultrametrics, Banach’s contraction principle, and the basic disagreement estimates for guarded language operators. Section 3 introduces weighted first-disagreement ultrametrics and develops the main theory, including the uniform decay profile, the decay dichotomy and threshold, the optimal universal Banach criterion, and the profile-independent fixed-point and convergence results. Finally, Section 4 studies several representative families of weight profiles and demonstrates the different decay and convergence regimes established by the general theory.
2. Preliminaries
In this section, we collect the standard notions and previously established results that will be used throughout the paper. We first recall the basic language-theoretic notation and the classical first-disagreement ultrametric on the space of formal languages. We then recall Banach’s contraction principle, establish the exact disagreement shift produced by a single fixed left-right context, and recall the finite-union and guarded wrapping estimates from the earlier guarded-language framework.
Throughout the paper, denotes a fixed finite nonempty alphabet, denotes the set of all finite words over , including the empty word , and denotes the length of a word . We write
Definition 1
Each language can equivalently be represented by its characteristic function.
For and , we use the standard notation
For languages , their concatenation is
The metric structure considered below is based on the shortest word on which two languages disagree. This viewpoint is related to the classical Bodnarchuk–Cantor topology of language spaces [4,9] and was used in the guarded-language framework of [5].
Definition 3.
For , define the first-disagreement depth by
Thus, if then A and B agree on every word of length strictly less than N, while they disagree on at least one word of length N.
We use the natural convention for every .
The first-disagreement depth satisfies the following elementary inequality.
Lemma 1.
For all ,
Proof.
Let For every with , the languages A and B agree at w, and the languages B and C also agree at w. Consequently, for every such word. Hence the first possible disagreement between A and C cannot occur before depth N. □
We use the convention
Definition 4
The topology can be interpreted directly in terms of finite words.
Proposition 1
([5]). Let and let . Then if and only if for every satisfying .
Thus convergence in the first-disagreement ultrametric is equivalent to finite-depth stabilization: below every prescribed word-length bound, membership decisions eventually stabilize.
We recall the fixed-point principle that will be used in the contractive part of the main results.
Definition 5
([1]). Let be a metric space. A mapping is called a Banach contraction if there exists a constant such that for all .
Theorem 2
([1]). Let be a complete metric space and let be a Banach contraction. Then T has a unique fixed point . Moreover, for every initial point , the Picard sequence converges to .
If q is a contraction coefficient, then for every .
We now collect the language-theoretic disagreement estimates that form the structural input for the weighted theory. We first establish the exact effect of a single fixed left-right context on first-disagreement depth. We then recall the finite-union and guarded wrapping estimates used in the classical length-based framework of [5].
The following elementary lemma gives the exact effect of a fixed left-right context on the first-disagreement depth. It is a direct consequence of cancellation in the free monoid.
Lemma 2.
Let and let be distinct. Then
Proof.
Since , the first-disagreement depth is finite. By definition of n, there exists a word such that Without loss of generality, suppose that Then
We claim that Indeed, if , then there would exist some such that Since the free monoid is both left- and right-cancellative, this equality implies contradicting . Hence distinguishes and . Its length is so
For the reverse inequality, let where ▵ denotes symmetric difference. Suppose, for instance, that Then there exists such that We must have Indeed, if , then , contradicting the choice of x. Thus By the definition of , Consequently,
The same argument applies when Therefore every distinguishing word for and has length at least Hence
Combining the two inequalities yields □
For the classical length-based ultrametric, the preceding exact depth identity immediately gives
In particular, this recovers the fixed-context contraction estimate used in the guarded-language framework of [5].
Finite unions preserve common finite-depth agreement.
Lemma 3
([5]). Let I be a finite nonempty index set, and let and be families in . If for every , then
In particular, for all .
We next recall the guarded wrapping construction.
Definition 6
([5]). A finite guard family is a set Its minimal total guard length is
The seed-free guarded recursive part associated with G is
For a fixed seed language , the corresponding guarded wrapping operator is
The essential previously established property is the following disagreement-shift estimate.
Proposition 2
([5]). Let G be a finite guard family and put Then, for every pair of distinct languages ,
More generally, for every fixed seed and every pair of distinct languages ,
When , one has and so the corresponding metric estimates below hold trivially. Thus the restriction to distinct languages in Proposition 2 merely avoids unnecessary arithmetic with the value .
For the classical metric, Proposition 2 therefore yields for all .
In particular, if then and hence every positively guarded wrapping operator is a Banach contraction in the classical dyadic metric.
3. Main Results
The purpose of this section is to separate two ingredients that coincide in the classical metric: the combinatorial displacement of a disagreement produced by a guard, and the numerical decay assigned to successive disagreement depths.
Definition 7.
A sequence is called anadmissible weight profileif and
The normalization causes no loss of generality. Indeed, multiplying every weight by the same positive constant rescales all distances by that constant and therefore does not change the induced topology, the first-disagreement structure, or any Lipschitz ratio.
Remark 1.
The strict decrease required in Definition 7 is stronger than what is needed merely to obtain the finite-depth topology.
Indeed, suppose more generally that and Then the formula
still defines an ultrametric. Moreover, the resulting metric still induces the usual finite-depth topology on .
To see the latter point, fix . Given , choose N such that Then implies Conversely, for every , if then a first disagreement cannot occur at any depth , because monotonicity would give Hence Thus the metric and finite-depth cylinder topologies still coincide even when plateaus are permitted.
The strict decrease imposed in Definition 7 is needed for the stronger numerical properties developed in the present paper.
First, it makes disagreement depth exactly recoverable from the threshold values of the metric. If, for example, choose and set Then but Consequently, although Hence the exact equivalence may fail when the profile contains plateaus.
Second, strict decrease is precisely what converts every positive disagreement shift into strict metric decrease. Under a plateau a shift from depth N to depth need not change the numerical distance. By contrast, for an admissible profile and every one has Therefore every positive displacement of first-disagreement depth strictly decreases the corresponding nonzero distance.
Thus strict monotonicity is not imposed because it is necessary for compactness, completeness, or the finite-depth topology. It is imposed because the present theory requires both an exact numerical encoding of disagreement depth and the pointwise strict contraction mechanism generated by positive guards.
Definition 8.
Let be an admissible weight profile. For , define
Remark 2.
The general study of transformations preserving ultrametrics belongs to the theory of ultrametric-preserving functions; see [6]. Weighted metrics on formal languages have also been considered from a different viewpoint. In particular, Bruse, Herwig, and Lange [2] define a distance by assigning geometric weights to words and measuring the weighted symmetric difference of two languages. The distance in Definition 8 is of a different type: it depends only on the depth of the first disagreement and therefore preserves the hierarchical finite-depth structure used by guarded recursive operators.
The first result shows that every admissible weight profile preserves the underlying hierarchical geometry of the language space. In particular, the numerical values assigned to the disagreement levels may change, while the finite-depth cylinder structure remains unchanged.
Theorem 3.
Let be an admissible weight profile. Then is an ultrametric on .
Moreover, for every and every , the set admits the equivalent descriptions and
The family is a neighborhood basis at L for both and . Consequently, the two metrics induce the same topology on . In particular, is compact and complete.
Proof.
We first verify the ultrametric property. By Definition 8, one has for all , and Symmetry follows from
It remains to prove the strong triangle inequality. Let . If two of the three languages coincide, the required inequality is immediate. We may therefore assume that the relevant first-disagreement depths are finite. By Lemma 1, Set If , then Since the weight profile is strictly decreasing, Similarly, if , then Hence in all cases so is an ultrametric.
We next identify its finite-depth balls. Fix and . By the definition of the first-disagreement depth, holds if and only if L and K agree on every word whose length is strictly smaller than N. Thus
We now compare this condition with the weighted distance. If , then Suppose that . Since is strictly decreasing, is equivalent to which is in turn equivalent to Therefore
The same argument for the classical profile gives
It remains to verify that the cylinder sets form neighborhood bases for both metrics.
Fix . For every , is a closed -ball. It is also open. Indeed, let Then so L and K agree on every word of length strictly less than N. If then K and M also agree on every word of length strictly less than N. Hence L and M agree on every such word, and therefore Thus By the same argument with L and K interchanged, and consequently Hence every point of has a -neighborhood contained in , so is open.
We now show that these cylinders form a neighborhood basis at L. Let . Since there exists such that Then Thus the family is a neighborhood basis at L for .
Exactly the same argument, using shows that the same family of cylinders is a neighborhood basis at L for the classical metric .
Therefore the identity mapping and its inverse are continuous. Hence and are homeomorphic via the identity map and induce exactly the same topology on .
By Theorem 1, is compact. Since compactness is preserved under homeomorphisms, is compact.
Finally, is a metric and every compact metric space is complete. Therefore is complete. □
The preceding theorem shows that the weight profile changes the numerical geometry of the language space without changing its finite-depth topology.
Corollary 1.
Let be an admissible weight profile, let , and let . The following conditions are equivalent:
- label=()
- lbbel=()
- lcbel=()
- for every with .
Proof.
If , all three assertions hold immediately. Assume . Then . Because the profile is strictly decreasing, . This proves the equivalence of (i) and (ii). The equivalence of (ii) and (iii) follows directly from the definition of . □
Corollary 2.
Let and let . Then if and only if, for every , there exists such that for all and every with .
Proof.
Assume first that with respect to . Fix . Since , there exists such that for every . In particular, and Corollary 1 gives for every word w with .
Conversely, assume finite-depth stabilization. Let . Since we may choose N such that By hypothesis, there exists such that, for every , the languages and L agree on all words of length strictly less than N. Corollary 1 therefore yields Thus □
Corollary 3.
A sequence is Cauchy with respect to if and only if, for every , there exists such that for all and every satisfying .
Consequently, the metrics and have the same convergent sequences and the same Cauchy sequences.
Proof.
Suppose first that is -Cauchy. Fix . There exists such that for all . Hence and Corollary 1 shows that and agree on every word of length strictly less than N.
Conversely, suppose that the stated finite-depth stabilization property holds. Let . Choose N such that For sufficiently large , the languages and agree on every word of length strictly less than N. Therefore Thus is -Cauchy.
The final assertion follows because the same finite-depth characterizations hold for the classical metric . □
Thus every admissible weight profile produces the same qualitative finite-depth convergence structure. What changes from one profile to another is the numerical rate assigned to increasing agreement depth.
We first record a general principle that transfers a combinatorial disagreement shift into a quantitative estimate for every admissible weight profile. This observation separates the depth mechanism from the particular numerical decay of the weights.
Proposition 3.
Let be an admissible weight profile and let . Suppose that there exists such that for every pair of distinct languages
Then, for every , putting one has Equivalently,
If , then F strictly decreases every nonzero distance:
Proof.
Fix distinct and put
There are two cases.
If then and therefore
Assume now that By hypothesis, Since the weight profile is strictly decreasing, By Definition 8, and hence
Since we may write the same estimate in the form
Finally, suppose that . Because the profile is strictly decreasing, If , then If , then Thus every nonzero distance is strictly decreased. □
The preceding proposition applies exactly to fixed left-right contexts.
Proposition 4.
Let be an admissible weight profile, let , and put Define Then, for every pair of distinct languages , Consequently,
In particular, if , then for every .
Proof.
Let and put By Lemma 2, fixed left and right concatenation shifts the first disagreement exactly by the total context length: Therefore which proves the first assertion.
Since division by the positive number gives
If , strict decrease of the weight profile gives and therefore
□
For finite guarded families, exact equality need not hold. Distinct guarded terms may overlap, and the common seed may mask disagreements that would otherwise be visible. Nevertheless, the minimal total guard length gives a uniform lower bound on the displacement of every possible first disagreement.
Proposition 5.
Let be an admissible weight profile, and let be a guarded wrapping operator. Put Then, for every pair of distinct languages , with one has Equivalently,
In particular, if then for every .
Proof.
By Proposition 2, Thus the operator satisfies the hypothesis of Proposition 3. Applying that proposition with gives where
Since the estimate can equivalently be written as
If , Proposition 3 also gives the strict inequality for every distinct pair . □
Remark 3.
Proposition 5 distinguishes pointwise strict distance decrease from uniform Banach contractivity.
For every positive guard length and every admissible weight profile, one has
whenever .
However, the factor depends on the disagreement depth of the particular pair. These pair-dependent factors may approach 1 as . Therefore strict decrease of every individual distance does not by itself imply the existence of a uniform Banach coefficient strictly smaller than 1.
The decay profile introduced below measures precisely whether such a uniform coefficient exists.
The preceding estimates show that the relevant numerical quantity is not the absolute size of the weights but their uniform decay under a prescribed increase of disagreement depth. We therefore introduce the following profile.
Definition 9.
Let be an admissible weight profile. For , define We call theuniform decay profileassociated with .
Thus measures the largest relative weight that may remain after a disagreement is shifted by m additional word positions.
For , for every n, and hence
For every fixed and every individual n, strict decrease of the weight profile gives However, this pointwise strict inequality does not imply because the corresponding ratios may approach 1 as .
The basic structural properties of are collected in the following proposition.
Proposition 6.
Let be an admissible weight profile. Then:
- label=()
- for every ,
- lbbel=()
- lcbel=()
- is nonincreasing, that is,
- ldbel=()
- is submultiplicative: for all ;
- lebel=()
- for every and every ,
Proof.
We prove the assertions separately.
For (i), positivity of the weights gives for every . Hence Since the sequence is decreasing, and therefore Taking the supremum over n yields
Assertion (ii) follows because for every n, so
For (iii), let For every , monotonicity of the weight profile gives Since , division by yields Taking the supremum over n on both sides gives
We next prove (iv). Let . For every n, By Definition 9, because the index is an admissible index in the supremum defining . Similarly, Consequently, Taking the supremum over all yields
Finally, (v) follows by induction on k. For the statement is trivial. Suppose that Then submultiplicativity gives and hence The proof is complete. □
The previous proposition leads to a useful dichotomy. It shows that uniform decay cannot occur only at isolated guard lengths: once it occurs at one positive depth, it persists for every larger depth and becomes asymptotically arbitrarily strong.
Definition 10.
Let be an admissible weight profile. If we define theuniform decay thresholdof by If no such integer exists, we set
Theorem 4.
Let be an admissible weight profile. Exactly one of the following two alternatives occurs.
- label=()
- for every . Equivalently,
- lbbel=()
- There exists a finite integer such that while Moreover,
More precisely, in case(B), put Then, for every , Consequently, if then for every . Thus the uniform decay profile has an exponentially decaying tail whenever its decay threshold is finite.
Proof.
Suppose first that there is no positive integer m satisfying By Proposition 6, for every . Hence for every , and alternative (A) holds.
Assume now that there exists at least one positive integer m such that By the well-ordering principle, the nonempty set has a smallest element. Denote it by By the minimality of , for every integer
Since is nonincreasing, for every . Thus uniform decay, once it occurs, persists for every larger disagreement shift.
We now establish the quantitative tail estimate. Set and fix Put Then Since is nonincreasing, By Proposition 6, Therefore
Since and the function is decreasing. Hence Define Then and Consequently, for every .
Since we conclude that This proves alternative (B), together with the stated quantitative estimates. □
Corollary 4.
For an admissible weight profile , the following conditions are equivalent:
- label=()
- there exists such that
- lbbel=()
- lcbel=()
- ldbel=()
- there exists such that for every ;
- lebel=()
- there exist constants and such that for every sufficiently large m.
Proof.
The implication follows directly from Definition 10.
Assume (ii) and write By Theorem 4, if and then for every . Thus (ii) implies (v).
Assume now (v). Since one has Therefore and hence Thus
If (iii) holds, then there exists such that for every . Hence
Finally, is immediate.
Thus all five conditions are equivalent. □
Remark 4.
Corollary 4 shows that convergence cannot occur arbitrarily slowly.
Indeed, once at a single positive depth, submultiplicativity forces an exponentially decaying upper envelope for the entire tail of the uniform decay profile. More precisely, there exist constants such that for all sufficiently large m.
Thus there is no intermediate regime in which but the decay is slower than every exponential upper bound.
Remark 5.
The quantity depends only on the numerical geometry of the weighted first-disagreement space and not on a particular language operator.
If then no fixed positive shift in disagreement depth produces a uniform relative decay bounded away from 1.
If then every shift of at least positions produces a uniform relative decay strictly smaller than 1, and larger shifts make this decay arbitrarily strong.
In the next theorem, this purely metric threshold becomes exactly the uniform guard-length threshold that guarantees Banach contractivity for the entire class of guarded wrapping operators.
We now turn to Banach contractivity. The purpose is not only to obtain a sufficient contraction estimate for an individual guarded operator, but also to identify the optimal coefficient that can be guaranteed uniformly over all guarded wrapping operators with a prescribed minimal guard depth.
Definition 11.
Let be an admissible weight profile and let . TheLipschitz modulusof F with respect to is defined by where the supremum is taken in the extended nonnegative real numbers.
Thus is the smallest extended nonnegative constant that bounds all pairwise distance ratios of F. In particular, F is Lipschitz with a finite Lipschitz constant if and only if
Moreover, Indeed, if then, by the definition of the supremum, for all distinct , while the same inequality is trivial when . Hence q is an admissible Banach contraction coefficient.
Conversely, if F is a Banach contraction with some coefficient , then for every . Taking the supremum gives
We first compute the modulus exactly for a single fixed context.
Theorem 5.
Let be an admissible weight profile, let , and put Define Then
Equivalently,
In particular, if , then
Proof.
Fix distinct languages and write By Proposition 4, whereas Therefore By the definition of , Hence
To obtain the reverse inequality, we show that every ratio occurring in the definition of is realized by a pair of formal languages.
Fix an arbitrary . Since is nonempty, choose a symbol and set For , this means Define The two languages agree on every word of length strictly smaller than n, and they disagree on , which has length n. Consequently, Applying the exact fixed-context formula gives while Thus
Since this holds for every , Combining the two inequalities yields
Finally, by Definition 5, is a Banach contraction exactly when its Lipschitz modulus is strictly smaller than one. Hence □
The preceding exact computation provides the extremal example needed to identify the best possible coefficient for the entire class of guarded wrapping operators.
For each , define
Thus membership means that the mapping T admits at least one guarded representation
whose guard family satisfies
The quantity belongs to the chosen guarded representation and is not assumed to be an intrinsic invariant of the underlying mapping . If a mapping admits more than one guarded representation, membership in requires only the existence of one representation with guard depth at least m.
Whenever an estimate below is applied to an operator , a representation witnessing this membership is chosen explicitly. The resulting estimate depends only on the lower bound m and therefore remains a statement about the mapping T itself.
If and then T admits a guarded representation satisfying Hence and therefore Thus is a decreasing hierarchy of guarded mappings classified by the existence of a representation with the prescribed minimal guard depth.
Theorem 6.
Let be an admissible weight profile.
If is a guarded wrapping operator with then Equivalently, for all .
Moreover, for every ,
Consequently, is the optimal universal Lipschitz coefficient for the class .
Proof.
Let be a guarded wrapping operator and put
If , then so the required estimate is immediate.
Assume that and put By Proposition 5, By Definition 9, Since we obtain Taking the supremum over all distinct gives
We now prove the optimality statement. Fix and let By the definition of , there exist a seed language and a finite guard family G such that and
Applying the first part of the theorem to this chosen representation gives Since is nonincreasing and we have Consequently,
Since was arbitrary,
It remains to prove the reverse inequality.
Since is nonempty, choose Consider the one-guard family and the empty seed Then so the corresponding operator belongs to .
Moreover, By Theorem 5, Hence
Combining the upper and lower bounds gives Thus is the optimal universal Lipschitz coefficient for the class . □
The optimal estimate yields an exact Banach classification of the operator class .
Corollary 5.
Let be an admissible weight profile and let The following conditions are equivalent:
- label=()
- lbbel=()
- every operator is a Banach contraction on ;
- lcbel=()
- there exists a constant depending only on and m, such that for every and all .
When these equivalent conditions hold, is the optimal universal Banach coefficient for ; that is, it is the smallest constant q for which the estimate in(iii)holds simultaneously for every .
Proof.
Assume first that (i) holds. By Theorem 6, Hence, for every one has Therefore every is a Banach contraction. This proves (ii).
Moreover, choosing gives for every and all . Thus (iii) also holds.
The implication is immediate.
It remains to prove Suppose, to the contrary, that Since is nonempty, choose and consider This mapping admits the one-context guarded representation with empty seed and guard family For this representation, and therefore
By Theorem 5, Therefore is not a Banach contraction, contradicting (ii). Hence
Finally, Theorem 6 gives Thus is a valid universal coefficient, and no smaller constant can bound the Lipschitz moduli of all operators in . Hence it is the optimal universal Banach coefficient. □
Combining the universal Banach criterion with the uniform-decay threshold identifies the exact level of the operator hierarchy at which Banach contractivity becomes universal.
Corollary 6.
Let be an admissible weight profile.
If then
Equivalently, if then consists entirely of Banach contractions, whereas for every the class contains at least one operator that is not Banach contractive.
If then no class consists entirely of Banach contractions. More precisely, for every the class contains a guarded wrapping operator with Lipschitz modulus equal to 1.
Proof.
Assume first that By Definition 10, Hence Corollary 5 implies that every is a Banach contraction.
Now let By the minimality of , Choose a symbol and consider the canonical one-context operator It admits the guarded representation with empty seed and guard family for which Therefore By Theorem 5, Thus is not a Banach contraction. Hence no integer smaller than has the required universal property.
Suppose now that Then, by Theorem 4, for every . For each such m, the same canonical operator belongs to and satisfies Therefore no finite guard threshold yields universal Banach contractivity. □
Remark 6
(Universal versus individual contractivity). The condition is a statement about the entire operator class not merely about a single guarded wrapping operator.
If then every is Banach contractive, with the common estimate
By contrast, if then the class is not uniformly Banach contractive. Indeed, the canonical operator belongs to and satisfies
This does not imply that every operator in has Lipschitz modulus equal to one. For a particular guarded wrapping operator, overlaps between guarded terms or masking by the seed may increase the disagreement depth beyond the universal lower bound and thereby reduce its actual Lipschitz modulus below one.
Thus expresses a sharp obstruction to auniversalBanach conclusion based solely on the prescribed guard depth, rather than an obstruction to Banach contractivity of every individual operator in the class.
We finally record the fixed-point and convergence consequences in the uniformly contractive regime. The optimal universal coefficient yields a rate valid for the entire guard class, while the actual Lipschitz modulus of a particular operator may provide a strictly sharper estimate.
Corollary 7.
Let be a guarded wrapping operator with and suppose that Set Then
Consequently, T has a unique fixed language and, for every initial language , the Picard iteration converges to .
Moreover, for every ,
Since one obtains, for every , the universal bound
More generally, let For every , finite-depth correctness below depth N is guaranteed whenever In particular, the operator-independent sufficient condition implies for every
For , correctness below depth N is characterized directly by or equivalently by
Proof.
By Theorem 6, and therefore Hence T is a Banach contraction on the complete metric space , whose completeness follows from Theorem 3.
Banach’s contraction principle, Theorem 2, therefore gives a unique fixed language and convergence of the Picard iteration from every .
Since for every repeated application of the Lipschitz estimate gives
For , since we have and therefore
By the normalization every distance in is at most one. Hence which gives for every .
Now let If and then By Corollary 1, this is equivalent to agreement of and on every word of length strictly less than N.
Moreover, because the simpler condition is a universal sufficient criterion for every .
For , Corollary 1 gives directly which is exactly the finite-depth correctness condition for the initial language. □
The Banach property depends on the numerical decay of the weight profile. The underlying disagreement-shift mechanism, however, is independent of that numerical decay. We now show that positive guardedness alone already implies global Picard convergence and uniqueness of the fixed language for every admissible profile, even in the regime where no uniform Banach coefficient exists.
The proof also yields quantitative estimates for the entire Picard orbit, not only for its distance from the limiting fixed language.
Theorem 7.
Let be any admissible weight profile, and let be a guarded wrapping operator with For an arbitrary initial language , define the Picard orbit by
If then is the unique fixed language of T and for every .
Assume now that and put Then the following assertions hold.
- label=()
-
For every , where the left-hand side is understood as if .In particular, if for some , then is the unique fixed language and for every .
- lbbel=()
- For every pair of integers , and consequently
- lcbel=()
- The Picard orbit converges in to a unique fixed language
- ldbel=()
- For every , and therefore
Proof.
Let
We first consider the case Then so is a fixed language and for every .
To prove uniqueness, suppose that is another fixed language. Since the two languages are distinct, Using the fixed-point identities and Proposition 2, we obtain which is impossible because Hence is the unique fixed language.
Assume from now on that and define
For every , let
We first prove assertion (i).
Suppose that for some index s one has Then so is a fixed language. Consequently, for every , and hence for every .
Thus, once the orbit becomes stationary, assertion (i) is automatic for all subsequent indices.
It remains to consider indices for which Then so Proposition 2 applies to the distinct input pair . Since and we obtain This inequality remains valid when because in that case
We now prove by induction that for every , with the inequality understood in the extended order when .
For there is equality. Assume that If then the orbit is stationary from index n onward, and hence If the estimate established above gives Therefore for every .
Finally, if the orbit becomes stationary at some index s, then is a fixed language. The uniqueness argument given above applies verbatim and shows that this fixed language is unique. This proves all additional statements in (i).
We next prove (ii). Let Apply Lemma 1 repeatedly to the finite chain This gives By assertion (i), Since , Hence
By Definition 8, either , in which case the corresponding metric estimate is trivial, or Since is decreasing, This proves (ii).
We now establish the Cauchy property. Let Because the weight profile is admissible, Since there exists such that
Let . If , then
Assume now that . By symmetry of the metric, we may suppose without loss of generality that Then assertion (ii) yields Since and the weight profile is decreasing, Hence
Therefore, for all , and consequently is a Cauchy sequence in .
By Theorem 3, is complete. Therefore there exists such that
We next prove directly that is a fixed language. The argument is carried out entirely in terms of first-disagreement depths.
Fix an arbitrary Since Corollary 2 implies that there exists such that for every .
The shifted sequence has the same limit . Hence there exists such that for every .
Choose We claim that
There are two cases.
If then Therefore
Assume now that Since the pair is distinct, Proposition 2 applies and gives Thus in either case,
On the other hand, by the choice of n, Applying Lemma 1 to we obtain
Since was arbitrary, the first-disagreement depth between and cannot be finite. Hence By Definition 3, Therefore is a fixed language.
We now prove uniqueness. Suppose that is another fixed language and Put Since both languages are fixed, The disagreement-shift estimate therefore gives which is impossible because . Hence is the unique fixed language. This proves (iii).
It remains to establish the quantitative estimate in (iv).
Fix and put By assertion (ii), for every , Hence for every , where
By Theorem 3, the cylinder is a closed subset of . Since and every sufficiently late member of the sequence belongs to , closedness implies Therefore
If then Otherwise, because the weight profile is decreasing.
Thus which proves (iv). □
Remark 7.
In the nonstationary initial case , the estimate is uniform in the later iterate k. Thus, once the nth approximation has been reached, every subsequent Picard iterate already agrees with it on all words of length strictly less than The same stabilized finite-depth region is inherited by the limiting fixed language.
The theorem gives a finite-depth certification bound that takes into account the agreement depth already gained after the first recursive update.
Corollary 8.
Assume the hypotheses of Theorem 7 and suppose that Set and let
For every satisfying the iterate agrees with the fixed language on every word of length strictly less than N; that is, for every
The smallest nonnegative integer guaranteed by this estimate is Thus every is sufficient for correctness below depth N.
In particular, if then so the initial language already agrees with on every word of length strictly less than N.
Finally, since the simpler profile-independent estimate is always sufficient.
Proof.
By Theorem 7, for every . Therefore, whenever one has By Definition 3, this is equivalent to for every word w satisfying
The inequality is equivalent to Since n must be a nonnegative integer, the smallest value ensured by this sufficient condition is
If , then and hence
Finally, implies Thus the stronger requirement is always sufficient, which gives □
Remark 8.
The quantity is the smallest iteration index guaranteed by the general lower bound It need not be the actual first iteration at which correctness below depth N is attained for a particular guarded operator, since additional overlap or masking may shift disagreements farther than the minimal amount m.
Remark 9
(Profile-dependent metric rate and sharpness). In the case Part(iv)of Theorem 7 gives the general a priori estimate Thus the underlying combinatorial agreement depth grows at least linearly with the iteration index, namely while the corresponding numerical convergence rate is determined by the decay of the chosen weight profile along the arithmetic progression
In the nonstationary initial case , the estimate is an upper bound valid for every guarded representation satisfying For a particular operator the actual convergence may be faster, since overlaps between guarded terms or masking by the seed can shift disagreements by more than the guaranteed amount m.
The general estimate is sharp for every prescribed positive guard length. Indeed, fix an integer . Since Σ is nonempty, choose Consider the guarded wrapping operator It admits the guarded representation with for which
Starting from a direct induction gives The unique fixed language is Moreover, and hence
For every , the first word belonging to but not to is whose length is . Therefore Consequently, for every admissible weight profile,
Thus both the disagreement-depth estimate and the associated profile-dependent metric estimate in Theorem 7 are sharp for every prescribed positive guard length.
The Banach estimate and the profile-dependent depth estimate are linked by a simple but useful consequence of the definition of .
Proposition 7.
Let be an admissible weight profile. Then, for every one has
Equivalently,
Proof.
Fix
If then and Hence so the assertion holds with equality.
Assume now that Using the identity we obtain the telescoping representation
For every the index belongs to . Therefore, by Definition 9, Multiplying these n inequalities gives Since we conclude that Thus the estimate holds for every □
Corollary 9
(Compatibility of the depth and Banach rates). Let be a guarded wrapping operator with and suppose that Let be the Picard orbit generated by an arbitrary initial language , and let denote the unique fixed language of T.
If then for every , and hence
Assume now that and put Then, for every , Since one obtains the chain
Proof.
If then is a fixed language. By uniqueness of the fixed point, and the Picard orbit is constant, so the first assertion is immediate.
Assume now that Then By Theorem 7, for every .
Proposition 7, applied with gives Since Definition 8 yields Finally, the normalization implies Therefore □
Remark 10.
The preceding corollary clarifies the relation between the two convergence mechanisms. In the nonstationary initial case put Then the purely depth-based estimate is available for every admissible profile, independently of whether is strictly smaller than one.
When the same estimate is automatically compatible with the geometric Banach scale: Hence the depth estimate is always at least as strong as the coarse normalized universal bound
This should not be confused with the sharper operator-specific Banach estimate where The quantity may be substantially smaller than for an individual operator.
Thus, for , the three quantities encode, respectively, the profile-sensitive depth rate, the optimal universal Banach scale determined by guard length alone, and the actual Banach behavior of the particular operator.
Remark 11
(Three levels of guarded contraction). The preceding results separate three levels of behavior that coincide in the classical geometric setting but need not coincide for a general admissible weight profile.
First, positive guardedness is a purely combinatorial property. If then for every pair of distinct languages . Thus every application of the operator postpones a possible first disagreement by at least m word positions.
Second, because the weight profile is strictly decreasing, this positive depth shift implies pointwise strict decrease of every nonzero distance: This conclusion holds for every admissible weight profile and does not require The corresponding contraction factor may, however, depend on the particular disagreement depth and may approach 1 along pairs whose first disagreement occurs at increasingly large depths.
Third, the stronger condition provides a uniform numerical factor valid independently of the pair . In that case, so every mapping in lies in the classical Banach class.
When such a uniform Banach conclusion cannot be inferred from the guard length alone. This does not exclude Banach contractivity for a particular operator, whose actual Lipschitz modulus may be smaller because of overlaps or masking. It means only that no contraction coefficient strictly below one can be guaranteed uniformly over the entire class from the prescribed guard depth.
Finally, even in this nonuniform regime, Theorem 7 shows that the combinatorial depth shift itself is sufficient to guarantee a unique fixed language, global Picard convergence, and explicit finite-depth stabilization.
Thus the weighted theory distinguishes
and identifies precisely the additional decay condition required to pass from one level to the next.
4. Examples and Model Decay Regimes
We now illustrate the preceding theory on several representative classes of admissible weight profiles. The examples show that the uniform decay threshold can equal one, can be any prescribed finite positive integer, or can be infinite. They also demonstrate that the finite-depth convergence mechanism remains effective in all three regimes.
Example 1.
Let Then, for every , Hence
In particular, for every , and therefore
Since for every , Theorem 6 implies that every positively guarded wrapping operator is a Banach contraction.
More precisely, if then
Furthermore, for every prescribed the optimal uniform estimate over the entire class of guarded wrapping operators satisfying is Thus is not merely an admissible universal contraction coefficient: it is the smallest coefficient that can hold uniformly for all
The classical length-based ultrametric is recovered for In this case, which recovers the contraction coefficient established in [5].
The geometric family represents uniform exponential decay. A broader one-parameter family exhibits a sharp transition between the uniform and nonuniform regimes.
Proposition 8.
Let and define Then is an admissible weight profile.
If then, for every , Consequently,
If then for every , and hence
Proof.
Clearly, the sequence is strictly decreasing and positive, and Thus is admissible.
For fixed ,
We first consider the case Then and therefore for every . Hence In particular, for every , and thus
Assume now that For fixed , define For , Since and we have so for every . Therefore is nondecreasing on and, by continuity at 0, on .
Hence for every , that is, Consequently,
At equality holds: Therefore Again, for every , and hence
Suppose now that Fix We claim that
For every integer the function is continuous on and differentiable on . Hence, by the mean value theorem, there exists such that
Since and we have Because it follows that Therefore
Therefore Every individual ratio is strictly smaller than one, while their supremum is one. Hence for every , and therefore □
Remark 12.
Proposition 8 exhibits a sharp change in the uniform contraction behavior at
If then so the dependence on the guard length is geometric. This is the same qualitative regime as the profile with
If then Hence the optimal universal Lipschitz coefficient tends to zero faster than any geometric sequence in the guard length. More precisely, for every there exists such that for every .
Indeed, writing the required inequality is equivalent to or which holds for all sufficiently large m because
By contrast, when one has for every fixed . Thus no finite guard depth yields a universal Banach coefficient strictly smaller than one.
Nevertheless, consider a Picard orbit satisfying and put Then Theorem 7 gives If instead then the orbit is already stationary at the unique fixed language.
Therefore the absence of uniform Banach contractivity does not prevent a stretched-exponential metric convergence rate along every nonstationary Picard orbit, while the stationary case is immediate.
This example illustrates an important distinction: the behavior of describes uniform contraction as the guard depth varies, whereas the quantity describes the metric convergence rate along a fixed Picard orbit.
The next example shows that the uniform decay threshold need not be one or infinity. In fact, any prescribed finite threshold can occur.
Example 2.
Fix an integer and choose a constant Let Then and
Define a sequence blockwise as follows: for and for every .
Starting from define recursively
Then is an admissible weight profile and More precisely, whereas
Proof.
Since for every n, the sequence is positive and strictly decreasing.
At the end of the kth block one has Since it follows that Starting from an induction on k therefore gives for every .
It remains to verify convergence of the full sequence, not only of the subsequence . Let , and write Since is decreasing, Hence As one necessarily has Because we obtain Therefore, by the squeeze theorem,
Together with positivity and strict decrease of , this proves that is an admissible weight profile.
Let Fix a block index and choose the starting position By the definition of the one-step ratios, for every Since the indices all lie among the first positions of the kth block. Therefore for every
Using we obtain
Since it follows that Hence, for every , there exists k such that Therefore
On the other hand, monotonicity of the weight profile gives for every n, so Thus
Combining the two inequalities yields for every
We now consider a shift of exactly h positions. By the definition of the one-step ratios, the factor c occurs precisely at those indices j satisfying Consequently, among any h consecutive integers there is exactly one index congruent to modulo h. Hence the product contains exactly one factor equal to c.
Every remaining factor is of the form for some k, and therefore lies strictly between 0 and 1. It follows that for every . Taking the supremum over n yields
To prove the reverse inequality, choose the block starting points For these indices, the first one-step ratios in the block are all equal to , while the last one equals c. Therefore Since we obtain Thus, for every , there exists k such that Hence
Combining the upper and lower bounds gives
Hence for every , while By Definition 10, □
Remark 13.
For the profile in Example 2, positive guards of length less than h strictly decrease every individual nonzero distance, but no uniform Banach coefficient can be guaranteed over the entire class from guard length alone.
By contrast, every guarded wrapping operator satisfying is a Banach contraction, and h is the smallest guard depth with this universal property.
We finally return to a natural slowly decaying profile for which no finite uniform decay threshold exists.
Example 3.
Fix and define Then is admissible, and For every fixed , Therefore for every , and hence
Thus no finite positive guard depth is sufficient for a universal Banach conclusion.
Consider, more concretely, a symbol and the guarded wrapping operator It has the displayed guarded representation with for which
For one has and hence Moreover, whereas Their first disagreement occurs at , so Consequently, Hence, by the definition of the Lipschitz modulus,
On the other hand, applying Theorem 6 to the displayed representation, for which gives For the present polynomial profile, Thus
Combining the lower and upper bounds yields Consequently, T is not a Banach contraction.
Nevertheless, Theorem 7 applies. Starting from the Picard orbit satisfies and therefore A direct induction gives The unique fixed language is
The first disagreement between and occurs exactly at the word . Thus and
Thus the Picard orbit converges to the fixed language at the exact polynomial rate At the same time, so the operator is not Banach contractive.
This example therefore shows that failure of uniform Banach contractivity does not prevent global convergence with an explicit quantitative rate. In the present polynomial profile, the rate is determined directly by the growth of the first-disagreement depth: and
The preceding examples show that all possible values of the uniform decay threshold genuinely occur.
Corollary 10.
For every there exists an admissible weight profile such that
Proof.
For any geometric profile has by Example 1.
For every finite Example 2 constructs an admissible profile satisfying
Finally, the polynomial profile in Example 3 satisfies □
Remark 14.
The examples reveal three genuinely different geometric regimes.
When every positively guarded wrapping operator is Banach contractive, and the guard length alone yields a uniform contraction coefficient.
When guard lengths below the threshold guarantee, at the level of the whole class, only pointwise strict decrease of nonzero distances. They do not provide a universal Banach coefficient strictly smaller than one. Individual guarded operators with such shorter guards may nevertheless be Banach contractive because overlaps between guarded terms or masking by the seed can reduce their actual Lipschitz modulus.
By contrast, once every guarded wrapping operator is Banach contractive, and the decay profile provides a uniform contraction coefficient valid for the entire class.
When no finite guard depth yields a universal Banach coefficient strictly smaller than one. For every prescribed finite guard length, canonical one-context maps show that Banach contractivity can fail. Nevertheless, positive guardedness still shifts every disagreement to greater depth and therefore guarantees uniqueness of the fixed language, global Picard convergence, and explicit finite-depth stabilization for every admissible weight profile.
Thus the decisive distinction is not merely between guarded and unguarded recursion. It is the interaction between the combinatorial depth shift imposed by the guards and the uniform numerical decay of the chosen first-disagreement weight profile.
Author Contributions
Conceptualization, A.I., H.K., D.N., and B.Z.; methodology, A.I., H.K., D.N., and B.Z.; formal analysis, A.I., H.K., D.N., and B.Z.; investigation, A.I., H.K., D.N., and B.Z.; writing—original draft preparation, A.I., H.K., D.N., and B.Z.; writing—review and editing, A.I., H.K., D.N., and B.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
No new data were created or analyzed in this study. Data sharing is not applicable to this article.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Banach, S. Sur les opérations dans les ensembles abstraits et leur application aux équations intégrales. Fundam. Math. 1922, 3, 133–181. [Google Scholar] [CrossRef]
- Bruse, F.; Herwig, M.; Lange, M. Weights of formal languages based on geometric series with an application to automatic grading. Theor. Comput. Sci. 2024, 983, 114295. [Google Scholar] [CrossRef]
- Eilenberg, S. Automata, Languages, and Machines; Academic Press: New York, NY, USA, 1974. [Google Scholar]
- Fulop, S.A.; Kephart, D. Topology of language classes. In Proceedings of the 14th Meeting on the Mathematics of Language (MoL 2015); Kuhlmann, M., Kanazawa, M., Kobele, G.M., Eds.; Association for Computational Linguistics: Chicago, IL, USA, 2015; pp. 26–38. [Google Scholar] [CrossRef]
- Hristov, H.; Ilchev, A.; Kulina, H.; Zlatanov, B. Guarded language operators as contractions in a length-based ultrametric space. Mathematics 2026, 14, 1644. [Google Scholar] [CrossRef]
- Pongsriiam, P.; Termwuttipong, I. Remarks on ultrametrics and metric-preserving functions. Abstr. Appl. Anal. 2014, 2014, 163258. [Google Scholar] [CrossRef]
- Salomaa, A. Formal Languages; Academic Press: New York, NY, USA, 1973. [Google Scholar]
- Schikhof, W.H. Ultrametric Calculus: An Introduction to p-Adic Analysis; Cambridge Studies in Advanced Mathematics: Cambridge, UK; Cambridge University Press, 1984. [Google Scholar] [CrossRef]
- Vianu, V. The Bodnarchuk metric space of languages and the topology of the learning space. In Mathematical Foundations of Computer Science 1977; Lecture Notes in Computer Science; Gruska, J., Ed.; Springer: Berlin/Heidelberg, Germany, 1977; Volume 53, pp. 537–542. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.