Mathematics

Semi-discrete Calculus in Complex Analysis

Published Updated Amir Shachar

Contents
  1. From the Real Line
  2. Defining the Complex Detachment
  3. Geometric Intuition
  4. Computability and Consistency
  5. Auxiliary Terminology
  6. Algebraic Rules
  7. References

Can we apply the detachment operator in the Complex plane? As in Real Analysis, a theory built on the derivative sign would go through rate calculations, and wherever the derivative is nonzero it would add nothing. But what if we introduce a theory of "complex trends" that computes them directly, without going through the derivative? Would it apply to non-differentiable and even discontinuous functions, as it does on the real line? And would it capture trends in the function's image more reliably than the derivative sign?

Complex Analysis is full of concepts that generalize their Real Analysis counterparts, such as continuity and the derivative. Inspired by the operator's applications in AI, the natural sciences and Real Analysis, let us define a complex version of a function's detachment and study its basic properties. We start from the real line, because the sharper we are there, the clearer it becomes which parts survive in the plane.

From the Real Line

For f:R→Rf:\mathbb{R}\to\mathbb{R}, the one-sided detachments [5] at a point xx are

f±;(x)≡±lim⁡h→0±sgn⁡[f(x+h)−f(x)],f_{\pm}^{;}\left(x\right)\equiv\pm\lim_{h\to0^{\pm}}\operatorname{sgn}\left[f\left(x+h\right)-f\left(x\right)\right],

and ff is detachable at xx when both limits exist. The ±\pm coefficient makes both of them read from left to right: f+;=+1f_{+}^{;}=+1 says the values rise as we leave xx to the right, and f−;=+1f_{-}^{;}=+1 says they rise as we arrive at xx from the left. Four facts about this pair shape everything below.

First, the limit is a statement about eventual signs. The sign function takes only the values −1,0,+1-1,0,+1, so its limit exists exactly when it is eventually constant. Thus f+;(x)=+1f_{+}^{;}(x)=+1 means f(x+h)>f(x)f(x+h)>f(x) for every small enough h>0h>0, and f+;(x)=0f_{+}^{;}(x)=0 means a genuine plateau, f(x+h)=f(x)f(x+h)=f(x) near xx on the right. Nothing is divided and no magnitude is measured. The operator is also partial: for x3sin⁡(1/x)x^3\sin(1/x) (with value 00 at 00) the sign of f(h)−f(0)f(h)-f(0) keeps changing as h→0h\to0, so neither one-sided detachment exists there, although the derivative does and equals 00.

Second, away from a zero derivative the detachment is the derivative sign. Suppose the one-sided derivative f+′(x)f_{+}'(x) exists and is a nonzero real number. Close to xx the quotient (f(x+h)−f(x))/h\left(f(x+h)-f(x)\right)/h has the sign of f+′(x)f_{+}'(x), and because h>0h>0 the increment f(x+h)−f(x)f(x+h)-f(x) has that sign as well. Hence f+;(x)=sgn⁡f+′(x)f_{+}^{;}(x)=\operatorname{sgn}f_{+}'(x), and likewise on the left. Where f′(x)≠0f'(x)\neq0 the detachment repeats sgn⁡f′(x)\operatorname{sgn}f'(x) on both sides. Where f′(x)=0f'(x)=0 it can say anything: at the origin, x3x^3, −x3-x^3, x2x^2 and the zero function all have derivative 00, while their pairs (f−;,f+;)(f_{-}^{;},f_{+}^{;}) are (+1,+1)(+1,+1), (−1,−1)(-1,-1), (−1,+1)(-1,+1) and (0,0)(0,0).

Third, a trend at a point is weaker than monotonicity near it. Take f(x)=x+2x2sin⁡(1/x)f(x)=x+2x^2\sin(1/x) with f(0)=0f(0)=0, a classical counterexample [3]. Its difference quotient at the origin is

f(h)−f(0)h=1+2hsin⁡(1h)≥1−2∣h∣>0(0<∣h∣<12),\frac{f(h)-f(0)}{h}=1+2h\sin\left(\frac{1}{h}\right)\ge1-2\left|h\right|>0\qquad\left(0<\left|h\right|<\tfrac{1}{2}\right),

so f′(0)=1f'(0)=1 and f−;(0)=f+;(0)=+1f_{-}^{;}(0)=f_{+}^{;}(0)=+1: just left of the origin ff lies below f(0)f(0), and just right of it ff lies above. Yet away from the origin

f′(x)=1+4xsin⁡(1x)−2cos⁡(1x),f'(x)=1+4x\sin\left(\frac{1}{x}\right)-2\cos\left(\frac{1}{x}\right),

which equals −1-1 at x=1/(2πn)x=1/(2\pi n) and 33 at x=1/((2n+1)π)x=1/((2n+1)\pi). Both sequences tend to 00, so ff is monotone on no interval around the origin. The detachment records only how each side stands relative to the anchor f(0)f(0), and says nothing about the order of two values on one side.

Fourth, the detachment survives where every rate is silent. Let b(x)=e−1/x2b(x)=e^{-1/x^2} with b(0)=0b(0)=0. All derivatives of bb vanish at the origin, so no Taylor coefficient can tell what happens there. Still, b(h)>b(0)b(h)>b(0) for every h≠0h\neq0, so (b−;(0),b+;(0))=(−1,+1)(b_{-}^{;}(0),b_{+}^{;}(0))=(-1,+1), which says at once that the origin is a strict local minimum. In general, (f−;,f+;)=(−1,+1)(f_{-}^{;},f_{+}^{;})=(-1,+1) at an interior point holds if and only if the point is a strict local minimum, with no continuity or differentiability assumed. This works because the detachment uses only comparisons of values. Replacing ff by ϕ∘f\phi\circ f for a strictly increasing ϕ\phi changes no detachment, while the derivative can change completely: with f(x)=xf(x)=x and ϕ(y)=y3\phi(y)=y^3, the derivative at the origin drops from 11 to 00.

The complex plane has no order, so the last fact cannot carry over as it stands. What does carry over is direction. Write a one-sided increment near a point as c tν+o(tν)c\,t^{\nu}+o(t^{\nu}) with c≠0c\neq0. The pair (sgn⁡c,ν)(\operatorname{sgn}c,\nu) says which way the function moves and how fast the change vanishes; in tropical geometry this pair is called the signed valuation [4]. The detachment keeps the first coordinate and drops the second, which is where the rate lives.

Defining the Complex Detachment

Recall that the signum of a complex number zz is defined as:

