Rational maps of the Riemann sphere, multipliers, Fatou and Julia sets (Milnor §4)
DefinitionMilnorDynamics_RationalMapsThe objects of Milnor's §4 (Fatou and Julia: Dynamics on the Riemann Sphere), for rational self-maps of the Riemann sphere .
- A rational map is a quotient of two complex polynomials with no common root, ; its degree is . As a self-map of it sends to , a pole to , and to .
- The multiplier of a periodic point of period is the derivative of at computed in a local coordinate: near a finite point, near . The orbit is attracting, repelling or indifferent according as , or , and superattracting when .
- The Fatou set of is the set of points having a neighbourhood on which the iterates form a normal family; the Julia set is its complement.
- The basin of attraction of an attracting periodic orbit consists of the points whose orbits converge to the orbit.
- The grand orbit of is ; is grand orbit finite (exceptional) if its grand orbit is finite, and denotes the set of such points.
Formalization Note The sphere is OnePoint ℂ. A rational map is the data of two coprime polynomials, so the degree is available without a preimage-counting theorem. Normality near a point is tested in the standard coordinate of the sphere at that point (the identity at finite points, at ), using the notion of a normal family from the first mission of this series. The period used in the multiplier is the minimal period; derivatives use Mathlib's deriv, which returns at points of non-differentiability.
import Mathlib
import Definitions.Def_MilnorDynamics_NormalFamilies
open scoped OnePoint
open Filter Set Polynomial
namespace MilnorDynamics
/-- A rational map `z ↦ p(z)/q(z)` of the Riemann sphere, given by coprime complex
polynomials `p = num`, `q = den` with `q ≠ 0`. -/
structure RationalMap where
num : ℂ[X]
den : ℂ[X]
den_ne_zero : den ≠ 0
coprime : IsCoprime num den
namespace RationalMap
/-- The degree of `p/q`: the maximum of the degrees of `p` and `q`. -/
noncomputable def degree (f : RationalMap) : ℕ :=
max f.num.natDegree f.den.natDegree
/-- The rational map as a self-map of the Riemann sphere `ℂ ∪ {∞}`: `z ↦ p(z)/q(z)` if
`q(z) ≠ 0`, `z ↦ ∞` if `q(z) = 0`, and `∞ ↦ lim_{z → ∞} p(z)/q(z)`. -/
noncomputable def toFun (f : RationalMap) : OnePoint ℂ → OnePoint ℂ
| some z => if f.den.eval z = 0 then ∞ else ((f.num.eval z / f.den.eval z : ℂ) : OnePoint ℂ)
| none =>
if f.den.natDegree < f.num.natDegree then ∞
else ((f.num.coeff f.den.natDegree / f.den.leadingCoeff : ℂ) : OnePoint ℂ)
end RationalMap
/-- The coordinate `w ↦ 1/w` from `ℂ` to the Riemann sphere, sending `0 ↦ ∞`
(a chart of the sphere around `∞`). -/
noncomputable def invChart (w : ℂ) : OnePoint ℂ :=
if w = 0 then ∞ else ((w⁻¹ : ℂ) : OnePoint ℂ)
/-- The derivative of a self-map `g` of the Riemann sphere at a fixed point `p = g p`,
computed in the standard coordinate around `p` (`z` if `p` is finite, `1/z` if `p = ∞`). -/
noncomputable def derivAtFixedPoint (g : OnePoint ℂ → OnePoint ℂ) : OnePoint ℂ → ℂ
| some z => deriv (fun w : ℂ => chartFinite (g (w : OnePoint ℂ))) z
| none => deriv (fun w : ℂ => chartInfinite (g (invChart w))) 0
/-- The multiplier of a periodic point `p` of `g`: the derivative of `g^{∘m}` at `p`, where
`m` is the (minimal) period of `p`. -/
noncomputable def multiplier (g : OnePoint ℂ → OnePoint ℂ) (p : OnePoint ℂ) : ℂ :=
derivAtFixedPoint (g^[Function.minimalPeriod g p]) p
/-- A family `𝓕` of self-maps of the Riemann sphere is normal on some neighbourhood of `p`
(read in the standard coordinate around `p`). -/
def IsNormalNear (𝓕 : Set (OnePoint ℂ → OnePoint ℂ)) : OnePoint ℂ → Prop
| some z => ∃ V : Set ℂ, IsOpen V ∧ z ∈ V ∧
IsNormalFamily V ((fun g : OnePoint ℂ → OnePoint ℂ => fun w : ℂ => g (w : OnePoint ℂ)) '' 𝓕)
| none => ∃ V : Set ℂ, IsOpen V ∧ (0 : ℂ) ∈ V ∧
IsNormalFamily V ((fun g : OnePoint ℂ → OnePoint ℂ => fun w : ℂ => g (invChart w)) '' 𝓕)
/-- The Fatou set of a self-map `g` of the Riemann sphere: the points having a neighbourhood
on which the iterates `{g^{∘n} : n ≥ 0}` form a normal family. -/
def fatouSet (g : OnePoint ℂ → OnePoint ℂ) : Set (OnePoint ℂ) :=
{p | IsNormalNear (Set.range fun n : ℕ => g^[n]) p}
/-- The Julia set: the complement of the Fatou set. -/
def juliaSet (g : OnePoint ℂ → OnePoint ℂ) : Set (OnePoint ℂ) :=
(fatouSet g)ᶜ
/-- The grand orbit of `z` under `g`: all `z'` with `g^{∘m} z = g^{∘n} z'` for some `m, n ≥ 0`. -/
def grandOrbit (g : OnePoint ℂ → OnePoint ℂ) (z : OnePoint ℂ) : Set (OnePoint ℂ) :=
{z' | ∃ m n : ℕ, g^[m] z = g^[n] z'}
/-- The exceptional set `𝓔(g)`: the points whose grand orbit is finite. -/
def exceptionalSet (g : OnePoint ℂ → OnePoint ℂ) : Set (OnePoint ℂ) :=
{z | (grandOrbit g z).Finite}
/-- The basin of attraction of the periodic orbit of `p` (of period `m`): all points `z`
whose iterates `g^{∘ m k}(z)` converge, as `k → ∞`, to some point of the orbit of `p`. -/
def basin (g : OnePoint ℂ → OnePoint ℂ) (p : OnePoint ℂ) : Set (OnePoint ℂ) :=
{z | ∃ j : ℕ, Tendsto (fun k : ℕ => g^[Function.minimalPeriod g p * k] z) atTop
(nhds (g^[j] p))}
end MilnorDynamics
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — non-blind, same agent as the drafter
Disclosure — NON-BLIND read-back. This read-back was written by the same agent that drafted the Lean statements, at the direct request of the proposal owner. The author had seen the source text (Milnor, Dynamics in One Complex Variable) and the intended meaning while writing it. It is therefore not independent testimony and must not be mistaken for a blind audit; an independent blind read-back is still recommended before submission.
The file declares, in namespace MilnorDynamics, the following, on top of the earlier definitions (chartFinite, chartInfinite, chordal distance , IsNormalFamily).
-
RationalMapis a structure with fields: complex polynomials (num) and (den), a proof , and a proof that and are coprime in (i.e. for some polynomials ). -
, where is the natural-number degree (so the zero polynomial has degree , and a nonzero constant has degree ).
-
(
toFun): for a finite , if , and otherwise; if , and otherwise is the finite point . -
invChartequals if and the finite point otherwise. -
derivAtFixedPointfor : if is a finite point , it is the complex derivative at of (so in the image contributes the junk value ); if , it is the derivative at of . Mathlib'sderivreturns where the function is not differentiable, and nothing in the definition requires . -
multiplierisderivAtFixedPointof at , where is the minimal period of under (Mathlib'sFunction.minimalPeriod, which is when is not periodic; then is the identity). -
IsNormalNearfor a set of self-maps of : if is a finite point , it asserts that there is an open containing such that the family of maps is normal on (every sequence has a subsequence converging -uniformly on compacta of to a map continuous on ); if , the same with an open neighbourhood of and the family . -
fatouSet, the set of iterates being indexed by all including (the identity).juliaSetis its complement in . -
grandOrbitandexceptionalSet. -
basinas , where is the minimal period of and convergence is in the topology of . No hypothesis makes periodic or attracting.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.