sgn⁡(z)≡z∣z∣=eiarg⁡(z)(z≠0),sgn⁡(0)≡0,\operatorname{sgn}\left(z\right)\equiv\frac{z}{\left|z\right|}=e^{i\arg\left(z\right)}\quad\left(z\neq0\right),\qquad\operatorname{sgn}\left(0\right)\equiv0,

where arg⁡(⋅)\arg\left(\cdot\right) is the complex argument function. Geometrically, the sign function maps every nonzero point of the complex plane to its closest point on the unit circle:

On the real line, the detachment was softened relative to the derivative by allowing one-sided limits and by not requiring them to agree. In higher dimensions, one-sided derivatives extend naturally to directional derivatives. The Complex Analysis literature focuses on differentiable and, more specifically, analytic functions. Still, complex partial derivatives, known as Wirtinger derivatives, are common, and they serve to define complex directional derivatives. These appear in advanced research (see [2], p. 722) and as a teaching and auxiliary tool (see [1], p. 19). Here is the analogous way to define a directional detachment.

Definition 1. The φ\varphi-detachment of a function f:C⟶Cf:\mathbb{C}\longrightarrow\mathbb{C} at a point z0∈Cz_{0}\in\mathbb{C} is

fφ;(z0)≡e−iφlim⁡t→0+sgn⁡[f(z0+teiφ)−f(z0)],(1)f_{\varphi}^{;}\left(z_{0}\right)\equiv e^{-i\varphi}\lim_{t\to0^{+}}\operatorname{sgn}\left[f\left(z_{0}+te^{i\varphi}\right)-f\left(z_{0}\right)\right],\tag{1}

so that fφ;f_{\varphi}^{;} takes values in S1∪{0}S^{1}\cup\{0\}, where S1S^{1} is the unit circle in the complex plane. The limit runs along the ray that leaves z0z_{0} in the direction φ\varphi, that is, over the points zz with arg⁡(Δz)=φ\arg\left(\Delta z\right)=\varphi as Δz→0\Delta z\to0. We say that ff is φ\varphi-detachable at z0z_{0} if the limit exists. Since ∣sgn⁡w∣=1\left|\operatorname{sgn}w\right|=1 for every w≠0w\neq0, the value 00 occurs exactly when ff is constant on a short segment of that ray.

The e−iφe^{-i\varphi} coefficient generalizes the ±1\pm1 coefficient of the one-sided detachments, and it does so literally. If ff is real on the real line, then φ=0\varphi=0 gives f+;(x)f_{+}^{;}(x), and φ=π\varphi=\pi gives f−;(x)f_{-}^{;}(x), because e−iπ=−1e^{-i\pi}=-1 and the ray in direction π\pi is the left side of xx. Both coefficients make the detachment consistent with the derivative sign, as Claim 1 shows.

The definition subtracts f(z0)f(z_0) for a reason. If ff is continuous at z0z_{0} and f(z0)≠0f(z_0)\neq0, then sgn⁡f(z0+teiφ)\operatorname{sgn}f(z_{0}+te^{i\varphi}) simply tends to sgn⁡f(z0)\operatorname{sgn}f(z_0), which reports where the value is and nothing about how it changes. The trend is carried by the increment.

The diagram below compares two ways of turning the increment Δf=f(z)−f(z0)\Delta f=f(z)-f(z_0) into local information. Applying the limit directly to Δf\Delta f would give 00 at every point of continuity, so both operators first rescale it:

Difference quotient Difference sign
ΔfΔz\dfrac{\Delta f}{\Delta z} Δf∣Δf∣\dfrac{\Delta f}{\lvert\Delta f\rvert}
Divides Δf\Delta f by Δz\Delta z before the limit. Divides Δf\Delta f by its own length, a fixed scale, before the limit.

The following claim shows that the detachment adds information beyond the derivative only where the derivative vanishes.

Claim 1. Let f:C⟶Cf:\mathbb{C}\longrightarrow\mathbb{C}, and suppose the directional difference quotient

∂f∂φ(z0)≡lim⁡t→0+f(z0+teiφ)−f(z0)teiφ\frac{\partial f}{\partial\varphi}\left(z_{0}\right)\equiv\lim_{t\to0^{+}}\frac{f\left(z_{0}+te^{i\varphi}\right)-f\left(z_{0}\right)}{te^{i\varphi}}

exists and is nonzero. Then ff is φ\varphi-detachable at z0z_{0}, and

fφ;(z0)=sgn⁡[∂f∂φ(z0)].f_{\varphi}^{;}\left(z_{0}\right)=\operatorname{sgn}\left[\frac{\partial f}{\partial\varphi}\left(z_{0}\right)\right].

In particular, if ff is differentiable at z0z_{0} with f′(z0)≠0f'(z_0)\neq0, then fφ;(z0)=sgn⁡f′(z0)f_{\varphi}^{;}(z_0)=\operatorname{sgn}f'(z_0) for every direction φ\varphi.

Proof. Write Δf=f(z0+teiφ)−f(z0)\Delta f=f\left(z_{0}+te^{i\varphi}\right)-f\left(z_{0}\right). Since sgn⁡\operatorname{sgn} is multiplicative and sgn⁡(teiφ)=eiφ\operatorname{sgn}\left(te^{i\varphi}\right)=e^{i\varphi} for t>0t>0,

e−iφsgn⁡(Δf)=sgn⁡(Δf)sgn⁡(teiφ)=sgn⁡[Δfteiφ]→t→0+sgn⁡[∂f∂φ(z0)],\begin{aligned} e^{-i\varphi}\operatorname{sgn}\left(\Delta f\right)&=\frac{\operatorname{sgn}\left(\Delta f\right)}{\operatorname{sgn}\left(te^{i\varphi}\right)}=\operatorname{sgn}\left[\frac{\Delta f}{te^{i\varphi}}\right]\\ &\xrightarrow[t\to0^{+}]{}\operatorname{sgn}\left[\frac{\partial f}{\partial\varphi}\left(z_{0}\right)\right], \end{aligned}

where the limit passes inside the sign because the sign function is continuous on C\{0}\mathbb{C}\backslash\left\{ 0\right\} and the quotient tends to a nonzero number. For differentiable ff the quotient tends to f′(z0)f'(z_0) along every ray.    ■\,\,\,\,\blacksquare

Detachability did not have to be assumed; it follows. For brevity, we will denote the φ\varphi-detachment at z0z_{0} by f;f^{;} rather than fφ;(z0)f_{\varphi}^{;}\left(z_{0}\right).

Geometric Intuition

Suppose that ff is φ\varphi-detachable at z0z_{0}, and let ϵ>0\epsilon>0. By the definition of the limit, for every z=z0+teiφz=z_{0}+te^{i\varphi} with t>0t>0 small enough,

∣sgn⁡[f(z)−f(z0)]−f;eiφ∣<ϵ.\left|\operatorname{sgn}\left[f\left(z\right)-f\left(z_{0}\right)\right]-f^{;}e^{i\varphi}\right|<\epsilon.

So f(z)f(z) lies in a thin wedge with its vertex at f(z0)f(z_0), opening around the ray from f(z0)f(z_0) in the direction f;eiφf^{;}e^{i\varphi}. The chord-angle analysis below gives the half-angle of the wedge.

Recall that for real functions the detachment is equivalent to the following statement, because the real sign function is discontinuous at zero and takes only three values:

∃B˙±(x0):∀x∈B˙±(x0):   sgn⁡[f(x)−f(x0)]=±f±;(x0).\exists\dot{B}_{\pm}\left(x_{0}\right):\forall x\in\dot{B}_{\pm}\left(x_{0}\right):\,\,\,\operatorname{sgn}\left[f\left(x\right)-f\left(x_{0}\right)\right]=\pm f_{\pm}^{;}\left(x_{0}\right).

The analogous statement in the complex domain does not necessarily hold, and it is stricter than the existence of the limit in equation (1)(1). It would force the image of a short segment of the ray to lie on a single half-line from f(z0)f(z_0). The complex sign is continuous away from zero and takes a whole circle of values, so a limit of signs can be approached without being attained. For example, f(z)=z+iz2f(z)=z+iz^{2} at z0=0z_0=0 in the direction φ=0\varphi=0 has Δf=t+it2\Delta f=t+it^{2}, whose sign tends to 11 and never equals it.

We know that lim⁡z→0sgn⁡(z)\lim_{z\to0}\operatorname{sgn}\left(z\right) does not exist, because its value depends on the path along which zz approaches zero. Fixing the direction of approach is what turns this limit into something we can compute. The detachability of a real function at a point is synonymous with the function having a "local trend" there. The detachability of a complex function points to a local trend in a broader sense: a φ\varphi-detachable function maps the points of a short segment leaving z0z_{0} in direction φ\varphi to points approaching a single ray from f(z0)f(z_0).

The differentiability of a function at a point lets us compute its values with the linear approximation formula. The function's value is linear in the difference between the points, up to the function ρ\rho:

f(z)=f(z0)+f′(z0)(z−z0)+ρ(z)(z−z0),f\left(z\right)=f\left(z_{0}\right)+f'\left(z_{0}\right)\left(z-z_{0}\right)+\rho\left(z\right)\left(z-z_{0}\right),

where lim⁡z→z0ρ(z)=0\lim_{z\to z_{0}}\rho\left(z\right)=0 and z≠z0z\neq z_{0}.

The detachment suggests a different kind of approximate linear relation for the image, one whose formula carries no information from the domain. Suppose ff is φ\varphi-detachable and let ϵ>0\epsilon>0. For zz on the ray and close enough to z0z_{0},

∣sgn⁡[f(z)−f(z0)]−f;eiφ∣<ϵ.\left|\operatorname{sgn}\left[f\left(z\right)-f\left(z_{0}\right)\right]-f^{;}e^{i\varphi}\right|<\epsilon.

Since f;eiφf^{;}e^{i\varphi} is a limit of points on the (closed) unit circle, it lies on the circle as well, and the chord between it and sgn⁡[f(z)−f(z0)]\operatorname{sgn}\left[f\left(z\right)-f\left(z_{0}\right)\right] has length less than ϵ\epsilon. Let us assume without loss of generality that 0<arg⁡(f;eiφ)<π20<\arg\left(f^{;}e^{i\varphi}\right)<\frac{\pi}{2}, which amounts to rotating the target plane, a step that leaves chord lengths unchanged. The chord-angle argument assumes f;≠0f^{;}\neq0 and ϵ<2\epsilon<2.

Let θf\theta_{f} be the angle between sgn⁡[f(z)−f(z0)]\operatorname{sgn}\left[f\left(z\right)-f\left(z_{0}\right)\right] and f;eiφf^{;}e^{i\varphi}. On the unit circle, a chord that subtends the angle θf\theta_f has length 2sin⁡(∣θf∣/2)2\sin\left(\left|\theta_{f}\right|/2\right), so

∣sgn⁡(Δf)−f;eiφ∣=2sin⁡∣θf∣2<ϵ,\left|\operatorname{sgn}\left(\Delta f\right)-f^{;}e^{i\varphi}\right|=2\sin\frac{\left|\theta_{f}\right|}{2}<\epsilon,

and therefore

∣θf∣<2arcsin⁡(ϵ2).\left|\theta_{f}\right|<2\arcsin\left(\frac{\epsilon}{2}\right).

We have shown that near z0z_{0} the argument of the increment of ff stays within a fixed angle of the detachment's direction:

∣arg⁡(Δf)−arg⁡(f;eiφ)∣<2arcsin⁡(ϵ2).(2)\left|\arg\left(\Delta f\right)-\arg\left(f^{;}e^{i\varphi}\right)\right|<2\arcsin\left(\frac{\epsilon}{2}\right).\tag{2}

We will refer to this analysis, which turns a bound on a chord's length into a bound on its angle, as the "chord-angle" analysis.

Computability and Consistency

As in Real Analysis, detachability at a point does not imply continuity or differentiability, and vice versa. One rule computes most of the examples below at once. It is the complex form of the signed valuation from the first section.

Claim 2 (leading-term rule). Suppose that along the ray in direction φ\varphi,

f(z0+teiφ)−f(z0)=c tν+o(tν)(t→0+)f\left(z_{0}+te^{i\varphi}\right)-f\left(z_{0}\right)=c\,t^{\nu}+o\left(t^{\nu}\right)\qquad\left(t\to0^{+}\right)

for some c∈C\{0}c\in\mathbb{C}\backslash\{0\} and some real ν\nu. Then fφ;(z0)=e−iφsgn⁡cf_{\varphi}^{;}\left(z_{0}\right)=e^{-i\varphi}\operatorname{sgn}c.

Proof. Dividing by tν>0t^{\nu}>0 does not change the sign, so the sign of the increment equals sgn⁡(c+o(1))\operatorname{sgn}\left(c+o(1)\right), which tends to sgn⁡c\operatorname{sgn}c by the continuity of the sign function away from 00.    ■\,\,\,\,\blacksquare

The exponent ν\nu never enters the answer. Two consequences follow directly.

If ff is analytic at z0z_{0} and f−f(z0)f-f(z_0) has a zero of order m≥1m\geq1 there, with leading Taylor coefficient ama_{m}, then c=ameimφc=a_{m}e^{im\varphi} and

fφ;(z0)=sgn⁡(am)ei(m−1)φ.f_{\varphi}^{;}\left(z_{0}\right)=\operatorname{sgn}\left(a_{m}\right)e^{i\left(m-1\right)\varphi}.

For m=1m=1 this is Claim 1 again. For every m≥2m\geq2 the derivative vanishes, while the detachment, as φ\varphi goes once around z0z_0, winds m−1m-1 times around the unit circle. The detachment shows the order of a critical point through its winding; the value of the derivative cannot.

If ff has a pole of order mm at z0z_{0}, with leading Laurent coefficient a−ma_{-m} and any finite value assigned at z0z_{0}, then c=a−me−imφc=a_{-m}e^{-im\varphi} with ν=−m\nu=-m, and

fφ;(z0)=sgn⁡(a−m)e−i(m+1)φ.f_{\varphi}^{;}\left(z_{0}\right)=\operatorname{sgn}\left(a_{-m}\right)e^{-i\left(m+1\right)\varphi}.

Let us now work through some basic examples to gain intuition.

Example 1. Let us consider the following function:

f(z)={1z,z≠0,0,z=0.f\left(z\right)=\begin{cases} \frac{1}{z}, & z\neq0,\\ 0, & z=0. \end{cases}

Let us calculate the φ\varphi-detachments at the origin by the definition:

fφ;(0)=e−iφlim⁡t→0+sgn⁡[1teiφ]=e−iφ⋅e−iφ=e−2iφ,f_{\varphi}^{;}\left(0\right)=e^{-i\varphi}\lim_{t\to0^{+}}\operatorname{sgn}\left[\frac{1}{te^{i\varphi}}\right]=e^{-i\varphi}\cdot e^{-i\varphi}=e^{-2i\varphi},

in agreement with the pole case of Claim 2 (m=1m=1, a−1=1a_{-1}=1). This function is neither continuous nor differentiable at the origin, and the detachment still provides monotony information there.

Example 2. Let f(z)=z2f\left(z\right)=z^{2}. The derivative is f′(z0)=2z0f'\left(z_{0}\right)=2z_{0}. At z0=0z_{0}=0 the derivative vanishes, so we calculate the detachment from its definition:

fφ;(0)=e−iφlim⁡t→0+sgn⁡(t2e2iφ)=e−iφ⋅e2iφ=eiφ.f_{\varphi}^{;}\left(0\right)=e^{-i\varphi}\lim_{t\to0^{+}}\operatorname{sgn}\left(t^{2}e^{2i\varphi}\right)=e^{-i\varphi}\cdot e^{2i\varphi}=e^{i\varphi}.

As in Real Analysis, the directional derivatives provide no monotony information at the stationary point, while the directional detachment does. This is the case m=2m=2 of Claim 2: one full turn of φ\varphi turns the detachment once around the circle.

Example 3. Let f(z)=zf\left(z\right)=\sqrt{z}, the principal branch, with φ∈(−π,π]\varphi\in(-\pi,\pi]. The derivative is f′(z0)=12z0f'\left(z_{0}\right)=\frac{1}{2\sqrt{z_{0}}}. At z0=0z_{0}=0 the derivative does not exist, so we calculate the detachment from its definition:

fφ;(0)=e−iφlim⁡t→0+sgn⁡(t eiφ2)=e−iφ⋅eiφ2=e−iφ2.f_{\varphi}^{;}\left(0\right)=e^{-i\varphi}\lim_{t\to0^{+}}\operatorname{sgn}\left(\sqrt{t}\,e^{\frac{i\varphi}{2}}\right)=e^{-i\varphi}\cdot e^{\frac{i\varphi}{2}}=e^{-\frac{i\varphi}{2}}.

The image of the ray leaves the origin in the direction eiφ/2e^{i\varphi/2}, and the detachment records that direction relative to φ\varphi. Here ν=12\nu=\frac{1}{2} in Claim 2. As in Real Analysis, the detachment can provide monotony information at the derivative's singularities, for continuous functions as well.

Example 4. Let

f(z)={z2sin⁡(1∣z∣),z≠0,0,z=0.f\left(z\right)=\begin{cases} z^{2}\sin\left(\frac{1}{\left|z\right|}\right), & z\neq0,\\ 0, & z=0. \end{cases}

Since ∣f(z)∣≤∣z∣2\left|f(z)\right|\leq\left|z\right|^{2}, ff is differentiable at z=0z=0 with f′(0)=0f'(0)=0. Along every ray, however,

sgn⁡[f(teiφ)]=e2iφsgn⁡[sin⁡(1t)],\operatorname{sgn}\left[f\left(te^{i\varphi}\right)\right]=e^{2i\varphi}\operatorname{sgn}\left[\sin\left(\frac{1}{t}\right)\right],

which keeps switching between e2iφe^{2i\varphi} and −e2iφ-e^{2i\varphi} as t→0+t\to0^{+}. So the directional detachment at the origin does not exist in any direction. As in Real Analysis, the complex detachment may provide no monotony information at points of infinite oscillation, even where the derivative exists.

Example 5. Let f(z)=ℜ(z)f\left(z\right)=\Re\left(z\right), whose image is the real line. This function is nowhere complex differentiable, but its directional difference quotients exist. Along the ray, Δf=tcos⁡φ\Delta f=t\cos\varphi, so the sign of its directional quotient from Claim 1 is

sgn⁡[∂f∂φ(z0)]=sgn⁡[tcos⁡φteiφ]=sgn⁡[cos⁡(φ)e−iφ]={e−iφ,∣φ∣<π2,0,∣φ∣=π2,−e−iφ,else.\operatorname{sgn}\left[\frac{\partial f}{\partial\varphi}\left(z_{0}\right)\right]=\operatorname{sgn}\left[\frac{t\cos\varphi}{te^{i\varphi}}\right]=\operatorname{sgn}\left[\cos\left(\varphi\right)e^{-i\varphi}\right]=\begin{cases} e^{-i\varphi}, & \left|\varphi\right|<\frac{\pi}{2},\\ 0, & \left|\varphi\right|=\frac{\pi}{2},\\ -e^{-i\varphi}, & \text{else}. \end{cases}

Since the quotient may vanish, let us calculate the φ\varphi-detachment directly from the definition:

fφ;(z0)=e−iφlim⁡t→0+sgn⁡[tcos⁡φ]={e−iφ,∣φ∣<π2,0,∣φ∣=π2,−e−iφ,else.f_{\varphi}^{;}\left(z_{0}\right)=e^{-i\varphi}\lim_{t\to0^{+}}\operatorname{sgn}\left[t\cos\varphi\right]=\begin{cases} e^{-i\varphi}, & \left|\varphi\right|<\frac{\pi}{2},\\ 0, & \left|\varphi\right|=\frac{\pi}{2},\\ -e^{-i\varphi}, & \text{else}. \end{cases}

Here the detachment agrees with the sign of the directional quotient even where that quotient vanishes (∣φ∣=π2\left|\varphi\right|=\frac{\pi}{2}). Along those rays ff is constant, which is exactly what the value 00 means.

Auxiliary Terminology

Assumptions and abbreviations. We will use the following conventions below:

  • We focus on directional detachments in a given angle φ\varphi. Therefore, by a δ\delta-"environment" of z0z_{0} we mean the segment of length δ\delta that starts at z0z_{0} and is tilted by φ\varphi.
  • When we add the arguments of two unit vectors, we assume without loss of generality that both arguments lie between 00 and π\pi. This is possible whenever the two vectors are not opposite: a common rotation brings both into the open upper half-plane, and a rotation changes none of the moduli used below.
  • For two points z0z_{0} and zz in the domain of a function ff, we abbreviate Δf=f(z)−f(z0)\Delta f=f\left(z\right)-f\left(z_{0}\right).
  • An operator applied to a function is evaluated at z0z_{0} unless we say otherwise. For example, sgn⁡(f)=sgn⁡(f(z0))\operatorname{sgn}\left(f\right)=\operatorname{sgn}\left(f\left(z_{0}\right)\right).

We assume detachability, but neither differentiability nor continuity, of the functions in the results below. As a tradeoff, we use the following concepts.

Definition 2. Let f:C⟶Cf:\mathbb{C}\longrightarrow\mathbb{C} and z0∈Cz_{0}\in\mathbb{C}. Then ff is sign-continuous at z0z_{0} if sgn⁡(f)\operatorname{sgn}\left(f\right) is continuous there.

Definition 3. Let f,g:C⟶Cf,g:\mathbb{C}\longrightarrow\mathbb{C} and z0∈Cz_{0}\in\mathbb{C}. Then f,gf,g are:

  • Bimodular at z0z_{0} if for each zz in its environment, ∣Δf∣=∣Δg∣\left|\Delta f\right|=\left|\Delta g\right|.
  • Locally bimodular at z0z_{0} if for each zz in its environment, ∣f(z0)Δg∣=∣g(z0)Δf∣\left|f\left(z_{0}\right)\Delta g\right|=\left|g\left(z_{0}\right)\Delta f\right|.
  • Spatially bimodular at z0z_{0} if for each zz in its environment, ∣f(z)Δg∣=∣g(z)Δf∣\left|f\left(z\right)\Delta g\right|=\left|g\left(z\right)\Delta f\right|.

We also say that gg has constant modulus at z0z_{0} if ∣g(z)∣=∣g(z0)∣\left|g\left(z\right)\right|=\left|g\left(z_{0}\right)\right| for each zz in its environment.

Example 6. A function that is continuous at z0z_{0} with f(z0)≠0f(z_0)\neq0 is sign-continuous there, because the sign function is continuous away from 00. This includes points of non-differentiability, such as the cusp of 1+∣z∣1+\left|z\right| at the origin. Sign-continuity can also hold at a discontinuity: the function equal to 11 at the origin and to 22 elsewhere has the constant sign 11.

Example 7. Any function f:C⟶Cf:\mathbb{C}\longrightarrow\mathbb{C} is everywhere bimodular to its reflections with respect to the axes,

g1(z)=−f(z),g2(z)=f(z)‾,g3(z)=−f(z)‾,g_{1}\left(z\right)=-f\left(z\right),\quad g_{2}\left(z\right)=\overline{f\left(z\right)},\quad g_{3}\left(z\right)=-\overline{f\left(z\right)},

and to its rotations by a unit vector, g4(z)=eiξf(z)g_{4}\left(z\right)=e^{i\xi}f\left(z\right), since none of these changes ∣Δf∣\left|\Delta f\right|.

Example 8. Let f,g:C⟶Cf,g:\mathbb{C}\longrightarrow\mathbb{C} and z0∈Cz_{0}\in\mathbb{C}. If ff is a constant multiple of gg on an environment of z0z_{0}, then they are locally and spatially bimodular there. Indeed, write f=cgf=cg on that environment. Then Δf=cΔg\Delta f=c\Delta g, and

∣f(z0)Δg∣=∣c∣∣g(z0)∣∣Δg∣=∣g(z0)Δf∣.\left|f\left(z_{0}\right)\Delta g\right|=\left|c\right|\left|g\left(z_{0}\right)\right|\left|\Delta g\right|=\left|g\left(z_{0}\right)\Delta f\right|.

The same computation with zz in place of z0z_{0} gives spatial bimodularity. The condition is sufficient but not necessary.

Remark 1. Let f:C⟶Cf:\mathbb{C}\longrightarrow\mathbb{C} be φ\varphi-detachable at z0z_{0} and let ϵ>0\epsilon>0. The chord-angle analysis showed that detachability implies the bound (2)(2) on the argument of Δf\Delta f on some environment of z0z_{0}. Let us use the following notation for brevity:

θf≡arg⁡(Δff;eiφ),∣θf∣<2arcsin⁡(ϵ2),(3)\theta_{f}\equiv\arg\left(\frac{\Delta f}{f^{;}e^{i\varphi}}\right),\qquad\left|\theta_{f}\right|<2\arcsin\left(\frac{\epsilon}{2}\right),\tag{3}

so that

sgn⁡(Δf)=f;ei(φ+θf).(4)\operatorname{sgn}\left(\Delta f\right)=f^{;}e^{i\left(\varphi+\theta_{f}\right)}.\tag{4}

Remark 2. Similarly, if ff is sign-continuous at z0z_{0}, then given ϵ>0\epsilon>0 there is an environment on which sgn⁡f(z)\operatorname{sgn}f(z) lies within distance ϵ2\frac{\epsilon}{2} of sgn⁡(f)\operatorname{sgn}\left(f\right). Let us use the notation

θ≡arg⁡(f(z))−arg⁡(f(z0)),\theta\equiv\arg\left(f\left(z\right)\right)-\arg\left(f\left(z_{0}\right)\right),

which can be rewritten as

sgn⁡(f(z))=sgn⁡(f(z0))eiθ.(5)\operatorname{sgn}\left(f\left(z\right)\right)=\operatorname{sgn}\left(f\left(z_{0}\right)\right)e^{i\theta}.\tag{5}

The following lemma is elementary.

Lemma 3. Let z1,z2∈Cz_{1},z_{2}\in\mathbb{C}. If ∣z1∣=∣z2∣\left|z_{1}\right|=\left|z_{2}\right| and 0<arg⁡(z1),arg⁡(z2)<π0<\arg\left(z_{1}\right),\arg\left(z_{2}\right)<\pi, then

arg⁡(z1+z2)=arg⁡(z1)+arg⁡(z2)2.(6)\arg\left(z_{1}+z_{2}\right)=\frac{\arg\left(z_{1}\right)+\arg\left(z_{2}\right)}{2}.\tag{6}

Indeed, 00, z1z_{1}, z1+z2z_{1}+z_{2} and z2z_{2} form a rhombus, and the diagonal of a rhombus bisects its angle.

Lemma 4. Let f,g:C⟶Cf,g:\mathbb{C}\longrightarrow\mathbb{C} be φ\varphi-detachable at z0∈Cz_{0}\in\mathbb{C} and let ϵ>0\epsilon>0. Then there exists an environment of z0z_{0} such that for each zz there:

∣ei2(θf+θg)−1∣<ϵ.\left|e^{\frac{i}{2}\left(\theta_{f}+\theta_{g}\right)}-1\right|<\epsilon.

Proof. Take the environment on which formula (3)(3) holds for both θf\theta_{f} and θg\theta_{g}. A chord-angle analysis of the angle θf+θg2\frac{\theta_{f}+\theta_{g}}{2} gives

∣ei2(θf+θg)−1∣=2∣sin⁡θf+θg4∣≤2sin⁡∣θf∣+∣θg∣4<2sin⁡(arcsin⁡ϵ2)=ϵ,\begin{aligned} \left|e^{\frac{i}{2}\left(\theta_{f}+\theta_{g}\right)}-1\right|&=2\left|\sin\frac{\theta_{f}+\theta_{g}}{4}\right|\leq2\sin\frac{\left|\theta_{f}\right|+\left|\theta_{g}\right|}{4}\\ &<2\sin\left(\arcsin\frac{\epsilon}{2}\right)=\epsilon, \end{aligned}

where the strict inequality uses the bound in formula (3)(3) for both angles and the monotonicity of sin⁡\sin near zero.    ■\,\,\,\,\blacksquare

Lemma 5. Let f,g:C⟶Cf,g:\mathbb{C}\longrightarrow\mathbb{C} be φ\varphi-detachable at z0∈Cz_{0}\in\mathbb{C}, where ff is sign-continuous. Let ϵ>0\epsilon>0. Then there exists an environment of z0z_{0} such that for each zz there:

∣ei2(θ+θf+θg)−1∣<ϵ.\left|e^{\frac{i}{2}\left(\theta+\theta_{f}+\theta_{g}\right)}-1\right|<\epsilon.

Proof. Apply formula (3)(3) with ϵ2\frac{\epsilon}{2} in place of ϵ\epsilon, so that ∣θf∣,∣θg∣<2arcsin⁡(ϵ4)\left|\theta_{f}\right|,\left|\theta_{g}\right|<2\arcsin\left(\frac{\epsilon}{4}\right). By the sign-continuity of ff, for each zz close enough to z0z_{0},

∣sgn⁡(f(z))−sgn⁡(f)∣<ϵ2,\left|\operatorname{sgn}\left(f\left(z\right)\right)-\operatorname{sgn}\left(f\right)\right|<\frac{\epsilon}{2},

and a chord-angle analysis bounds θ=arg⁡(f(z))−arg⁡(f(z0))\theta=\arg\left(f\left(z\right)\right)-\arg\left(f\left(z_{0}\right)\right) in absolute value by 2arcsin⁡(ϵ4)2\arcsin\left(\frac{\epsilon}{4}\right). Writing a=arcsin⁡(ϵ4)a=\arcsin\left(\frac{\epsilon}{4}\right),

∣ei2(θ+θf+θg)−1∣=2∣sin⁡θ+θf+θg4∣<2sin⁡(32a)<2sin⁡(2a)=4sin⁡(a)cos⁡(a)≤4sin⁡(a)=ϵ.    ■\begin{aligned} \left|e^{\frac{i}{2}\left(\theta+\theta_{f}+\theta_{g}\right)}-1\right|&=2\left|\sin\frac{\theta+\theta_{f}+\theta_{g}}{4}\right|<2\sin\left(\frac{3}{2}a\right)\\ &<2\sin\left(2a\right)=4\sin\left(a\right)\cos\left(a\right)\\ &\leq4\sin\left(a\right)=\epsilon.\,\,\,\,\blacksquare \end{aligned}

Algebraic Rules

The rules for sums, products and quotients below rest on one step. If u,v∈S1u,v\in S^{1} are not opposite, then by Lemma 3 (after a common rotation), for all small angles α,β\alpha,\beta,

∣sgn⁡(ueiα+veiβ)−sgn⁡(u+v)∣=∣ei2(α+β)−1∣.(7)\left|\operatorname{sgn}\left(ue^{i\alpha}+ve^{i\beta}\right)-\operatorname{sgn}\left(u+v\right)\right|=\left|e^{\frac{i}{2}\left(\alpha+\beta\right)}-1\right|.\tag{7}

Each proof writes the increment of the combined function as a positive multiple of eiφ(ueiα+veiβ)e^{i\varphi}\left(ue^{i\alpha}+ve^{i\beta}\right) and then bounds the right-hand side of (7)(7) with Lemma 4 or Lemma 5.

Claim 6. Constant multiple rule. Let f:C⟶Cf:\mathbb{C}\longrightarrow\mathbb{C} be φ\varphi-detachable at z0∈Cz_{0}\in\mathbb{C}, and let c∈Cc\in\mathbb{C}. Then cfcf is also φ\varphi-detachable there and:

(cf);=sgn⁡(cf;).\left(cf\right)^{;}=\operatorname{sgn}\left(cf^{;}\right).

Proof. Directly from the definition of the detachment:

(cf);=e−iφlim⁡t→0+sgn⁡[cΔf]=sgn⁡(c) e−iφlim⁡t→0+sgn⁡(Δf)=sgn⁡(c)f;=sgn⁡(cf;).    ■\begin{aligned} \left(cf\right)^{;}&=e^{-i\varphi}\lim_{t\to0^{+}}\operatorname{sgn}\left[c\Delta f\right]=\operatorname{sgn}\left(c\right)\,e^{-i\varphi}\lim_{t\to0^{+}}\operatorname{sgn}\left(\Delta f\right)\\ &=\operatorname{sgn}\left(c\right)f^{;}=\operatorname{sgn}\left(cf^{;}\right).\,\,\,\,\blacksquare \end{aligned}

Claim 7. Sum and difference rules. Let f,g:C⟶Cf,g:\mathbb{C}\longrightarrow\mathbb{C} be φ\varphi-detachable and bimodular at z0∈Cz_{0}\in\mathbb{C}, with f;±g;≠0f^{;}\pm g^{;}\neq0. Then f±gf\pm g is also φ\varphi-detachable there and:

(f±g);=sgn⁡(f;±g;).\left(f\pm g\right)^{;}=\operatorname{sgn}\left(f^{;}\pm g^{;}\right).

Proof. We prove the formula for the sum. The difference follows by applying it to ff and −g-g, which is bimodular to ff as well (Example 7) and has (−g);=−g;(-g)^{;}=-g^{;} by Claim 6. The detachments f;,g;f^{;},g^{;} are nonzero: if one of them were 00, that function's increment would vanish on the environment, bimodularity would make the other increment vanish too, and then f;+g;=0f^{;}+g^{;}=0. Let ϵ>0\epsilon>0. There exist δ\delta-environments of z0z_{0} on which the following conditions hold:

  1. On the δ1\delta_{1}-environment, the bound of Lemma 4 holds, since ff and gg are detachable.
  2. On the δ2\delta_{2}-environment, ∣Δf∣=∣Δg∣\left|\Delta f\right|=\left|\Delta g\right|, since f,gf,g are bimodular.

For each zz in the min⁡{δ1,δ2}\min\left\{ \delta_{1},\delta_{2}\right\}-environment, formula (4)(4) for ff and gg and the common modulus give

Δf+Δg=∣Δf∣eiφ(f;eiθf+g;eiθg),\Delta f+\Delta g=\left|\Delta f\right|e^{i\varphi}\left(f^{;}e^{i\theta_{f}}+g^{;}e^{i\theta_{g}}\right),

so with u=f;u=f^{;} and v=g;v=g^{;} in formula (7)(7),

∣sgn⁡[Δ(f+g)]−sgn⁡(f;+g;)eiφ∣=∣sgn⁡(f;eiθf+g;eiθg)−sgn⁡(f;+g;)∣=∣ei2(θf+θg)−1∣<ϵ,\begin{aligned} &\left|\operatorname{sgn}\left[\Delta\left(f+g\right)\right]-\operatorname{sgn}\left(f^{;}+g^{;}\right)e^{i\varphi}\right|\\ &=\left|\operatorname{sgn}\left(f^{;}e^{i\theta_{f}}+g^{;}e^{i\theta_{g}}\right)-\operatorname{sgn}\left(f^{;}+g^{;}\right)\right|\\ &=\left|e^{\frac{i}{2}\left(\theta_{f}+\theta_{g}\right)}-1\right|<\epsilon, \end{aligned}

where the inequality is the first condition.    ■\,\,\,\,\blacksquare

The condition f;+g;≠0f^{;}+g^{;}\neq0 cannot be dropped. When the two detachments are opposite, the increments nearly cancel, and the direction of what remains depends on details that neither detachment records.

Claim 8. Product rule. Let f,g:C⟶Cf,g:\mathbb{C}\longrightarrow\mathbb{C} be φ\varphi-detachable and spatially bimodular at z0∈Cz_{0}\in\mathbb{C}, with f(z0),g(z0)≠0f(z_0),g(z_0)\neq0. Assume that ff is sign-continuous and gg has constant modulus at z0z_{0}, or vice versa, and that the bracket on the right-hand side below is nonzero. Then fgfg is also φ\varphi-detachable at z0z_{0}, and:

(fg);=sgn⁡[f;sgn⁡(g)+g;sgn⁡(f)].\left(fg\right)^{;}=\operatorname{sgn}\left[f^{;}\operatorname{sgn}\left(g\right)+g^{;}\operatorname{sgn}\left(f\right)\right].

Proof. Let ϵ>0\epsilon>0, and assume without loss of generality that ff is sign-continuous and gg has constant modulus at z0z_{0}. There exist δ\delta-environments of z0z_{0} on which the following conditions hold:

  1. On the δ1\delta_{1}-environment, the bound of Lemma 5 holds, since f,gf,g are detachable and ff is sign-continuous.
  2. On the δ2\delta_{2}-environment, ∣g(z)∣=∣g(z0)∣\left|g\left(z\right)\right|=\left|g\left(z_{0}\right)\right|, since gg has constant modulus.
  3. On the δ3\delta_{3}-environment, ∣f(z)Δg∣=∣g(z)Δf∣\left|f(z)\Delta g\right|=\left|g(z)\Delta f\right|, since f,gf,g are spatially bimodular.

Let zz be in the min⁡{δ1,δ2,δ3}\min\left\{ \delta_{1},\delta_{2},\delta_{3}\right\}-environment. Adding and subtracting f(z)g(z0)f\left(z\right)g\left(z_{0}\right),

(fg)(z)−(fg)(z0)=f(z)Δg+g(z0)Δf.\left(fg\right)\left(z\right)-\left(fg\right)\left(z_{0}\right)=f\left(z\right)\Delta g+g\left(z_{0}\right)\Delta f.

By the second and third conditions, both terms have the same modulus M=∣f(z)Δg∣=∣g(z0)Δf∣M=\left|f(z)\Delta g\right|=\left|g(z_0)\Delta f\right|. Formulas (4)(4) and (5)(5) then give

Δ(fg)=Meiφ[sgn⁡(f)g;ei(θ+θg)+sgn⁡(g)f;eiθf].\Delta\left(fg\right)=Me^{i\varphi}\left[\operatorname{sgn}\left(f\right)g^{;}e^{i\left(\theta+\theta_{g}\right)}+\operatorname{sgn}\left(g\right)f^{;}e^{i\theta_{f}}\right].

Let u=sgn⁡(f)g;u=\operatorname{sgn}\left(f\right)g^{;} and v=sgn⁡(g)f;v=\operatorname{sgn}\left(g\right)f^{;}. These are unit vectors: if f;f^{;} or g;g^{;} were 00, the conditions above would make both increments vanish and the bracket in the claim would be 00. By formula (7)(7),

∣sgn⁡[Δ(fg)]−sgn⁡(u+v)eiφ∣=∣sgn⁡(uei(θ+θg)+veiθf)−sgn⁡(u+v)∣=∣ei2(θ+θf+θg)−1∣<ϵ,\begin{aligned} &\left|\operatorname{sgn}\left[\Delta\left(fg\right)\right]-\operatorname{sgn}\left(u+v\right)e^{i\varphi}\right|\\ &=\left|\operatorname{sgn}\left(ue^{i\left(\theta+\theta_{g}\right)}+ve^{i\theta_{f}}\right)-\operatorname{sgn}\left(u+v\right)\right|\\ &=\left|e^{\frac{i}{2}\left(\theta+\theta_{f}+\theta_{g}\right)}-1\right|<\epsilon, \end{aligned}

where the inequality is due to Lemma 5. Since u+v=f;sgn⁡(g)+g;sgn⁡(f)u+v=f^{;}\operatorname{sgn}\left(g\right)+g^{;}\operatorname{sgn}\left(f\right), this is the claim.    ■\,\,\,\,\blacksquare

Claim 9. Quotient rule. Let f,g:C⟶Cf,g:\mathbb{C}\longrightarrow\mathbb{C} be φ\varphi-detachable and locally bimodular at z0∈Cz_{0}\in\mathbb{C}, with f(z0)≠0f(z_0)\neq0 and g≠0g\neq0 near z0z_0, where gg is sign-continuous at z0z_{0}. Assume also that sgn⁡(g)f;≠sgn⁡(f)g;\operatorname{sgn}\left(g\right)f^{;}\neq\operatorname{sgn}\left(f\right)g^{;}. Then fg\frac{f}{g} is also φ\varphi-detachable there, and:

(fg);=sgn⁡[sgn⁡(g)f;−sgn⁡(f)g;g2].\left(\frac{f}{g}\right)^{;}=\operatorname{sgn}\left[\frac{\operatorname{sgn}\left(g\right)f^{;}-\operatorname{sgn}\left(f\right)g^{;}}{g^{2}}\right].

Proof. First, let us develop the expression by the definition of the limit. Over a common denominator,

(fg)(z)−(fg)(z0)=g(z0)Δf−f(z0)Δgg(z)g(z0),\left(\frac{f}{g}\right)\left(z\right)-\left(\frac{f}{g}\right)\left(z_{0}\right)=\frac{g\left(z_{0}\right)\Delta f-f\left(z_{0}\right)\Delta g}{g\left(z\right)g\left(z_{0}\right)},

so

(fg);=lim⁡t→0+e−iφsgn⁡[g(z0)Δf−f(z0)Δg]sgn⁡(g(z))sgn⁡(g)=1sgn⁡(g)2lim⁡t→0+e−iφsgn⁡[g(z0)Δf−f(z0)Δg],\begin{aligned} \left(\frac{f}{g}\right)^{;}&=\lim_{t\to0^{+}}\frac{e^{-i\varphi}\operatorname{sgn}\left[g\left(z_{0}\right)\Delta f-f\left(z_{0}\right)\Delta g\right]}{\operatorname{sgn}\left(g\left(z\right)\right)\operatorname{sgn}\left(g\right)}\\ &=\frac{1}{\operatorname{sgn}\left(g\right)^{2}}\lim_{t\to0^{+}}e^{-i\varphi}\operatorname{sgn}\left[g\left(z_{0}\right)\Delta f-f\left(z_{0}\right)\Delta g\right], \end{aligned}

where the second transition is because gg is sign-continuous at z0z_{0}, provided the last limit exists. By local bimodularity, both terms inside the bracket have the same modulus M=∣g(z0)Δf∣=∣f(z0)Δg∣M=\left|g\left(z_0\right)\Delta f\right|=\left|f\left(z_0\right)\Delta g\right|, and formula (4)(4) gives

g(z0)Δf−f(z0)Δg=Meiφ[sgn⁡(g)f;eiθf−sgn⁡(f)g;eiθg].g\left(z_{0}\right)\Delta f-f\left(z_{0}\right)\Delta g=Me^{i\varphi}\left[\operatorname{sgn}\left(g\right)f^{;}e^{i\theta_{f}}-\operatorname{sgn}\left(f\right)g^{;}e^{i\theta_{g}}\right].

Let u=sgn⁡(g)f;u=\operatorname{sgn}\left(g\right)f^{;} and v=−sgn⁡(f)g;v=-\operatorname{sgn}\left(f\right)g^{;}. Both are unit vectors, since by local bimodularity one increment vanishes exactly when the other does, which would give u+v=0u+v=0; and they are not opposite by assumption. Next, let us show with an ϵ\epsilon-δ\delta analysis that the sign of the bracket tends to sgn⁡(u+v)\operatorname{sgn}\left(u+v\right). Let ϵ>0\epsilon>0. There exist δ\delta-environments of z0z_{0} on which the following conditions hold:

  1. On the δ1\delta_{1}-environment, the bound of Lemma 4 holds, since ff and gg are detachable.
  2. On the δ2\delta_{2}-environment, ∣f(z0)Δg∣=∣g(z0)Δf∣\left|f(z_0)\Delta g\right|=\left|g(z_0)\Delta f\right|, since f,gf,g are locally bimodular.

For each zz in the min⁡{δ1,δ2}\min\left\{ \delta_{1},\delta_{2}\right\}-environment, formula (7)(7) gives

∣sgn⁡(ueiθf+veiθg)−sgn⁡(u+v)∣=∣ei2(θf+θg)−1∣<ϵ,\begin{aligned} &\left|\operatorname{sgn}\left(ue^{i\theta_{f}}+ve^{i\theta_{g}}\right)-\operatorname{sgn}\left(u+v\right)\right|\\ &=\left|e^{\frac{i}{2}\left(\theta_{f}+\theta_{g}\right)}-1\right|<\epsilon, \end{aligned}

where the inequality is due to Lemma 4. Hence the last limit exists and equals sgn⁡(u+v)\operatorname{sgn}\left(u+v\right). Finally, sgn⁡(g)2=sgn⁡(g2)\operatorname{sgn}\left(g\right)^{2}=\operatorname{sgn}\left(g^{2}\right) and sgn⁡(w)/sgn⁡(q)=sgn⁡(w/q)\operatorname{sgn}\left(w\right)/\operatorname{sgn}\left(q\right)=\operatorname{sgn}\left(w/q\right) give the formula.    ■\,\,\,\,\blacksquare

References

[1] Shabat, B.V., 2003. Introduction to Complex Analysis-excerpts.

[2] Druţu, C. and Kapovich, M., 2018. Geometric group theory (Vol. 63). American Mathematical Soc..

[3] Gelbaum, B.R. and Olmsted, J.M.H., 1964. Counterexamples in Analysis. Holden-Day (Dover reprint, 2003).

[4] Allamigeon, X., Gaubert, S. and Skomra, M., 2020. Tropical spectrahedra. Discrete & Computational Geometry, 63, pp. 507–548.

[5] Shachar, A., 2010. Introduction to Semi-discrete Calculus. arXiv:1012.5751.