Sync Lean + ledger from GitHub (6d6513147f03fcdca5249ee06cbaf74ba025e4b0)
Browse filesFiles changed (44)
- README.mdAdded+33
- Thurston.leanAdded+28
- Thurston/Audit.leanAdded+587
- Thurston/Conditional/MatrixSpectralRadius.leanAdded+902
- Thurston/Conditional/WolffDenjoy/Generic.leanAdded+171
- Thurston/Conditional/WolffDenjoy/Interface/BoundedOrbit.leanAdded+68
- Thurston/Conditional/WolffDenjoy/Interface/Lemma21.leanAdded+28
- Thurston/Conditional/WolffDenjoy/Interface/SanityModel.leanAdded+239
- Thurston/Conditional/WolffDenjoy/Interface/Section2.leanAdded+137
- Thurston/Conditional/WolffDenjoy/Interface/Theorem21.leanAdded+49
- Thurston/Conditional/WolffDenjoy/Proof.leanAdded+465
- Thurston/Conditional/WolffDenjoy/Reductions.leanAdded+129
- Thurston/Conditional/WolffDenjoy/Solved/DistortionLower.leanAdded+26
- Thurston/Conditional/WolffDenjoy/Solved/ExtLeOfInterLe.leanAdded+48
- Thurston/Conditional/WolffDenjoy/Solved/InterEqZeroOfShort.leanAdded+46
- Thurston/Conditional/WolffDenjoy/Solved/InterLeOfSimple.leanAdded+41
- Thurston/Conditional/WolffDenjoy/Solved/OrbitDistLe.leanAdded+48
- Thurston/Conditional/WolffDenjoy/Solved/RecordTimes.leanAdded+64
- Thurston/Conditional/WolffDenjoy/Solved/SqrtExtSumLe.leanAdded+39
- Thurston/Core/AnnulusLaurentDecay.leanAdded+622
- Thurston/Core/BoundedOrbitFixedPoint.leanAdded+370
- Thurston/Core/Counterexamples.leanAdded+656
- Thurston/Core/CoveringAreaPushforward.leanAdded+1091
- Thurston/Core/FiniteCoverSelection.leanAdded+367
- Thurston/Core/HilbertQuadraticDecay.leanAdded+187
- Thurston/Core/HyperbolicAnnulusArea.leanAdded+86
- Thurston/Core/HyperbolicCircumcenter.leanAdded+447
- Thurston/Core/IterateMatrix.leanAdded+264
- Thurston/Core/LevyCycleChains.leanAdded+172
- Thurston/Core/LevyObstruction.leanAdded+363
- Thurston/Core/PerronObstructionBounds.leanAdded+203
- Thurston/Core/PersistenceContradiction.leanAdded+327
- Thurston/Core/PushforwardHolomorphic.leanAdded+554
- Thurston/Core/RationalComponentTree.leanAdded+422
- Thurston/Core/RiemannHurwitzPoles.leanAdded+240
- Thurston/Core/TransportL1Convergence.leanAdded+550
- Thurston/Core/VerticalCylinderObstruction.leanAdded+397
- Thurston/README.mdAdded+31
- data/citations.jsonlAdded+54
- data/nodes.jsonlAdded+58
- lake-manifest.jsonAdded+96
- lakefile.tomlAdded+19
- lean-toolchainAdded+1
- ledger/audit_overlay_v22.jsonAdded+859
123456789101112131415161718192021222324252627282930313233---license: apache-2.0pretty_name: Thurston Lean 4 Proof Mirror & DAG Ledgertags: - lean4 - formal-mathematics - complex-dynamicsconfigs: - config_name: nodes data_files: data/nodes.jsonl - config_name: citations data_files: data/citations.jsonl---
# Thurston Lean 4 Proof Mirror & DAG Ledger
Companion Lean 4 formalizations and structured proof-DAG / citation-audit tables (`data/nodes.jsonl`, `data/citations.jsonl`, `ledger/audit_overlay_v22.json`) by Daniel van Strien for S. van Strien, *The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026).
This repository is synced from `van-strien/thurston-lean` (`main`) via GitHub Actions + Hugging Face Trusted Publishers (OIDC) and backs the companion interactive Space (`van-strien/thurston-proof-map`).
## Verification scope and AI use
The Lean 4 formalizations, multi-model AI refereeing and citation-checking workflow, and companion Proof Verification Map were developed by Daniel van Strien using AI coding and proving agents:
1. **`Thurston/Core/` — Machine-checked in Lean 4 + Mathlib (zero extra axioms):** 18 standalone combinatorial, linear-algebraic, metric, measure-theoretic, analytic, and counterexample modules. While AI agents drafted the proof scripts, every audited theorem is independently verified by the Lean 4 kernel.2. **`Thurston/Conditional/` — Machine-checked from explicitly stated classical interfaces:** - `Thurston/Conditional/WolffDenjoy/` — Theorem 2.1 (`l:record`, Wolff–Denjoy extremal-length record theorem) proved from 14 explicit Teichmüller / measured-foliation interface facts, plus a consistency model (`interface_has_model`). - `Thurston/Conditional/MatrixSpectralRadius.lean` — Matrix Lemma (`l:matrix`) proved from stated covering / isotopy inputs.3. **`Thurston/Audit.lean` — Automated axiom gate:** 92 `#guard_msgs in #print axioms` checks ensuring every audited theorem depends only on Lean's standard axioms (`propext`, `Classical.choice`, `Quot.sound`).4. **AI-reviewed results (not formalized in Lean):** The full manuscript is not formalized end to end in Lean 4. Parallel multi-model AI referee notes (Gemini, alongside open-weights models [`moonshotai/Kimi-K3.1-Pro`](https://huggingface.co/moonshotai/Kimi-K3.1-Pro), [`deepseek-ai/DeepSeek-V4.1-Flash`](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash), and [`zai-org/GLM-5.3`](https://huggingface.co/zai-org/GLM-5.3) run via [Hugging Face Inference Providers](https://huggingface.co/docs/inference-providers)) and citation checks in `data/nodes.jsonl` and `data/citations.jsonl` serve as an audit aid, not a proof certificate or substitute for human mathematical verification.12345678910111213141516171819202122232425262728import Thurston.Core.HilbertQuadraticDecayimport Thurston.Core.LevyCycleChainsimport Thurston.Core.RiemannHurwitzPolesimport Thurston.Core.HyperbolicAnnulusAreaimport Thurston.Core.PerronObstructionBoundsimport Thurston.Core.PushforwardHolomorphicimport Thurston.Core.CoveringAreaPushforwardimport Thurston.Core.IterateMatriximport Thurston.Core.LevyObstructionimport Thurston.Core.BoundedOrbitFixedPointimport Thurston.Core.PersistenceContradictionimport Thurston.Core.RationalComponentTreeimport Thurston.Core.FiniteCoverSelectionimport Thurston.Core.HyperbolicCircumcenterimport Thurston.Core.TransportL1Convergenceimport Thurston.Core.VerticalCylinderObstructionimport Thurston.Core.AnnulusLaurentDecayimport Thurston.Core.Counterexamplesimport Thurston.Conditional.WolffDenjoy.Interface.Section2import Thurston.Conditional.WolffDenjoy.Interface.Lemma21import Thurston.Conditional.WolffDenjoy.Interface.Theorem21import Thurston.Conditional.WolffDenjoy.Interface.BoundedOrbitimport Thurston.Conditional.WolffDenjoy.Interface.SanityModelimport Thurston.Conditional.WolffDenjoy.Genericimport Thurston.Conditional.WolffDenjoy.Proofimport Thurston.Conditional.WolffDenjoy.Reductionsimport Thurston.Conditional.MatrixSpectralRadiusimport Thurston.Audit123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587import Thurston.Core.HilbertQuadraticDecayimport Thurston.Core.LevyCycleChainsimport Thurston.Core.RiemannHurwitzPolesimport Thurston.Core.HyperbolicAnnulusAreaimport Thurston.Core.PerronObstructionBoundsimport Thurston.Core.PushforwardHolomorphicimport Thurston.Core.CoveringAreaPushforwardimport Thurston.Core.IterateMatriximport Thurston.Core.LevyObstructionimport Thurston.Core.BoundedOrbitFixedPointimport Thurston.Core.PersistenceContradictionimport Thurston.Core.RationalComponentTreeimport Thurston.Core.FiniteCoverSelectionimport Thurston.Core.HyperbolicCircumcenterimport Thurston.Core.TransportL1Convergenceimport Thurston.Core.VerticalCylinderObstructionimport Thurston.Core.AnnulusLaurentDecayimport Thurston.Core.Counterexamplesimport Thurston.Conditional.WolffDenjoy.Proofimport Thurston.Conditional.WolffDenjoy.Reductionsimport Thurston.Conditional.WolffDenjoy.Interface.SanityModelimport Thurston.Conditional.MatrixSpectralRadius
/-!# Axiom audit (`Thurston/Audit.lean`)
The build fails if any audited theorem depends on `sorryAx` or any axiom outside Lean's threestandard axioms (`propext`, `Classical.choice`, `Quot.sound`).-/
/-! ## Core: pure Mathlib theorems (`Thurston/Core/`) -/
/--info: 'Thurston.Core.lemma_5_1' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.lemma_5_1
/--info: 'Thurston.Core.lemma_5_1_core' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.lemma_5_1_core
/--info: 'Thurston.Core.chain_has_levy_cycle_of_deg_one_block' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.chain_has_levy_cycle_of_deg_one_block
/--info: 'Thurston.Core.chain_prod_deg_ge_two_pow' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.chain_prod_deg_ge_two_pow
/--info: 'Thurston.Core.cor_poles_lower_bound' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.cor_poles_lower_bound
/--info: 'Thurston.Core.cor_poles_equality_rigidity' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.cor_poles_equality_rigidity
/--info: 'Thurston.Core.lem_saturation_counting' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.lem_saturation_counting
/--info: 'Thurston.Core.lem_saturation_uniform_bound' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.lem_saturation_uniform_bound
/--info: 'Thurston.Core.annulus_mod_mul_sq_le_area' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.annulus_mod_mul_sq_le_area
/--info: 'Thurston.Core.hyparea_sum_le' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.hyparea_sum_le
/--info: 'Thurston.Core.necessity_no_obstruction' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.necessity_no_obstruction
/--info: 'Thurston.Core.ep_matrix_entries_bounded' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.ep_matrix_entries_bounded
/--info: 'Thurston.Core.ep_matrix_eig_le_one' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.ep_matrix_eig_le_one
/--info: 'Thurston.Core.pushHolomorphic' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.pushHolomorphic
/--info: 'Thurston.Core.exists_sheetedCover_of_isCoveringMapOn' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.exists_sheetedCover_of_isCoveringMapOn
/--info: 'Thurston.Core.areaFormula_of_isCoveringMapOn' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.areaFormula_of_isCoveringMapOn
/--info: 'Thurston.Core.pushContraction_of_isCoveringMapOn' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.pushContraction_of_isCoveringMapOn
/--info: 'Thurston.Core.pushCoeff_norm_lt_of_isCoveringMapOn' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.pushCoeff_norm_lt_of_isCoveringMapOn
/--info: 'Thurston.Core.pow_thurstonMatrix_eq_sum_chains' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.pow_thurstonMatrix_eq_sum_chains
/--info: 'Thurston.Core.iterate_matrix_eq_sum_lifts' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.iterate_matrix_eq_sum_lifts
/--info: 'Thurston.Core.levy_stable_multicurve_exists' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.levy_stable_multicurve_exists
/--info: 'Thurston.Core.levy_cycle_pow_diag_ge_one' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.levy_cycle_pow_diag_ge_one
/--info: 'Thurston.Core.spectralRadius_ge_one_of_pow_diag_ge_one' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.spectralRadius_ge_one_of_pow_diag_ge_one
/--info: 'Thurston.Core.levy_cycle_spectralRadius_ge_one' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.levy_cycle_spectralRadius_ge_one
/--info: 'Thurston.Core.levy_obstruction' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.levy_obstruction
/--info: 'Thurston.Core.cauchySeq_of_step_contraction' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.cauchySeq_of_step_contraction
/--info: 'Thurston.Core.prop_reduction_bounded_orbit' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.prop_reduction_bounded_orbit
/--info: 'Thurston.Core.unbounded_orbit_of_no_fixedPoint' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.unbounded_orbit_of_no_fixedPoint
/--info: 'Thurston.Core.properSpace_strict_contraction_bounded_orbit' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.properSpace_strict_contraction_bounded_orbit
/--info: 'Thurston.Core.rayModulus_tendsto_zero_of_nonvertical' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.rayModulus_tendsto_zero_of_nonvertical
/--info: 'Thurston.Core.rayModulus_exists_hitting_time' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.rayModulus_exists_hitting_time
/--info: 'Thurston.Core.tendsto_coverage_of_sequential' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.tendsto_coverage_of_sequential
/--info: 'Thurston.Core.persistence_contradiction' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.persistence_contradiction
/--info: 'Thurston.Core.persistence_contradiction_rayModulus_of_sequential' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.persistence_contradiction_rayModulus_of_sequential
/--info: 'Thurston.Core.card_nonflat_le' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.card_nonflat_le
/--info: 'Thurston.Core.rat_components_j_star_bound' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.rat_components_j_star_bound
/--info: 'Thurston.Core.no_node_pole_at_depth_ge_r' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.no_node_pole_at_depth_ge_r
/--info: 'Thurston.Core.flat_step_unramified_at_node' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.flat_step_unramified_at_node
/--info: 'Thurston.Core.no_flat_run_with_node' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.no_flat_run_with_node
/--info: 'Thurston.Core.thm_rat_components_combinatorial' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.thm_rat_components_combinatorial
/--info: 'Thurston.Core.exists_sheet_density_gt_of_bounded_fiber' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.exists_sheet_density_gt_of_bounded_fiber
/--info: 'Thurston.Core.fiber_alignment_defect_le' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.fiber_alignment_defect_le
/--info: 'Thurston.Core.fiber_alignment_defect_le_tsum' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.fiber_alignment_defect_le_tsum
/--info: 'Thurston.Core.reach_card_ge_succ_of_orbit_gt' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.reach_card_ge_succ_of_orbit_gt
/--info: 'Thurston.Core.orbit_finite_and_card_le_of_mass_bound' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.orbit_finite_and_card_le_of_mass_bound
/--info: 'Thurston.Core.subgroup_ne_top_of_finite_orbit_of_infinite_transitive' depends on axioms: [propext, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.subgroup_ne_top_of_finite_orbit_of_infinite_transitive
/--info: 'Thurston.Core.strictMidpointSqConvex_of_convex' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.strictMidpointSqConvex_of_convex
/--info: 'Thurston.Core.circumcenter_exists_unique' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.circumcenter_exists_unique
/--info: 'Thurston.Core.tailCircumcenter_exists_unique' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.tailCircumcenter_exists_unique
/--info: 'Thurston.Core.tailCircumcenter_isometry_equivariant' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.tailCircumcenter_isometry_equivariant
/--info: 'Thurston.Core.measurable_unique_minimizer' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.measurable_unique_minimizer
/--info: 'Thurston.Core.measurable_tailCircumcenter' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.measurable_tailCircumcenter
/--info: 'Thurston.Core.ep_hilbert_decay_core' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.ep_hilbert_decay_core
/--info: 'Thurston.Core.ep_hilbert_decay' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.ep_hilbert_decay
/--info: 'Thurston.Core.transport_L1_error_le' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.transport_L1_error_le
/--info: 'Thurston.Core.transport_L1_tendsto_zero' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.transport_L1_tendsto_zero
/--info: 'Thurston.Core.pushforward_ratio_tendsto_one_of_error' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.pushforward_ratio_tendsto_one_of_error
/--info: 'Thurston.Core.acModulus_tendsto_zero' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.acModulus_tendsto_zero
/--info: 'Thurston.Core.vertical_cylinder_double_cover_tsum_ge' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.vertical_cylinder_double_cover_tsum_ge
/--info: 'Thurston.Core.tendsto_pow_zero_of_spectralRadius_lt_one' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.tendsto_pow_zero_of_spectralRadius_lt_one
/--info: 'Thurston.Core.spectralRadius_ge_one_of_pow_mulVec_sum_ge' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.spectralRadius_ge_one_of_pow_mulVec_sum_ge
/--info: 'Thurston.Core.vertical_cylinder_obstruction' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.vertical_cylinder_obstruction
/--info: 'Thurston.Core.cylinder_gives_levy_cycle' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.cylinder_gives_levy_cycle
/--info: 'Thurston.Core.simple_pole_ball_integral_eq' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.simple_pole_ball_integral_eq
/--info: 'Thurston.Core.simple_pole_disk_integral_le' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.simple_pole_disk_integral_le
/--info: 'Thurston.Core.laurent_summable' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.laurent_summable
/--info: 'Thurston.Core.laurent_tail_bound' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.laurent_tail_bound
/--info: 'Thurston.Core.laurent_annulus_integral_bound' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.laurent_annulus_integral_bound
/--info: 'Thurston.Core.laurent_band_mass_error_le' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.laurent_band_mass_error_le
/--info: 'Thurston.Core.middle_third_const_mode_bounds' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.middle_third_const_mode_bounds
/--info: 'Thurston.Core.radialTwistHomeomorph' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.radialTwistHomeomorph
/--info: 'Thurston.Core.radialTwist_no_continuous_extension' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.radialTwist_no_continuous_extension
/--info: 'Thurston.Core.polyMarks_card' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.polyMarks_card
/--info: 'Thurston.Core.polyMarks_forward_invariant' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.polyMarks_forward_invariant
/--info: 'Thurston.Core.polyMap2_fibers' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.polyMap2_fibers
/--info: 'Thurston.Core.polyPullback_exact_cancellation' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.polyPullback_exact_cancellation
/--info: 'Thurston.Core.polyPullback_poles_in_marks' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.polyPullback_poles_in_marks
/--info: 'Thurston.Core.polyPushforward_zero_cancellation' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Core.polyPushforward_zero_cancellation
/-! ## Conditional: proved from explicitly stated interfaces (`Thurston/Conditional/`) -/
/--info: 'Thurston.lemma_2_1' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.lemma_2_1
/--info: 'Thurston.theorem_2_1' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.theorem_2_1
/--info: 'Thurston.theorem_2_1_stated' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.theorem_2_1_stated
/--info: 'Thurston.exists_kuratowski_subseq' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.exists_kuratowski_subseq
/--info: 'Thurston.exists_finset_coeff_bound' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.exists_finset_coeff_bound
/--info: 'Thurston.inter_eq_sum_of_simple' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.inter_eq_sum_of_simple
/--info: 'Thurston.finite_dim_of_invariance_of_dimension' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.finite_dim_of_invariance_of_dimension
/-- Consistency sanity model: `T = Unit`, `MF = ℝ × ℝ` satisfies `MeasuredFoliations` and`ExtremalLength`. -/theorem interface_has_model : ∃ inst : Thurston.MeasuredFoliations (ℝ × ℝ), Nonempty (@Thurston.ExtremalLength Unit (ℝ × ℝ) _ _ _ _ _ inst) := ⟨Thurston.sanityMF, ⟨Thurston.sanityExt⟩⟩
/--info: 'interface_has_model' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms interface_has_model
/--info: 'Thurston.Conditional.matrix_lemma' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Conditional.matrix_lemma
/--info: 'Thurston.Conditional.matrix_lemma_eigenvalue' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Conditional.matrix_lemma_eigenvalue
/--info: 'Thurston.Conditional.matrix_lemma_tendsto' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Conditional.matrix_lemma_tendsto
/--info: 'Thurston.Conditional.cycleMatrix_pow_self' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Conditional.cycleMatrix_pow_self
/--info: 'Thurston.Conditional.cycleMatrix_eigenvalue_norm_pow' depends on axioms: [propext, Classical.choice, Quot.sound]-/#guard_msgs in#print axioms Thurston.Conditional.cycleMatrix_eigenvalue_norm_pow123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902import Mathlib
/-!# Section 4, start: the Matrix lemma
The "Matrix lemma" of S. van Strien, "The Thurston algorithm for general entire maps on thecomplex plane: existence and uniqueness" (research manuscript, version 8), lines 867-893 of thetext extraction, page 16 of the PDF:
> For a finite multicurve `Λ`, form `M_{αβ}` by summing reciprocal degrees of components of> `f⁻¹(β)` in class `α`. If `f` has no Levy cycle, then `ρ(M) < 1`.
Lean has no curves, isotopy classes or coverings. The lemma is stated here for the combinatorialdata that the paper's proof uses, and the covering facts of lines 792-803 and 870-876 arehypotheses. From these hypotheses the proof is complete: `matrix_lemma` gives `ρ(M) < 1`, and`matrix_lemma_tendsto` gives that every entry of `M^k` tends to zero.
The data:
* `Λ` is the multicurve, a finite set of curve classes.* `A` is the finite marked set and `f : A → A` is the map on the marks (`f(A) ⊆ A`).* `L` is the set of closed lifts that enter the matrix: compact components of `f⁻¹(β)`, for a fixed representative of each `β ∈ Λ`, whose class is in `Λ`. The lift `l` is a component of `f⁻¹(tgt l)`, its class is `src l`, and it covers with degree `deg l`.* `S α` is the set of finite labels in the bounded side of the class `α` (line 875).* `thurstonMatrix src tgt deg` is `M`: its entry `(α, β)` is the sum of `1 / deg l` over the lifts `l` with `src l = α` and `tgt l = β`.
How the hypotheses of `matrix_lemma` match the paper:
* `[Fintype L]`: "the entries are finite sums" (line 871).* `hdeg`: covering degrees are at least one.* `hS`: the bounded side of an essential curve contains a finite label (it contains at least two, line 794; only one is used).* `hmap`: "An arrow gives `f(S_α) ⊂ S_β`" (line 876). The disk bounded by a closed lift maps to the bounded target disk (lines 797-801), and the labels in that disk are `S_α` because the lift is in class `α`.* `hdisj`: "For a fixed target representative the compact preimage disks are disjoint" (line 870; argued in lines 801-802). So distinct lifts of the same curve have disjoint label sets.* `hLevy`: `f` has no Levy cycle among the classes of `Λ`. See `HasLevyCycle`.
The paper calls the lemma "the Berstein–Levy argument for the plane" and refers to [Hub,Theorem 10.3.7] and [Sh, Proposition 1.1.16]. Nothing is taken from these references here: theproof below is complete from the hypotheses listed above.
Also in this file, from the text before the lemma: the count of labels on the bounded side of anessential circle (`bounded_side_card_of_essential`, lines 793-794), "an essential closed preimagecomponent has essential image" from its three cases (`essential_image_of_essential_lift`, lines804-821), and the `p`-th power of the matrix of one cycle (`cycleMatrix_pow_self`, lines 887-890).
Differences from the paper's text:
* The paper decomposes the graph of arrows into strongly connected components, shows that each recurrent component is a single weighted cycle, computes its spectral radius `(∏ d_i)^{-1/p}`, and orders the components to make `M` block triangular. This file uses the same facts about periodic labels in a different arrangement, which avoids strongly connected components. The function `potential α` (the number of periodic labels in `S_α`, plus a count that separates the classes without periodic labels) does not decrease along an arrow. Among the lifts of a given `β` at most one keeps the potential (`level_lift_unique`): this is the paper's "Disjointness therefore allows just one, even counting multiple lifts in the same class". A cycle of such lifts with all degrees one would be a Levy cycle. From this a positive vector `u` and a number `θ < 1` with `u M ≤ θ u` are constructed, which gives `ρ(M) ≤ θ`.* The value `(∏ d_i)^{-1/p}` of the spectral radius of a cycle block is not formalised. Only the bound below one is.* The paper's Levy cycle has `f⁻¹(γ_{i+1})` with a degree-one component in class `γ_i`. Here the classes are numbered in the opposite direction (`δ_a = γ_{-a}`), which is the same notion.* The spectral radius is that of the complexified matrix, so that complex eigenvalues count.-/
open Finset
namespace Thurston.Conditional
/-! ## Linear algebra: a weighted column bound gives spectral radius below one -/
section LinearAlgebra
variable {n : Type*} [Fintype n] [DecidableEq n]
/-- If a nonnegative matrix `M` and a positive vector `u` satisfy `u M ≤ θ u` entrywise, thenevery complex eigenvalue of `M` has modulus at most `θ`. -/theorem norm_le_of_mem_spectrum_of_weighted_bound (M : Matrix n n ℝ) (hM : ∀ α β, 0 ≤ M α β) (u : n → ℝ) (hu : ∀ α, 0 < u α) (θ : ℝ) (hθ : ∀ β, ∑ α, u α * M α β ≤ θ * u β) (μ : ℂ) (hμ : μ ∈ spectrum ℂ (M.map (algebraMap ℝ ℂ))) : ‖μ‖ ≤ θ := by rw [spectrum.mem_iff] at hμ have hdet : (algebraMap ℂ (Matrix n n ��) μ - M.map (algebraMap ℝ ℂ)).det = 0 := by by_contra hne exact hμ ((Matrix.isUnit_iff_isUnit_det _).2 (isUnit_iff_ne_zero.2 hne)) obtain ⟨x, hx0, hx⟩ := Matrix.exists_mulVec_eq_zero_iff.2 hdet have heig : ∀ α, μ * x α = ∑ β, (M α β : ℂ) * x β := by intro α have h := congrFun hx α rw [Algebra.algebraMap_eq_smul_one, Matrix.sub_mulVec, Matrix.smul_mulVec, Matrix.one_mulVec] at h simp only [Pi.sub_apply, Pi.smul_apply, smul_eq_mul, Pi.zero_apply, Matrix.mulVec, dotProduct, Matrix.map_apply, Complex.coe_algebraMap] at h exact sub_eq_zero.1 h have hrow : ∀ α, ‖μ‖ * ‖x α‖ ≤ ∑ β, M α β * ‖x β‖ := by intro α rw [← norm_mul, heig α] refine (norm_sum_le _ _).trans (le_of_eq ?_) refine Finset.sum_congr rfl fun β _ => ?_ rw [norm_mul, Complex.norm_real, Real.norm_of_nonneg (hM α β)] have hN : 0 < ∑ α, u α * ‖x α‖ := by obtain ⟨α₀, hα₀⟩ := Function.ne_iff.1 hx0 exact Finset.sum_pos' (fun α _ => mul_nonneg (hu α).le (norm_nonneg _)) ⟨α₀, Finset.mem_univ _, mul_pos (hu α₀) (norm_pos_iff.2 hα₀)⟩ have hmain : ‖μ‖ * ∑ α, u α * ‖x α‖ ≤ θ * ∑ α, u α * ‖x α‖ := calc ‖μ‖ * ∑ α, u α * ‖x α‖ = ∑ α, u α * (‖μ‖ * ‖x α‖) := by rw [Finset.mul_sum]; exact Finset.sum_congr rfl fun α _ => by ring _ ≤ ∑ α, u α * ∑ β, M α β * ‖x β‖ := Finset.sum_le_sum fun α _ => mul_le_mul_of_nonneg_left (hrow α) (hu α).le _ = ∑ β, (∑ α, u α * M α β) * ‖x β‖ := by simp_rw [Finset.mul_sum, Finset.sum_mul] rw [Finset.sum_comm] exact Finset.sum_congr rfl fun β _ => Finset.sum_congr rfl fun α _ => by ring _ ≤ ∑ β, θ * u β * ‖x β‖ := Finset.sum_le_sum fun β _ => mul_le_mul_of_nonneg_right (hθ β) (norm_nonneg _) _ = θ * ∑ α, u α * ‖x α‖ := by rw [Finset.mul_sum]; exact Finset.sum_congr rfl fun α _ => by ring exact le_of_mul_le_mul_right hmain hN
/-- The same hypothesis with `θ < 1` gives spectral radius below one. -/theorem spectralRadius_lt_one_of_weighted_bound (M : Matrix n n ℝ) (hM : ∀ α β, 0 ≤ M α β) (u : n → ℝ) (hu : ∀ α, 0 < u α) (θ : ℝ) (hθ1 : θ < 1) (hθ : ∀ β, ∑ α, u α * M α β ≤ θ * u β) : spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) < 1 := by refine lt_of_le_of_lt (iSup₂_le fun k hk => ?_) (ENNReal.ofReal_lt_one.2 hθ1) rcases mem_quasispectrum_iff.1 hk with rfl | hk' · simp · rw [← enorm_eq_nnnorm, ← ofReal_norm] exact ENNReal.ofReal_le_ofReal (norm_le_of_mem_spectrum_of_weighted_bound M hM u hu θ hθ k hk')
theorem pow_apply_nonneg (M : Matrix n n ℝ) (hM : ∀ α β, 0 ≤ M α β) (k : ℕ) : ∀ α β, 0 ≤ (M ^ k) α β := by induction k with | zero => intro α β; rw [pow_zero, Matrix.one_apply]; split_ifs <;> norm_num | succ k ih => intro α β rw [pow_succ, Matrix.mul_apply] exact Finset.sum_nonneg fun γ _ => mul_nonneg (ih α γ) (hM γ β)
theorem weighted_pow_le (M : Matrix n n ℝ) (hM : ∀ α β, 0 ≤ M α β) (u : n → ℝ) (θ : ℝ) (hθ0 : 0 ≤ θ) (hθ : ∀ β, ∑ α, u α * M α β ≤ θ * u β) (k : ℕ) : ∀ β, ∑ α, u α * (M ^ k) α β ≤ θ ^ k * u β := by induction k with | zero => intro β; simp [Matrix.one_apply] | succ k ih => intro β calc ∑ α, u α * (M ^ (k + 1)) α β = ∑ γ, (∑ α, u α * (M ^ k) α γ) * M γ β := by simp_rw [pow_succ, Matrix.mul_apply, Finset.mul_sum, Finset.sum_mul] rw [Finset.sum_comm] exact Finset.sum_congr rfl fun γ _ => Finset.sum_congr rfl fun α _ => by ring _ ≤ ∑ γ, θ ^ k * u γ * M γ β := Finset.sum_le_sum fun γ _ => mul_le_mul_of_nonneg_right (ih γ) (hM γ β) _ = θ ^ k * ∑ γ, u γ * M γ β := by rw [Finset.mul_sum]; exact Finset.sum_congr rfl fun γ _ => by ring _ ≤ θ ^ k * (θ * u β) := mul_le_mul_of_nonneg_left (hθ β) (pow_nonneg hθ0 k) _ = θ ^ (k + 1) * u β := by ring
/-- "In finite dimension, spectral radius below one implies that all entries of its powers tendto zero" (lines 857-858), here directly from the weighted bound. -/theorem tendsto_pow_apply_zero_of_weighted_bound (M : Matrix n n ℝ) (hM : ∀ α β, 0 ≤ M α β) (u : n → ℝ) (hu : ∀ α, 0 < u α) (θ : ℝ) (hθ0 : 0 ≤ θ) (hθ1 : θ < 1) (hθ : ∀ β, ∑ α, u α * M α β ≤ θ * u β) (α β : n) : Filter.Tendsto (fun k : ℕ => (M ^ k) α β) Filter.atTop (nhds 0) := by have hle : ∀ k, (M ^ k) α β ≤ θ ^ k * (u β / u α) := by intro k have h1 := weighted_pow_le M hM u θ hθ0 hθ k β have h2 : u α * (M ^ k) α β ≤ ∑ α', u α' * (M ^ k) α' β := Finset.single_le_sum (f := fun α' => u α' * (M ^ k) α' β) (fun α' _ => mul_nonneg (hu α').le (pow_apply_nonneg M hM k α' β)) (Finset.mem_univ α) rw [← mul_div_assoc, le_div_iff₀ (hu α)] linarith have hlim : Filter.Tendsto (fun k : ℕ => θ ^ k * (u β / u α)) Filter.atTop (nhds 0) := by simpa using (tendsto_pow_atTop_nhds_zero_of_lt_one hθ0 hθ1).mul_const (u β / u α) exact squeeze_zero (fun k => pow_apply_nonneg M hM k α β) hle hlim
end LinearAlgebra
/-! ## A weighted map without a cycle of weight one -/
section Chain
variable {n : Type*} [Fintype n]
/-- Along `card n + 1` steps of the chain `β, lam β, lam (lam β), …` some point repeats, so thechain runs through a cycle, and the product of the weights is at most `1/2`. -/theorem prod_chain_le_half (lam : n → n) (w : n → ℝ) (hw0 : ∀ β, 0 ≤ w β) (hw1 : ∀ β, w β ≤ 1) (hcyc : ∀ γ p, 0 < p → lam^[p] γ = γ → ∃ a < p, w (lam^[a] γ) ≤ 1 / 2) (β : n) : ∏ a ∈ range (Fintype.card n + 1), w (lam^[a] β) ≤ 1 / 2 := by obtain ⟨i, j, hij, heq⟩ := Fintype.exists_ne_map_eq_of_card_lt (fun a : Fin (Fintype.card n + 1) => lam^[a] β) (by simp) wlog hlt : (i : ℕ) < j generalizing i j · have hne : (i : ℕ) ≠ j := fun h => hij (Fin.ext h) exact this j i hij.symm heq.symm (by omega) have heq' : lam^[(i : ℕ)] β = lam^[(j : ℕ)] β := heq have hper : lam^[(j : ℕ) - i] (lam^[(i : ℕ)] β) = lam^[(i : ℕ)] β := by rw [← Function.iterate_add_apply, Nat.sub_add_cancel hlt.le, ← heq'] obtain ⟨a, ha, hwa⟩ := hcyc _ _ (by omega) hper rw [← Function.iterate_add_apply] at hwa have hmem : a + i ∈ range (Fintype.card n + 1) := by rw [Finset.mem_range]; have := j.2; omega calc ∏ b ∈ range (Fintype.card n + 1), w (lam^[b] β) = w (lam^[a + i] β) * ∏ b ∈ (range (Fintype.card n + 1)).erase (a + i), w (lam^[b] β) := (Finset.mul_prod_erase _ _ hmem).symm _ ≤ 1 / 2 * 1 := mul_le_mul hwa (Finset.prod_le_one₀ (fun b _ => hw0 _) (fun b _ => hw1 _)) (Finset.prod_nonneg fun b _ => hw0 _) (by norm_num) _ = 1 / 2 := by norm_num
/-- A map `lam` with weights `w` in `[0, 1]`, such that every cycle of `lam` has a weight at most`1/2`, has a vector `v ≥ 1` and a number `θ < 1` with `v (lam β) w β ≤ θ v β` for every `β`. -/theorem exists_weight_of_no_unit_cycle (lam : n → n) (w : n → ℝ) (hw0 : ∀ β, 0 ≤ w β) (hw1 : ∀ β, w β ≤ 1) (hcyc : ∀ γ p, 0 < p → lam^[p] γ = γ → ∃ a < p, w (lam^[a] γ) ≤ 1 / 2) : ∃ (θ : ℝ) (v : n → ℝ), 0 ≤ θ ∧ θ < 1 ∧ (∀ β, 1 ≤ v β) ∧ ∀ β, v (lam β) * w β ≤ θ * v β := by set N := Fintype.card n with hN set θ : ℝ := 1 - 1 / (2 * ((N : ℝ) + 1)) with hθ have hN0 : (0 : ℝ) ≤ N := Nat.cast_nonneg N have hsmall : 1 / (2 * ((N : ℝ) + 1)) ≤ 1 / 2 := by rw [div_le_div_iff₀ (by positivity) (by norm_num)]; linarith have hsmall0 : 0 < 1 / (2 * ((N : ℝ) + 1)) := by positivity have hθ0 : 0 < θ := by linarith have hθ1 : θ < 1 := by linarith have hbern : 1 / 2 ≤ θ ^ (N + 1) := by have h := one_add_mul_le_pow (a := -(1 / (2 * ((N : ℝ) + 1)))) (by linarith) (N + 1) have e : 1 + ((N + 1 : ℕ) : ℝ) * -(1 / (2 * ((N : ℝ) + 1))) = 1 / 2 := by push_cast; field_simp; ring have e2 : 1 + -(1 / (2 * ((N : ℝ) + 1))) = θ := by rw [hθ]; ring rw [e, e2] at h exact h have hinv : θ * θ⁻¹ = 1 := mul_inv_cancel₀ hθ0.ne' have hinv0 : 0 < θ⁻¹ := inv_pos.2 hθ0 let W : ℕ → n → ℝ := fun j β => ∏ a ∈ range j, w (lam^[a] β) have hWsucc : ∀ j β, W (j + 1) β = w β * W j (lam β) := by intro j β show ∏ a ∈ range (j + 1), w (lam^[a] β) = w β * ∏ a ∈ range j, w (lam^[a] (lam β)) rw [Finset.prod_range_succ', mul_comm] rfl have hW0 : ∀ β, W 0 β = 1 := fun β => Finset.prod_range_zero _ have hWnn : ∀ j β, 0 ≤ W j β := fun j β => Finset.prod_nonneg fun a _ => hw0 _ have hWhalf : ∀ β, W (N + 1) β ≤ 1 / 2 := fun β => prod_chain_le_half lam w hw0 hw1 hcyc β refine ⟨θ, fun β => ∑ j ∈ range (N + 1), θ⁻¹ ^ j * W j β, hθ0.le, hθ1, fun β => ?_, fun β => ?_⟩ · show 1 ≤ ∑ j ∈ range (N + 1), θ⁻¹ ^ j * W j β rw [Finset.sum_range_succ', pow_zero, hW0, mul_one] have h : 0 ≤ ∑ j ∈ range N, θ⁻¹ ^ (j + 1) * W (j + 1) β := Finset.sum_nonneg fun j _ => mul_nonneg (pow_nonneg hinv0.le _) (hWnn _ _) linarith · have hL : (∑ j ∈ range (N + 1), θ⁻¹ ^ j * W j (lam β)) * w β = ∑ j ∈ range (N + 1), θ⁻¹ ^ j * W (j + 1) β := by rw [Finset.sum_mul] refine Finset.sum_congr rfl fun j _ => ?_ rw [hWsucc]; ring have hR : θ * ∑ j ∈ range (N + 1), θ⁻¹ ^ j * W j β = ∑ j ∈ range N, θ⁻¹ ^ j * W (j + 1) β + θ := by rw [Finset.sum_range_succ', pow_zero, hW0, mul_one, mul_add, mul_one, Finset.mul_sum] congr 1 refine Finset.sum_congr rfl fun j _ => ?_ rw [pow_succ] linear_combination (θ⁻¹ ^ j * W (j + 1) β) * hinv have hlast : θ⁻¹ ^ N * W (N + 1) β ≤ θ := calc θ⁻¹ ^ N * W (N + 1) β ≤ θ⁻¹ ^ N * θ ^ (N + 1) := mul_le_mul_of_nonneg_left ((hWhalf β).trans hbern) (pow_nonneg hinv0.le _) _ = θ := by rw [pow_succ, ← mul_assoc, ← mul_pow, inv_mul_cancel₀ hθ0.ne', one_pow, one_mul] show (∑ j ∈ range (N + 1), θ⁻¹ ^ j * W j (lam β)) * w β ≤ θ * ∑ j ∈ range (N + 1), θ⁻¹ ^ j * W j β rw [hL, hR, Finset.sum_range_succ] linarith
end Chain
/-! ## From levels to a weighted bound -/
section Levels
variable {Λ L : Type*} [Fintype Λ] [DecidableEq Λ] [Fintype L]
/-- Lifts with weights in `[0, 1]`, and a function `Φ` that does not decrease along a lift.Suppose that the lifts that keep `Φ` are given by a map `lam` with weights `w` (at most one suchlift over each `β`), and that `v` and `θ < 1` are as in `exists_weight_of_no_unit_cycle`. Thenthere is a positive vector `u` with `∑ u (src l) wt l ≤ (1 + θ)/2 · u β`, the sum over the lifts`l` of `β`. -/theorem exists_weighted_bound_of_levels (src tgt : L → Λ) (wt : L → ℝ) (hwt1 : ∀ l, wt l ≤ 1) (Φ : Λ → ℕ) (hΦ : ∀ l, Φ (src l) ≤ Φ (tgt l)) (lam : Λ → Λ) (w : Λ → ℝ) (hw0 : ∀ β, 0 ≤ w β) (hlevel : ∀ l, Φ (src l) = Φ (tgt l) → src l = lam (tgt l) ∧ wt l = w (tgt l)) (huniq : ∀ l l', Φ (src l) = Φ (tgt l) → Φ (src l') = Φ (tgt l') → tgt l = tgt l' → l = l') (θ : ℝ) (hθ1 : θ < 1) (v : Λ → ℝ) (hv : ∀ β, 1 ≤ v β) (hvw : ∀ β, v (lam β) * w β ≤ θ * v β) : ∃ u : Λ → ℝ, (∀ α, 0 < u α) ∧ ∀ β, ∑ l ∈ univ.filter (fun l => tgt l = β), u (src l) * wt l ≤ (1 + θ) / 2 * u β := by set V : ℝ := ∑ β, v β with hV have hv0 : ∀ β, 0 ≤ v β := fun β => by linarith [hv β] have hvV : ∀ β, v β ≤ V := fun β => Finset.single_le_sum (f := v) (fun γ _ => hv0 γ) (Finset.mem_univ β) have hV0 : 0 ≤ V := Finset.sum_nonneg fun γ _ => hv0 γ have h1θ : 0 < 1 - θ := by linarith have hc0 : (0 : ℝ) ≤ Fintype.card L := Nat.cast_nonneg _ set R : ℝ := 2 * (Fintype.card L) * V / (1 - θ) + 1 with hR have hR1 : 1 ≤ R := by have : 0 ≤ 2 * (Fintype.card L : ℝ) * V / (1 - θ) := by positivity linarith have hR0 : 0 < R := by linarith have hRV : (Fintype.card L : ℝ) * V ≤ (1 - θ) / 2 * R := by have e : (1 - θ) / 2 * (2 * (Fintype.card L) * V / (1 - θ)) = (Fintype.card L : ℝ) * V := by field_simp rw [hR, mul_add, e] linarith refine ⟨fun α => R ^ Φ α * v α, fun α => mul_pos (pow_pos hR0 _) (by linarith [hv α]), fun β => ?_⟩ have hpowβ : 0 < R ^ Φ β := pow_pos hR0 _ set Lβ : Finset L := univ.filter (fun l => tgt l = β) with hLβ rw [← Finset.sum_filter_add_sum_filter_not Lβ (fun l => Φ (src l) = Φ (tgt l))] -- The lifts of `β` that keep `Φ`: at most one, and it is the one given by `lam` and `w`. have hlev : ∑ l ∈ Lβ.filter (fun l => Φ (src l) = Φ (tgt l)), R ^ Φ (src l) * v (src l) * wt l ≤ θ * (R ^ Φ β * v β) := by have hterm : ∀ l ∈ Lβ.filter (fun l => Φ (src l) = Φ (tgt l)), R ^ Φ (src l) * v (src l) * wt l = R ^ Φ β * (v (lam β) * w β) := by intro l hl simp only [hLβ, Finset.mem_filter, Finset.mem_univ, true_and] at hl obtain ⟨hs, hwl⟩ := hlevel l hl.2 rw [hl.2, hs, hwl, hl.1]; ring rw [Finset.sum_congr rfl hterm, Finset.sum_const, nsmul_eq_mul] have hcard : ((Lβ.filter (fun l => Φ (src l) = Φ (tgt l))).card : ℝ) ≤ 1 := by have h : (Lβ.filter (fun l => Φ (src l) = Φ (tgt l))).card ≤ 1 := by refine Finset.card_le_one.2 fun l hl l' hl' => ?_ simp only [hLβ, Finset.mem_filter, Finset.mem_univ, true_and] at hl hl' exact huniq l l' hl.2 hl'.2 (hl.1.trans hl'.1.symm) exact_mod_cast h have hnn : 0 ≤ R ^ Φ β * (v (lam β) * w β) := mul_nonneg hpowβ.le (mul_nonneg (hv0 _) (hw0 β)) have h2 := mul_le_mul_of_nonneg_left (hvw β) hpowβ.le nlinarith -- The other lifts of `β` come from a lower value of `Φ`. have hnon : ∑ l ∈ Lβ.filter (fun l => ¬ Φ (src l) = Φ (tgt l)), R ^ Φ (src l) * v (src l) * wt l ≤ (1 - θ) / 2 * (R ^ Φ β * v β) := by have hterm : ∀ l ∈ Lβ.filter (fun l => ¬ Φ (src l) = Φ (tgt l)), R ^ Φ (src l) * v (src l) * wt l ≤ R ^ Φ β / R * V := by intro l hl simp only [hLβ, Finset.mem_filter, Finset.mem_univ, true_and] at hl have hlt : Φ (src l) + 1 ≤ Φ β := by have h := hΦ l rw [hl.1] at h have hne := hl.2 rw [hl.1] at hne omega have hpow : R ^ Φ (src l) ≤ R ^ Φ β / R := by rw [le_div_iff₀ hR0, ← pow_succ] exact pow_le_pow_right₀ hR1 hlt have hnn : 0 ≤ R ^ Φ (src l) * v (src l) := mul_nonneg (pow_pos hR0 _).le (hv0 _) calc R ^ Φ (src l) * v (src l) * wt l ≤ R ^ Φ (src l) * v (src l) * 1 := mul_le_mul_of_nonneg_left (hwt1 l) hnn _ = R ^ Φ (src l) * v (src l) := mul_one _ _ ≤ R ^ Φ β / R * V := mul_le_mul hpow (hvV _) (hv0 _) (div_nonneg hpowβ.le hR0.le) have hcard : ((Lβ.filter (fun l => ¬ Φ (src l) = Φ (tgt l))).card : ℝ) ≤ Fintype.card L := by exact_mod_cast Finset.card_le_univ _ have hq : 0 ≤ R ^ Φ β / R := div_nonneg hpowβ.le hR0.le calc ∑ l ∈ Lβ.filter (fun l => ¬ Φ (src l) = Φ (tgt l)), R ^ Φ (src l) * v (src l) * wt l ≤ ∑ _l ∈ Lβ.filter (fun l => ¬ Φ (src l) = Φ (tgt l)), R ^ Φ β / R * V := Finset.sum_le_sum hterm _ = (Lβ.filter (fun l => ¬ Φ (src l) = Φ (tgt l))).card * (R ^ Φ β / R * V) := by rw [Finset.sum_const, nsmul_eq_mul] _ ≤ (Fintype.card L : ℝ) * (R ^ Φ β / R * V) := mul_le_mul_of_nonneg_right hcard (mul_nonneg hq hV0) _ = R ^ Φ β / R * ((Fintype.card L : ℝ) * V) := by ring _ ≤ R ^ Φ β / R * ((1 - θ) / 2 * R) := mul_le_mul_of_nonneg_left hRV hq _ = (1 - θ) / 2 * R ^ Φ β := by field_simp _ ≤ (1 - θ) / 2 * (R ^ Φ β * v β) := by have h := hv β have h3 : R ^ Φ β ≤ R ^ Φ β * v β := by nlinarith exact mul_le_mul_of_nonneg_left h3 (by linarith) linarith
end Levels
/-! ## Covering facts at the start of Section 4: the counting part -/
section Covering
/-- "Since `∞` is marked, the bounded disk of an essential plane circle contains between `2` and`s - 1` finite labels" (lines 793-794). `D` is the set of finite labels in the bounded disk. Theunbounded side contains the other finite labels and `∞`. Essential means at least two marks oneach side. -/theorem bounded_side_card_of_essential {A : Type*} [Fintype A] [DecidableEq A] (D : Finset A) (hin : 2 ≤ D.card) (hout : 2 ≤ Dᶜ.card + 1) : 2 ≤ D.card ∧ D.card ≤ Fintype.card A - 1 := by have h := D.card_compl have h' := D.card_le_univ omega
/-- "It follows that an essential closed preimage component has essential image" (line 821).`D` is the set of finite labels in the disk bounded by the closed lift, and `Δ` is the set offinite labels in the bounded target disk. The three cases of lines 804-820 are the hypotheses:
* `hmap`: the disk of the lift maps to the target disk, and marks map to marks. This gives "if the target disk contains no finite mark, its proper preimage disks contain none".* `hone`: "if it contains just one mark […] at most one source mark lies in the disk".* `hall`: for a transcendental map there is no closed lift when the target disk contains all finite marks. -/theorem essential_image_of_essential_lift {A : Type*} [Fintype A] (f : A → A) (D Δ : Finset A) (hmap : ∀ a ∈ D, f a ∈ Δ) (hone : Δ.card = 1 → D.card ≤ 1) (hall : Δ ≠ univ) (hD : 2 ≤ D.card) : 2 ≤ Δ.card ∧ Δ.card ≤ Fintype.card A - 1 := by have hne : Δ.card ≠ 0 := by obtain ⟨a, ha⟩ := Finset.card_pos.1 (by omega : 0 < D.card) exact (Finset.card_pos.2 ⟨f a, hmap a ha⟩).ne' have h1 : Δ.card ≠ 1 := fun h => by have := hone h; omega have hlt : Δ.card < Fintype.card A := by rw [← Finset.card_univ] exact Finset.card_lt_card (Finset.ssubset_univ_iff.2 hall) omega
/-- "For a fixed target representative the compact preimage disks are disjoint. Each essentialone contains at least two finite marks, so the entries are finite sums" (lines 870-871): the setof lifts is finite. -/theorem finite_lifts {Λ A L : Type*} [Finite Λ] [Finite A] (src tgt : L → Λ) (S : Λ → Finset A) (hS : ∀ α, (S α).Nonempty) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) : Finite L := by have hinj : Function.Injective fun l : L => (tgt l, S (src l)) := by intro l l' h by_contra hne have h1 : tgt l = tgt l' := congrArg Prod.fst h have h2 : S (src l) = S (src l') := congrArg Prod.snd h have hd := hdisj l l' hne h1 rw [h2] at hd obtain ⟨a, ha⟩ := hS (src l') exact Finset.disjoint_left.1 hd ha ha exact Finite.of_injective _ hinj
/-- The hypotheses of `essential_image_of_essential_lift` can hold together (the example`z² - 1` of the paper, with labels `0, 1, 2` for the marks `-1, 0, a`). -/example : ∃ (f : Fin 3 → Fin 3) (D Δ : Finset (Fin 3)), (∀ a ∈ D, f a ∈ Δ) ∧ (Δ.card = 1 → D.card ≤ 1) ∧ Δ ≠ univ ∧ 2 ≤ D.card := ⟨![1, 0, 2], {0, 1}, {0, 1}, by decide, by decide, by decide, by decide⟩
end Covering
/-! ## One cycle: the recurrent block of the paper -/
section CycleBlock
/-- The matrix of a single weighted cycle on `p` classes: the entry `(i, i + 1)` is `w i`. -/def cycleMatrix (p : ℕ) (w : ZMod p → ℝ) : Matrix (ZMod p) (ZMod p) ℝ := Matrix.of fun i j => if j = i + 1 then w i else 0
theorem cycleMatrix_pow_apply (p : ℕ) [NeZero p] (w : ZMod p → ℝ) (k : ℕ) (i j : ZMod p) : (cycleMatrix p w ^ k) i j = if j = i + k then ∏ a ∈ range k, w (i + a) else 0 := by induction k generalizing j with | zero => simp [Matrix.one_apply, eq_comm] | succ k ih => rw [pow_succ, Matrix.mul_apply] simp only [ih] simp only [cycleMatrix, Matrix.of_apply, ite_mul, zero_mul, Finset.sum_ite_eq', Finset.mem_univ, ↓reduceIte] have e : i + ((k + 1 : ℕ) : ZMod p) = i + (k : ZMod p) + 1 := by push_cast; ring rw [e, Finset.prod_range_succ] split_ifs <;> simp
theorem prod_range_natCast_zmod (p : ℕ) [NeZero p] (g : ZMod p → ℝ) : ∏ a ∈ range p, g (a : ZMod p) = ∏ x : ZMod p, g x := by refine Finset.prod_bij (fun a _ => (a : ZMod p)) (fun _ _ => Finset.mem_univ _) ?_ ?_ (fun _ _ => rfl) · intro a ha b hb hab rw [Finset.mem_range] at ha hb have h := (ZMod.natCast_eq_natCast_iff' a b p).1 hab rwa [Nat.mod_eq_of_lt ha, Nat.mod_eq_of_lt hb] at h · intro x _ exact ⟨x.val, Finset.mem_range.2 (ZMod.val_lt x), ZMod.natCast_zmod_val x⟩
/-- "The component is a single cycle with weights `1/d_1, …, 1/d_p`. The `p`th power of itsmatrix is `(∏ d_i)⁻¹` times the identity" (lines 887-888). Here `w i = 1 / d_i`. -/theorem cycleMatrix_pow_self (p : ℕ) [NeZero p] (w : ZMod p → ℝ) : cycleMatrix p w ^ p = (∏ i, w i) • (1 : Matrix (ZMod p) (ZMod p) ℝ) := by ext i j rw [cycleMatrix_pow_apply, Matrix.smul_apply, Matrix.one_apply, ZMod.natCast_self, add_zero, prod_range_natCast_zmod p (fun x => w (i + x)), smul_eq_mul] have hshift : ∏ x : ZMod p, w (i + x) = ∏ x : ZMod p, w x := Fintype.prod_equiv (Equiv.addLeft i) _ _ (fun _ => rfl) rw [hshift] by_cases h : j = i · simp [h] · have h' : ¬ i = j := fun h'' => h h''.symm simp [h, h']
/-- Every complex eigenvalue `μ` of the cycle matrix has `μ^p = ∏ w_i`. -/theorem cycleMatrix_eigenvalue_pow (p : ℕ) [NeZero p] (w : ZMod p → ℝ) (μ : ℂ) (hμ : μ ∈ spectrum ℂ ((cycleMatrix p w).map (algebraMap ℝ ℂ))) : μ ^ p = ((∏ i, w i : ℝ) : ℂ) := by have h1 := spectrum.pow_mem_pow _ p hμ have h3 : ((cycleMatrix p w).map (algebraMap ℝ ℂ)) ^ p = (cycleMatrix p w ^ p).map (algebraMap ℝ ℂ) := by rw [← RingHom.mapMatrix_apply, ← RingHom.mapMatrix_apply, map_pow] have h2 : ((cycleMatrix p w).map (algebraMap ℝ ℂ)) ^ p = algebraMap ℂ (Matrix (ZMod p) (ZMod p) ℂ) ((∏ i, w i : ℝ) : ℂ) := by rw [h3, cycleMatrix_pow_self, Algebra.algebraMap_eq_smul_one] ext i j by_cases h : i = j <;> simp [h] rw [h2, spectrum.scalar_eq] at h1 exact h1
/-- "so the spectral radius of this block is `(∏ d_i)^{-1/p}`" (lines 888-890): every complexeigenvalue `μ` of the cycle matrix with weights `w_i = 1 / d_i` has `|μ|^p = ∏ w_i`. -/theorem cycleMatrix_eigenvalue_norm_pow (p : ℕ) [NeZero p] (w : ZMod p → ℝ) (hw : ∀ i, 0 ≤ w i) (μ : ℂ) (hμ : μ ∈ spectrum ℂ ((cycleMatrix p w).map (algebraMap ℝ ℂ))) : ‖μ‖ ^ p = ∏ i, w i := by rw [← norm_pow, cycleMatrix_eigenvalue_pow p w μ hμ, Complex.norm_real, Real.norm_of_nonneg (Finset.prod_nonneg fun i _ => hw i)]
end CycleBlock
/-! ## The multicurve, its lifts, and the Matrix lemma -/
section MatrixLemma
open Function
-- Each statement below lists only the hypotheses it uses. Some finiteness instances of the-- section are not needed in every lemma.set_option linter.unusedSectionVars false
variable {Λ A L : Type*} [Fintype Λ] [DecidableEq Λ] [Fintype A] [Fintype L] (src tgt : L → Λ) (deg : L → ℕ) (S : Λ → Finset A) (f : A → A)
/-- The matrix `M` of the Matrix lemma: "form `M_{αβ}` by summing reciprocal degrees ofcomponents of `f⁻¹(β)` in class `α`" (line 867). -/noncomputable def thurstonMatrix (src tgt : L → Λ) (deg : L → ℕ) : Matrix Λ Λ ℝ := Matrix.of fun α β => ∑ l ∈ univ.filter (fun l => src l = α ∧ tgt l = β), (1 : ℝ) / deg l
/-- A Levy cycle among the classes of the multicurve: pairwise distinct classes`δ_0, …, δ_{p-1}` and lifts `ℓ_0, …, ℓ_{p-1}` of degree one, where `ℓ_a` is a component of`f⁻¹(δ_a)` in the class `δ_{a+1}`, indices modulo `p` (Section 1, lines 107-111, with theclasses numbered in the opposite direction). -/def HasLevyCycle (src tgt : L → Λ) (deg : L → ℕ) : Prop := ∃ (p : ℕ) (δ : ℕ → Λ) (ℓ : ℕ → L), 0 < p ∧ (∀ a < p, ∀ b < p, δ a = δ b → a = b) ∧ ∀ a < p, tgt (ℓ a) = δ a ∧ src (ℓ a) = δ ((a + 1) % p) ∧ deg (ℓ a) = 1
theorem thurstonMatrix_nonneg (α β : Λ) : 0 ≤ thurstonMatrix src tgt deg α β := by unfold thurstonMatrix rw [Matrix.of_apply] exact Finset.sum_nonneg fun l _ => by positivity
/-- A weighted column sum of `M` is a sum over the lifts of `β`. -/theorem sum_mul_thurstonMatrix (u : Λ → ℝ) (β : Λ) : ∑ α, u α * thurstonMatrix src tgt deg α β = ∑ l ∈ univ.filter (fun l => tgt l = β), u (src l) * (1 / deg l) := by simp only [thurstonMatrix, Matrix.of_apply, Finset.mul_sum, Finset.sum_filter] rw [Finset.sum_comm] refine Finset.sum_congr rfl fun l _ => ?_ by_cases h : tgt l = β · simp [h] · simp [h]
/-- Two distinct lifts of the same curve are in different classes: their disks are disjoint, andthe disks of two lifts in one class contain the same labels. -/theorem src_ne_of_ne (hS : ∀ α, (S α).Nonempty) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) {l l' : L} (hne : l ≠ l') (ht : tgt l = tgt l') : src l ≠ src l' := by intro h have hd := hdisj l l' hne ht rw [h] at hd obtain ⟨a, ha⟩ := hS (src l') exact Finset.disjoint_left.1 hd ha ha
/-- So each entry of `M` is a sum with at most one term: it is zero or one reciprocal degree. -/theorem card_lifts_le_one (hS : ∀ α, (S α).Nonempty) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) (α β : Λ) : (univ.filter (fun l => src l = α ∧ tgt l = β)).card ≤ 1 := by refine Finset.card_le_one.2 fun l hl l' hl' => ?_ simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hl hl' by_contra hne exact src_ne_of_ne src tgt S hS hdisj hne (hl.2.trans hl'.2.symm) (hl.1.trans hl'.1.symm)
open Classical in/-- `P_α`: "the periodic labels among them" (line 875). -/noncomputable def perLabels (S : Λ → Finset A) (f : A → A) (α : Λ) : Finset A := (S α).filter fun a => a ∈ periodicPts f
theorem mem_perLabels {α : Λ} {a : A} : a ∈ perLabels S f α ↔ a ∈ S α ∧ a ∈ periodicPts f := by simp [perLabels]
/-- "Thus along internal arrows the cardinality of `P_α` cannot decrease" (line 880). Here thisholds along every arrow: `f` maps `P_α` into `P_β`, and `f` is injective on periodic labels. -/theorem perLabels_card_le (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (l : L) : (perLabels S f (src l)).card ≤ (perLabels S f (tgt l)).card := by refine Finset.card_le_card_of_injOn f ?_ ?_ · intro a ha have ha' := (mem_perLabels S f).1 ha exact (mem_perLabels S f).2 ⟨hmap l a ha'.1, (bijOn_periodicPts f).mapsTo ha'.2⟩ · intro a ha b hb hab exact (bijOn_periodicPts f).injOn ((mem_perLabels S f).1 ha).2 ((mem_perLabels S f).1 hb).2 hab
/-- "In particular `f(P_α) = P_β` along each internal arrow" (line 881): when the two sets havethe same number of elements. -/theorem image_perLabels_eq [DecidableEq A] (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (l : L) (hcard : (perLabels S f (src l)).card = (perLabels S f (tgt l)).card) : (perLabels S f (src l)).image f = perLabels S f (tgt l) := by refine Finset.eq_of_subset_of_card_le ?_ ?_ · intro b hb obtain ⟨a, ha, rfl⟩ := Finset.mem_image.1 hb have ha' := (mem_perLabels S f).1 ha exact (mem_perLabels S f).2 ⟨hmap l a ha'.1, (bijOn_periodicPts f).mapsTo ha'.2⟩ · rw [Finset.card_image_of_injOn, hcard] intro a ha b hb hab exact (bijOn_periodicPts f).injOn ((mem_perLabels S f).1 ha).2 ((mem_perLabels S f).1 hb).2 hab
/-- Every label is periodic after `|A|` steps. -/theorem iterate_card_mem_periodicPts (b : A) : f^[Fintype.card A] b ∈ periodicPts f := by obtain ⟨i, j, hij, heq⟩ := Fintype.exists_ne_map_eq_of_card_lt (fun a : Fin (Fintype.card A + 1) => f^[a] b) (by simp) wlog hlt : (i : ℕ) < j generalizing i j · have hne : (i : ℕ) ≠ j := fun h => hij (Fin.ext h) exact this j i hij.symm heq.symm (by omega) have heq' : f^[(i : ℕ)] b = f^[(j : ℕ)] b := heq have hper : IsPeriodicPt f ((j : ℕ) - i) (f^[(i : ℕ)] b) := by show f^[(j : ℕ) - i] (f^[(i : ℕ)] b) = f^[(i : ℕ)] b rw [← Function.iterate_add_apply, Nat.sub_add_cancel hlt.le, ← heq'] have hmem : f^[(i : ℕ)] b ∈ periodicPts f := mk_mem_periodicPts (by omega) hper have hi : (i : ℕ) ≤ Fintype.card A := by have := j.2; omega have hsplit : f^[Fintype.card A] b = f^[Fintype.card A - i] (f^[(i : ℕ)] b) := by rw [← Function.iterate_add_apply, Nat.sub_add_cancel hi] rw [hsplit] exact ((bijOn_periodicPts f).mapsTo.iterate _) hmem
/-- "If a cycle through `α` has length `p`, then `f^p(S_α) ⊂ S_α`. This nonempty finite setcontains a periodic label by iterating `f^p`" (lines 877-879). The proof of `matrix_lemma` doesnot use this statement; it uses `depth_le` in its place. -/theorem exists_periodic_of_iterate_mapsTo (T : Finset A) (hT : T.Nonempty) (p : ℕ) (hp : 0 < p) (h : ∀ a ∈ T, f^[p] a ∈ T) : ∃ a ∈ T, a ∈ periodicPts f := by obtain ⟨a, ha⟩ := hT have hiter : ∀ k, (f^[p])^[k] a ∈ T := by intro k induction k with | zero => exact ha | succ k ih => rw [Function.iterate_succ_apply']; exact h _ ih refine ⟨_, hiter (Fintype.card A), ?_⟩ obtain ⟨n, hn, hx⟩ := mem_periodicPts.1 (iterate_card_mem_periodicPts (f^[p]) a) refine mk_mem_periodicPts (Nat.mul_pos hp hn) ?_ show f^[p * n] _ = _ rw [Function.iterate_mul] exact hx
/-- `S α` contains a label of the form `f^j(b)`. -/def MeetsImage (S : Λ → Finset A) (f : A → A) (α : Λ) (j : ℕ) : Prop := ∃ a ∈ S α, ∃ b, f^[j] b = a
open Classical in/-- The largest `j ≤ |A|` such that `S α` contains a label of the form `f^j(b)`. It equals `|A|`exactly when `S α` contains a periodic label. -/noncomputable def depth (S : Λ → Finset A) (f : A → A) (α : Λ) : ℕ := Nat.findGreatest (MeetsImage S f α) (Fintype.card A)
/-- The potential: it does not decrease along an arrow (`potential_le`). -/noncomputable def potential (S : Λ → Finset A) (f : A → A) (α : Λ) : ℕ := depth S f α + (perLabels S f α).card
theorem meetsImage_depth (hS : ∀ α, (S α).Nonempty) (α : Λ) : MeetsImage S f α (depth S f α) := by classical unfold depth obtain ⟨a, ha⟩ := hS α exact Nat.findGreatest_spec (P := MeetsImage S f α) (Nat.zero_le _) ⟨a, ha, a, rfl⟩
theorem depth_le_card (α : Λ) : depth S f α ≤ Fintype.card A := by classical unfold depth exact Nat.findGreatest_le _
theorem le_depth {α : Λ} {j : ℕ} (hj : j ≤ Fintype.card A) (h : MeetsImage S f α j) : j ≤ depth S f α := by classical unfold depth exact Nat.le_findGreatest hj h
/-- Along an arrow the depth does not decrease. If it stays the same, the source class contains aperiodic label. -/theorem depth_le (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (l : L) : depth S f (src l) ≤ depth S f (tgt l) ∧ (depth S f (src l) = depth S f (tgt l) → (perLabels S f (src l)).Nonempty) := by have hspec := meetsImage_depth S f hS (src l) have hle := depth_le_card S f (src l) have hnext : MeetsImage S f (tgt l) (depth S f (src l) + 1) := by obtain ⟨a, ha, b, rfl⟩ := hspec exact ⟨f (f^[depth S f (src l)] b), hmap l _ ha, b, Function.iterate_succ_apply' f _ b⟩ rcases Nat.lt_or_ge (depth S f (src l)) (Fintype.card A) with hlt | hge · have h1 : depth S f (src l) + 1 ≤ depth S f (tgt l) := le_depth S f hlt hnext exact ⟨by omega, fun h => by omega⟩ · have hK : depth S f (src l) = Fintype.card A := le_antisymm hle hge have hprev : MeetsImage S f (tgt l) (depth S f (src l)) := by obtain ⟨a, ha, b, hb⟩ := hnext exact ⟨a, ha, f b, by rw [← hb, Function.iterate_succ_apply]⟩ refine ⟨le_depth S f hle hprev, fun _ => ?_⟩ rw [hK] at hspec obtain ⟨a, ha, b, rfl⟩ := hspec exact ⟨_, (mem_perLabels S f).2 ⟨ha, iterate_card_mem_periodicPts f b⟩⟩
theorem potential_le (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (l : L) : potential S f (src l) ≤ potential S f (tgt l) := by have h1 := (depth_le src tgt S f hS hmap l).1 have h2 := perLabels_card_le src tgt S f hmap l unfold potential omega
/-- A lift that keeps the potential: `P_α` is not empty and `f(P_α) = P_β`. In the paper theseare the internal arrows of a recurrent component (lines 877-881). -/theorem level_facts [DecidableEq A] (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (l : L) (hl : potential S f (src l) = potential S f (tgt l)) : (perLabels S f (src l)).Nonempty ∧ (perLabels S f (src l)).image f = perLabels S f (tgt l) := by have h1 := depth_le src tgt S f hS hmap l have h2 := perLabels_card_le src tgt S f hmap l unfold potential at hl exact ⟨h1.2 (by omega), image_perLabels_eq src tgt S f hmap l (by omega)⟩
/-- "For one fixed target representative `β`, every internal predecessor disk must contain theentire set `(f|𝒫)⁻¹(P_β)` […]. Disjointness therefore allows just one, even counting multiplelifts in the same class" (lines 882-885). -/theorem level_lift_unique (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) (l l' : L) (hl : potential S f (src l) = potential S f (tgt l)) (hl' : potential S f (src l') = potential S f (tgt l')) (ht : tgt l = tgt l') : l = l' := by classical by_contra hne obtain ⟨⟨a, ha⟩, him⟩ := level_facts src tgt S f hS hmap l hl obtain ⟨-, him'⟩ := level_facts src tgt S f hS hmap l' hl' have hfa : f a ∈ perLabels S f (tgt l') := by rw [← ht, ← him]; exact Finset.mem_image_of_mem f ha rw [← him'] at hfa obtain ⟨a', ha', haa'⟩ := Finset.mem_image.1 hfa have heq : a' = a := (bijOn_periodicPts f).injOn ((mem_perLabels S f).1 ha').2 ((mem_perLabels S f).1 ha).2 haa' subst heq exact Finset.disjoint_left.1 (hdisj l l' hne ht) ((mem_perLabels S f).1 ha).1 ((mem_perLabels S f).1 ha').1
/-- The lift over `β` that keeps the potential, as a map `lam` on classes with a weight `w`.Where there is no such lift, `w β = 0`. -/theorem exists_level_map (hdeg : ∀ l, 1 ≤ deg l) (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) : ∃ (lam : Λ → Λ) (w : Λ → ℝ), (∀ β, 0 ≤ w β) ∧ (∀ β, w β ≤ 1) ∧ (∀ l, potential S f (src l) = potential S f (tgt l) → src l = lam (tgt l) ∧ (1 : ℝ) / deg l = w (tgt l)) ∧ ∀ β, w β ≠ 0 → ∃ l, tgt l = β ∧ src l = lam β ∧ w β = 1 / deg l := by classical have hdeg1 : ∀ l, (1 : ℝ) / deg l ≤ 1 := fun l => by have h : (1 : ℝ) ≤ deg l := by exact_mod_cast hdeg l rw [div_le_one (by linarith)]; exact h refine ⟨fun β => if h : ∃ l, tgt l = β ∧ potential S f (src l) = potential S f β then src h.choose else β, fun β => if h : ∃ l, tgt l = β ∧ potential S f (src l) = potential S f β then 1 / (deg h.choose : ℝ) else 0, fun β => ?_, fun β => ?_, fun l hl => ?_, fun β hβ => ?_⟩ · dsimp only split_ifs · positivity · exact le_rfl · dsimp only split_ifs · exact hdeg1 _ · norm_num · have h : ∃ l', tgt l' = tgt l ∧ potential S f (src l') = potential S f (tgt l) := ⟨l, rfl, hl⟩ have hc : h.choose = l := by obtain ⟨h1, h2⟩ := h.choose_spec exact level_lift_unique src tgt S f hS hmap hdisj _ _ (by rw [h1]; exact h2) hl h1 dsimp only split_ifs rw [hc] exact ⟨rfl, rfl⟩ · dsimp only at hβ ⊢ split_ifs at hβ ⊢ with h · exact ⟨h.choose, h.choose_spec.1, rfl, rfl⟩ · exact absurd rfl hβ
/-- The key bound: without a Levy cycle there are a positive vector `u` and a number `θ < 1`with `u M ≤ θ u`. -/theorem exists_weighted_bound (hdeg : ∀ l, 1 ≤ deg l) (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) (hLevy : ¬ HasLevyCycle src tgt deg) : ∃ (u : Λ → ℝ) (θ : ℝ), (∀ α, 0 < u α) ∧ 0 ≤ θ ∧ θ < 1 ∧ ∀ β, ∑ α, u α * thurstonMatrix src tgt deg α β ≤ θ * u β := by obtain ⟨lam, w, hw0, hw1, hlevel, hwne⟩ := exists_level_map src tgt deg S f hdeg hS hmap hdisj -- A cycle of `lam` with all weights above `1/2` would be a Levy cycle. have hcyc : ∀ γ p, 0 < p → lam^[p] γ = γ → ∃ a < p, w (lam^[a] γ) ≤ 1 / 2 := by intro γ p hp hper by_contra hcon push Not at hcon have hlift : ∀ a, a < p → ∃ l, tgt l = lam^[a] γ ∧ src l = lam^[a + 1] γ ∧ deg l = 1 := by intro a ha have hwa := hcon a ha obtain ⟨l, hl1, hl2, hl3⟩ := hwne (lam^[a] γ) (by linarith) refine ⟨l, hl1, by rw [hl2, Function.iterate_succ_apply'], ?_⟩ rw [hl3] at hwa have hd : (1 : ℝ) ≤ deg l := by exact_mod_cast hdeg l have hd2 : (deg l : ℝ) < 2 := by rw [lt_div_iff₀ (by linarith)] at hwa; linarith have hd3 : deg l < 2 := by exact_mod_cast hd2 have := hdeg l omega obtain ⟨l₀, -⟩ := hlift 0 hp have hlift' : ∀ a, ∃ l, a < p → tgt l = lam^[a] γ ∧ src l = lam^[a + 1] γ ∧ deg l = 1 := by intro a by_cases ha : a < p · obtain ⟨l, hl⟩ := hlift a ha exact ⟨l, fun _ => hl⟩ · exact ⟨l₀, fun h => absurd h ha⟩ choose ℓ hℓ using hlift' have hperpt : IsPeriodicPt lam p γ := hper have hmin_pos : 0 < minimalPeriod lam γ := hperpt.minimalPeriod_pos hp have hmin_le : minimalPeriod lam γ ≤ p := hperpt.minimalPeriod_le hp refine hLevy ⟨minimalPeriod lam γ, fun a => lam^[a] γ, ℓ, hmin_pos, fun a ha b hb hab => ?_, fun a ha => ?_⟩ · exact iterate_injOn_Iio_minimalPeriod (Set.mem_Iio.2 ha) (Set.mem_Iio.2 hb) hab · obtain ⟨h1, h2, h3⟩ := hℓ a (by omega) exact ⟨h1, by rw [h2]; exact (iterate_mod_minimalPeriod_eq (f := lam) (x := γ)).symm, h3⟩ obtain ⟨θ, v, hθ0, hθ1, hv, hvw⟩ := exists_weight_of_no_unit_cycle lam w hw0 hw1 hcyc have hdeg1 : ∀ l, (1 : ℝ) / deg l ≤ 1 := fun l => by have h : (1 : ℝ) ≤ deg l := by exact_mod_cast hdeg l rw [div_le_one (by linarith)]; exact h obtain ⟨u, hu, hbound⟩ := exists_weighted_bound_of_levels src tgt (fun l => (1 : ℝ) / deg l) hdeg1 (potential S f) (potential_le src tgt S f hS hmap) lam w hw0 hlevel (level_lift_unique src tgt S f hS hmap hdisj) θ hθ1 v hv hvw refine ⟨u, (1 + θ) / 2, hu, by linarith, by linarith, fun β => ?_⟩ rw [sum_mul_thurstonMatrix] exact hbound β
/-- **Matrix lemma** (lines 867-868): "For a finite multicurve `Λ`, form `M_{αβ}` by summingreciprocal degrees of components of `f⁻¹(β)` in class `α`. If `f` has no Levy cycle, then`ρ(M) < 1`." The header of this file says how the hypotheses match the paper. -/theorem matrix_lemma (hdeg : ∀ l, 1 ≤ deg l) (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) (hLevy : ¬ HasLevyCycle src tgt deg) : spectralRadius ℂ ((thurstonMatrix src tgt deg).map (algebraMap ℝ ℂ)) < 1 := by obtain ⟨u, θ, hu, -, hθ1, hθ⟩ := exists_weighted_bound src tgt deg S f hdeg hS hmap hdisj hLevy exact spectralRadius_lt_one_of_weighted_bound _ (thurstonMatrix_nonneg src tgt deg) u hu θ hθ1 hθ
/-- The Matrix lemma for single eigenvalues: every complex eigenvalue of `M` has modulus belowone. -/theorem matrix_lemma_eigenvalue (hdeg : ∀ l, 1 ≤ deg l) (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) (hLevy : ¬ HasLevyCycle src tgt deg) (μ : ℂ) (hμ : μ ∈ spectrum ℂ ((thurstonMatrix src tgt deg).map (algebraMap ℝ ℂ))) : ‖μ‖ < 1 := by obtain ⟨u, θ, hu, -, hθ1, hθ⟩ := exists_weighted_bound src tgt deg S f hdeg hS hmap hdisj hLevy exact lt_of_le_of_lt (norm_le_of_mem_spectrum_of_weighted_bound _ (thurstonMatrix_nonneg src tgt deg) u hu θ hθ μ hμ) hθ1
/-- The form in which the Matrix lemma is used (Figure 1, `(M_Λ^k)_{γγ} → 0`): every entry of`M^k` tends to zero as `k → ∞`. -/theorem matrix_lemma_tendsto (hdeg : ∀ l, 1 ≤ deg l) (hS : ∀ α, (S α).Nonempty) (hmap : ∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) (hdisj : ∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) (hLevy : ¬ HasLevyCycle src tgt deg) (α β : Λ) : Filter.Tendsto (fun k : ℕ => (thurstonMatrix src tgt deg ^ k) α β) Filter.atTop (nhds 0) := by obtain ⟨u, θ, hu, hθ0, hθ1, hθ⟩ := exists_weighted_bound src tgt deg S f hdeg hS hmap hdisj hLevy exact tendsto_pow_apply_zero_of_weighted_bound _ (thurstonMatrix_nonneg src tgt deg) u hu θ hθ0 hθ1 hθ α β
/-- The hypotheses of `matrix_lemma` can hold together: the paper's example `z² - 1` (lines853-855). The labels `0, 1, 2` stand for the marks `-1, 0, a`; the map exchanges `-1` and `0`and fixes `a`. There is one curve, with `-1` and `0` on its bounded side, and one lift, ofdegree two. The matrix is `[1/2]`. -/example : ∃ (src tgt : Unit → Unit) (deg : Unit → ℕ) (S : Unit → Finset (Fin 3)) (f : Fin 3 → Fin 3), (∀ l, 1 ≤ deg l) ∧ (∀ α, (S α).Nonempty) ∧ (∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) ∧ (∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) ∧ ¬ HasLevyCycle src tgt deg ∧ thurstonMatrix src tgt deg () () = 1 / 2 := by refine ⟨id, id, fun _ => 2, fun _ => {0, 1}, ![1, 0, 2], fun _ => by norm_num, fun _ => ⟨0, by simp⟩, by decide, fun l l' h => absurd (Subsingleton.elim l l') h, ?_, ?_⟩ · rintro ⟨p, δ, ℓ, hp, -, h⟩ have h1 := (h 0 hp).2.2 norm_num at h1 · simp [thurstonMatrix]
/-- The hypothesis `hLevy` of `matrix_lemma` cannot be dropped. In the same model with a lift ofdegree one, the other hypotheses hold and the matrix is `[1]`, with spectral radius one. -/example : ∃ (src tgt : Unit → Unit) (deg : Unit → ℕ) (S : Unit → Finset (Fin 3)) (f : Fin 3 → Fin 3), (∀ l, 1 ≤ deg l) ∧ (∀ α, (S α).Nonempty) ∧ (∀ l, ∀ a ∈ S (src l), f a ∈ S (tgt l)) ∧ (∀ l l', l ≠ l' → tgt l = tgt l' → Disjoint (S (src l)) (S (src l'))) ∧ thurstonMatrix src tgt deg () () = 1 := by refine ⟨id, id, fun _ => 1, fun _ => {0, 1}, ![1, 0, 2], fun _ => le_rfl, fun _ => ⟨0, by simp⟩, by decide, fun l l' h => absurd (Subsingleton.elim l l') h, ?_⟩ simp [thurstonMatrix]
end MatrixLemma
end Thurston.Conditional123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171import Mathlib
/-!# Two general facts used in the proof of Lemma 2.1
Neither mentions Teichmüller theory. Both are proved from Mathlib alone.-/
open Filter Topology
namespace Thurston
/-- Selection of a subsequence along which countably many sequences of sets converge.All sets `A i k` lie in one compact set. Along `ψ`, for every `k`, a point that is a limit ofpoints of the sets `A (ψ (θ m)) k` along a further subsequence `θ` is already a limit of points ofthe sets `A (ψ m) k` along `ψ` itself.
This replaces the paper's "compactness of the Hausdorff space of nonempty compact subsets and adiagonal extraction". -/theorem exists_kuratowski_subseq {X : Type*} [MetricSpace X] {ℬ : Set X} (hℬ : IsCompact ℬ) (A : ℕ → ℕ → Set X) (hA : ∀ i k, A i k ⊆ ℬ) : ∃ ψ : ℕ → ℕ, StrictMono ψ ∧ ∀ (k : ℕ) (U : X) (θ : ℕ → ℕ) (V : ℕ → X), StrictMono θ → (∀ m, V m ∈ A (ψ (θ m)) k) → Tendsto V atTop (𝓝 U) → ∃ W : ℕ → X, (∀ᶠ m in atTop, W m ∈ A (ψ m) k) ∧ Tendsto W atTop (𝓝 U) := by classical -- A countable set `D` whose closure contains `ℬ`. obtain ⟨D, hDc, hD⟩ := hℬ.isSeparable have : Countable ↥D := hDc.to_subtype -- For each ball `B(d, 1/(n+1))` with `d ∈ D`, and each `k`: does `A i k` meet the ball? let f : ℕ → (↥D × ℕ × ℕ → Bool) := fun i j => decide (∃ a ∈ A i j.2.2, dist a (j.1 : X) < 1 / ((j.2.1 : ℝ) + 1)) -- Along a subsequence `ψ` every one of these yes/no sequences is eventually constant. obtain ⟨g, ψ, hψ, hlim⟩ := CompactSpace.tendsto_subseq f have hconst : ∀ j, ∀ᶠ m in atTop, f (ψ m) j = g j := by intro j have hj : Tendsto (fun m => f (ψ m) j) atTop (𝓝 (g j)) := tendsto_pi_nhds.1 hlim j exact hj.eventually ((isOpen_discrete ({g j} : Set Bool)).mem_nhds rfl) refine ⟨ψ, hψ, fun k U θ V hθ hV hlimV => ?_⟩ have hUℬ : U ∈ ℬ := hℬ.isClosed.mem_of_tendsto hlimV (Eventually.of_forall fun m => hA _ _ (hV m)) -- Key claim: along `ψ` itself the sets `A (ψ m) k` come arbitrarily close to `U`. have hclaim : ∀ ε > 0, ∀ᶠ m in atTop, ∃ a ∈ A (ψ m) k, dist a U < ε := by intro ε hε obtain ⟨n, hn⟩ := exists_nat_one_div_lt (half_pos hε) have hrpos : (0 : ℝ) < 1 / ((n : ℝ) + 1) := by positivity obtain ⟨d, hdD, hd⟩ := Metric.mem_closure_iff.1 (hD hUℬ) (1 / ((n : ℝ) + 1) / 2) (half_pos hrpos) have hV' : ∀ᶠ m in atTop, f (ψ (θ m)) (⟨d, hdD⟩, n, k) = true := by have hnear : ∀ᶠ m in atTop, dist (V m) U < 1 / ((n : ℝ) + 1) / 2 := (Metric.tendsto_nhds.1 hlimV) _ (half_pos hrpos) filter_upwards [hnear] with m hm simp only [f, decide_eq_true_eq] refine ⟨V m, hV m, ?_⟩ calc dist (V m) d ≤ dist (V m) U + dist U d := dist_triangle _ _ _ _ < 1 / ((n : ℝ) + 1) / 2 + 1 / ((n : ℝ) + 1) / 2 := add_lt_add hm hd _ = 1 / ((n : ℝ) + 1) := add_halves _ have hg : g (⟨d, hdD⟩, n, k) = true := by obtain ⟨m, hm1, hm2⟩ := ((hθ.tendsto_atTop.eventually (hconst (⟨d, hdD⟩, n, k))).and hV').exists rw [← hm1, hm2] filter_upwards [hconst (⟨d, hdD⟩, n, k)] with m hm rw [hg] at hm simp only [f, decide_eq_true_eq] at hm obtain ⟨a, ha, had⟩ := hm refine ⟨a, ha, ?_⟩ have hdU : dist d U < 1 / ((n : ℝ) + 1) / 2 := by rw [dist_comm]; exact hd calc dist a U ≤ dist a d + dist d U := dist_triangle _ _ _ _ < 1 / ((n : ℝ) + 1) + 1 / ((n : ℝ) + 1) / 2 := add_lt_add had hdU _ < ε := by linarith -- Choose points of `A (ψ m) k` that nearly realise the distance to `U`. have hex : ∀ m : ℕ, ∃ w : X, (A (ψ m) k).Nonempty → w ∈ A (ψ m) k ∧ dist U w < Metric.infDist U (A (ψ m) k) + 1 / ((m : ℝ) + 1) := by intro m by_cases hne : (A (ψ m) k).Nonempty · have hpos : (0 : ℝ) < 1 / ((m : ℝ) + 1) := by positivity obtain ⟨w, hw, hdw⟩ := (Metric.infDist_lt_iff hne).1 (lt_add_of_pos_right (Metric.infDist U (A (ψ m) k)) hpos) exact ⟨w, fun _ => ⟨hw, hdw⟩⟩ · exact ⟨U, fun h => absurd h hne⟩ choose W hW using hex have hne : ∀ᶠ m in atTop, (A (ψ m) k).Nonempty := (hclaim 1 one_pos).mono fun m ⟨a, ha, _⟩ => ⟨a, ha⟩ refine ⟨W, hne.mono fun m hm => (hW m hm).1, ?_⟩ rw [Metric.tendsto_atTop] intro ε hε have h1 : ∀ᶠ m : ℕ in atTop, 1 / ((m : ℝ) + 1) < ε / 2 := tendsto_one_div_add_atTop_nhds_zero_nat.eventually (gt_mem_nhds (half_pos hε)) obtain ⟨N, hN⟩ := eventually_atTop.1 ((hclaim (ε / 2) (half_pos hε)).and h1) refine ⟨N, fun m hm => ?_⟩ obtain ⟨⟨a, ha, hda⟩, hm1⟩ := hN m hm have hinf : Metric.infDist U (A (ψ m) k) ≤ dist U a := Metric.infDist_le_dist_of_mem ha have hWm := (hW m ⟨a, ha⟩).2 rw [dist_comm] at hda rw [dist_comm] linarith
/-- Finitely many linearly independent real functions on a set `ι`: the coefficients of a linearcombination are bounded by the values of the combination at finitely many test points.
This replaces the paper's invertible matrix `J = (i(F_ℓ, β_j))`. -/theorem exists_finset_coeff_bound {ι : Type*} {b : ℕ} (v : Fin b → ι → ℝ) (hv : LinearIndependent ℝ v) : ∃ (S : Finset ι) (A : ℝ), 0 ≤ A ∧ ∀ (c : Fin b → ℝ) (ℓ : Fin b), |c ℓ| ≤ A * ∑ α ∈ S, |∑ j, c j * v j α| := by classical -- The row of values at the point `α`. let r : ι → (Fin b → ℝ) := fun α j => v j α -- The rows span `ℝ^b`. A functional that vanishes on every row is a linear relation among -- the `v j`, so it is zero. have hspan : Submodule.span ℝ (Set.range r) = ⊤ := by by_contra hne obtain ⟨f, hf0, hf⟩ := Submodule.exists_le_ker_of_lt_top _ (lt_top_iff_ne_top.2 hne) have hrow : ∀ α, f (r α) = 0 := fun α => LinearMap.mem_ker.1 (hf (Submodule.subset_span ⟨α, rfl⟩)) have hfx : ∀ x : Fin b → ℝ, f x = ∑ j, x j * f (Pi.single j 1) := by intro x conv_lhs => rw [← Finset.univ_sum_single x] rw [map_sum] refine Finset.sum_congr rfl fun j _ => ?_ have hsingle : (Pi.single j (x j) : Fin b → ℝ) = x j • Pi.single j 1 := by ext i; simp [Pi.single_apply] rw [hsingle, map_smul, smul_eq_mul] have hcomb : ∑ j, f (Pi.single j 1) • v j = 0 := by funext α have h := hrow α rw [hfx] at h simp only [Finset.sum_apply, Pi.smul_apply, smul_eq_mul, Pi.zero_apply] rw [← h] exact Finset.sum_congr rfl fun j _ => mul_comm _ _ have hzero : ∀ j, f (Pi.single j 1) = 0 := Fintype.linearIndependent_iff.1 hv _ hcomb exact hf0 (LinearMap.ext fun x => by rw [hfx]; simp [hzero]) -- Each basis vector is a finite combination of rows. have hw : ∀ ℓ : Fin b, ∃ w : ι →₀ ℝ, (w.sum fun α a => a • r α) = Pi.single ℓ 1 := by intro ℓ have hmem : (Pi.single ℓ 1 : Fin b → ℝ) ∈ Submodule.span ℝ (Set.range r) := by rw [hspan]; exact Submodule.mem_top exact Finsupp.mem_span_range_iff_exists_finsupp.1 hmem choose w hw using hw -- The test points are the points used by these combinations. refine ⟨Finset.univ.biUnion fun ℓ => (w ℓ).support, ∑ ℓ, ∑ α ∈ Finset.univ.biUnion fun ℓ' => (w ℓ').support, |w ℓ α|, Finset.sum_nonneg fun ℓ _ => Finset.sum_nonneg fun α _ => abs_nonneg _, ?_⟩ intro c ℓ set S := Finset.univ.biUnion fun ℓ' => (w ℓ').support with hS have hsub : (w ℓ).support ⊆ S := Finset.subset_biUnion_of_mem (fun ℓ' => (w ℓ').support) (Finset.mem_univ ℓ) have h1 : ∀ j : Fin b, ∑ α ∈ S, w ℓ α * v j α = (Pi.single ℓ 1 : Fin b → ℝ) j := by intro j rw [← hw ℓ, Finsupp.sum, Finset.sum_apply] simp only [Pi.smul_apply, smul_eq_mul, r] exact (Finset.sum_subset hsub fun α _ hα => by simp [Finsupp.notMem_support_iff.1 hα]).symm have hrepr : c ℓ = ∑ α ∈ S, w ℓ α * ∑ j, c j * v j α := by calc c ℓ = ∑ j, c j * (Pi.single ℓ 1 : Fin b → ℝ) j := by simp [Pi.single_apply] _ = ∑ j, c j * ∑ α ∈ S, w ℓ α * v j α := by simp only [h1] _ = ∑ α ∈ S, w ℓ α * ∑ j, c j * v j α := by simp only [Finset.mul_sum] rw [Finset.sum_comm] exact Finset.sum_congr rfl fun α _ => Finset.sum_congr rfl fun j _ => by ring calc |c ℓ| = |∑ α ∈ S, w ℓ α * ∑ j, c j * v j α| := congrArg _ hrepr _ ≤ ∑ α ∈ S, |w ℓ α * ∑ j, c j * v j α| := Finset.abs_sum_le_sum_abs _ _ _ = ∑ α ∈ S, |w ℓ α| * |∑ j, c j * v j α| := by simp only [abs_mul] _ ≤ ∑ α ∈ S, (∑ ℓ', ∑ β ∈ S, |w ℓ' β|) * |∑ j, c j * v j α| := by refine Finset.sum_le_sum fun α hα => mul_le_mul_of_nonneg_right ?_ (abs_nonneg _) calc |w ℓ α| ≤ ∑ β ∈ S, |w ℓ β| := Finset.single_le_sum (f := fun β => |w ℓ β|) (fun β _ => abs_nonneg _) hα _ ≤ ∑ ℓ', ∑ β ∈ S, |w ℓ' β| := Finset.single_le_sum (f := fun ℓ' => ∑ β ∈ S, |w ℓ' β|) (fun ℓ' _ => Finset.sum_nonneg fun β _ => abs_nonneg _) (Finset.mem_univ ℓ) _ = (∑ ℓ', ∑ β ∈ S, |w ℓ' β|) * ∑ α ∈ S, |∑ j, c j * v j α| := (Finset.mul_sum _ _ _).symm
end Thurston1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768import Mathlib
/-!# Step 1 of Lemma 2.1, proved against an interface
In the paper, `T` is Teichmüller space and `σ` is the Thurston pullback. Lean has no Teichmüllerspace, so this file does not mention it. It lists the only two facts the argument uses:
* `T` is a proper metric space (closed bounded sets are compact);* `σ` strictly decreases the distance between any two different points.
The theorem then holds for every space and map with these properties. Whether Teichmüller spaceand the pullback have them is a separate claim, which the paper cites from the literature.-/
namespace Thurston
/-- A strictly distance-decreasing self-map of a proper metric space that has one bounded orbithas a fixed point. -/theorem exists_fixed_point_of_bounded_orbit {T : Type*} [MetricSpace T] [ProperSpace T] (σ : T → T) (hσ : ∀ x y, x ≠ y → dist (σ x) (σ y) < dist x y) (o : T) (hbounded : Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] o)) : ∃ y, σ y = y := by -- `σ` does not expand distances, so it is continuous. have hle : ∀ x y, dist (σ x) (σ y) ≤ dist x y := by intro x y by_cases h : x = y · subst h; simp · exact (hσ x y h).le have hcont : Continuous σ := (LipschitzWith.of_dist_le_mul (K := 1) (by simpa using hle)).continuous -- The closure of the orbit is compact, and `σ` maps it into itself. have hcompact : IsCompact (closure (Set.range fun n : ℕ => σ^[n] o)) := Metric.isCompact_of_isClosed_isBounded isClosed_closure hbounded.closure have hne : (closure (Set.range fun n : ℕ => σ^[n] o)).Nonempty := ⟨o, subset_closure ⟨0, rfl⟩⟩ have hmapsS : Set.MapsTo σ (Set.range fun n : ℕ => σ^[n] o) (Set.range fun n : ℕ => σ^[n] o) := by rintro _ ⟨n, rfl⟩ exact ⟨n + 1, Function.iterate_succ_apply' σ n o⟩ have hmaps := hmapsS.closure hcont -- The displacement `x ↦ dist x (σ x)` attains its minimum on that compact set, at `y`. have hf : Continuous fun x => dist x (σ x) := continuous_id.dist hcont obtain ⟨y, hy, hmin⟩ := hcompact.exists_isMinOn hne hf.continuousOn refine ⟨y, ?_⟩ -- If `y` moved, `σ y` would have a smaller displacement, against minimality. by_contra hmoved have hlt : dist (σ y) (σ (σ y)) < dist y (σ y) := hσ y (σ y) (Ne.symm hmoved) have hge : dist y (σ y) ≤ dist (σ y) (σ (σ y)) := hmin (hmaps hy) exact absurd hlt (not_lt.mpr hge)
/-- Sanity check: the assumptions can hold. On the real line, halving satisfies them, and thetheorem returns its fixed point. An interface whose assumptions contradict each other wouldprove anything, so each interface should come with a model like this one. -/example : ∃ y : ℝ, y / 2 = y := exists_fixed_point_of_bounded_orbit (fun x : ℝ => x / 2) (fun x y hxy => by have h : dist (x / 2) (y / 2) = dist x y / 2 := by rw [Real.dist_eq, Real.dist_eq, ← sub_div, abs_div]; norm_num rw [h]; linarith [dist_pos.mpr hxy]) 0 ((Set.finite_singleton (0 : ℝ)).isBounded.subset (by rintro _ ⟨n, rfl⟩ simp [Function.iterate_fixed (f := fun x : ℝ => x / 2) (x := 0) (by norm_num) n]))
end Thurston
#print axioms Thurston.exists_fixed_point_of_bounded_orbit12345678910111213141516171819202122232425262728import Thurston.Conditional.WolffDenjoy.Interface.Section2
/-!# Lemma 2.1, as a statement against the Section 2 interface
This file states the lemma. The proof is in `Thurston/Lemma21/Proof.lean`.
`T` is assumed nonempty. Without that the statement is false: for an empty `T` every hypothesisholds, and the conclusion still asks for a nonzero foliation.-/
namespace Thurston
open MeasuredFoliations ExtremalLength
variable (T MF : Type*) [MetricSpace T] [ProperSpace T] [Nonempty T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- Lemma 2.1. If the pullback `σ` strictly contracts distances and has no fixed point, there area nonzero measured foliation `G` and a constant `C` with `Ext_{σ^k x} G ≤ C · Ext_x G` for everymarked structure `x` and every `k ≥ 0`. -/def Lemma21 : Prop := ∀ σ : T → T, (∀ x y, x ≠ y → dist (σ x) (σ y) < dist x y) → (∀ x, σ x ≠ x) → ∃ G : MF, G ≠ 0 ∧ ∃ C : ℝ, ∀ (x : T) (k : ℕ), ext (σ^[k] x) G ≤ C * ext x G
end Thurston123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239/-A concrete model of the Section 2 interface, proved by DeepSeek-V4.1-Flash through the harness(run sanity1-model-02, 2026-11-13) and rechecked locally.
Why it is here: `lemma_2_1` is proved from the assumptions in `Thurston/Interface/Section2.lean`.If those assumptions contradicted each other, that proof would say nothing. This file gives oneexample in which all of them hold, with `T` nonempty, so they are consistent.
What it does not show: the model is small (`T` is one point), so the map `σ` always has a fixedpoint there and Lemma 2.1 is vacuous in it. It rules out a contradiction among the assumptions.It does not show that they describe the real Teichmüller space.-/import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2open Filter Topology
namespace Thurston
/-! A model of the Section 2 interface. It shows that the assumptions of the two classes do notcontradict each other when `T` is nonempty.
`T` is a single point. `MF` is the plane `ℝ × ℝ` with its usual scalar multiplication,`i(U, V) = |U.1 * V.2 - U.2 * V.1|` and `Ext U = U.1 ^ 2 + U.2 ^ 2`. Every element counts as asimple class. Keep the names `sanityMF` and `sanityExt` and these definitions; replace each`sorry`. You may add lemmas before the instances. -/
/-- If two vectors have zero intersection number and the first is nonzero, the second is amultiple of the first. -/lemma prop_of_inter_zero (U V : ℝ × ℝ) (hU : U ≠ 0) (h : |U.1 * V.2 - U.2 * V.1| = 0) : ∃ t : ℝ, V = t • U := by rw [abs_eq_zero] at h by_cases h1 : U.1 = 0 · have h2 : U.2 ≠ 0 := by intro hh; exact hU (Prod.ext h1 hh) have hv1 : V.1 = 0 := by have hh : U.2 * V.1 = 0 := by have := h; rw [h1] at this; linarith exact (mul_eq_zero.mp hh).resolve_left h2 refine ⟨V.2 / U.2, ?_⟩ ext · simp only [Prod.smul_fst, smul_eq_mul, hv1, h1, mul_zero] · simp only [Prod.smul_snd, smul_eq_mul] rw [div_mul_cancel₀ _ h2] · refine ⟨V.1 / U.1, ?_⟩ ext · simp only [Prod.smul_fst, smul_eq_mul] rw [div_mul_cancel₀ _ h1] · have hh : U.1 * V.2 = U.2 * V.1 := by linarith [h] simp only [Prod.smul_snd, smul_eq_mul] rw [div_mul_eq_mul_div, eq_div_iff h1] linarith [hh]
/-- The intersection number of a multiple of `W` with `V` is `|t|` times that of `W` with `V`. -/lemma inter_smul_abs (t : ℝ) (W V : ℝ × ℝ) : |(t • W).1 * V.2 - (t • W).2 * V.1| = |t| * |W.1 * V.2 - W.2 * V.1| := by simp only [Prod.smul_fst, Prod.smul_snd, smul_eq_mul] rw [show t * W.1 * V.2 - t * W.2 * V.1 = t * (W.1 * V.2 - W.2 * V.1) by ring, abs_mul]
/-- `(x ^ 2 + y ^ 2 = 0) ↔ (x, y) = 0`. -/lemma sq_add_sq_eq_zero_iff (V : ℝ × ℝ) : V.1 ^ 2 + V.2 ^ 2 = 0 ↔ V = 0 := by constructor · intro h have h1 : V.1 = 0 := by nlinarith [sq_nonneg V.1, sq_nonneg V.2] have h2 : V.2 = 0 := by nlinarith [sq_nonneg V.1, sq_nonneg V.2] exact Prod.ext h1 h2 · intro h; rw [h]; norm_num
/-- A vector is nonzero iff its squared norm is positive. -/lemma ne_zero_iff_sq_pos (V : ℝ × ℝ) : V ≠ 0 ↔ 0 < V.1 ^ 2 + V.2 ^ 2 := by constructor · intro hV rcases eq_or_ne V.1 0 with h1 | h1 · have h2 : V.2 ≠ 0 := by intro h2; exact hV (Prod.ext h1 h2) nlinarith [sq_nonneg V.1, sq_pos_of_ne_zero h2] · nlinarith [sq_pos_of_ne_zero h1, sq_nonneg V.2] · intro h hV; rw [hV] at h; norm_num at h
/-- Lagrange's identity gives the Cauchy–Schwarz inequality for the determinant pairing. -/lemma abs_cross_le (U V : ℝ × ℝ) : |U.1 * V.2 - U.2 * V.1| ≤ Real.sqrt (U.1 ^ 2 + U.2 ^ 2) * Real.sqrt (V.1 ^ 2 + V.2 ^ 2) := by rw [show Real.sqrt (U.1 ^ 2 + U.2 ^ 2) * Real.sqrt (V.1 ^ 2 + V.2 ^ 2) = Real.sqrt ((U.1 ^ 2 + U.2 ^ 2) * (V.1 ^ 2 + V.2 ^ 2)) from (Real.sqrt_mul (by positivity) _).symm] rw [← Real.sqrt_sq_eq_abs] apply Real.sqrt_le_sqrt nlinarith [sq_nonneg (U.1 * V.2 - U.2 * V.1), sq_nonneg (U.1 * V.1 + U.2 * V.2)]
noncomputable instance sanityMF : MeasuredFoliations (ℝ × ℝ) where inter U V := |U.1 * V.2 - U.2 * V.1| simple := Set.univ one_smul := by intro U; simp mul_smul := by intro c d U _ _; simp [smul_smul] zero_smul := by intro U; simp smul_continuous := by fun_prop inter_nonneg := by intro U V; exact abs_nonneg _ inter_comm := by intro U V rw [show U.1 * V.2 - U.2 * V.1 = -(V.1 * U.2 - V.2 * U.1) by ring, abs_neg] inter_smul := by intro c U V hc simp only [Prod.smul_fst, Prod.smul_snd, smul_eq_mul] rw [show c * U.1 * V.2 - c * U.2 * V.1 = c * (U.1 * V.2 - U.2 * V.1) by ring, abs_mul, abs_of_nonneg hc] inter_continuous := by fun_prop simple_dense := by rw [show {V : ℝ × ℝ | ∃ c : ℝ, 0 ≤ c ∧ ∃ α ∈ (Set.univ : Set (ℝ × ℝ)), V = c • α} = Set.univ by ext V constructor · intro _; trivial · intro _ exact ⟨1, zero_le_one, V, trivial, by simp⟩] exact dense_univ sum_compatible := by intro m F h by_cases hzero : ∃ i, F i ≠ 0 · obtain ⟨i₀, hi₀⟩ := hzero have hmult : ∀ i, ∃ t : ℝ, F i = t • F i₀ := fun i => prop_of_inter_zero _ _ hi₀ (by have hh := h i i₀ rw [show (F i₀).1 * (F i).2 - (F i₀).2 * (F i).1 = -((F i).1 * (F i₀).2 - (F i).2 * (F i₀).1) by ring, abs_neg] exact hh) choose t ht using hmult refine ⟨(∑ j : Fin m, |t j|) • F i₀, ?_⟩ intro V have key : ∀ i, |(F i).1 * V.2 - (F i).2 * V.1| = |t i| * |(F i₀).1 * V.2 - (F i₀).2 * V.1| := by intro i; rw [ht i]; exact inter_smul_abs _ _ _ simp only [Prod.smul_fst, Prod.smul_snd, smul_eq_mul] at * rw [show (∑ j, |t j|) * (F i₀).1 * V.2 - (∑ j, |t j|) * (F i₀).2 * V.1 = (∑ j, |t j|) * ((F i₀).1 * V.2 - (F i₀).2 * V.1) by ring, abs_mul, abs_of_nonneg (Finset.sum_nonneg (fun _ _ => abs_nonneg _)), Finset.sum_mul] exact Finset.sum_congr rfl (fun i _ => (key i).symm) · push Not at hzero refine ⟨0, ?_⟩ intro V have hz : ∀ i, |(F i).1 * V.2 - (F i).2 * V.1| = 0 := by intro i; rw [hzero i]; simp simp only [hz, Finset.sum_const_zero] rw [show ((0 : ℝ × ℝ)).1 = 0 from rfl, show ((0 : ℝ × ℝ)).2 = 0 from rfl] simp finite_dim := by refine ⟨1, fun m F h hli => ?_⟩ classical set f : Fin m → (↥(Set.univ : Set (ℝ × ℝ)) → ℝ) := fun i α => |(F i).1 * (α : ℝ × ℝ).2 - (F i).2 * (α : ℝ × ℝ).1| have hfli : LinearIndependent ℝ f := hli have hdim : Module.finrank ℝ (Submodule.span ℝ (Set.range f)) = m := by rw [finrank_span_eq_card hfli] simp rcases Nat.eq_zero_or_pos m with hm | hm · omega · have hmem : ∀ i, f i ∈ Submodule.span ℝ {f ⟨0, hm⟩} := by intro i rcases eq_or_ne i ⟨0, hm⟩ with rfl | hne · exact Submodule.mem_span_singleton_self _ · have hzero : F ⟨0, hm⟩ ≠ 0 := by intro hc have : f ⟨0, hm⟩ = 0 := by funext α; simp [f, hc] exact hfli.ne_zero ⟨0, hm⟩ this obtain ⟨t, ht⟩ := prop_of_inter_zero _ _ hzero (by have hh := h i ⟨0, hm⟩ rw [show (F ⟨0, hm⟩).1 * (F i).2 - (F ⟨0, hm⟩).2 * (F i).1 = -((F i).1 * (F ⟨0, hm⟩).2 - (F i).2 * (F ⟨0, hm⟩).1) by ring, abs_neg] exact hh) rw [Submodule.mem_span_singleton] refine ⟨|t|, ?_⟩ funext α simp only [Pi.smul_apply, smul_eq_mul, f, ht] exact (inter_smul_abs t (F ⟨0, hm⟩) (α : ℝ × ℝ)).symm have hsub : Submodule.span ℝ (Set.range f) ≤ Submodule.span ℝ {f ⟨0, hm⟩} := by rw [Submodule.span_le] rintro x ⟨i, rfl⟩ exact hmem i calc m = Module.finrank ℝ (Submodule.span ℝ (Set.range f)) := hdim.symm _ ≤ Module.finrank ℝ (Submodule.span ℝ {f ⟨0, hm⟩}) := Submodule.finrank_mono hsub _ ≤ 1 := by rcases eq_or_ne (f ⟨0, hm⟩) 0 with h0 | h0 · have : ℝ ∙ (f ⟨0, hm⟩) = ⊥ := by rw [h0, Submodule.span_singleton_eq_bot] rw [this, finrank_bot]; norm_num · rw [finrank_span_singleton h0]
noncomputable instance sanityExt : ExtremalLength Unit (ℝ × ℝ) where ext _ U := U.1 ^ 2 + U.2 ^ 2 ext_nonneg := by intro x U; positivity ext_eq_zero := by intro x U; exact sq_add_sq_eq_zero_iff U ext_smul := by intro x c U _ simp only [Prod.smul_fst, Prod.smul_snd, smul_eq_mul] ring ext_continuous := by intro x; fun_prop unitBall_compact := by intro x have hsub : {U : ℝ × ℝ | U.1 ^ 2 + U.2 ^ 2 ≤ 1} ⊆ Metric.closedBall 0 1 := by intro U hU have hU' : U.1 ^ 2 + U.2 ^ 2 ≤ 1 := hU simp only [Metric.mem_closedBall, dist_zero_right, Prod.norm_def, Real.norm_eq_abs] rw [max_le_iff] constructor <;> nlinarith [sq_nonneg U.1, sq_nonneg U.2, abs_nonneg U.1, abs_nonneg U.2, sq_abs U.1, sq_abs U.2] exact (isCompact_closedBall (0 : ℝ × ℝ) 1).of_isClosed_subset (isClosed_le (by fun_prop) continuous_const) hsub minsky := by intro x U V rw [show MeasuredFoliations.inter U V = |U.1 * V.2 - U.2 * V.1| from rfl, sq_abs] nlinarith [sq_nonneg (U.1 * V.2 - U.2 * V.1), sq_nonneg (U.1 * V.1 + U.2 * V.2)] duality := by intro x U hU have hUpos : 0 < Real.sqrt (U.1 ^ 2 + U.2 ^ 2) := Real.sqrt_pos.mpr ((ne_zero_iff_sq_pos U).mp hU) constructor · rintro b ⟨V, hV, rfl⟩ have hVpos : 0 < Real.sqrt (V.1 ^ 2 + V.2 ^ 2) := Real.sqrt_pos.mpr ((ne_zero_iff_sq_pos V).mp hV) rw [div_le_iff₀ hVpos] exact abs_cross_le U V · intro b hb have hV0 : (⟨-U.2, U.1⟩ : ℝ × ℝ) ≠ 0 := by rw [ne_zero_iff_sq_pos] show 0 < (-U.2) ^ 2 + U.1 ^ 2 nlinarith [sq_nonneg U.1, sq_nonneg U.2, (ne_zero_iff_sq_pos U).mp hU] have hval : |U.1 * (⟨-U.2, U.1⟩ : ℝ × ℝ).2 - U.2 * (⟨-U.2, U.1⟩ : ℝ × ℝ).1| / Real.sqrt ((⟨-U.2, U.1⟩ : ℝ × ℝ).1 ^ 2 + (⟨-U.2, U.1⟩ : ℝ × ℝ).2 ^ 2) = Real.sqrt (U.1 ^ 2 + U.2 ^ 2) := by show |U.1 * U.1 - U.2 * (-U.2)| / Real.sqrt ((-U.2) ^ 2 + U.1 ^ 2) = _ have h1 : U.1 * U.1 - U.2 * (-U.2) = U.1 ^ 2 + U.2 ^ 2 := by ring have h2 : (-U.2) ^ 2 + U.1 ^ 2 = U.1 ^ 2 + U.2 ^ 2 := by ring rw [h1, h2, abs_of_nonneg (by positivity : (0 : ℝ) ≤ U.1 ^ 2 + U.2 ^ 2), div_eq_iff (ne_of_gt hUpos), ← sq, Real.sq_sqrt (by positivity : (0 : ℝ) ≤ U.1 ^ 2 + U.2 ^ 2)] have := hb ⟨⟨-U.2, U.1⟩, hV0, hval.symm⟩ exact this kerckhoff_le := by intro x y U; simp kerckhoff_max := by intro x y refine ⟨⟨1, 0⟩, ?_, ?_⟩ · intro h; exact one_ne_zero (congrArg Prod.fst h) · simp
end Thurston123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137import Mathlib
/-!# The interface for Section 2
Lean's library has no Teichmüller theory. This file lists, as assumptions, the classical factsthat Section 2 of the paper uses about
* `T`, Teichmüller space with the Teichmüller distance, and* `MF`, the space of measured foliations.
Nothing in the two classes below is proved. Each field is one assumed fact, with the place wherethe paper cites it. Everything stated after the classes is to be proved from these fields only.-/
open Filter Topology
namespace Thurston
/-- Assumed facts about the space `MF` of measured foliations.`c • U` multiplies the transverse measure of `U` by `c ≥ 0`, and `0` is the empty foliation. -/class MeasuredFoliations (MF : Type*) [MetricSpace MF] [Zero MF] [SMul ℝ MF] where /-- The geometric intersection number `i(U, V)`. -/ inter : MF → MF → ℝ /-- The simple closed curve classes, seen as measured foliations. -/ simple : Set MF /-- Scaling by 1 changes nothing. -/ one_smul : ∀ U : MF, (1 : ℝ) • U = U /-- Scaling twice is scaling by the product. -/ mul_smul : ∀ (c d : ℝ) (U : MF), 0 ≤ c → 0 ≤ d → (c * d) • U = c • d • U /-- Scaling by 0 gives the empty foliation. -/ zero_smul : ∀ U : MF, (0 : ℝ) • U = 0 /-- Scaling is continuous. -/ smul_continuous : Continuous fun p : ℝ × MF => p.1 • p.2 /-- Intersection numbers are not negative. -/ inter_nonneg : ∀ U V : MF, 0 ≤ inter U V /-- Intersection number is symmetric. -/ inter_comm : ∀ U V : MF, inter U V = inter V U /-- Intersection number scales with the transverse measure. -/ inter_smul : ∀ (c : ℝ) (U V : MF), 0 ≤ c → inter (c • U) V = c * inter U V /-- Intersection number is continuous in both arguments [FLP]. -/ inter_continuous : Continuous fun p : MF × MF => inter p.1 p.2 /-- Weighted simple closed curves are dense in `MF` [FLP]. -/ simple_dense : Dense {V : MF | ∃ c : ℝ, 0 ≤ c ∧ ∃ α ∈ simple, V = c • α} /-- Foliations with pairwise zero intersection can be added, and intersection with any foliation is additive on the sum (paper, proof of Lemma 2.1, step 2). -/ sum_compatible : ∀ (m : ℕ) (F : Fin m → MF), (∀ i j, inter (F i) (F j) = 0) → ∃ G : MF, ∀ V : MF, inter G V = ∑ i, inter (F i) V /-- Pairwise compatible foliations whose intersection functions on simple curves are linearly independent come in bounded number (paper, proof of Lemma 2.1, step 2: Hubbard–Masur and invariance of dimension). -/ finite_dim : ∃ N : ℕ, ∀ (m : ℕ) (F : Fin m → MF), (∀ i j, inter (F i) (F j) = 0) → LinearIndependent ℝ (fun i : Fin m => fun α : simple => inter (F i) α) → m ≤ N
/-- Assumed facts about extremal length `Ext_x U` on Teichmüller space `T`. -/class ExtremalLength (T : Type*) (MF : Type*) [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] where /-- The extremal length `Ext_x U` of the foliation `U` on the marked structure `x`. -/ ext : T → MF → ℝ /-- Extremal length is not negative. -/ ext_nonneg : ∀ (x : T) (U : MF), 0 ≤ ext x U /-- Only the empty foliation has extremal length zero. -/ ext_eq_zero : ∀ (x : T) (U : MF), ext x U = 0 ↔ U = 0 /-- Scaling the measure by `c` multiplies extremal length by `c²`. -/ ext_smul : ∀ (x : T) (c : ℝ) (U : MF), 0 ≤ c → ext x (c • U) = c ^ 2 * ext x U /-- Extremal length is continuous in the foliation. -/ ext_continuous : ∀ x : T, Continuous (ext x) /-- The unit ball of extremal length is compact. -/ unitBall_compact : ∀ x : T, IsCompact {U : MF | ext x U ≤ 1} /-- Minsky's inequality `i(U, V)² ≤ Ext_x U · Ext_x V` [Min, Lemma 5.1]. -/ minsky : ∀ (x : T) (U V : MF), MeasuredFoliations.inter U V ^ 2 ≤ ext x U * ext x V /-- The duality formula (2.1) of Gardiner–Masur [GM]: `√(Ext_x U) = sup over V ≠ 0 of i(U, V) / √(Ext_x V)`. -/ duality : ∀ (x : T) (U : MF), U ≠ 0 → IsLUB {r : ℝ | ∃ V : MF, V ≠ 0 ∧ r = MeasuredFoliations.inter U V / Real.sqrt (ext x V)} (Real.sqrt (ext x U)) /-- Kerckhoff's formula (2.2), the distortion half: `Ext_y U ≤ e^{2 d(x, y)} Ext_x U` [Ker]. -/ kerckhoff_le : ∀ (x y : T) (U : MF), ext y U ≤ Real.exp (2 * dist x y) * ext x U /-- Kerckhoff's formula (2.2), the maximum is attained [Ker, Theorem 4]. -/ kerckhoff_max : ∀ x y : T, ∃ U : MF, U ≠ 0 ∧ ext y U = Real.exp (2 * dist x y) * ext x U
/-! ## Statements to be proved from the interface
Each definition below is a statement, not a proof. A file `Thurston/Solved/<Name>.lean` proves it. -/
section Statements
open MeasuredFoliations ExtremalLength
variable (T MF : Type*) [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- An unbounded real sequence has record times: a strictly increasing sequence of indices alongwhich the values tend to infinity and each value is at least every earlier value. -/def RecordTimes : Prop := ∀ u : ℕ → ℝ, ¬ BddAbove (Set.range u) → ∃ φ : ℕ → ℕ, StrictMono φ ∧ Tendsto (fun i => u (φ i)) atTop atTop ∧ ∀ i j, j ≤ φ i → u j ≤ u (φ i)
/-- For a map that does not expand distances, orbit points `k` steps apart are at distance atmost `k · d(o, σ o)`. -/def OrbitDistLe : Prop := ∀ σ : T → T, (∀ x y, dist (σ x) (σ y) ≤ dist x y) → ∀ (o : T) (n k : ℕ), dist (σ^[n] o) (σ^[n + k] o) ≤ k * dist o (σ o)
/-- The other half of the distortion bound in (2.2). -/def DistortionLower : Prop := ∀ (x y : T) (U : MF), Real.exp (-(2 * dist x y)) * ext x U ≤ ext y U
/-- If `i(U, V) ≤ B · i(G, V)` for every `V`, then `Ext_x U ≤ B² Ext_x G` (from duality). -/def ExtLeOfInterLe : Prop := ∀ (x : T) (U G : MF) (B : ℝ), 0 ≤ B → (∀ V : MF, inter U V ≤ B * inter G V) → ext x U ≤ B ^ 2 * ext x G
/-- If intersection with `G` is the sum of the intersections with the `F i`, then`√(Ext_x G) ≤ ∑ √(Ext_x (F i))` (from duality). -/def SqrtExtSumLe : Prop := ∀ (x : T) (m : ℕ) (F : Fin m → MF) (G : MF), (∀ V : MF, inter G V = ∑ i, inter (F i) V) → Real.sqrt (ext x G) ≤ ∑ i, Real.sqrt (ext x (F i))
/-- A bound on intersection numbers that holds against simple curves holds against everyfoliation (density and continuity). -/def InterLeOfSimple : Prop := ∀ (U G : MF) (B : ℝ), 0 ≤ B → (∀ α ∈ (simple : Set MF), inter U α ≤ B * inter G α) → ∀ V : MF, inter U V ≤ B * inter G V
/-- Limits of foliations that become short on the same structures have zero intersection(from Minsky's inequality). -/def InterEqZeroOfShort : Prop := ∀ (y : ℕ → T) (U V : ℕ → MF) (U₀ V₀ : MF) (ε : ℕ → ℝ), Tendsto ε atTop (𝓝 0) → (∀ n, ext (y n) (U n) ≤ ε n) → (∀ n, ext (y n) (V n) ≤ ε n) → Tendsto U atTop (𝓝 U₀) → Tendsto V atTop (𝓝 V₀) → inter U₀ V₀ = 0
end Statements
end Thurston12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849import Thurston.Conditional.WolffDenjoy.Interface.Section2
/-!# Theorem 2.1, as a statement against the Section 2 interface
Versions 10 and 11 of the manuscript (16 and 19 November 2026) state the main result of Section 2for every 1-Lipschitz self-map of Teichmüller space that has an unbounded forward orbit. Version 11states the constant as `C ≥ 1`; `Theorem21OneLe` is that form, and `Theorem21` is the form ofversion 10, with no lower bound on `C`. Version 8 stated itfor the Thurston pullback without a fixed point (`Thurston.Lemma21`, in`Thurston/Interface/Lemma21.lean`). That older statement follows from this one, because a strictlycontracting self-map of a proper space without a fixed point has no bounded orbit.
This file states the theorem. The proof is in `Thurston/Lemma21/Proof.lean`.
The manuscript states the theorem for the Teichmüller space of any connected orientable surfaceof finite type without boundary, and treats the sphere with at most three punctures and the torusfirst. Here `T` and `MF` are any spaces that satisfy the assumed facts of the Section 2 interface.Whether those facts hold for every such surface is a question about the interface, not about thisstatement. Version 11 says in a scope paragraph of Section 2 that they do.
`T` need not be assumed nonempty: the hypothesis gives a point with an unbounded orbit.-/
namespace Thurston
open MeasuredFoliations ExtremalLength
variable (T MF : Type*) [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- Theorem 2.1 (version 10). If `σ` does not expand distances and has an unbounded forward orbit,there are a nonzero measured foliation `G` and a constant `C` with`Ext_{σ^k x} G ≤ C · Ext_x G` for every marked structure `x` and every `k ≥ 0`. -/def Theorem21 : Prop := ∀ σ : T → T, (∀ x y, dist (σ x) (σ y) ≤ dist x y) → (∃ o : T, ¬ Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] o)) → ∃ G : MF, G ≠ 0 ∧ ∃ C : ℝ, ∀ (x : T) (k : ℕ), ext (σ^[k] x) G ≤ C * ext x G
/-- Theorem 2.1 as version 11 states it: `∃ G ≠ 0, ∃ C ≥ 1, ∀ x, ∀ k, Ext_{σ^k x} G ≤ C · Ext_x G`.The foliation `G` and the constant `C` are chosen before the point `x` and the depth `k`. -/def Theorem21OneLe : Prop := ∀ σ : T → T, (∀ x y, dist (σ x) (σ y) ≤ dist x y) → (∃ o : T, ¬ Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] o)) → ∃ G : MF, G ≠ 0 ∧ ∃ C : ℝ, 1 ≤ C ∧ ∀ (x : T) (k : ℕ), ext (σ^[k] x) G ≤ C * ext x G
end Thurston123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2import Thurston.Conditional.WolffDenjoy.Interface.Lemma21import Thurston.Conditional.WolffDenjoy.Interface.Theorem21import Thurston.Conditional.WolffDenjoy.Interface.BoundedOrbitimport Thurston.Conditional.WolffDenjoy.Genericimport Thurston.Conditional.WolffDenjoy.Solved.RecordTimesimport Thurston.Conditional.WolffDenjoy.Solved.OrbitDistLeimport Thurston.Conditional.WolffDenjoy.Solved.DistortionLowerimport Thurston.Conditional.WolffDenjoy.Solved.ExtLeOfInterLeimport Thurston.Conditional.WolffDenjoy.Solved.SqrtExtSumLeimport Thurston.Conditional.WolffDenjoy.Solved.InterLeOfSimpleimport Thurston.Conditional.WolffDenjoy.Solved.InterEqZeroOfShort
/-!# Lemma 2.1: the proof, from the Section 2 interface
The proof follows the paper's three steps. Each `theorem` below is one part. The last one,`lemma_2_1`, derives the lemma from the parts.
Differences from the paper's text:
* The limit sets `K_k` are defined through sequences, not through the Hausdorff distance. `K_k` is the set of limits of sequences `W m ∈ K_{ψ m, k}`, and the subsequence `ψ` is chosen so that limits along further subsequences are already in `K_k` (`Selected`).* The comparison of maxima in step 3 is used as an inequality between elements (`exists_mem_limitSet_ext_le`), not as an identity between maxima.* Only the second inclusion of (2.4) is needed, and only it is proved.* `T` is assumed nonempty.-/
open Filter Topology
namespace Thurston
open MeasuredFoliations ExtremalLength
/-! ## The objects of the proof -/
variable {T MF : Type*} [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- `I_U`: intersection with `U`, as a function on the simple classes. -/def interFun (U : MF) : ↥(simple (MF := MF)) → ℝ := fun α => inter U (α : MF)
/-- Step 1 data: `σ` does not expand distances, and `φ` lists record times of the orbit of `o`.In the paper `x_j = σ^j o`, `n_i = φ i` and `R_i = d(o, x_{n_i})`. -/structure Records (σ : T → T) (o : T) (φ : ℕ → ℕ) : Prop where nonexp : ∀ x y, dist (σ x) (σ y) ≤ dist x y mono : StrictMono φ toInfty : Tendsto (fun i => dist o (σ^[φ i] o)) atTop atTop record : ∀ i j, j ≤ φ i → dist o (σ^[j] o) ≤ dist o (σ^[φ i] o)
/-- The set `K_{i,k} = {U : Ext_{x_{n_i - k}} U ≤ e^{-2 R_i}}` of the paper. -/def shortSet (σ : T → T) (o : T) (φ : ℕ → ℕ) (i k : ℕ) : Set MF := {U | ext (σ^[φ i - k] o) U ≤ Real.exp (-(2 * dist o (σ^[φ i] o)))}
/-- The set `K_k` of the paper, along the subsequence `ψ`: the limits of sequences `W m` with`W m` in `K_{ψ m, k}`. -/def limitSet (σ : T → T) (o : T) (φ ψ : ℕ → ℕ) (k : ℕ) : Set MF := {U | ∃ W : ℕ → MF, (∀ᶠ m in atTop, W m ∈ shortSet σ o φ (ψ m) k) ∧ Tendsto W atTop (𝓝 U)}
variable (MF) in/-- The subsequence `ψ` is the one chosen in step 1: for each `k` the sets `K_{ψ m, k}` converge.In the form used here: a limit along a further subsequence already belongs to `K_k`. -/structure Selected (σ : T → T) (o : T) (φ ψ : ℕ → ℕ) : Prop where mono : StrictMono ψ upper : ∀ (k : ℕ) (U : MF) (θ : ℕ → ℕ) (V : ℕ → MF), StrictMono θ → (∀ m, V m ∈ shortSet σ o φ (ψ (θ m)) k) → Tendsto V atTop (𝓝 U) → U ∈ limitSet σ o φ ψ k
variable {σ : T → T} {o : T} {φ ψ : ℕ → ℕ}
/-! ## Step 1: record times and limit sets -/
/-- Every `K_{i,k}` lies in the unit ball `ℬ = {U : Ext_o U ≤ 1}` (distortion and the recordproperty). -/theorem shortSet_subset_unitBall (h : Records σ o φ) (i k : ℕ) : (shortSet σ o φ i k : Set MF) ⊆ {U | ext o U ≤ 1} := by intro U hU simp only [shortSet, Set.mem_ofPred_eq] at hU ⊢ have hrec : dist o (σ^[φ i - k] o) ≤ dist o (σ^[φ i] o) := h.record i (φ i - k) (Nat.sub_le _ _) calc ext o U ≤ Real.exp (2 * dist (σ^[φ i - k] o) o) * ext (σ^[φ i - k] o) U := kerckhoff_le _ _ _ _ ≤ Real.exp (2 * dist o (σ^[φ i] o)) * Real.exp (-(2 * dist o (σ^[φ i] o))) := by refine mul_le_mul (Real.exp_le_exp.2 ?_) hU (ext_nonneg _ _) (Real.exp_pos _).le rw [dist_comm]; linarith _ = 1 := by rw [← Real.exp_add]; simp
/-- The diagonal extraction of step 1. -/theorem exists_selected (h : Records σ o φ) : ∃ ψ : ℕ → ℕ, Selected MF σ o φ ψ := by obtain ⟨ψ, hψ, hup⟩ := exists_kuratowski_subseq (unitBall_compact (MF := MF) o) (fun i k => (shortSet σ o φ i k : Set MF)) (fun i k => shortSet_subset_unitBall h i k) exact ⟨ψ, hψ, fun k U θ V hθ hV hlim => hup k U θ V hθ hV hlim⟩
/-- `K_k ⊂ ℬ`. -/theorem ext_le_one_of_mem_limitSet (h : Records σ o φ) {k : ℕ} {U : MF} (hU : U ∈ limitSet σ o φ ψ k) : ext o U ≤ 1 := by obtain ⟨W, hW, hlim⟩ := hU have hcont : Tendsto (fun m => ext o (W m)) atTop (𝓝 (ext o U)) := ((ext_continuous o).tendsto U).comp hlim exact le_of_tendsto hcont (hW.mono fun m hm => shortSet_subset_unitBall h (ψ m) k hm)
/-- `K_0` contains a nonzero foliation (a limit of normalized Kerckhoff maximizers). -/theorem exists_ne_zero_mem_limitSet (hψ : Selected MF σ o φ ψ) : ∃ U ∈ (limitSet σ o φ ψ 0 : Set MF), U ≠ 0 := by have hex : ∀ i, ∃ V : MF, V ∈ shortSet σ o φ i 0 ∧ ext o V = 1 := by intro i obtain ⟨U, hU0, hU⟩ := kerckhoff_max (MF := MF) (σ^[φ i] o) o have ha : 0 < ext o U := lt_of_le_of_ne (ext_nonneg o U) (fun h0 => hU0 ((ext_eq_zero o U).1 h0.symm)) have hc0 : 0 ≤ (Real.sqrt (ext o U))⁻¹ := inv_nonneg.2 (Real.sqrt_nonneg _) have hc2 : (Real.sqrt (ext o U))⁻¹ ^ 2 * ext o U = 1 := by rw [inv_pow, Real.sq_sqrt ha.le, inv_mul_cancel₀ ha.ne'] have hx : ext (σ^[φ i] o) U = Real.exp (-(2 * dist o (σ^[φ i] o))) * ext o U := by rw [hU, dist_comm (σ^[φ i] o) o, ← mul_assoc, ← Real.exp_add, neg_add_cancel, Real.exp_zero, one_mul] refine ⟨(Real.sqrt (ext o U))⁻¹ • U, ?_, ?_⟩ · simp only [shortSet, Set.mem_ofPred_eq, Nat.sub_zero] rw [ext_smul _ _ U hc0, hx, mul_left_comm, hc2, mul_one] · rw [ext_smul o _ U hc0, hc2] choose V hV hV1 using hex obtain ⟨U, -, θ, hθ, hlim⟩ := (unitBall_compact (MF := MF) o).tendsto_subseq (x := fun m => V (ψ m)) (fun m => by simp [hV1 (ψ m)]) refine ⟨U, hψ.upper 0 U θ (fun m => V (ψ (θ m))) hθ (fun m => hV (ψ (θ m))) hlim, ?_⟩ have h1 : ext o U = 1 := by have hcont : Tendsto (fun m => ext o (V (ψ (θ m)))) atTop (𝓝 (ext o U)) := ((ext_continuous o).tendsto U).comp hlim have hconst : Tendsto (fun m => ext o (V (ψ (θ m)))) atTop (𝓝 1) := by simp [hV1] exact tendsto_nhds_unique hcont hconst intro hU0 rw [hU0, (ext_eq_zero o (0 : MF)).2 rfl] at h1 exact zero_ne_one h1
/-! ## Step 2: a single finite family -/
/-- Two elements of `K_0` have intersection number zero (Minsky's inequality on approximants). -/theorem inter_eq_zero_of_mem_limitSet (h : Records σ o φ) (hψ : StrictMono ψ) {U V : MF} (hU : U ∈ limitSet σ o φ ψ 0) (hV : V ∈ limitSet σ o φ ψ 0) : inter U V = 0 := by obtain ⟨W, hW, hWlim⟩ := hU obtain ⟨W', hW', hW'lim⟩ := hV obtain ⟨M, hM⟩ := eventually_atTop.1 (hW.and hW') have hshift : Tendsto (fun n : ℕ => n + M) atTop atTop := tendsto_add_atTop_nat M have hR : Tendsto (fun n : ℕ => dist o (σ^[φ (ψ (n + M))] o)) atTop atTop := h.toInfty.comp (hψ.tendsto_atTop.comp hshift) have hε : Tendsto (fun n : ℕ => Real.exp (-(2 * dist o (σ^[φ (ψ (n + M))] o)))) atTop (𝓝 0) := Real.tendsto_exp_neg_atTop_nhds_zero.comp (hR.const_mul_atTop (by norm_num : (0 : ℝ) < 2)) refine inter_eq_zero_of_short (fun n => σ^[φ (ψ (n + M))] o) (fun n => W (n + M)) (fun n => W' (n + M)) U V _ hε ?_ ?_ (hWlim.comp hshift) (hW'lim.comp hshift) · intro n simpa [shortSet] using (hM (n + M) (Nat.le_add_left _ _)).1 · intro n simpa [shortSet] using (hM (n + M) (Nat.le_add_left _ _)).2
/-- The second inclusion of (2.4): `e^{-kD} K_k ⊂ K_0`, with `D = d(o, σ o)`. -/theorem smul_mem_limitSet_zero (h : Records σ o φ) (hψ : StrictMono ψ) (k : ℕ) {U : MF} (hU : U ∈ limitSet σ o φ ψ k) : Real.exp (-(k * dist o (σ o))) • U ∈ limitSet σ o φ ψ 0 := by obtain ⟨W, hW, hWlim⟩ := hU have hc0 : 0 ≤ Real.exp (-(k * dist o (σ o))) := (Real.exp_pos _).le have hc2 : Real.exp (-(k * dist o (σ o))) ^ 2 = Real.exp (-(2 * (k * dist o (σ o)))) := by rw [sq, ← Real.exp_add]; congr 1; ring refine ⟨fun m => Real.exp (-(k * dist o (σ o))) • W m, ?_, ?_⟩ · have hk : ∀ᶠ m in atTop, k ≤ φ (ψ m) := (eventually_ge_atTop k).mono fun m hm => hm.trans ((h.mono.comp hψ).id_le m) filter_upwards [hW, hk] with m hm hkm simp only [shortSet, Set.mem_ofPred_eq, Nat.sub_zero] at hm ⊢ have hd : dist (σ^[φ (ψ m) - k] o) (σ^[φ (ψ m)] o) ≤ k * dist o (σ o) := by have := orbit_dist_le σ h.nonexp o (φ (ψ m) - k) k rwa [Nat.sub_add_cancel hkm] at this rw [ext_smul _ _ (W m) hc0, hc2] calc Real.exp (-(2 * (k * dist o (σ o)))) * ext (σ^[φ (ψ m)] o) (W m) ≤ Real.exp (-(2 * (k * dist o (σ o)))) * (Real.exp (2 * (k * dist o (σ o))) * Real.exp (-(2 * dist o (σ^[φ (ψ m)] o)))) := by refine mul_le_mul_of_nonneg_left ?_ (Real.exp_pos _).le refine (kerckhoff_le (σ^[φ (ψ m) - k] o) (σ^[φ (ψ m)] o) (W m)).trans ?_ exact mul_le_mul (Real.exp_le_exp.2 (by linarith)) hm (ext_nonneg _ _) (Real.exp_pos _).le _ = Real.exp (-(2 * dist o (σ^[φ (ψ m)] o))) := by rw [← mul_assoc, ← Real.exp_add, neg_add_cancel, Real.exp_zero, one_mul] · exact (smul_continuous.tendsto (Real.exp (-(k * dist o (σ o))), U)).comp (tendsto_const_nhds.prodMk_nhds hWlim)
/-- A nonzero foliation meets some simple class. -/theorem exists_simple_inter_pos (x : T) {U : MF} (hU : U ≠ 0) : ∃ α ∈ (simple : Set MF), 0 < inter U α := by have hpos : 0 < ext x U := lt_of_le_of_ne (ext_nonneg x U) (fun h0 => hU ((ext_eq_zero x U).1 h0.symm)) have hlub := duality x U hU have hV : ∃ V : MF, 0 < inter U V := by by_contra hcon push Not at hcon have hub : (0 : ℝ) ∈ upperBounds {r : ℝ | ∃ V : MF, V ≠ 0 ∧ r = inter U V / Real.sqrt (ext x V)} := by rintro r ⟨V, -, rfl⟩ have : inter U V = 0 := le_antisymm (hcon V) (inter_nonneg U V) simp [this] exact absurd (Real.sqrt_pos.2 hpos) (not_lt.2 (hlub.2 hub)) obtain ⟨V, hVpos⟩ := hV have hopen : IsOpen {V : MF | 0 < inter U V} := isOpen_lt continuous_const (inter_continuous.comp (continuous_const.prodMk continuous_id)) obtain ⟨V', hV'pos, c, hc, α, hα, rfl⟩ := simple_dense.inter_open_nonempty _ hopen ⟨V, hVpos⟩ refine ⟨α, hα, ?_⟩ have h1 : inter U (c • α) = c * inter U α := by rw [inter_comm, inter_smul c α U hc, inter_comm] rw [Set.mem_ofPred_eq, h1] at hV'pos rcases (inter_nonneg U α).eq_or_lt with h0 | h0 · rw [← h0, mul_zero] at hV'pos; exact absurd hV'pos (lt_irrefl _) · exact h0
/-- A basis of the span of the intersection functions of a compatible family. -/theorem exists_basis_of_compatible (K : Set MF) (hK : ∀ U ∈ K, ∀ V ∈ K, inter U V = 0) (hne : ∃ U ∈ K, interFun U ≠ 0) : ∃ (b : ℕ) (F : Fin b → MF), 0 < b ∧ (∀ ℓ, F ℓ ∈ K) ∧ LinearIndependent ℝ (fun ℓ => interFun (F ℓ)) ∧ ∀ U ∈ K, interFun U ∈ Submodule.span ℝ (Set.range fun ℓ => interFun (F ℓ)) := by classical obtain ⟨N, hN⟩ := finite_dim (MF := MF) let P : ℕ → Prop := fun m => ∃ F : Fin m → MF, (∀ ℓ, F ℓ ∈ K) ∧ LinearIndependent ℝ (fun ℓ => interFun (F ℓ)) have hPle : ∀ m, P m → m ≤ N := by rintro m ⟨F, hFK, hF⟩ exact hN m F (fun i j => hK _ (hFK i) _ (hFK j)) hF have hP1 : P 1 := by obtain ⟨U, hU, hUne⟩ := hne exact ⟨fun _ => U, fun _ => hU, linearIndependent_unique_iff.2 hUne⟩ have hPb : P (Nat.findGreatest P N) := Nat.findGreatest_spec (hPle 1 hP1) hP1 have hb1 : 1 ≤ Nat.findGreatest P N := Nat.le_findGreatest (hPle 1 hP1) hP1 obtain ⟨F, hFK, hF⟩ := hPb refine ⟨Nat.findGreatest P N, F, hb1, hFK, hF, fun U hU => ?_⟩ by_contra hnot have hP' : P (Nat.findGreatest P N + 1) := by refine ⟨(Fin.cons U F : Fin (Nat.findGreatest P N + 1) → MF), fun ℓ => ?_, ?_⟩ · refine Fin.cases ?_ (fun i => ?_) ℓ · simpa using hU · simpa using hFK i · have hcons : (fun ℓ : Fin (Nat.findGreatest P N + 1) => interFun ((Fin.cons U F : Fin (Nat.findGreatest P N + 1) → MF) ℓ)) = (Fin.cons (interFun U) (fun ℓ => interFun (F ℓ)) : Fin (Nat.findGreatest P N + 1) → ↥(simple (MF := MF)) → ℝ) := by funext ℓ refine Fin.cases ?_ (fun i => ?_) ℓ <;> simp rw [hcons, linearIndependent_finCons] exact ⟨hF, hnot⟩ have hle := Nat.le_findGreatest (hPle _ hP') hP' omega
/-- The coefficient bound: one constant `B` for every foliation of the unit ball whoseintersection function lies in the span of the `I_{F ℓ}`. -/theorem exists_inter_bound (o : T) {b : ℕ} (F : Fin b → MF) (hF : LinearIndependent ℝ (fun ℓ => interFun (F ℓ))) (G : MF) (hG : ∀ V : MF, inter G V = ∑ ℓ, inter (F ℓ) V) : ∃ B : ℝ, 0 ≤ B ∧ ∀ U : MF, ext o U ≤ 1 → interFun U ∈ Submodule.span ℝ (Set.range fun ℓ => interFun (F ℓ)) → ∀ α ∈ (simple : Set MF), inter U α ≤ B * inter G α := by obtain ⟨S, A, hA, hbound⟩ := exists_finset_coeff_bound (fun ℓ => interFun (F ℓ)) hF refine ⟨A * ∑ β ∈ S, Real.sqrt (ext o (β : MF)), mul_nonneg hA (Finset.sum_nonneg fun β _ => Real.sqrt_nonneg _), ?_⟩ intro U hU hspan α hα obtain ⟨c, hc⟩ := (Submodule.mem_span_range_iff_exists_fun ℝ).1 hspan have hval : ∀ β : ↥(simple (MF := MF)), ∑ j, c j * interFun (F j) β = inter U (β : MF) := by intro β have := congrFun hc β simpa [interFun, Finset.sum_apply] using this have hcB : ∀ ℓ, |c ℓ| ≤ A * ∑ β ∈ S, Real.sqrt (ext o (β : MF)) := by intro ℓ refine (hbound c ℓ).trans (mul_le_mul_of_nonneg_left (Finset.sum_le_sum fun β _ => ?_) hA) rw [hval β] apply Real.abs_le_sqrt calc inter U (β : MF) ^ 2 ≤ ext o U * ext o (β : MF) := minsky o U β _ ≤ 1 * ext o (β : MF) := mul_le_mul_of_nonneg_right hU (ext_nonneg _ _) _ = ext o (β : MF) := one_mul _ calc inter U α = ∑ j, c j * inter (F j) α := by have := hval ⟨α, hα⟩ simpa [interFun] using this.symm _ ≤ ∑ j, (A * ∑ β ∈ S, Real.sqrt (ext o (β : MF))) * inter (F j) α := Finset.sum_le_sum fun j _ => mul_le_mul_of_nonneg_right ((le_abs_self _).trans (hcB j)) (inter_nonneg _ _) _ = (A * ∑ β ∈ S, Real.sqrt (ext o (β : MF))) * inter G α := by rw [hG]; exact (Finset.mul_sum _ _ _).symm
/-! ## Step 3: the comparison at arbitrary `x` and `k` -/
omit [ProperSpace T] in/-- Iterates of a map that does not expand distances do not expand distances. -/theorem dist_iterate_le {σ : T → T} (hσ : ∀ x y, dist (σ x) (σ y) ≤ dist x y) (k : ℕ) (a b : T) : dist (σ^[k] a) (σ^[k] b) ≤ dist a b := by induction k with | zero => simp | succ n ih => rw [Function.iterate_succ_apply', Function.iterate_succ_apply'] exact (hσ _ _).trans ih
/-- The comparison of maxima before the limit. For `U` in `K_{i,0}` there is `W` in `K_{i,k}`with `Ext_{σ^k x} U ≤ Ext_x W`: both sides are compared with `exp(2 d(x, x_{n_i - k}) - 2 R_i)`,the left by distortion and nonexpansion, the right by a rescaled Kerckhoff maximizer. -/theorem exists_mem_shortSet_ext_le (h : Records σ o φ) (x : T) {i k : ℕ} (hk : k ≤ φ i) {U : MF} (hU : U ∈ shortSet σ o φ i 0) : ∃ W ∈ (shortSet σ o φ i k : Set MF), ext (σ^[k] x) U ≤ ext x W := by simp only [shortSet, Set.mem_ofPred_eq, Nat.sub_zero] at hU ⊢ obtain ⟨W', hW'0, hW'⟩ := kerckhoff_max (MF := MF) (σ^[φ i - k] o) x have ha : 0 < ext (σ^[φ i - k] o) W' := lt_of_le_of_ne (ext_nonneg _ _) (fun h0 => hW'0 ((ext_eq_zero _ W').1 h0.symm)) have hc0 : 0 ≤ Real.sqrt (Real.exp (-(2 * dist o (σ^[φ i] o))) / ext (σ^[φ i - k] o) W') := Real.sqrt_nonneg _ have hc2 : Real.sqrt (Real.exp (-(2 * dist o (σ^[φ i] o))) / ext (σ^[φ i - k] o) W') ^ 2 * ext (σ^[φ i - k] o) W' = Real.exp (-(2 * dist o (σ^[φ i] o))) := by rw [Real.sq_sqrt (div_nonneg (Real.exp_pos _).le ha.le), div_mul_cancel₀ _ ha.ne'] refine ⟨Real.sqrt (Real.exp (-(2 * dist o (σ^[φ i] o))) / ext (σ^[φ i - k] o) W') • W', ?_, ?_⟩ · rw [ext_smul _ _ W' hc0, hc2] · have hiter : σ^[φ i] o = σ^[k] (σ^[φ i - k] o) := by rw [← Function.iterate_add_apply, Nat.add_sub_cancel' hk] have hd : dist (σ^[φ i] o) (σ^[k] x) ≤ dist (σ^[φ i - k] o) x := by rw [hiter]; exact dist_iterate_le h.nonexp k _ x calc ext (σ^[k] x) U ≤ Real.exp (2 * dist (σ^[φ i] o) (σ^[k] x)) * ext (σ^[φ i] o) U := kerckhoff_le _ _ _ _ ≤ Real.exp (2 * dist (σ^[φ i - k] o) x) * Real.exp (-(2 * dist o (σ^[φ i] o))) := mul_le_mul (Real.exp_le_exp.2 (by linarith)) hU (ext_nonneg _ _) (Real.exp_pos _).le _ = ext x (Real.sqrt (Real.exp (-(2 * dist o (σ^[φ i] o))) / ext (σ^[φ i - k] o) W') • W') := by rw [ext_smul _ _ W' hc0, hW', mul_left_comm, hc2]
/-- For `F` in `K_0` there is `W` in `K_k` with `Ext_{σ^k x} F ≤ Ext_x W`(the comparison of maxima, through Kerckhoff's formula and nonexpansion). -/theorem exists_mem_limitSet_ext_le (h : Records σ o φ) (hψ : Selected MF σ o φ ψ) (x : T) (k : ℕ) {F : MF} (hF : F ∈ limitSet σ o φ ψ 0) : ∃ W ∈ (limitSet σ o φ ψ k : Set MF), ext (σ^[k] x) F ≤ ext x W := by obtain ⟨Fm, hFm, hFlim⟩ := hF have hk : ∀ᶠ m in atTop, k ≤ φ (ψ m) := (eventually_ge_atTop k).mono fun m hm => hm.trans ((h.mono.comp hψ.mono).id_le m) obtain ⟨M, hM⟩ := eventually_atTop.1 (hFm.and hk) have hex : ∀ n : ℕ, ∃ W : MF, W ∈ shortSet σ o φ (ψ (n + M)) k ∧ ext (σ^[k] x) (Fm (n + M)) ≤ ext x W := by intro n obtain ⟨hmem, hkm⟩ := hM (n + M) (Nat.le_add_left _ _) exact exists_mem_shortSet_ext_le h x hkm hmem choose W hWmem hWle using hex obtain ⟨W₀, -, θ, hθ, hWlim⟩ := (unitBall_compact (MF := MF) o).tendsto_subseq (x := W) (fun n => shortSet_subset_unitBall h _ k (hWmem n)) have hθM : StrictMono fun m => θ m + M := fun a b hab => Nat.add_lt_add_right (hθ hab) M refine ⟨W₀, hψ.upper k W₀ (fun m => θ m + M) (fun m => W (θ m)) hθM (fun m => hWmem (θ m)) hWlim, ?_⟩ have h1 : Tendsto (fun m => ext (σ^[k] x) (Fm (θ m + M))) atTop (𝓝 (ext (σ^[k] x) F)) := ((ext_continuous (σ^[k] x)).tendsto F).comp (hFlim.comp hθM.tendsto_atTop) have h2 : Tendsto (fun m => ext x (W (θ m))) atTop (𝓝 (ext x W₀)) := ((ext_continuous x).tendsto W₀).comp hWlim exact le_of_tendsto_of_tendsto' h1 h2 fun m => hWle (θ m)
/-! ## Assembly -/
/-- **Theorem 2.1 of version 10.** A self-map of `T` that does not expand distances and has anunbounded forward orbit has a nonzero measured foliation `G` and a constant `C` with (2.3). Theproof is the one of Lemma 2.1 of version 8 after its first step: that step used strict contractionand the absence of a fixed point only to get an unbounded orbit. -/theorem theorem_2_1 : Theorem21 T MF := by intro σ hσ hunbounded obtain ⟨o, ho⟩ := hunbounded -- Step 1. The orbit of `o` is unbounded, so it has record times. have hunb : ¬ BddAbove (Set.range fun n : ℕ => dist o (σ^[n] o)) := by rintro ⟨M, hM⟩ have hbdd : Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] o) := by rw [Metric.isBounded_range_iff] refine ⟨M + M, fun m n => ?_⟩ have h1 : dist o (σ^[m] o) ≤ M := hM ⟨m, rfl⟩ have h2 : dist o (σ^[n] o) ≤ M := hM ⟨n, rfl⟩ calc dist (σ^[m] o) (σ^[n] o) ≤ dist (σ^[m] o) o + dist o (σ^[n] o) := dist_triangle _ _ _ _ ≤ M + M := by rw [dist_comm (σ^[m] o) o]; exact add_le_add h1 h2 exact ho hbdd obtain ⟨φ, hφ, hφtop, hφrec⟩ := record_times (fun n : ℕ => dist o (σ^[n] o)) hunb have h : Records σ o φ := { nonexp := hσ mono := hφ toInfty := hφtop record := hφrec } obtain ⟨ψ, hψ⟩ := exists_selected (MF := MF) h -- Step 2. A basis `F` from `K_0`, their sum `G`, and the constant `B`. have hcompat : ∀ U ∈ (limitSet σ o φ ψ 0 : Set MF), ∀ V ∈ (limitSet σ o φ ψ 0 : Set MF), inter U V = 0 := fun U hU V hV => inter_eq_zero_of_mem_limitSet h hψ.mono hU hV obtain ⟨U₁, hU₁, hU₁ne⟩ := exists_ne_zero_mem_limitSet hψ obtain ⟨α₁, hα₁, hα₁pos⟩ := exists_simple_inter_pos o hU₁ne have hU₁fun : interFun U₁ ≠ 0 := fun h0 => by have := congrFun h0 ⟨α₁, hα₁⟩ simp only [interFun, Pi.zero_apply] at this exact hα₁pos.ne' this obtain ⟨b, F, hb, hFK, hFli, hspan⟩ := exists_basis_of_compatible (limitSet σ o φ ψ 0) hcompat ⟨U₁, hU₁, hU₁fun⟩ obtain ⟨G, hG⟩ := sum_compatible b F (fun i j => hcompat _ (hFK i) _ (hFK j)) obtain ⟨B, hB, hBound⟩ := exists_inter_bound o F hFli G hG have hGne : G ≠ 0 := by intro hG0 have hzero : ∀ V : MF, inter (0 : MF) V = 0 := fun V => by have := inter_smul (0 : ℝ) G V le_rfl rwa [MeasuredFoliations.zero_smul, zero_mul] at this have hF0 : interFun (F ⟨0, hb⟩) = 0 := by funext α have hsum : ∑ ℓ, inter (F ℓ) (α : MF) = 0 := by rw [← hG, hG0, hzero] have := (Finset.sum_eq_zero_iff_of_nonneg (fun ℓ _ => inter_nonneg (F ℓ) (α : MF))).1 hsum ⟨0, hb⟩ (Finset.mem_univ _) simpa [interFun] using this exact hFli.ne_zero ⟨0, hb⟩ hF0 -- Every element of every `K_k` is dominated by `G`, with the same constant. have key : ∀ (k : ℕ) (U : MF), U ∈ limitSet σ o φ ψ k → ∀ x : T, ext x U ≤ B ^ 2 * ext x G := by intro k U hU x set c : ℝ := Real.exp (-(k * dist o (σ o))) with hc have hcpos : 0 < c := Real.exp_pos _ have hmem := hspan _ (smul_mem_limitSet_zero h hψ.mono k hU) have hfun : interFun (c • U) = c • interFun U := by funext α simp only [interFun, Pi.smul_apply, smul_eq_mul] exact inter_smul c U (α : MF) hcpos.le have hUspan : interFun U ∈ Submodule.span ℝ (Set.range fun ℓ => interFun (F ℓ)) := by have h2 := Submodule.smul_mem _ c⁻¹ hmem rwa [hfun, smul_smul, inv_mul_cancel₀ hcpos.ne', _root_.one_smul] at h2 have hsimple := hBound U (ext_le_one_of_mem_limitSet h hU) hUspan exact ext_le_of_inter_le x U G B hB (inter_le_of_simple U G B hB hsimple) -- Step 3. The comparison, applied to each `F ℓ`. refine ⟨G, hGne, (b * B) ^ 2, fun x k => ?_⟩ have hFle : ∀ ℓ, Real.sqrt (ext (σ^[k] x) (F ℓ)) ≤ B * Real.sqrt (ext x G) := by intro ℓ obtain ⟨W, hW, hle⟩ := exists_mem_limitSet_ext_le h hψ x k (hFK ℓ) have h1 : ext (σ^[k] x) (F ℓ) ≤ B ^ 2 * ext x G := hle.trans (key k W hW x) calc Real.sqrt (ext (σ^[k] x) (F ℓ)) ≤ Real.sqrt (B ^ 2 * ext x G) := Real.sqrt_le_sqrt h1 _ = B * Real.sqrt (ext x G) := by rw [Real.sqrt_mul (sq_nonneg B), Real.sqrt_sq hB] have hsqrt : Real.sqrt (ext (σ^[k] x) G) ≤ b * B * Real.sqrt (ext x G) := by calc Real.sqrt (ext (σ^[k] x) G) ≤ ∑ ℓ, Real.sqrt (ext (σ^[k] x) (F ℓ)) := sqrt_ext_sum_le (σ^[k] x) b F G hG _ ≤ ∑ _ℓ : Fin b, B * Real.sqrt (ext x G) := Finset.sum_le_sum fun ℓ _ => hFle ℓ _ = b * B * Real.sqrt (ext x G) := by simp [mul_assoc] calc ext (σ^[k] x) G = Real.sqrt (ext (σ^[k] x) G) ^ 2 := (Real.sq_sqrt (ext_nonneg _ _)).symm _ ≤ (b * B * Real.sqrt (ext x G)) ^ 2 := by gcongr _ = (b * B) ^ 2 * ext x G := by rw [mul_pow, Real.sq_sqrt (ext_nonneg _ _)]
/-- **Lemma 2.1** (the statement of version 8). It follows from Theorem 2.1: a strictlycontracting self-map of a proper space without a fixed point has no bounded orbit(`exists_fixed_point_of_bounded_orbit`). -/theorem lemma_2_1 [Nonempty T] : Lemma21 T MF := by intro σ hσ hfix obtain ⟨o⟩ := ‹Nonempty T› have hnonexp : ∀ x y, dist (σ x) (σ y) ≤ dist x y := fun x y => by by_cases hxy : x = y · subst hxy; simp · exact (hσ x y hxy).le have hunbounded : ∃ o : T, ¬ Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] o) := ⟨o, fun hbdd => by obtain ⟨y, hy⟩ := exists_fixed_point_of_bounded_orbit σ hσ o hbdd exact hfix y hy⟩ exact theorem_2_1 σ hnonexp hunbounded
/-- Theorem 2.1 with a constant `C ≥ 1`. The quantifiers are`∃ G ≠ 0, ∃ C ≥ 1, ∀ x, ∀ k, Ext_{σ^k x} G ≤ C · Ext_x G`: the foliation and the constant arechosen before the point and the depth. It follows from `theorem_2_1` because extremal length isnot negative. -/theorem theorem_2_1_one_le (σ : T → T) (hσ : ∀ x y, dist (σ x) (σ y) ≤ dist x y) (hunbounded : ∃ o : T, ¬ Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] o)) : ∃ G : MF, G ≠ 0 ∧ ∃ C : ℝ, 1 ≤ C ∧ ∀ (x : T) (k : ℕ), ext (σ^[k] x) G ≤ C * ext x G := by obtain ⟨G, hG, C, hC⟩ := theorem_2_1 (MF := MF) σ hσ hunbounded exact ⟨G, hG, max C 1, le_max_right C 1, fun x k => (hC x k).trans (mul_le_mul_of_nonneg_right (le_max_left C 1) (ext_nonneg x G))⟩
/-- **Theorem 2.1 in the form of version 11** (`Thurston.Theorem21OneLe`). -/theorem theorem_2_1_stated : Theorem21OneLe T MF := fun σ hσ hunbounded => theorem_2_1_one_le σ hσ hunbounded
end Thurston123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2
/-!# Reducing the two "in paper" assumptions of the Section 2 interface
The interface in `Thurston/Interface/Section2.lean` assumes two facts that the paper arguesitself, inside step 2 of the proof of Lemma 2.1:
* `sum_compatible`: foliations with pairwise zero intersection can be added, and intersection with *every* foliation is additive on the sum;* `finite_dim`: compatible foliations with linearly independent intersection functions come in bounded number.
This file checks the paper's arguments for both, from weaker and more classical inputs.
* `inter_eq_sum_of_simple`: additivity against simple classes gives additivity against every foliation ("additivity holds against weighted simple curves and extends to all of MF by continuity and density").* `finite_dim_of_invariance_of_dimension`: the paper's finite-sum argument for the dimension bound. Its inputs are three classical facts: 1. the topology of `MF` is the one given by intersection numbers with simple classes [FLP]; 2. `MF` is homeomorphic to `ℝ^N` (Hubbard–Masur; `N = 2(|A| - 2)` in the paper); 3. invariance of dimension (Brouwer): an open nonempty subset of `ℝ^m` has no continuous injective map to `ℝ^N` unless `m ≤ N`. Mathlib does not have this theorem yet.
Status: on the branch `coverage-wip`. The interface itself is unchanged, and none of this is onthe author's review page yet.-/
open Filter Topology
namespace Thurston
open MeasuredFoliations
/-- Additivity of intersection numbers against simple classes extends to every measuredfoliation, by homogeneity, density of weighted simple curves, and continuity. -/theorem inter_eq_sum_of_simple {MF : Type*} [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] {m : ℕ} (F : Fin m → MF) (G : MF) (h : ∀ α ∈ (simple : Set MF), inter G α = ∑ i, inter (F i) α) : ∀ V : MF, inter G V = ∑ i, inter (F i) V := by have hc : ∀ U : MF, Continuous fun V : MF => inter U V := fun U => inter_continuous.comp (continuous_const.prodMk continuous_id) have hclosed : IsClosed {V : MF | inter G V = ∑ i, inter (F i) V} := isClosed_eq (hc G) (continuous_finsetSum _ fun i _ => hc (F i)) have hsub : {V : MF | ∃ c : ℝ, 0 ≤ c ∧ ∃ α ∈ (simple : Set MF), V = c • α} ⊆ {V : MF | inter G V = ∑ i, inter (F i) V} := by rintro V ⟨c, hc0, α, hα, rfl⟩ have hs : ∀ U : MF, inter U (c • α) = c * inter U α := fun U => by rw [inter_comm, inter_smul c α U hc0, inter_comm] show inter G (c • α) = ∑ i, inter (F i) (c • α) simp only [hs, h α hα, Finset.mul_sum] exact fun V => hclosed.closure_subset_iff.2 hsub (simple_dense V)
/-- The dimension bound of step 2, by the paper's argument: "If `I_{F_1}, …, I_{F_m}` arelinearly independent, the map `(c_1, …, c_m) ↦ Σ c_ℓ F_ℓ` for `c_ℓ > 0` is continuous andinjective, by intersection additivity. […] Invariance of dimension therefore bounds `m`."
This statement does not use the class `MeasuredFoliations`, so it cannot use the assumption`finite_dim` that it replaces. The sum of compatible foliations is only needed against simpleclasses. -/theorem finite_dim_of_invariance_of_dimension {MF : Type*} [TopologicalSpace MF] [SMul ℝ MF] (inter : MF → MF → ℝ) (simple : Set MF) (inter_comm : ∀ U V : MF, inter U V = inter V U) (inter_smul : ∀ (c : ℝ) (U V : MF), 0 ≤ c → inter (c • U) V = c * inter U V) (sum_compatible : ∀ (m : ℕ) (F : Fin m → MF), (∀ i j, inter (F i) (F j) = 0) → ∃ G : MF, ∀ α ∈ simple, inter G α = ∑ i, inter (F i) α) (hind : IsInducing fun U : MF => fun α : simple => inter U α) (N : ℕ) (e : MF ≃ₜ (Fin N → ℝ)) (hinv : ∀ (m : ℕ) (U : Set (Fin m → ℝ)), IsOpen U → U.Nonempty → ∀ g : U → (Fin N → ℝ), Continuous g → Function.Injective g → m ≤ N) : ∀ (m : ℕ) (F : Fin m → MF), (∀ i j, inter (F i) (F j) = 0) → LinearIndependent ℝ (fun i : Fin m => fun α : simple => inter (F i) α) → m ≤ N := by intro m F hF hli -- The open set of positive coefficient vectors. have hUopen : IsOpen {c : Fin m → ℝ | ∀ ℓ, 0 < c ℓ} := by have hU : {c : Fin m → ℝ | ∀ ℓ, 0 < c ℓ} = ⋂ ℓ, {c : Fin m → ℝ | 0 < c ℓ} := by ext c; simp rw [hU] exact isOpen_iInter_of_finite fun ℓ => isOpen_lt continuous_const (continuous_apply ℓ) have hUne : ({c : Fin m → ℝ | ∀ ℓ, 0 < c ℓ}).Nonempty := ⟨fun _ => 1, fun _ => one_pos⟩ -- For positive coefficients `c`, a foliation `Φ c` that plays the role of `Σ c_ℓ F_ℓ`. have hex : ∀ c : {c : Fin m → ℝ | ∀ ℓ, 0 < c ℓ}, ∃ G : MF, ∀ α ∈ simple, inter G α = ∑ ℓ, (c : Fin m → ℝ) ℓ * inter (F ℓ) α := by intro c have hcompat : ∀ i j, inter ((c : Fin m → ℝ) i • F i) ((c : Fin m → ℝ) j • F j) = 0 := by intro i j rw [inter_smul _ _ _ (c.2 i).le, inter_comm, inter_smul _ _ _ (c.2 j).le, inter_comm, hF i j, mul_zero, mul_zero] obtain ⟨G, hG⟩ := sum_compatible m (fun ℓ => (c : Fin m → ℝ) ℓ • F ℓ) hcompat refine ⟨G, fun α hα => ?_⟩ rw [hG α hα] exact Finset.sum_congr rfl fun ℓ _ => inter_smul _ _ _ (c.2 ℓ).le choose Φ hΦ using hex -- It is continuous, because the topology is given by intersection with simple classes. have hcont : Continuous Φ := by rw [hind.continuous_iff] refine continuous_pi fun α => ?_ have hfun : (fun c : {c : Fin m → ℝ | ∀ ℓ, 0 < c ℓ} => inter (Φ c) (α : MF)) = fun c : {c : Fin m → ℝ | ∀ ℓ, 0 < c ℓ} => ∑ ℓ, (c : Fin m → ℝ) ℓ * inter (F ℓ) α := by funext c; exact hΦ c α α.2 show Continuous fun c : {c : Fin m → ℝ | ∀ ℓ, 0 < c ℓ} => inter (Φ c) (α : MF) rw [hfun] exact continuous_finsetSum _ fun ℓ _ => ((continuous_apply ℓ).comp continuous_subtype_val).mul continuous_const -- It is injective, because the intersection functions are linearly independent. have hinj : Function.Injective Φ := by intro c c' hcc have hzero : ∑ ℓ, ((c : Fin m → ℝ) ℓ - (c' : Fin m → ℝ) ℓ) • (fun α : simple => inter (F ℓ) α) = 0 := by funext α have h1 := hΦ c α α.2 have h2 := hΦ c' α α.2 rw [hcc] at h1 simp only [Finset.sum_apply, Pi.smul_apply, smul_eq_mul, Pi.zero_apply, sub_mul, Finset.sum_sub_distrib] rw [← h1, ← h2, sub_self] have hall := Fintype.linearIndependent_iff.1 hli _ hzero apply Subtype.ext funext ℓ exact sub_eq_zero.1 (hall ℓ) -- Invariance of dimension. exact hinv m _ hUopen hUne (fun c => e (Φ c)) (e.continuous.comp hcont) (e.injective.comp hinj)
end Thurston1234567891011121314151617181920212223242526import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2open Filter Topology
namespace Thurston
open MeasuredFoliations ExtremalLength
variable {T MF : Type*} [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- See `DistortionLower` in Thurston/Interface/Section2.lean for the statement. -/theorem distortion_lower : DistortionLower T MF := by intro x y U have h := kerckhoff_le (T := T) (MF := MF) y x U rw [dist_comm y x] at h -- h : ext x U ≤ exp (2 * dist x y) * ext y U have h2 : Real.exp (-(2 * dist x y)) * ext x U ≤ Real.exp (-(2 * dist x y)) * (Real.exp (2 * dist x y) * ext y U) := mul_le_mul_of_nonneg_left h (Real.exp_nonneg _) have key : Real.exp (-(2 * dist x y)) * Real.exp (2 * dist x y) = 1 := by rw [← Real.exp_add, neg_add_cancel, Real.exp_zero] rw [← mul_assoc, key, one_mul] at h2 exact h2
end Thurston123456789101112131415161718192021222324252627282930313233343536373839404142434445464748import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2open Filter Topology
namespace Thurston
open MeasuredFoliations ExtremalLength
variable {T MF : Type*} [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- See `ExtLeOfInterLe` in Thurston/Interface/Section2.lean for the statement. -/theorem ext_le_of_inter_le : ExtLeOfInterLe T MF := by intro x U G B hB hle by_cases hU : U = 0 · rw [hU, (ext_eq_zero x 0).2 rfl] exact mul_nonneg (sq_nonneg B) (ext_nonneg x G) · have hub : ∀ r ∈ {r : ℝ | ∃ V : MF, V ≠ 0 ∧ r = inter U V / Real.sqrt (ext x V)}, r ≤ B * Real.sqrt (ext x G) := by rintro r ⟨V, hV, rfl⟩ have hVne : ext x V ≠ 0 := fun h => hV ((ext_eq_zero x V).1 h) have hpos : 0 < Real.sqrt (ext x V) := Real.sqrt_pos.2 (lt_of_le_of_ne (ext_nonneg x V) (Ne.symm hVne)) have hstep : inter G V ≤ Real.sqrt (ext x G) * Real.sqrt (ext x V) := by calc inter G V = Real.sqrt (inter G V ^ 2) := (Real.sqrt_sq (inter_nonneg G V)).symm _ ≤ Real.sqrt (ext x G * ext x V) := Real.sqrt_le_sqrt (minsky x G V) _ = Real.sqrt (ext x G) * Real.sqrt (ext x V) := Real.sqrt_mul (ext_nonneg x G) _ have h2 : inter U V ≤ B * (Real.sqrt (ext x G) * Real.sqrt (ext x V)) := le_trans (hle V) (mul_le_mul_of_nonneg_left hstep hB) calc inter U V / Real.sqrt (ext x V) = inter U V * (Real.sqrt (ext x V))⁻¹ := div_eq_mul_inv _ _ _ ≤ (B * (Real.sqrt (ext x G) * Real.sqrt (ext x V))) * (Real.sqrt (ext x V))⁻¹ := mul_le_mul_of_nonneg_right h2 (inv_nonneg.2 (le_of_lt hpos)) _ = B * Real.sqrt (ext x G) := by field_simp have hsup : Real.sqrt (ext x U) ≤ B * Real.sqrt (ext x G) := (duality x U hU).2 (fun r hr => hub r hr) have hsG : Real.sqrt (ext x G) * Real.sqrt (ext x G) = ext x G := by rw [← sq, Real.sq_sqrt (ext_nonneg x G)] have hsU : Real.sqrt (ext x U) * Real.sqrt (ext x U) = ext x U := by rw [← sq, Real.sq_sqrt (ext_nonneg x U)] have hsq := mul_self_le_mul_self (Real.sqrt_nonneg (ext x U)) hsup calc ext x U = Real.sqrt (ext x U) * Real.sqrt (ext x U) := hsU.symm _ ≤ (B * Real.sqrt (ext x G)) * (B * Real.sqrt (ext x G)) := hsq _ = B ^ 2 * ext x G := by rw [mul_mul_mul_comm, hsG, sq]
end Thurston12345678910111213141516171819202122232425262728293031323334353637383940414243444546import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2open Filter Topology
namespace Thurston
open MeasuredFoliations ExtremalLength
variable {T MF : Type*} [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- See `InterEqZeroOfShort` in Thurston/Interface/Section2.lean for the statement. -/theorem inter_eq_zero_of_short : InterEqZeroOfShort T MF := by intro y U V U₀ V₀ ε hε hU hV hU0 hV0 -- ε n is nonnegative eventually, in fact for all n have hεnn : ∀ n, 0 ≤ ε n := fun n => le_trans (ext_nonneg (y n) (U n)) (hU n) -- Minsky: inter (U n) (V n) ^ 2 ≤ ε n ^ 2 have hsq : ∀ n, inter (U n) (V n) ^ 2 ≤ ε n ^ 2 := by intro n have h1 : inter (U n) (V n) ^ 2 ≤ ext (y n) (U n) * ext (y n) (V n) := minsky (y n) (U n) (V n) have h2 : ext (y n) (U n) * ext (y n) (V n) ≤ ε n * ε n := by apply mul_le_mul · exact hU n · exact hV n · exact ext_nonneg (y n) (V n) · exact hεnn n nlinarith [h1, h2, pow_two (ε n)] -- so inter (U n) (V n) ≤ ε n have hle : ∀ n, inter (U n) (V n) ≤ ε n := by intro n have h := hsq n have hnn := inter_nonneg (U n) (V n) have key : inter (U n) (V n) ≤ |ε n| := by nlinarith [sq_nonneg (inter (U n) (V n) - |ε n|), sq_nonneg (inter (U n) (V n) + |ε n|), abs_nonneg (ε n), sq_abs (ε n)] rwa [abs_of_nonneg (hεnn n)] at key -- squeeze have hlim1 : Tendsto (fun n => inter (U n) (V n)) atTop (𝓝 0) := by refine squeeze_zero (fun n => inter_nonneg (U n) (V n)) hle ?_ simpa using hε -- continuity gives the limit is inter U₀ V₀ have hlim2 : Tendsto (fun n => inter (U n) (V n)) atTop (𝓝 (inter U₀ V₀)) := inter_continuous.continuousAt.tendsto.comp (hU0.prodMk_nhds hV0) exact tendsto_nhds_unique hlim2 hlim1
end Thurston1234567891011121314151617181920212223242526272829303132333435363738394041import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2open Filter Topology
namespace Thurston
open MeasuredFoliations ExtremalLength
variable {T MF : Type*} [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- See `InterLeOfSimple` in Thurston/Interface/Section2.lean for the statement. -/theorem inter_le_of_simple : InterLeOfSimple MF := by intro U G B hB hsimple V -- `f W = i(U, W) - B · i(G, W)` is continuous have hfcont : Continuous fun W : MF => inter U W - B * inter G W := (inter_continuous.comp (continuous_const.prodMk continuous_id)).sub (continuous_const.mul (inter_continuous.comp (continuous_const.prodMk continuous_id))) -- the inequality holds on all scaled simple curves have hSle : ∀ W ∈ {W : MF | ∃ c : ℝ, 0 ≤ c ∧ ∃ α ∈ (simple : Set MF), W = c • α}, inter U W - B * inter G W ≤ 0 := by rintro W ⟨c, hc, α, hα, rfl⟩ have hα' : inter U α ≤ B * inter G α := hsimple α hα have hUW : inter U (c • α) = c * inter U α := by rw [inter_comm U (c • α), inter_smul c α U hc, inter_comm α U] have hGW : inter G (c • α) = c * inter G α := by rw [inter_comm G (c • α), inter_smul c α G hc, inter_comm α G] rw [hUW, hGW] nlinarith -- by density of scaled simple curves, it holds everywhere have hclosed : IsClosed {W : MF | inter U W - B * inter G W ≤ 0} := isClosed_le hfcont continuous_const have hclosure : closure {W : MF | ∃ c : ℝ, 0 ≤ c ∧ ∃ α ∈ (simple : Set MF), W = c • α} ⊆ {W : MF | inter U W - B * inter G W ≤ 0} := closure_minimal hSle hclosed rw [MeasuredFoliations.simple_dense.closure_eq] at hclosure have hV : inter U V - B * inter G V ≤ 0 := hclosure (Set.mem_univ V) have hV' : inter U V - B * inter G V ≤ 0 := hV exact sub_nonpos.mp hV
end Thurston123456789101112131415161718192021222324252627282930313233343536373839404142434445464748import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2open Filter Topology
namespace Thurston
open MeasuredFoliations ExtremalLength
variable {T MF : Type*} [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- Iterates of a map that does not expand distances do not expand distances. -/private lemma iterate_dist_le {T : Type*} [MetricSpace T] (σ : T → T) (h : ∀ x y, dist (σ x) (σ y) ≤ dist x y) (n : ℕ) (x y : T) : dist (σ^[n] x) (σ^[n] y) ≤ dist x y := by induction n with | zero => simp | succ n ih => rw [Function.iterate_succ_apply', Function.iterate_succ_apply'] exact le_trans (h _ _) ih
/-- The displacement of the `k`-th iterate is at most `k` times the first step. -/private lemma dist_iterate_le {T : Type*} [MetricSpace T] (σ : T → T) (h : ∀ x y, dist (σ x) (σ y) ≤ dist x y) (o : T) (k : ℕ) : dist o (σ^[k] o) ≤ (k : ℝ) * dist o (σ o) := by induction k with | zero => simp | succ k ih => have hstep : dist (σ^[k] o) (σ^[k+1] o) ≤ dist o (σ o) := by have hp := iterate_dist_le σ h k o (σ o) have hk : σ^[k] (σ o) = σ^[k+1] o := (Function.iterate_succ_apply σ k o).symm rw [hk] at hp exact hp calc dist o (σ^[k+1] o) ≤ dist o (σ^[k] o) + dist (σ^[k] o) (σ^[k+1] o) := dist_triangle _ _ _ _ ≤ (k : ℝ) * dist o (σ o) + dist o (σ o) := add_le_add ih hstep _ = (↑(k+1) : ℝ) * dist o (σ o) := by push_cast; ring
/-- See `OrbitDistLe` in Thurston/Interface/Section2.lean for the statement. -/theorem orbit_dist_le : OrbitDistLe T := by intro σ h o n k have h1 : dist (σ^[n] o) (σ^[n + k] o) ≤ dist o (σ^[k] o) := by have hp := iterate_dist_le σ h n o (σ^[k] o) have hk : σ^[n] (σ^[k] o) = σ^[n + k] o := (Function.iterate_add_apply σ n k o).symm rwa [hk] at hp exact le_trans h1 (dist_iterate_le σ h o k)
end Thurston12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2open Filter Topology
namespace Thurston
open MeasuredFoliations ExtremalLength
variable {T MF : Type*} [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- See `RecordTimes` in Thurston/Interface/Section2.lean for the statement. -/theorem record_times : RecordTimes := by unfold RecordTimes intro u hunb set P : ℕ → Prop := fun n => ∀ j ≤ n, u j ≤ u n with hP -- every real is beaten by some value of `u` have hbdd : ∀ c : ℝ, ∃ k : ℕ, c < u k := by intro c by_contra h push Not at h exact hunb ⟨c, by rintro x ⟨k, rfl⟩; exact h k⟩ -- some prefix maximum lies above `c` have hrec : ∀ c : ℝ, ∃ m : ℕ, P m ∧ c < u m := by intro c obtain ⟨k, hk⟩ := hbdd c obtain ⟨m, hm_mem, hm_max⟩ := Finset.exists_max_image (Finset.range (k + 1)) u ⟨0, Finset.mem_range.mpr (Nat.succ_pos k)⟩ have hm_le : m ≤ k := Nat.lt_succ_iff.mp (Finset.mem_range.mp hm_mem) refine ⟨m, fun j hj => ?_, ?_⟩ · exact hm_max j (Finset.mem_range.mpr (Nat.lt_succ_of_le (le_trans hj hm_le))) · exact lt_of_lt_of_le hk (hm_max k (Finset.mem_range.mpr (Nat.lt_succ_self k))) -- prefix maxima are cofinal have hcof : ∀ n : ℕ, ∃ m ≥ n, P m := by intro n obtain ⟨M, _, hM_max⟩ := Finset.exists_max_image (Finset.range (n + 1)) u ⟨0, Finset.mem_range.mpr (Nat.succ_pos n)⟩ obtain ⟨m, hm_rec, hm_gt⟩ := hrec (u M) have hm_gt_n : n < m := by by_contra h push Not at h exact absurd (hM_max m (Finset.mem_range.mpr (Nat.lt_succ_of_le h))) (not_le.mpr hm_gt) exact ⟨m, le_of_lt hm_gt_n, hm_rec⟩ -- hence the set of prefix maxima is infinite have hinf : (Set.ofPred P : Set ℕ).Infinite := by change ¬ (Set.ofPred P : Set ℕ).Finite intro hfin obtain ⟨N, hN⟩ := Set.Finite.bddAbove hfin obtain ⟨m, hm_ge, hm_rec⟩ := hcof (N + 1) exact absurd (hN hm_rec) (by omega) refine ⟨Nat.nth P, Nat.nth_strictMono (p := P) hinf, ?_, ?_⟩ · rw [tendsto_atTop_atTop] intro b obtain ⟨m, _, hmb⟩ := hrec b refine ⟨m, fun a ha => ?_⟩ have hma : m ≤ Nat.nth P a := le_trans ha (StrictMono.id_le (Nat.nth_strictMono (p := P) hinf) a) exact le_of_lt (lt_of_lt_of_le hmb (Nat.nth_mem_of_infinite (p := P) hinf a m hma)) · intro i j hj exact Nat.nth_mem_of_infinite (p := P) hinf i j hj
end Thurston123456789101112131415161718192021222324252627282930313233343536373839import Mathlibimport Thurston.Conditional.WolffDenjoy.Interface.Section2open Filter Topology
namespace Thurston
open MeasuredFoliations ExtremalLength
variable {T MF : Type*} [MetricSpace T] [ProperSpace T] [MetricSpace MF] [Zero MF] [SMul ℝ MF] [MeasuredFoliations MF] [ExtremalLength T MF]
/-- See `SqrtExtSumLe` in Thurston/Interface/Section2.lean for the statement. -/theorem sqrt_ext_sum_le : SqrtExtSumLe T MF := by unfold SqrtExtSumLe intro x m F G hG -- intersection with the empty foliation is zero have hinter_zero : ∀ V : MF, inter (0 : MF) V = 0 := by intro V rw [← zero_smul V] have h := inter_smul (0 : ℝ) V V (le_refl 0) simpa using h -- each single term is bounded by the square root of the extremal length have hterm : ∀ (i : Fin m) (V : MF), V ≠ 0 → inter (F i) V / Real.sqrt (ext x V) ≤ Real.sqrt (ext x (F i)) := by intro i V hV by_cases hi : F i = 0 · rw [hi, hinter_zero V, zero_div] exact Real.sqrt_nonneg _ · exact (duality x (F i) hi).1 ⟨V, hV, rfl⟩ by_cases hG0 : G = 0 · subst hG0 rw [show ext x (0 : MF) = 0 from (ext_eq_zero x 0).2 rfl, Real.sqrt_zero] exact Finset.sum_nonneg (fun i _ => Real.sqrt_nonneg _) · refine (duality x G hG0).2 (fun r hr => ?_) rcases hr with ⟨V, hV, rfl⟩ rw [hG V, Finset.sum_div] exact Finset.sum_le_sum (fun i _ => hterm i V hV)
end Thurston123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622import Mathlib
/-!# Proposition 7.2 (`l:cylinder-mass`): Analytic estimates for annulus Laurent decay
Formalization of the four core analytic estimates in the proof of Proposition 7.2(`l:cylinder-mass`) from S. van Strien, *The Thurston algorithm for meromorphic and rational maps*(version 22, 3 December 2026), lines 1334–1370:
1. **Simple-pole disk integral (lines 1334–1339):** On a disk `D = Metric.ball z₀ r_D` containing a moving point `ξ ∈ D`, polar integration about `ξ` gives `∫ z in Metric.ball ξ R, ‖z - ξ‖⁻¹ ∂volume = 2 * π * R`, and hence whenever `‖(z - ξ) * p z‖ ≤ M_χ` on `D`, `∫ z in Metric.ball z₀ r_D, ‖p z‖ ∂volume ≤ 4 * π * r_D * M_χ`.2. **Laurent tail decay (`eq:laurent`, lines 1345–1349):** For a `2πi`-periodic Laurent series `κ(x + iy) = ∑' ℓ : ℤ, a ℓ * exp (ℓ * (x + iy))` whose coefficients satisfy the buffered Cauchy bounds `‖a ℓ‖ ≤ M' * exp (-ℓ * (L + 1))` and `‖a (-ℓ)‖ ≤ M' * exp (-ℓ)` (`ℓ ≥ 1`), the series converges on `0 ≤ x ≤ L` with `‖κ(x + iy) - a 0‖ ≤ laurentConst * M' * (exp (-x) + exp (-(L - x)))`, where `laurentConst = 1 / (exp 1 - 1)`.3. **Annulus and band `L¹` error (lines 1351–1359):** Integrating `eq:laurent` over `[0, L] × [0, 2π]` gives `4 * π * laurentConst * M' * (1 - exp (-L))`, uniformly in `L ≥ 0`, and controls the mass of `‖κ‖` on every sub-band `[u * L, v * L] × [0, 2π]` (`0 ≤ u ≤ v ≤ 1`) relative to `2 * π * (v - u) * L * ‖a 0‖`.4. **Middle-third constant-mode bounds (lines 1367–1370):** On `[L / 3, 2 * L / 3] × [0, 2π]`, the integrated error is at most `4 * π * laurentConst * M * exp (-(L / 3))`, which tends to `0` as `L → ∞`. Combined with a lower mass bound `δ_e` on the middle third and the upper bound `2 * π * L * ‖b‖ ≤ 1`, this yields `(3 * δ_e / (4 * π)) / L ≤ ‖b‖ ≤ 1 / (2 * π * L)` once `4 * π * laurentConst * M * exp (-(L / 3)) ≤ δ_e / 2`.-/
open MeasureTheory Set Filter Topologyopen scoped ENNReal
namespace Thurston.Core
/-! ### Part 1: Simple-pole disk integral (lines 1334–1339) -/
private lemma lintegral_simple_pole_ball (ξ : ℂ) (R : ℝ) : ∫⁻ z in Metric.ball ξ R, ENNReal.ofReal ‖z - ξ‖⁻¹ = ENNReal.ofReal (2 * Real.pi * R) := by set g : ℂ → ℝ≥0∞ := Set.indicator (Metric.ball (0 : ℂ) R) (fun z => ENNReal.ofReal ‖z‖⁻¹) with hg have hgm : Measurable g := (ENNReal.measurable_ofReal.comp continuous_norm.measurable.inv).indicator measurableSet_ball have htrans : ∫⁻ z in Metric.ball ξ R, ENNReal.ofReal ‖z - ξ‖⁻¹ = ∫⁻ z, g z := by rw [← lintegral_indicator measurableSet_ball, ← lintegral_add_right_eq_self _ ξ] refine lintegral_congr fun z => ?_ simp only [hg, Set.indicator, Metric.mem_ball, dist_eq_norm, add_sub_cancel_right, sub_zero] set F : ℝ × ℝ → ℝ≥0∞ := fun p => ENNReal.ofReal p.1 • g (Complex.polarCoord.symm p) with hF have hsymm : Measurable (Complex.polarCoord.symm : ℝ × ℝ → ℂ) := by have h : (Complex.polarCoord.symm : ℝ × ℝ → ℂ) = fun p => Complex.measurableEquivRealProd.symm (polarCoord.symm p) := funext fun p => (Complex.measurableEquivRealProd_symm_polarCoord_symm_apply p).symm rw [h] exact Complex.measurableEquivRealProd.symm.measurable.comp continuous_polarCoord_symm.measurable have hFm : Measurable F := (ENNReal.measurable_ofReal.comp measurable_fst).smul (hgm.comp hsymm) rw [htrans, ← Complex.lintegral_comp_polarCoord_symm, polarCoord_target, Measure.volume_eq_prod, ← Measure.prod_restrict, lintegral_prod _ hFm.aemeasurable] have hinner : ∀ s ∈ Ioi (0 : ℝ), ∫⁻ θ in Ioo (-Real.pi) Real.pi, F (s, θ) = (Ioo (0 : ℝ) R).indicator (fun _ => ENNReal.ofReal (2 * Real.pi)) s := by intro s hs have hspos : 0 < s := hs by_cases hsR : s < R · have hmem : s ∈ Ioo (0 : ℝ) R := ⟨hspos, hsR⟩ rw [Set.indicator_of_mem hmem] have hconst : ∀ θ : ℝ, F (s, θ) = 1 := by intro θ have hball : Complex.polarCoord.symm (s, θ) ∈ Metric.ball (0 : ℂ) R := by rw [Metric.mem_ball, dist_zero_right, Complex.norm_polarCoord_symm, abs_of_pos hspos] exact hsR simp only [hF, hg, Set.indicator_of_mem hball, smul_eq_mul, Complex.norm_polarCoord_symm, abs_of_pos hspos] rw [← ENNReal.ofReal_mul (le_of_lt hspos), mul_inv_cancel₀ (ne_of_gt hspos), ENNReal.ofReal_one] simp_rw [hconst] rw [setLIntegral_const, one_mul, Real.volume_Ioo] congr 1 ring · have hnotmem : s ∉ Ioo (0 : ℝ) R := fun h => hsR h.2 rw [Set.indicator_of_notMem hnotmem] have hzero : ∀ θ : ℝ, F (s, θ) = 0 := by intro θ have hnotball : Complex.polarCoord.symm (s, θ) ∉ Metric.ball (0 : ℂ) R := by rw [Metric.mem_ball, dist_zero_right, Complex.norm_polarCoord_symm, abs_of_pos hspos] exact hsR simp only [hF, hg, Set.indicator_of_notMem hnotball, smul_zero] simp_rw [hzero] simp rw [setLIntegral_congr_fun measurableSet_Ioi hinner, lintegral_indicator measurableSet_Ioo, Measure.restrict_restrict measurableSet_Ioo] have hinter : Ioo (0 : ℝ) R ∩ Ioi (0 : ℝ) = Ioo (0 : ℝ) R := Set.inter_eq_left.mpr fun _ hx => hx.1 rw [hinter, setLIntegral_const, Real.volume_Ioo, sub_zero, ← ENNReal.ofReal_mul (by positivity)]
/-- `z ↦ ‖z - ξ‖⁻¹` is integrable on every ball `Metric.ball ξ R`. -/theorem integrableOn_simple_pole_ball (ξ : ℂ) (R : ℝ) : IntegrableOn (fun z : ℂ => ‖z - ξ‖⁻¹) (Metric.ball ξ R) volume := by have hm : Measurable (fun z : ℂ => ‖z - ξ‖⁻¹) := ((continuous_id.sub continuous_const).norm.measurable).inv refine ⟨hm.aestronglyMeasurable, ?_⟩ rw [hasFiniteIntegral_iff_enorm] have hen : ∀ z : ℂ, ‖‖z - ξ‖⁻¹‖ₑ = ENNReal.ofReal ‖z - ξ‖⁻¹ := fun z => Real.enorm_eq_ofReal (inv_nonneg.mpr (norm_nonneg _)) simp_rw [hen] rw [lintegral_simple_pole_ball ξ R] exact ENNReal.ofReal_lt_top
/-- Polar integration of the simple-pole kernel on a ball of radius `R ≥ 0`:`∫ z in Metric.ball ξ R, ‖z - ξ‖⁻¹ ∂volume = 2 * π * R`. -/theorem simple_pole_ball_integral_eq (ξ : ℂ) {R : ℝ} (hR : 0 ≤ R) : ∫ z in Metric.ball ξ R, ‖z - ξ‖⁻¹ ∂volume = 2 * Real.pi * R := by have hm : Measurable (fun z : ℂ => ‖z - ξ‖⁻¹) := ((continuous_id.sub continuous_const).norm.measurable).inv rw [integral_eq_lintegral_of_nonneg_ae (Eventually.of_forall fun _ => by positivity) hm.aestronglyMeasurable, lintegral_simple_pole_ball ξ R, ENNReal.toReal_ofReal (by positivity)]
/-- **Proposition 7.2, Part 1 (lines 1334–1339):**On a disk `D = Metric.ball z₀ r_D` containing a moving simple pole `ξ ∈ D`, if`χ(z) = (z - ξ) * p(z)` satisfies `‖χ(z)‖ ≤ M_χ` on `D`, then`∫ z in D, ‖p z‖ ∂volume ≤ 4 * π * r_D * M_χ`. -/theorem simple_pole_disk_integral_le (z₀ ξ : ℂ) {r_D M_χ : ℝ} (hr : 0 ≤ r_D) (hM : 0 ≤ M_χ) (hξ : ξ ∈ Metric.ball z₀ r_D) (p : ℂ → ℂ) (hp_meas : AEStronglyMeasurable p (volume.restrict (Metric.ball z₀ r_D))) (hχ : ∀ z ∈ Metric.ball z₀ r_D, ‖(z - ξ) * p z‖ ≤ M_χ) : ∫ z in Metric.ball z₀ r_D, ‖p z‖ ∂volume ≤ 4 * Real.pi * r_D * M_χ := by have hsub : Metric.ball z₀ r_D ⊆ Metric.ball ξ (2 * r_D) := by intro z hz rw [Metric.mem_ball] at hz hξ ⊢ calc dist z ξ ≤ dist z z₀ + dist z₀ ξ := dist_triangle z z₀ ξ _ = dist z z₀ + dist ξ z₀ := by rw [dist_comm z₀ ξ] _ < r_D + r_D := add_lt_add hz hξ _ = 2 * r_D := by ring have hint_big : IntegrableOn (fun z : ℂ => M_χ * ‖z - ξ‖⁻¹) (Metric.ball ξ (2 * r_D)) volume := (integrableOn_simple_pole_ball ξ (2 * r_D)).const_mul M_χ have hint_small : IntegrableOn (fun z : ℂ => M_χ * ‖z - ξ‖⁻¹) (Metric.ball z₀ r_D) volume := hint_big.mono_set hsub have hae_ne : ∀ᵐ z ∂(volume.restrict (Metric.ball z₀ r_D)), z ≠ ξ := by have h0 : volume ({ξ} : Set ℂ) = 0 := measure_singleton ξ have h1 : ∀ᵐ z ∂(volume : Measure ℂ), z ≠ ξ := by rw [ae_iff] simp [h0] exact ae_restrict_of_ae h1 have hae_bound : ∀ᵐ z ∂(volume.restrict (Metric.ball z₀ r_D)), ‖p z‖ ≤ M_χ * ‖z - ξ‖⁻¹ := by filter_upwards [ae_restrict_mem measurableSet_ball, hae_ne] with z hz hne have hnz : ‖z - ξ‖ ≠ 0 := norm_ne_zero_iff.mpr (sub_ne_zero.mpr hne) have hmul : ‖p z‖ = ‖(z - ξ) * p z‖ * ‖z - ξ‖⁻¹ := by rw [norm_mul, mul_comm ‖z - ξ‖ ‖p z‖, mul_assoc, mul_inv_cancel₀ hnz, mul_one] rw [hmul] exact mul_le_mul_of_nonneg_right (hχ z hz) (inv_nonneg.mpr (norm_nonneg _)) have hint_p : IntegrableOn (fun z : ℂ => ‖p z‖) (Metric.ball z₀ r_D) volume := by refine hint_small.mono' hp_meas.norm ?_ filter_upwards [hae_bound] with z hz rw [Real.norm_of_nonneg (norm_nonneg _)] exact hz calc ∫ z in Metric.ball z₀ r_D, ‖p z‖ ∂volume ≤ ∫ z in Metric.ball z₀ r_D, M_χ * ‖z - ξ‖⁻¹ ∂volume := integral_mono_ae hint_p hint_small hae_bound _ ≤ ∫ z in Metric.ball ξ (2 * r_D), M_χ * ‖z - ξ‖⁻¹ ∂volume := setIntegral_mono_set hint_big (Eventually.of_forall fun _ => by positivity) hsub.eventuallyLE _ = M_χ * ∫ z in Metric.ball ξ (2 * r_D), ‖z - ξ‖⁻¹ ∂volume := integral_const_mul M_χ _ _ = M_χ * (2 * Real.pi * (2 * r_D)) := by rw [simple_pole_ball_integral_eq ξ (by linarith)] _ = 4 * Real.pi * r_D * M_χ := by ring
/-! ### Part 2: Laurent tail decay `eq:laurent` (lines 1345–1349) -/
/-- The sharp geometric-series constant `C₀ = 1 / (e - 1)` in `eq:laurent`. -/noncomputable def laurentConst : ℝ := 1 / (Real.exp 1 - 1)
/-- `laurentConst` is strictly positive. -/lemma laurentConst_pos : 0 < laurentConst := by unfold laurentConst exact one_div_pos.mpr (sub_pos.mpr (Real.one_lt_exp_iff.mpr zero_lt_one))
private def intSplitEquiv : Unit ⊕ (ℕ ⊕ ℕ) ≃ ℤ where toFun | Sum.inl () => 0 | Sum.inr (Sum.inl n) => ((n + 1 : ℕ) : ℤ) | Sum.inr (Sum.inr n) => Int.negSucc n invFun | Int.ofNat 0 => Sum.inl () | Int.ofNat (n + 1) => Sum.inr (Sum.inl n) | Int.negSucc n => Sum.inr (Sum.inr n) left_inv := by rintro (⟨⟩ | _ | _) <;> rfl right_inv := by rintro ((_ | _) | _) <;> rfl
private lemma hasSum_exp_tail {t : ℝ} (ht : 0 ≤ t) : HasSum (fun n : ℕ => Real.exp (-((n + 1 : ℕ) : ℝ) * (t + 1))) (Real.exp (-(t + 1)) / (1 - Real.exp (-(t + 1)))) := by set r : ℝ := Real.exp (-(t + 1)) have hr0 : 0 ≤ r := Real.exp_nonneg _ have hr1 : r < 1 := by simpa [r] using Real.exp_lt_exp.mpr (show -(t + 1) < 0 by linarith) have hgeom : HasSum (fun n : ℕ => r * r ^ n) (r * (1 - r)⁻¹) := (hasSum_geometric_of_lt_one hr0 hr1).mul_left r refine hgeom.congr_fun ?_ |> fun h => by rwa [← div_eq_mul_inv] at h intro n rw [← pow_succ', ← Real.exp_nat_mul] congr 1 push_cast ring
private lemma exp_tail_div_le {t : ℝ} (ht : 0 ≤ t) : Real.exp (-(t + 1)) / (1 - Real.exp (-(t + 1))) ≤ laurentConst * Real.exp (-t) := by have he1_lt : Real.exp (-1) < 1 := Real.exp_lt_one_iff.mpr (by norm_num) have hden_pos : 0 < 1 - Real.exp (-1) := sub_pos.mpr he1_lt have hr_le : Real.exp (-(t + 1)) ≤ Real.exp (-1) := Real.exp_le_exp.mpr (by linarith) have hden_le : 1 - Real.exp (-1) ≤ 1 - Real.exp (-(t + 1)) := by linarith have hstep : Real.exp (-(t + 1)) / (1 - Real.exp (-(t + 1))) ≤ Real.exp (-(t + 1)) / (1 - Real.exp (-1)) := div_le_div_of_nonneg_left (Real.exp_nonneg _) hden_pos hden_le refine le_trans hstep (le_of_eq ?_) unfold laurentConst have hexp_split : Real.exp (-(t + 1)) = Real.exp (-1) * Real.exp (-t) := by rw [← Real.exp_add] congr 1 ring have he1_pos : 0 < Real.exp 1 := Real.exp_pos 1 have he1_gt : (1 : ℝ) < Real.exp 1 := Real.one_lt_exp_iff.mpr zero_lt_one rw [hexp_split, Real.exp_neg] have hne1 : Real.exp 1 ≠ 0 := ne_of_gt he1_pos have hne2 : Real.exp 1 - 1 ≠ 0 := ne_of_gt (sub_pos.mpr he1_gt) have hne3 : 1 - (Real.exp 1)⁻¹ ≠ 0 := by rw [← Real.exp_neg] exact ne_of_gt hden_pos field_simp [hne1, hne2, hne3]
private lemma norm_laurent_term (a : ℤ → ℂ) (ℓ : ℤ) (x y : ℝ) : ‖a ℓ * Complex.exp ((ℓ : ℂ) * ((x : ℂ) + (y : ℂ) * Complex.I))‖ = ‖a ℓ‖ * Real.exp ((ℓ : ℝ) * x) := by rw [norm_mul, Complex.norm_exp] congr 1 have hre : ((ℓ : ℂ) * ((x : ℂ) + (y : ℂ) * Complex.I)).re = (ℓ : ℝ) * x := by simp rw [hre]
private lemma tsum_int_split (f : ℤ → ℂ) (hpos : Summable (fun n : ℕ => f ((n + 1 : ℕ) : ℤ))) (hneg : Summable (fun n : ℕ => f (Int.negSucc n))) : (∑' ℓ : ℤ, f ℓ) = f 0 + ((∑' n : ℕ, f ((n + 1 : ℕ) : ℤ)) + (∑' n : ℕ, f (Int.negSucc n))) := by have h0 : HasSum ((f ∘ intSplitEquiv) ∘ Sum.inl) (f 0) := hasSum_unique _ have h1 : HasSum ((f ∘ intSplitEquiv) ∘ Sum.inr) ((∑' n : ℕ, f ((n + 1 : ℕ) : ℤ)) + (∑' n : ℕ, f (Int.negSucc n))) := HasSum.sum (f := (f ∘ intSplitEquiv) ∘ Sum.inr) hpos.hasSum hneg.hasSum have hall : HasSum (f ∘ intSplitEquiv) (f 0 + ((∑' n : ℕ, f ((n + 1 : ℕ) : ℤ)) + (∑' n : ℕ, f (Int.negSucc n)))) := HasSum.sum (f := f ∘ intSplitEquiv) h0 h1 rw [← intSplitEquiv.tsum_eq] exact hall.tsum_eq
private lemma laurent_pos_term_le (a : ℤ → ℂ) {L M' x y : ℝ} (hpos : ∀ n : ℕ, 1 ≤ n → ‖a (n : ℤ)‖ ≤ M' * Real.exp (-(n : ℝ) * (L + 1))) (n : ℕ) : ‖a ((n + 1 : ℕ) : ℤ) * Complex.exp ((((n + 1 : ℕ) : ℤ) : ℂ) * ((x : ℂ) + (y : ℂ) * Complex.I))‖ ≤ M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (L - x + 1)) := by rw [norm_laurent_term, Int.cast_natCast] calc ‖a ((n + 1 : ℕ) : ℤ)‖ * Real.exp (((n + 1 : ℕ) : ℝ) * x) ≤ M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (L + 1)) * Real.exp (((n + 1 : ℕ) : ℝ) * x) := by gcongr exact hpos (n + 1) (Nat.succ_pos n) _ = M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (L - x + 1)) := by rw [mul_assoc, ← Real.exp_add] congr 2 ring
private lemma laurent_neg_term_le (a : ℤ → ℂ) {M' x y : ℝ} (hneg : ∀ n : ℕ, 1 ≤ n → ‖a (-(n : ℤ))‖ ≤ M' * Real.exp (-(n : ℝ))) (n : ℕ) : ‖a (Int.negSucc n) * Complex.exp (((Int.negSucc n : ℤ) : ℂ) * ((x : ℂ) + (y : ℂ) * Complex.I))‖ ≤ M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (x + 1)) := by have hns : Int.negSucc n = -((n + 1 : ℕ) : ℤ) := by omega rw [hns, norm_laurent_term, Int.cast_neg, Int.cast_natCast] calc ‖a (-((n + 1 : ℕ) : ℤ))‖ * Real.exp (-((n + 1 : ℕ) : ℝ) * x) ≤ M' * Real.exp (-((n + 1 : ℕ) : ℝ)) * Real.exp (-((n + 1 : ℕ) : ℝ) * x) := by gcongr exact hneg (n + 1) (Nat.succ_pos n) _ = M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (x + 1)) := by rw [mul_assoc, ← Real.exp_add] congr 2 ring
/-- Summability of the `ℤ`-indexed Laurent series on `0 ≤ x ≤ L` under the buffered Cauchybounds. -/theorem laurent_summable (a : ℤ → ℂ) {L M' x y : ℝ} (hx0 : 0 ≤ x) (hxL : x ≤ L) (hpos : ∀ n : ℕ, 1 ≤ n → ‖a (n : ℤ)‖ ≤ M' * Real.exp (-(n : ℝ) * (L + 1))) (hneg : ∀ n : ℕ, 1 ≤ n → ‖a (-(n : ℤ))‖ ≤ M' * Real.exp (-(n : ℝ))) : Summable (fun ℓ : ℤ => a ℓ * Complex.exp ((ℓ : ℂ) * ((x : ℂ) + (y : ℂ) * Complex.I))) := by let f : ℤ → ℂ := fun ℓ => a ℓ * Complex.exp ((ℓ : ℂ) * ((x : ℂ) + (y : ℂ) * Complex.I)) change Summable f have hsum_pos : Summable (fun n : ℕ => f ((n + 1 : ℕ) : ℤ)) := Summable.of_norm_bounded (((hasSum_exp_tail (sub_nonneg.mpr hxL)).mul_left M').summable) (laurent_pos_term_le a hpos) have hsum_neg : Summable (fun n : ℕ => f (Int.negSucc n)) := Summable.of_norm_bounded (((hasSum_exp_tail hx0).mul_left M').summable) (laurent_neg_term_le a hneg) rw [← intSplitEquiv.summable_iff] exact Summable.sum (f ∘ intSplitEquiv) (hasSum_unique _).summable (Summable.sum ((f ∘ intSplitEquiv) ∘ Sum.inr) hsum_pos hsum_neg)
/-- **Proposition 7.2, `eq:laurent` (lines 1345–1349):**On the strip `0 ≤ x ≤ L`, the non-constant Laurent modes decay exponentially away from both endswith the explicit constant `laurentConst = 1 / (exp 1 - 1)`. -/theorem laurent_tail_bound (a : ℤ → ℂ) {L M' x y : ℝ} (hx0 : 0 ≤ x) (hxL : x ≤ L) (hM : 0 ≤ M') (hpos : ∀ n : ℕ, 1 ≤ n → ‖a (n : ℤ)‖ ≤ M' * Real.exp (-(n : ℝ) * (L + 1))) (hneg : ∀ n : ℕ, 1 ≤ n → ‖a (-(n : ℤ))‖ ≤ M' * Real.exp (-(n : ℝ))) : ‖(∑' ℓ : ℤ, a ℓ * Complex.exp ((ℓ : ℂ) * ((x : ℂ) + (y : ℂ) * Complex.I))) - a 0‖ ≤ laurentConst * M' * (Real.exp (-x) + Real.exp (-(L - x))) := by let f : ℤ → ℂ := fun ℓ => a ℓ * Complex.exp ((ℓ : ℂ) * ((x : ℂ) + (y : ℂ) * Complex.I)) change ‖(∑' ℓ : ℤ, f ℓ) - a 0‖ ≤ _ have hsum_pos_maj : HasSum (fun n : ℕ => M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (L - x + 1))) (M' * (Real.exp (-(L - x + 1)) / (1 - Real.exp (-(L - x + 1))))) := (hasSum_exp_tail (sub_nonneg.mpr hxL)).mul_left M' have hsum_neg_maj : HasSum (fun n : ℕ => M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (x + 1))) (M' * (Real.exp (-(x + 1)) / (1 - Real.exp (-(x + 1))))) := (hasSum_exp_tail hx0).mul_left M' have hpos_pt := laurent_pos_term_le a (x := x) (y := y) hpos have hneg_pt := laurent_neg_term_le a (x := x) (y := y) hneg have hsum_pos_norm : Summable (fun n : ℕ => ‖f ((n + 1 : ℕ) : ℤ)‖) := Summable.of_nonneg_of_le (fun _ => norm_nonneg _) hpos_pt hsum_pos_maj.summable have hsum_neg_norm : Summable (fun n : ℕ => ‖f (Int.negSucc n)‖) := Summable.of_nonneg_of_le (fun _ => norm_nonneg _) hneg_pt hsum_neg_maj.summable have hsplit := tsum_int_split f hsum_pos_norm.of_norm hsum_neg_norm.of_norm have hf0 : f 0 = a 0 := by simp [f] rw [hsplit, hf0, add_sub_cancel_left] have hpos_bound : ‖∑' n : ℕ, f ((n + 1 : ℕ) : ℤ)‖ ≤ laurentConst * M' * Real.exp (-(L - x)) := by calc ‖∑' n : ℕ, f ((n + 1 : ℕ) : ℤ)‖ ≤ ∑' n : ℕ, ‖f ((n + 1 : ℕ) : ℤ)‖ := norm_tsum_le_tsum_norm hsum_pos_norm _ ≤ ∑' n : ℕ, M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (L - x + 1)) := hsum_pos_norm.tsum_le_tsum hpos_pt hsum_pos_maj.summable _ = M' * (Real.exp (-(L - x + 1)) / (1 - Real.exp (-(L - x + 1)))) := hsum_pos_maj.tsum_eq _ ≤ M' * (laurentConst * Real.exp (-(L - x))) := mul_le_mul_of_nonneg_left (exp_tail_div_le (sub_nonneg.mpr hxL)) hM _ = laurentConst * M' * Real.exp (-(L - x)) := by ring have hneg_bound : ‖∑' n : ℕ, f (Int.negSucc n)‖ ≤ laurentConst * M' * Real.exp (-x) := by calc ‖∑' n : ℕ, f (Int.negSucc n)‖ ≤ ∑' n : ℕ, ‖f (Int.negSucc n)‖ := norm_tsum_le_tsum_norm hsum_neg_norm _ ≤ ∑' n : ℕ, M' * Real.exp (-((n + 1 : ℕ) : ℝ) * (x + 1)) := hsum_neg_norm.tsum_le_tsum hneg_pt hsum_neg_maj.summable _ = M' * (Real.exp (-(x + 1)) / (1 - Real.exp (-(x + 1)))) := hsum_neg_maj.tsum_eq _ ≤ M' * (laurentConst * Real.exp (-x)) := mul_le_mul_of_nonneg_left (exp_tail_div_le hx0) hM _ = laurentConst * M' * Real.exp (-x) := by ring calc ‖(∑' n : ℕ, f ((n + 1 : ℕ) : ℤ)) + (∑' n : ℕ, f (Int.negSucc n))‖ ≤ ‖∑' n : ℕ, f ((n + 1 : ℕ) : ℤ)‖ + ‖∑' n : ℕ, f (Int.negSucc n)‖ := norm_add_le _ _ _ ≤ laurentConst * M' * Real.exp (-(L - x)) + laurentConst * M' * Real.exp (-x) := add_le_add hpos_bound hneg_bound _ = laurentConst * M' * (Real.exp (-x) + Real.exp (-(L - x))) := by ring
/-! ### Part 3: Annulus and band `L¹` error (lines 1351–1359) -/
private lemma integral_exp_neg_subinterval (a b : ℝ) : ∫ x in a..b, Real.exp (-x) = Real.exp (-a) - Real.exp (-b) := by have hderiv : ∀ x ∈ Set.uIcc a b, HasDerivAt (fun t => -Real.exp (-t)) (Real.exp (-x)) x := by intro x _ have h1 : HasDerivAt (fun t => Real.exp (-t)) (Real.exp (-x) * (-1)) x := (Real.hasDerivAt_exp (-x)).comp x (hasDerivAt_neg x) convert h1.neg using 1 ring have hint : IntervalIntegrable (fun x => Real.exp (-x)) volume a b := (Real.continuous_exp.comp continuous_neg).intervalIntegrable a b rw [intervalIntegral.integral_eq_sub_of_hasDerivAt hderiv hint] ring
private lemma integral_exp_neg_sub_subinterval (L a b : ℝ) : ∫ x in a..b, Real.exp (-(L - x)) = Real.exp (-(L - b)) - Real.exp (-(L - a)) := by have hderiv : ∀ x ∈ Set.uIcc a b, HasDerivAt (fun t => Real.exp (-(L - t))) (Real.exp (-(L - x))) x := by intro x _ have hlin : HasDerivAt (fun t : ℝ => -(L - t)) 1 x := by have h1 : HasDerivAt (fun t : ℝ => t - L) 1 x := (hasDerivAt_id x).sub_const L have heq : (fun t : ℝ => -(L - t)) = (fun t : ℝ => t - L) := by ext t ring rwa [heq] have h2 : HasDerivAt (fun t : ℝ => Real.exp (-(L - t))) (Real.exp (-(L - x)) * 1) x := hlin.exp rwa [mul_one] at h2 have hint : IntervalIntegrable (fun x => Real.exp (-(L - x))) volume a b := (Real.continuous_exp.comp (continuous_const.sub continuous_id).neg).intervalIntegrable a b rw [intervalIntegral.integral_eq_sub_of_hasDerivAt hderiv hint]
private lemma integral_exp_decay_subinterval (L a b : ℝ) : ∫ x in a..b, (Real.exp (-x) + Real.exp (-(L - x))) = (Real.exp (-a) - Real.exp (-b)) + (Real.exp (-(L - b)) - Real.exp (-(L - a))) := by have h1 : IntervalIntegrable (fun x => Real.exp (-x)) volume a b := (Real.continuous_exp.comp continuous_neg).intervalIntegrable a b have h2 : IntervalIntegrable (fun x => Real.exp (-(L - x))) volume a b := (Real.continuous_exp.comp (continuous_const.sub continuous_id).neg).intervalIntegrable a b rw [intervalIntegral.integral_add h1 h2, integral_exp_neg_subinterval, integral_exp_neg_sub_subinterval]
/-- Exact double integral of the unit exponential decay kernel over `[0, L] × [0, 2π]`:`∫ x in 0..L, ∫ y in 0..2*π, (exp (-x) + exp (-(L - x))) = 4 * π * (1 - exp (-L))`. -/theorem exp_decay_double_integral_eq (L : ℝ) : ∫ x in (0 : ℝ)..L, ∫ _y in (0 : ℝ)..(2 * Real.pi), (Real.exp (-x) + Real.exp (-(L - x))) = 4 * Real.pi * (1 - Real.exp (-L)) := by simp_rw [intervalIntegral.integral_const, sub_zero, smul_eq_mul] rw [intervalIntegral.integral_const_mul, integral_exp_decay_subinterval] simp only [neg_zero, sub_self, sub_zero, Real.exp_zero] ring
/-- Exact double integral of the scaled Laurent tail bound over `[0, L] × [0, 2π]`. -/theorem laurent_annulus_integral_bound (L M' : ℝ) : ∫ x in (0 : ℝ)..L, ∫ _y in (0 : ℝ)..(2 * Real.pi), laurentConst * M' * (Real.exp (-x) + Real.exp (-(L - x))) = 4 * Real.pi * laurentConst * M' * (1 - Real.exp (-L)) := by simp_rw [intervalIntegral.integral_const_mul] rw [exp_decay_double_integral_eq] ring
/-- Subinterval mass error bound: if `‖κ x y - c‖ ≤ laurentConst * M' * (e^{-x} + e^{-(L - x)})`on `[a, b] × [0, 2π]`, then the mass of `‖κ‖` on `[a, b] × [0, 2π]` differs from`2 * π * (b - a) * ‖c‖` by at most the integrated exponential decay over `[a, b] × [0, 2π]`. -/theorem band_mass_error_le_subinterval {L M' a b : ℝ} (hab : a ≤ b) (κ : ℝ → ℝ → ℂ) (c : ℂ) (hy_int : ∀ x ∈ Set.Icc a b, IntervalIntegrable (fun y => ‖κ x y‖) volume 0 (2 * Real.pi)) (hx_int : IntervalIntegrable (fun x => ∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) volume a b) (htail : ∀ x ∈ Set.Icc a b, ∀ y ∈ Set.Icc (0 : ℝ) (2 * Real.pi), ‖κ x y - c‖ ≤ laurentConst * M' * (Real.exp (-x) + Real.exp (-(L - x)))) : |(∫ x in a..b, ∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) - 2 * Real.pi * (b - a) * ‖c‖| ≤ 2 * Real.pi * laurentConst * M' * ((Real.exp (-a) - Real.exp (-b)) + (Real.exp (-(L - b)) - Real.exp (-(L - a)))) := by set E : ℝ → ℝ := fun x => laurentConst * M' * (Real.exp (-x) + Real.exp (-(L - x))) have hE_cont : Continuous E := continuous_const.mul ((Real.continuous_exp.comp continuous_neg).add (Real.continuous_exp.comp (continuous_const.sub continuous_id).neg)) have hE_int : IntervalIntegrable (fun x => 2 * Real.pi * E x) volume a b := (continuous_const.mul hE_cont).intervalIntegrable a b have h2pi : (0 : ℝ) ≤ 2 * Real.pi := by positivity have hconst_int : ∫ x in a..b, (2 * Real.pi * ‖c‖) = 2 * Real.pi * (b - a) * ‖c‖ := by rw [intervalIntegral.integral_const, smul_eq_mul] ring have hdiff_eq : (∫ x in a..b, ∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) - 2 * Real.pi * (b - a) * ‖c‖ = ∫ x in a..b, ((∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) - 2 * Real.pi * ‖c‖) := by rw [← hconst_int, ← intervalIntegral.integral_sub hx_int intervalIntegrable_const] have hpt_upper : ∀ x ∈ Set.Icc a b, (∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) - 2 * Real.pi * ‖c‖ ≤ 2 * Real.pi * E x := by intro x hx have h1 : ∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖ ≤ ∫ _y in (0 : ℝ)..(2 * Real.pi), (‖c‖ + E x) := by refine intervalIntegral.integral_mono_on h2pi (hy_int x hx) intervalIntegrable_const ?_ intro y hy have htri : ‖κ x y‖ - ‖c‖ ≤ ‖κ x y - c‖ := by linarith [abs_norm_sub_norm_le (κ x y) c, le_abs_self (‖κ x y‖ - ‖c‖)] linarith [htail x hx y hy] rw [intervalIntegral.integral_const, sub_zero, smul_eq_mul] at h1 linarith have hpt_lower : ∀ x ∈ Set.Icc a b, -(2 * Real.pi * E x) ≤ (∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) - 2 * Real.pi * ‖c‖ := by intro x hx have h1 : ∫ _y in (0 : ℝ)..(2 * Real.pi), (‖c‖ - E x) ≤ ∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖ := by refine intervalIntegral.integral_mono_on h2pi intervalIntegrable_const (hy_int x hx) ?_ intro y hy have htri : ‖c‖ - ‖κ x y‖ ≤ ‖κ x y - c‖ := by linarith [abs_norm_sub_norm_le (κ x y) c, neg_le_abs (‖κ x y‖ - ‖c‖)] linarith [htail x hx y hy] rw [intervalIntegral.integral_const, sub_zero, smul_eq_mul] at h1 linarith have hsub_int : IntervalIntegrable (fun x => (∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) - 2 * Real.pi * ‖c‖) volume a b := hx_int.sub intervalIntegrable_const have hupper := intervalIntegral.integral_mono_on hab hsub_int hE_int hpt_upper have hlower := intervalIntegral.integral_mono_on hab hE_int.neg hsub_int hpt_lower change (∫ x in a..b, -(2 * Real.pi * E x)) ≤ _ at hlower rw [intervalIntegral.integral_neg] at hlower have hrhs : ∫ x in a..b, 2 * Real.pi * E x = 2 * Real.pi * laurentConst * M' * ((Real.exp (-a) - Real.exp (-b)) + (Real.exp (-(L - b)) - Real.exp (-(L - a)))) := by have hmul : (fun x => 2 * Real.pi * E x) = fun x => (2 * Real.pi * laurentConst * M') * (Real.exp (-x) + Real.exp (-(L - x))) := by ext x simp only [E] ring rw [hmul, intervalIntegral.integral_const_mul, integral_exp_decay_subinterval] rw [hdiff_eq, ← hrhs] exact abs_le.mpr ⟨hlower, hupper⟩
/-- **Proposition 7.2, Part 2 (lines 1351–1359):**On any fractional band `[u * L, v * L] × [0, 2π]` (`0 ≤ u ≤ v ≤ 1`), the difference between the`‖κ‖`-mass and `2 * π * (v - u) * L * ‖c‖` is bounded by `4 * π * laurentConst * M' * (1 - e^{-L})`,uniformly in `L ≥ 0`. -/theorem laurent_band_mass_error_le {L M' u v : ℝ} (hL : 0 ≤ L) (hM : 0 ≤ M') (hu0 : 0 ≤ u) (huv : u ≤ v) (hv1 : v ≤ 1) (κ : ℝ → ℝ → ℂ) (c : ℂ) (hy_int : ∀ x ∈ Set.Icc (u * L) (v * L), IntervalIntegrable (fun y => ‖κ x y‖) volume 0 (2 * Real.pi)) (hx_int : IntervalIntegrable (fun x => ∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) volume (u * L) (v * L)) (htail : ∀ x ∈ Set.Icc (u * L) (v * L), ∀ y ∈ Set.Icc (0 : ℝ) (2 * Real.pi), ‖κ x y - c‖ ≤ laurentConst * M' * (Real.exp (-x) + Real.exp (-(L - x)))) : |(∫ x in (u * L)..(v * L), ∫ y in (0 : ℝ)..(2 * Real.pi), ‖κ x y‖) - 2 * Real.pi * (v - u) * L * ‖c‖| ≤ 4 * Real.pi * laurentConst * M' * (1 - Real.exp (-L)) := by have hab : u * L ≤ v * L := mul_le_mul_of_nonneg_right huv hL have hstep := band_mass_error_le_subinterval hab κ c hy_int hx_int htail have hring : 2 * Real.pi * (v * L - u * L) * ‖c‖ = 2 * Real.pi * (v - u) * L * ‖c‖ := by ring rw [hring] at hstep refine le_trans hstep ?_ have h1 : Real.exp (-(u * L)) ≤ 1 := by simpa using Real.exp_le_exp.mpr (show -(u * L) ≤ 0 by nlinarith) have h2 : Real.exp (-L) ≤ Real.exp (-(v * L)) := Real.exp_le_exp.mpr (by nlinarith) have h3 : Real.exp (-(L - v * L)) ≤ 1 := by simpa using Real.exp_le_exp.mpr (show -(L - v * L) ≤ 0 by nlinarith) have h4 : Real.exp (-L) ≤ Real.exp (-(L - u * L)) := Real.exp_le_exp.mpr (by nlinarith) have hcoeff : 0 ≤ 2 * Real.pi * laurentConst * M' := by have hC := le_of_lt laurentConst_pos positivity have hsum : (Real.exp (-(u * L)) - Real.exp (-(v * L))) + (Real.exp (-(L - v * L)) - Real.exp (-(L - u * L))) ≤ 2 * (1 - Real.exp (-L)) := by linarith calc 2 * Real.pi * laurentConst * M' * ((Real.exp (-(u * L)) - Real.exp (-(v * L))) + (Real.exp (-(L - v * L)) - Real.exp (-(L - u * L)))) ≤ 2 * Real.pi * laurentConst * M' * (2 * (1 - Real.exp (-L))) := mul_le_mul_of_nonneg_left hsum hcoeff _ = 4 * Real.pi * laurentConst * M' * (1 - Real.exp (-L)) := by ring
/-! ### Part 4: Middle-third constant-mode bounds (lines 1367–1370) -/
/-- Integrated error on the middle third `[L / 3, 2 * L / 3] × [0, 2π]` decays exponentially:at most `4 * π * laurentConst * M * exp (-(L / 3))`. -/theorem middle_third_error_le {L M : ℝ} (hL : 0 ≤ L) (hM : 0 ≤ M) (q : ℝ → ℝ → ℂ) (b : ℂ) (hy_int : ∀ x ∈ Set.Icc (L / 3) (2 * L / 3), IntervalIntegrable (fun y => ‖q x y‖) volume 0 (2 * Real.pi)) (hx_int : IntervalIntegrable (fun x => ∫ y in (0 : ℝ)..(2 * Real.pi), ‖q x y‖) volume (L / 3) (2 * L / 3)) (htail : ∀ x ∈ Set.Icc (L / 3) (2 * L / 3), ∀ y ∈ Set.Icc (0 : ℝ) (2 * Real.pi), ‖q x y - b‖ ≤ laurentConst * M * (Real.exp (-x) + Real.exp (-(L - x)))) : |(∫ x in (L / 3)..(2 * L / 3), ∫ y in (0 : ℝ)..(2 * Real.pi), ‖q x y‖) - 2 * Real.pi * (L / 3) * ‖b‖| ≤ 4 * Real.pi * laurentConst * M * Real.exp (-(L / 3)) := by have hab : L / 3 ≤ 2 * L / 3 := by linarith have hstep := band_mass_error_le_subinterval hab q b hy_int hx_int htail have hdiff : 2 * L / 3 - L / 3 = L / 3 := by ring rw [hdiff] at hstep refine le_trans hstep ?_ have heq1 : -(L - 2 * L / 3) = -(L / 3) := by ring have heq2 : -(L - L / 3) = -(2 * L / 3) := by ring rw [heq1, heq2] have hcoeff : 0 ≤ 2 * Real.pi * laurentConst * M := by have hC := le_of_lt laurentConst_pos positivity have hexp_nonneg : 0 ≤ Real.exp (-(2 * L / 3)) := Real.exp_nonneg _ calc 2 * Real.pi * laurentConst * M * ((Real.exp (-(L / 3)) - Real.exp (-(2 * L / 3))) + (Real.exp (-(L / 3)) - Real.exp (-(2 * L / 3)))) ≤ 2 * Real.pi * laurentConst * M * (2 * Real.exp (-(L / 3))) := mul_le_mul_of_nonneg_left (by linarith) hcoeff _ = 4 * Real.pi * laurentConst * M * Real.exp (-(L / 3)) := by ring
/-- The middle-third error bound `4 * π * laurentConst * M * exp (-(L / 3))` tends to `0` as`L → ∞`. -/theorem tendsto_middle_third_error (M : ℝ) : Tendsto (fun L : ℝ => 4 * Real.pi * laurentConst * M * Real.exp (-(L / 3))) atTop (𝓝 0) := by have hlin : Tendsto (fun L : ℝ => -(L / 3)) atTop atBot := by have h1 : Tendsto (fun L : ℝ => L * (1 / 3 : ℝ)) atTop atTop := Tendsto.atTop_mul_const (by norm_num) tendsto_id have h2 : Tendsto (fun L : ℝ => -(L * (1 / 3 : ℝ))) atTop atBot := tendsto_neg_atTop_atBot.comp h1 refine h2.congr fun L => by ring have hexp : Tendsto (fun L : ℝ => Real.exp (-(L / 3))) atTop (𝓝 0) := Real.tendsto_exp_atBot.comp hlin simpa using hexp.const_mul (4 * Real.pi * laurentConst * M)
/-- **Proposition 7.2, Part 3 (lines 1367–1370):**If the middle third `[L / 3, 2 * L / 3] × [0, 2π]` carries `|q|`-mass at least `δ_e`, thepointwise Laurent tail bound holds with constant `M ≥ 0`, the angular-average upper bound`2 * π * L * ‖b‖ ≤ 1` holds, and `L > 0` is large enough that`4 * π * laurentConst * M * exp (-(L / 3)) ≤ δ_e / 2`, then`(3 * δ_e / (4 * π)) / L ≤ ‖b‖ ∧ ‖b‖ ≤ 1 / (2 * π * L)`. -/theorem middle_third_const_mode_bounds {L M δ_e : ℝ} (hL : 0 < L) (hM : 0 ≤ M) (q : ℝ → ℝ → ℂ) (b : ℂ) (hy_int : ∀ x ∈ Set.Icc (L / 3) (2 * L / 3), IntervalIntegrable (fun y => ‖q x y‖) volume 0 (2 * Real.pi)) (hx_int : IntervalIntegrable (fun x => ∫ y in (0 : ℝ)..(2 * Real.pi), ‖q x y‖) volume (L / 3) (2 * L / 3)) (htail : ∀ x ∈ Set.Icc (L / 3) (2 * L / 3), ∀ y ∈ Set.Icc (0 : ℝ) (2 * Real.pi), ‖q x y - b‖ ≤ laurentConst * M * (Real.exp (-x) + Real.exp (-(L - x)))) (hmass : δ_e ≤ ∫ x in (L / 3)..(2 * L / 3), ∫ y in (0 : ℝ)..(2 * Real.pi), ‖q x y‖) (hupper : 2 * Real.pi * L * ‖b‖ ≤ 1) (hlarge : 4 * Real.pi * laurentConst * M * Real.exp (-(L / 3)) ≤ δ_e / 2) : (3 * δ_e / (4 * Real.pi)) / L ≤ ‖b‖ ∧ ‖b‖ ≤ 1 / (2 * Real.pi * L) := by have herr := middle_third_error_le (le_of_lt hL) hM q b hy_int hx_int htail have herr_pos : (∫ x in (L / 3)..(2 * L / 3), ∫ y in (0 : ℝ)..(2 * Real.pi), ‖q x y‖) - 2 * Real.pi * (L / 3) * ‖b‖ ≤ 4 * Real.pi * laurentConst * M * Real.exp (-(L / 3)) := le_trans (le_abs_self _) herr have hmid : δ_e / 2 ≤ 2 * Real.pi * (L / 3) * ‖b‖ := by linarith have hpi : 0 < Real.pi := Real.pi_pos constructor · rw [div_le_iff₀ hL, div_le_iff₀ (show (0 : ℝ) < 4 * Real.pi by positivity)] linarith · rw [le_div_iff₀ (show (0 : ℝ) < 2 * Real.pi * L by positivity)] linarith
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370import Mathlib
/-!# Proposition 2.9 (`prop:reduction`): Reduction to an unbounded orbit
Formalization of Proposition 2.9 from S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026):
Let `T` be a complete metric space and `σ : T → T` a nonexpanding self-map such that someiterate `σ^[N₀]` (`N₀ ≥ 1`) is uniformly contracting on every closed ball. Then:
1. **Step-contraction Cauchy criterion (`cauchySeq_of_step_contraction`)**: Any sequence whose step distances satisfy `δ (n + N₀) ≤ λ * δ n` with `0 ≤ λ < 1` is Cauchy.2. **Bounded orbit yields a fixed point (`exists_fixedPoint_of_bounded_orbit_ball_contraction`)**: If `σ` has a bounded orbit, that orbit is Cauchy and converges to a fixed point `x_*`.3. **Uniqueness (`fixedPoint_unique_of_ball_contraction`)**: `σ` has at most one fixed point.4. **Global convergence (`tendsto_iterate_fixedPoint_of_ball_contraction`)**: If `σ x_* = x_*`, then every closed ball around `x_*` is forward-invariant, `σ^[j * N₀] y → x_*` geometrically, and nonexpansion yields `σ^[n] y → x_*` for every `y : T`.5. **Main theorem & contrapositive (`prop_reduction_bounded_orbit`, `unbounded_orbit_of_no_fixedPoint`)**: If some orbit is bounded, `σ` has a unique fixed point to which every orbit converges; equivalently, if `σ` has no fixed point, every orbit is unbounded.6. **Proper-space strict contraction (`properSpace_strict_contraction_bounded_orbit`)**: In a proper metric space, strict distance decrease `dist (σ x) (σ y) < dist x y` (`x ≠ y`) with a bounded orbit already implies a unique fixed point and global convergence of every orbit.-/
open Filter Topology
namespace Thurston.Core
section BallContraction
variable {T : Type*} [MetricSpace T]
/-- Iterates of a nonexpanding self-map are nonexpanding. -/lemma dist_iterate_le_of_nonexpansive {σ : T → T} (hnonexp : ∀ u v, dist (σ u) (σ v) ≤ dist u v) : ∀ (n : ℕ) (u v : T), dist (σ^[n] u) (σ^[n] v) ≤ dist u v | 0, _, _ => le_rfl | n + 1, u, v => by simp only [Function.iterate_succ_apply'] exact (hnonexp _ _).trans (dist_iterate_le_of_nonexpansive hnonexp n u v)
private lemma step_contraction_iter {δ : ℕ → ℝ} {N₀ : ℕ} {lam : ℝ} (hlam0 : 0 ≤ lam) (hstep : ∀ n, δ (n + N₀) ≤ lam * δ n) : ∀ q r, δ (q * N₀ + r) ≤ lam ^ q * δ r | 0, r => by simp | q + 1, r => by have hidx : (q + 1) * N₀ + r = (q * N₀ + r) + N₀ := by ring rw [hidx, pow_succ'] calc δ ((q * N₀ + r) + N₀) ≤ lam * δ (q * N₀ + r) := hstep _ _ ≤ lam * (lam ^ q * δ r) := mul_le_mul_of_nonneg_left (step_contraction_iter hlam0 hstep q r) hlam0 _ = lam * lam ^ q * δ r := by ring
private lemma sum_range_mul_eq {f : ℕ → ℝ} (K N₀ : ℕ) : ∑ n ∈ Finset.range (K * N₀), f n = ∑ q ∈ Finset.range K, ∑ r ∈ Finset.range N₀, f (q * N₀ + r) := by induction K with | zero => simp | succ K ih => rw [Nat.succ_mul, Finset.sum_range_add, ih, Finset.sum_range_succ]
/-- **Step-contraction Cauchy criterion**: if `δ n = dist (x n) (x (n + 1))` satisfies`δ (n + N₀) ≤ lam * δ n` with `0 < N₀` and `0 ≤ lam < 1`, then `x` is a Cauchy sequence. -/theorem cauchySeq_of_step_contraction {x : ℕ → T} {N₀ : ℕ} {lam : ℝ} (hN₀ : 0 < N₀) (hlam0 : 0 ≤ lam) (hlam1 : lam < 1) (hstep : ∀ n, dist (x (n + N₀)) (x (n + N₀ + 1)) ≤ lam * dist (x n) (x (n + 1))) : CauchySeq x := by refine cauchySeq_of_summable_dist ?_ set M : ℝ := ∑ r ∈ Finset.range N₀, dist (x r) (x (r + 1)) have hM0 : 0 ≤ M := Finset.sum_nonneg fun r _ => dist_nonneg have hgeom : Summable fun q : ℕ => lam ^ q := summable_geometric_of_lt_one hlam0 hlam1 refine summable_of_sum_range_le (c := (∑' q : ℕ, lam ^ q) * M) (fun n => dist_nonneg) ?_ intro K have hle_mul : K ≤ K * N₀ := Nat.le_mul_of_pos_right K hN₀ calc ∑ n ∈ Finset.range K, dist (x n) (x (n + 1)) ≤ ∑ n ∈ Finset.range (K * N₀), dist (x n) (x (n + 1)) := Finset.sum_le_sum_of_subset_of_nonneg (Finset.range_mono hle_mul) fun _ _ _ => dist_nonneg _ = ∑ q ∈ Finset.range K, ∑ r ∈ Finset.range N₀, dist (x (q * N₀ + r)) (x (q * N₀ + r + 1)) := sum_range_mul_eq K N₀ _ ≤ ∑ q ∈ Finset.range K, ∑ r ∈ Finset.range N₀, lam ^ q * dist (x r) (x (r + 1)) := by refine Finset.sum_le_sum fun q _ => Finset.sum_le_sum fun r _ => ?_ exact step_contraction_iter (δ := fun n => dist (x n) (x (n + 1))) hlam0 hstep q r _ = (∑ q ∈ Finset.range K, lam ^ q) * M := by simp_rw [← Finset.mul_sum, ← Finset.sum_mul]; rfl _ ≤ (∑' q : ℕ, lam ^ q) * M := mul_le_mul_of_nonneg_right (hgeom.sum_le_tsum (Finset.range K) fun q _ => pow_nonneg hlam0 q) hM0
/-- If `σ` is nonexpanding, `σ^[N₀]` contracts uniformly on every closed ball, and `x₀` has abounded orbit in a complete metric space, then `σ` has a fixed point (the limit of `σ^[n] x₀`). -/theorem exists_fixedPoint_of_bounded_orbit_ball_contraction [CompleteSpace T] {σ : T → T} {N₀ : ℕ} (hnonexp : ∀ u v, dist (σ u) (σ v) ≤ dist u v) (hN₀ : 0 < N₀) (hball : ∀ (c : T) (R : ℝ), ∃ lam : ℝ, 0 ≤ lam ∧ lam < 1 ∧ ∀ u ∈ Metric.closedBall c R, ∀ v ∈ Metric.closedBall c R, dist (σ^[N₀] u) (σ^[N₀] v) ≤ lam * dist u v) {x₀ : T} (hbounded : Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] x₀)) : ∃ x_star : T, σ x_star = x_star ∧ Tendsto (fun n : ℕ => σ^[n] x₀) atTop (𝓝 x_star) := by obtain ⟨R, hR⟩ := hbounded.subset_closedBall x₀ obtain ⟨lam, hlam0, hlam1, hcontr⟩ := hball x₀ R have horb : ∀ n : ℕ, σ^[n] x₀ ∈ Metric.closedBall x₀ R := fun n => hR ⟨n, rfl⟩ have hstep : ∀ n : ℕ, dist (σ^[n + N₀] x₀) (σ^[n + N₀ + 1] x₀) ≤ lam * dist (σ^[n] x₀) (σ^[n + 1] x₀) := by intro n have h1 : σ^[n + N₀] x₀ = σ^[N₀] (σ^[n] x₀) := by rw [Nat.add_comm, Function.iterate_add_apply] have h2 : σ^[n + N₀ + 1] x₀ = σ^[N₀] (σ^[n + 1] x₀) := by have : n + N₀ + 1 = N₀ + (n + 1) := by omega rw [this, Function.iterate_add_apply] rw [h1, h2] exact hcontr (σ^[n] x₀) (horb n) (σ^[n + 1] x₀) (horb (n + 1)) have hcauchy : CauchySeq (fun n : ℕ => σ^[n] x₀) := cauchySeq_of_step_contraction hN₀ hlam0 hlam1 hstep obtain ⟨x_star, hx_lim⟩ := cauchySeq_tendsto_of_complete hcauchy have hcont : Continuous σ := (LipschitzWith.of_dist_le_mul (K := 1) (by simpa using hnonexp)).continuous have hlim_σ : Tendsto (fun n : ℕ => σ (σ^[n] x₀)) atTop (𝓝 (σ x_star)) := (hcont.tendsto x_star).comp hx_lim have hlim_shift : Tendsto (fun n : ℕ => σ (σ^[n] x₀)) atTop (𝓝 x_star) := by have hshift : Tendsto (fun n : ℕ => σ^[n + 1] x₀) atTop (𝓝 x_star) := (tendsto_add_atTop_iff_nat 1).mpr hx_lim simpa [Function.iterate_succ_apply'] using hshift exact ⟨x_star, tendsto_nhds_unique hlim_σ hlim_shift, hx_lim⟩
/-- Uniqueness of fixed points under ball contraction of an iterate `σ^[N₀]`. -/theorem fixedPoint_unique_of_ball_contraction {σ : T → T} {N₀ : ℕ} (hball : ∀ (c : T) (R : ℝ), ∃ lam : ℝ, 0 ≤ lam ∧ lam < 1 ∧ ∀ u ∈ Metric.closedBall c R, ∀ v ∈ Metric.closedBall c R, dist (σ^[N₀] u) (σ^[N₀] v) ≤ lam * dist u v) {x_star y : T} (hx : σ x_star = x_star) (hy : σ y = y) : y = x_star := by obtain ⟨lam, _, hlam1, hcontr⟩ := hball x_star (dist y x_star) have hx_mem : x_star ∈ Metric.closedBall x_star (dist y x_star) := by simp [Metric.mem_closedBall, dist_nonneg] have hy_mem : y ∈ Metric.closedBall x_star (dist y x_star) := by simp [Metric.mem_closedBall] have hle := hcontr y hy_mem x_star hx_mem rw [Function.iterate_fixed hy N₀, Function.iterate_fixed hx N₀] at hle have hzero : dist y x_star = 0 := by nlinarith [dist_nonneg (x := y) (y := x_star)] exact dist_eq_zero.mp hzero
/-- Global convergence of every orbit to a fixed point `x_*`: the closed ball of radius`dist y x_*` around `x_*` is forward-invariant under `σ`, `σ^[j * N₀] y` contracts geometricallytoward `x_*`, and nonexpansion handles the intermediate steps `r < N₀`. -/theorem tendsto_iterate_fixedPoint_of_ball_contraction {σ : T → T} {N₀ : ℕ} (hnonexp : ∀ u v, dist (σ u) (σ v) ≤ dist u v) (hN₀ : 0 < N₀) (hball : ∀ (c : T) (R : ℝ), ∃ lam : ℝ, 0 ≤ lam ∧ lam < 1 ∧ ∀ u ∈ Metric.closedBall c R, ∀ v ∈ Metric.closedBall c R, dist (σ^[N₀] u) (σ^[N₀] v) ≤ lam * dist u v) {x_star : T} (hx : σ x_star = x_star) (y : T) : Tendsto (fun n : ℕ => σ^[n] y) atTop (𝓝 x_star) := by set R : ℝ := dist y x_star have hinv : ∀ n : ℕ, σ^[n] y ∈ Metric.closedBall x_star R := by intro n rw [Metric.mem_closedBall] simpa [Function.iterate_fixed hx n] using dist_iterate_le_of_nonexpansive hnonexp n y x_star have hx_mem : x_star ∈ Metric.closedBall x_star R := by simp [Metric.mem_closedBall, R, dist_nonneg] obtain ⟨lam, hlam0, hlam1, hcontr⟩ := hball x_star R have hgeom_step : ∀ j : ℕ, dist (σ^[j * N₀] y) x_star ≤ lam ^ j * R := by intro j induction j with | zero => simp [R] | succ j ih => have hidx : (j + 1) * N₀ = N₀ + j * N₀ := by ring rw [hidx, Function.iterate_add_apply, pow_succ'] calc dist (σ^[N₀] (σ^[j * N₀] y)) x_star = dist (σ^[N₀] (σ^[j * N₀] y)) (σ^[N₀] x_star) := by rw [Function.iterate_fixed hx N₀] _ ≤ lam * dist (σ^[j * N₀] y) x_star := hcontr _ (hinv (j * N₀)) x_star hx_mem _ ≤ lam * (lam ^ j * R) := mul_le_mul_of_nonneg_left ih hlam0 _ = lam * lam ^ j * R := by ring have hdist_le : ∀ n : ℕ, dist (σ^[n] y) x_star ≤ lam ^ (n / N₀) * R := by intro n have hsplit : n = n % N₀ + (n / N₀) * N₀ := by rw [Nat.mul_comm, Nat.add_comm] exact (Nat.div_add_mod n N₀).symm conv_lhs => rw [hsplit, Function.iterate_add_apply] calc dist (σ^[n % N₀] (σ^[(n / N₀) * N₀] y)) x_star = dist (σ^[n % N₀] (σ^[(n / N₀) * N₀] y)) (σ^[n % N₀] x_star) := by rw [Function.iterate_fixed hx (n % N₀)] _ ≤ dist (σ^[(n / N₀) * N₀] y) x_star := dist_iterate_le_of_nonexpansive hnonexp (n % N₀) _ _ _ ≤ lam ^ (n / N₀) * R := hgeom_step (n / N₀) have hdiv : Tendsto (fun n : ℕ => n / N₀) atTop atTop := by rw [tendsto_atTop_atTop] intro b exact ⟨b * N₀, fun n hn => (Nat.le_div_iff_mul_le hN₀).mpr hn⟩ have hupper : Tendsto (fun n : ℕ => lam ^ (n / N₀) * R) atTop (𝓝 0) := by have hpow : Tendsto (fun n : ℕ => lam ^ (n / N₀)) atTop (𝓝 0) := (tendsto_pow_atTop_nhds_zero_of_lt_one hlam0 hlam1).comp hdiv simpa using hpow.mul_const R rw [tendsto_iff_dist_tendsto_zero] exact squeeze_zero (fun _ => dist_nonneg) hdist_le hupper
/-- **Proposition 2.9 (`prop:reduction`, Reduction to an unbounded orbit)**:If `σ` is nonexpanding on a complete metric space, `σ^[N₀]` (`N₀ > 0`) contracts uniformly onevery closed ball, and some orbit is bounded, then `σ` has a unique fixed point `x_*` and everyorbit converges to `x_*`. -/theorem prop_reduction_bounded_orbit [CompleteSpace T] {σ : T → T} {N₀ : ℕ} (hnonexp : ∀ u v, dist (σ u) (σ v) ≤ dist u v) (hN₀ : 0 < N₀) (hball : ∀ (c : T) (R : ℝ), ∃ lam : ℝ, 0 ≤ lam ∧ lam < 1 ∧ ∀ u ∈ Metric.closedBall c R, ∀ v ∈ Metric.closedBall c R, dist (σ^[N₀] u) (σ^[N₀] v) ≤ lam * dist u v) (hbounded : ∃ x₀ : T, Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] x₀)) : ∃ x_star : T, σ x_star = x_star ∧ (∀ z : T, σ z = z → z = x_star) ∧ (∀ y : T, Tendsto (fun n : ℕ => σ^[n] y) atTop (𝓝 x_star)) := by obtain ⟨x₀, hx₀⟩ := hbounded obtain ⟨x_star, hx_fix, _⟩ := exists_fixedPoint_of_bounded_orbit_ball_contraction hnonexp hN₀ hball hx₀ exact ⟨x_star, hx_fix, fun z hz => fixedPoint_unique_of_ball_contraction hball hx_fix hz, fun y => tendsto_iterate_fixedPoint_of_ball_contraction hnonexp hN₀ hball hx_fix y⟩
/-- **Contrapositive of Proposition 2.9**: if `σ` has no fixed point, every orbit is unbounded. -/theorem unbounded_orbit_of_no_fixedPoint [CompleteSpace T] {σ : T → T} {N₀ : ℕ} (hnonexp : ∀ u v, dist (σ u) (σ v) ≤ dist u v) (hN₀ : 0 < N₀) (hball : ∀ (c : T) (R : ℝ), ∃ lam : ℝ, 0 ≤ lam ∧ lam < 1 ∧ ∀ u ∈ Metric.closedBall c R, ∀ v ∈ Metric.closedBall c R, dist (σ^[N₀] u) (σ^[N₀] v) ≤ lam * dist u v) (hnofix : ∀ x : T, σ x ≠ x) : ∀ x₀ : T, ¬ Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] x₀) := by intro x₀ hbounded obtain ⟨x_star, hx_fix, _, _⟩ := prop_reduction_bounded_orbit hnonexp hN₀ hball ⟨x₀, hbounded⟩ exact hnofix x_star hx_fix
end BallContraction
section ProperStrictContraction
/-- **Proper-space strict contraction corollary** (covering the non-uniform strict distance decreasecase): on a proper metric space `T`, if `σ` strictly decreases distances between distinct pointsand has a bounded orbit, then `σ` has a unique fixed point `x_*` and every orbit converges to`x_*`. -/theorem properSpace_strict_contraction_bounded_orbit {T : Type*} [MetricSpace T] [ProperSpace T] {σ : T → T} (hstrict : ∀ x y, x ≠ y → dist (σ x) (σ y) < dist x y) (hbounded : ∃ x₀ : T, Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] x₀)) : ∃ x_star : T, σ x_star = x_star ∧ (∀ z : T, σ z = z → z = x_star) ∧ (∀ y : T, Tendsto (fun n : ℕ => σ^[n] y) atTop (𝓝 x_star)) := by have hnonexp : ∀ x y, dist (σ x) (σ y) ≤ dist x y := fun x y => by by_cases h : x = y · subst h; simp · exact (hstrict x y h).le have hcont : Continuous σ := (LipschitzWith.of_dist_le_mul (K := 1) (by simpa using hnonexp)).continuous obtain ⟨x₀, hx₀⟩ := hbounded have hcompact : IsCompact (closure (Set.range fun n : ℕ => σ^[n] x₀)) := Metric.isCompact_of_isClosed_isBounded isClosed_closure hx₀.closure have hne : (closure (Set.range fun n : ℕ => σ^[n] x₀)).Nonempty := ⟨x₀, subset_closure ⟨0, rfl⟩⟩ have hmaps : Set.MapsTo σ (closure (Set.range fun n : ℕ => σ^[n] x₀)) (closure (Set.range fun n : ℕ => σ^[n] x₀)) := by refine Set.MapsTo.closure ?_ hcont rintro _ ⟨n, rfl⟩ exact ⟨n + 1, Function.iterate_succ_apply' σ n x₀⟩ obtain ⟨x_star, hx_mem, hmin⟩ := hcompact.exists_isMinOn hne (continuous_id.dist hcont).continuousOn have hx_fix : σ x_star = x_star := by by_contra hmoved have hlt : dist (σ x_star) (σ (σ x_star)) < dist x_star (σ x_star) := hstrict x_star (σ x_star) (Ne.symm hmoved) exact absurd hlt (not_lt.mpr (hmin (hmaps hx_mem))) have huniq : ∀ z : T, σ z = z → z = x_star := by intro z hz by_contra hne_z have hlt := hstrict z x_star hne_z rw [hz, hx_fix] at hlt exact lt_irrefl _ hlt refine ⟨x_star, hx_fix, huniq, fun y => ?_⟩ set a : ℕ → ℝ := fun n => dist (σ^[n] y) x_star have ha_anti : Antitone a := antitone_nat_of_succ_le fun n => by calc dist (σ^[n + 1] y) x_star = dist (σ (σ^[n] y)) (σ x_star) := by rw [Function.iterate_succ_apply', hx_fix] _ ≤ dist (σ^[n] y) x_star := hnonexp _ _ have ha_bdd : BddBelow (Set.range a) := ⟨0, by rintro _ ⟨n, rfl⟩; exact dist_nonneg⟩ have ha_lim : Tendsto a atTop (𝓝 (⨅ n, a n)) := tendsto_atTop_ciInf ha_anti ha_bdd have hball_mem : ∀ n : ℕ, σ^[n] y ∈ Metric.closedBall x_star (dist y x_star) := fun n => by rw [Metric.mem_closedBall] simpa [Function.iterate_fixed hx_fix n] using dist_iterate_le_of_nonexpansive hnonexp n y x_star obtain ⟨z, _, φ, hφ_mono, hφ_lim⟩ := (isCompact_closedBall x_star (dist y x_star)).tendsto_subseq hball_mem have hz_dist : dist z x_star = ⨅ n, a n := by have h1 : Tendsto (fun n => a (φ n)) atTop (𝓝 (dist z x_star)) := (continuous_id.dist continuous_const).continuousAt.tendsto.comp hφ_lim have h2 : Tendsto (fun n => a (φ n)) atTop (𝓝 (⨅ n, a n)) := ha_lim.comp hφ_mono.tendsto_atTop exact tendsto_nhds_unique h1 h2 have hσz_dist : dist (σ z) x_star = ⨅ n, a n := by have h1 : Tendsto (fun n => a (φ n + 1)) atTop (𝓝 (dist (σ z) x_star)) := by have hsub : Tendsto (fun n => σ (σ^[φ n] y)) atTop (𝓝 (σ z)) := (hcont.tendsto z).comp hφ_lim simpa [a, Function.iterate_succ_apply', Function.comp_def] using (continuous_id.dist continuous_const).continuousAt.tendsto.comp hsub have h2 : Tendsto (fun n => a (φ n + 1)) atTop (𝓝 (⨅ n, a n)) := ha_lim.comp (tendsto_atTop_mono (fun n => Nat.le_succ (φ n)) hφ_mono.tendsto_atTop) exact tendsto_nhds_unique h1 h2 have hz_eq : z = x_star := by by_contra hne_z have hlt := hstrict z x_star hne_z rw [hx_fix, hσz_dist, hz_dist] at hlt exact lt_irrefl _ hlt have hinf_zero : (⨅ n, a n) = 0 := by rw [← hz_dist, hz_eq, dist_self] rw [tendsto_iff_dist_tendsto_zero] simpa [a, hinf_zero] using ha_lim
end ProperStrictContraction
section SanityCheck
/-- Sanity check exercising `N₀ = 2`: `σ (u, v) = (v / 2, u)` on `ℝ × ℝ` is nonexpanding(not strictly contracting at step 1), while `σ^[2] (u, v) = (u / 2, v / 2)` contracts by `1 / 2`globally. Thus `(0, 0)` is the unique fixed point and every orbit converges to `(0, 0)`. -/example : ∃ x_star : ℝ × ℝ, (fun p : ℝ × ℝ => (p.2 / 2, p.1)) x_star = x_star ∧ (∀ z : ℝ × ℝ, (fun p : ℝ × ℝ => (p.2 / 2, p.1)) z = z → z = x_star) ∧ (∀ y : ℝ × ℝ, Tendsto (fun n : ℕ => (fun p : ℝ × ℝ => (p.2 / 2, p.1))^[n] y) atTop (𝓝 x_star)) := by let σ : ℝ × ℝ → ℝ × ℝ := fun p => (p.2 / 2, p.1) have hnonexp : ∀ u v : ℝ × ℝ, dist (σ u) (σ v) ≤ dist u v := fun u v => by simp only [σ, Prod.dist_eq, Real.dist_eq, ← sub_div, abs_div, abs_two] exact max_le (le_trans (half_le_self (abs_nonneg _)) (le_max_right _ _)) (le_max_left _ _) have hball : ∀ (c : ℝ × ℝ) (R : ℝ), ∃ lam : ℝ, 0 ≤ lam ∧ lam < 1 ∧ ∀ u ∈ Metric.closedBall c R, ∀ v ∈ Metric.closedBall c R, dist (σ^[2] u) (σ^[2] v) ≤ lam * dist u v := fun _ _ => by refine ⟨1 / 2, by norm_num, by norm_num, fun u _ v _ => ?_⟩ simp only [Function.iterate_succ_apply', Function.iterate_zero_apply, σ, Prod.dist_eq, Real.dist_eq, ← sub_div, abs_div, abs_two] rw [div_eq_mul_inv, div_eq_mul_inv, mul_comm _ (2 : ℝ)⁻¹, mul_comm _ (2 : ℝ)⁻¹, ← mul_max_of_nonneg _ _ (by positivity)] norm_num have hfix0 : σ (0, 0) = (0, 0) := by simp [σ] have hbdd : Bornology.IsBounded (Set.range fun n : ℕ => σ^[n] (0, 0)) := (Set.finite_singleton ((0 : ℝ), (0 : ℝ))).isBounded.subset (by rintro _ ⟨n, rfl⟩ simp [Function.iterate_fixed hfix0 n]) exact prop_reduction_bounded_orbit hnonexp (by norm_num) hball ⟨(0, 0), hbdd⟩
end SanityCheck
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656import Mathlib
/-!# Remarks 12.4 (`rem:ep-twist`) and 9.3 (`r:poly`): Explicit counterexamples
Formalization of the two explicit counterexamples from S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026):
1. **Remark 12.4 (`rem:ep-twist`)**: The radial twist `H(r e^{it}) = r exp(i [t + r / (1 - r)])` is a self-homeomorphism of the open unit disk `Metric.ball (0 : ℂ) 1` (with inverse given by the opposite radial twist), yet along the positive radius the sequences `r_n = 2π n / (1 + 2π n)` and `s_n = (2n + 1)π / (1 + (2n + 1)π)` both converge to `1` while `H(r_n) → 1` and `H(s_n) → -1`. Consequently `H` admits no continuous extension to the closed unit disk.
2. **Remark 9.3 (`r:poly`)**: For `f(z) = z² + i` with critical orbit `0 ↦ i ↦ -1 + i ↦ -i ↦ -1 + i` and the 7-element forward-invariant marking `A = {0, i, -i, -1 + i, 1 - i, ±√(1 - 2i)}`, the quadratic differential `p = dz² / ((z - i)(z + i)(z + 1 - i))` pulls back under `f²` so that `q = (f²)⋆ p / 4` cancels all ramified factors (at `z = 0` and `z² = -i`), has exactly six simple poles all lying in `A`, and satisfies exact zero-cancellation pushforward `(f²)_* q = p` and `∑ ‖q(zᵢ) / ((f²)'(zᵢ))²‖ = ‖p(w)‖` over every regular 4-point fiber. This refutes the extension of strict contraction of `σ²` to arbitrary extra marks (`[MPR, Prop. 2.22(3)]`).-/
open Filter Topology Finset
namespace Thurston.Core
/-! ### Part 1: Remark 12.4 (`rem:ep-twist`) — Non-extending radial twist of the open disk -/
/-- The radial twist `H(z) = z · exp(i · ‖z‖ / (1 - ‖z‖))` on `ℂ`. -/noncomputable def radialTwist (z : ℂ) : ℂ := z * Complex.exp (Complex.I * ((‖z‖ / (1 - ‖z‖) : ℝ) : ℂ))
/-- The inverse radial twist `H⁻¹(z) = z · exp(-i · ‖z‖ / (1 - ‖z‖))` on `ℂ`. -/noncomputable def radialTwistInv (z : ℂ) : ℂ := z * Complex.exp (-Complex.I * ((‖z‖ / (1 - ‖z‖) : ℝ) : ℂ))
/-- `radialTwist` preserves the Euclidean norm on `ℂ`. -/theorem norm_radialTwist (z : ℂ) : ‖radialTwist z‖ = ‖z‖ := by unfold radialTwist rw [norm_mul, mul_comm Complex.I, Complex.norm_exp_ofReal_mul_I, mul_one]
/-- `radialTwistInv` preserves the Euclidean norm on `ℂ`. -/theorem norm_radialTwistInv (z : ℂ) : ‖radialTwistInv z‖ = ‖z‖ := by unfold radialTwistInv have h : -Complex.I * ((‖z‖ / (1 - ‖z‖) : ℝ) : ℂ) = ((-(‖z‖ / (1 - ‖z‖)) : ℝ) : ℂ) * Complex.I := by push_cast ring rw [norm_mul, h, Complex.norm_exp_ofReal_mul_I, mul_one]
/-- `radialTwistInv` is a left inverse to `radialTwist` on all of `ℂ`. -/theorem radialTwist_left_inv (z : ℂ) : radialTwistInv (radialTwist z) = z := by unfold radialTwistInv radialTwist rw [norm_mul, mul_comm Complex.I, Complex.norm_exp_ofReal_mul_I, mul_one, mul_assoc, ← Complex.exp_add] have hzero : ((‖z‖ / (1 - ‖z‖) : ℝ) : ℂ) * Complex.I + -Complex.I * ((‖z‖ / (1 - ‖z‖) : ℝ) : ℂ) = 0 := by ring rw [hzero, Complex.exp_zero, mul_one]
/-- `radialTwistInv` is a right inverse to `radialTwist` on all of `ℂ`. -/theorem radialTwist_right_inv (z : ℂ) : radialTwist (radialTwistInv z) = z := by unfold radialTwist radialTwistInv have hnorm : ‖z * Complex.exp (-Complex.I * ((‖z‖ / (1 - ‖z‖) : ℝ) : ℂ))‖ = ‖z‖ := norm_radialTwistInv z rw [hnorm, mul_assoc, ← Complex.exp_add] have hzero : -Complex.I * ((‖z‖ / (1 - ‖z‖) : ℝ) : ℂ) + Complex.I * ((‖z‖ / (1 - ‖z‖) : ℝ) : ℂ) = 0 := by ring rw [hzero, Complex.exp_zero, mul_one]
private lemma continuous_radialAngle_on_ball : Continuous fun z : Metric.ball (0 : ℂ) 1 => (‖z.1‖ / (1 - ‖z.1‖) : ℝ) := by refine (continuous_norm.comp continuous_subtype_val).div (continuous_const.sub (continuous_norm.comp continuous_subtype_val)) ?_ intro z have hz : ‖z.1‖ < 1 := mem_ball_zero_iff.mp z.2 linarith
/-- **Remark 12.4 (`rem:ep-twist`)**: `radialTwist` restricts to a self-homeomorphism of the openunit disk `Metric.ball (0 : ℂ) 1`, with inverse `radialTwistInv`. -/noncomputable def radialTwistHomeomorph : Homeomorph (Metric.ball (0 : ℂ) 1) (Metric.ball (0 : ℂ) 1) where toFun z := ⟨radialTwist z.1, mem_ball_zero_iff.mpr <| by rw [norm_radialTwist] exact mem_ball_zero_iff.mp z.2⟩ invFun z := ⟨radialTwistInv z.1, mem_ball_zero_iff.mpr <| by rw [norm_radialTwistInv] exact mem_ball_zero_iff.mp z.2⟩ left_inv z := Subtype.ext (radialTwist_left_inv z.1) right_inv z := Subtype.ext (radialTwist_right_inv z.1) continuous_toFun := by refine Continuous.subtype_mk ?_ _ unfold radialTwist exact continuous_subtype_val.mul <| Complex.continuous_exp.comp <| continuous_const.mul (Complex.continuous_ofReal.comp continuous_radialAngle_on_ball) continuous_invFun := by refine Continuous.subtype_mk ?_ _ unfold radialTwistInv exact continuous_subtype_val.mul <| Complex.continuous_exp.comp <| continuous_const.mul (Complex.continuous_ofReal.comp continuous_radialAngle_on_ball)
/-- Positive-limit radial sequence `r_n = 2π n / (1 + 2π n)` along `[0, 1)`. -/noncomputable def twistSeqPos (n : ℕ) : ℝ := 2 * Real.pi * n / (1 + 2 * Real.pi * n)
/-- Negative-limit radial sequence `s_n = (2n + 1)π / (1 + (2n + 1)π)` along `(0, 1)`. -/noncomputable def twistSeqNeg (n : ℕ) : ℝ := (2 * n + 1) * Real.pi / (1 + (2 * n + 1) * Real.pi)
/-- Every `r_n = twistSeqPos n` lies in `[0, 1)`. -/theorem twistSeqPos_mem_Ico (n : ℕ) : twistSeqPos n ∈ Set.Ico 0 1 := by unfold twistSeqPos have hx : 0 ≤ 2 * Real.pi * (n : ℝ) := by positivity exact ⟨by positivity, (div_lt_one (by linarith)).2 (by linarith)⟩
/-- Every `s_n = twistSeqNeg n` lies in `(0, 1)`. -/theorem twistSeqNeg_mem_Ioo (n : ℕ) : twistSeqNeg n ∈ Set.Ioo 0 1 := by unfold twistSeqNeg have hx : 0 < (2 * (n : ℝ) + 1) * Real.pi := by positivity exact ⟨by positivity, (div_lt_one (by linarith)).2 (by linarith)⟩
private lemma tendsto_div_one_add_atTop {u : ℕ → ℝ} (hu : Tendsto u atTop atTop) : Tendsto (fun n => u n / (1 + u n)) atTop (𝓝 1) := by have h1 : Tendsto (fun n => 1 + u n) atTop atTop := tendsto_atTop_add_const_left atTop 1 hu have hsub : Tendsto (fun n => 1 - (1 + u n)⁻¹) atTop (𝓝 (1 - 0)) := tendsto_const_nhds.sub (tendsto_inv_atTop_zero.comp h1) rw [sub_zero] at hsub refine hsub.congr' ?_ filter_upwards [h1.eventually_gt_atTop 0] with n hn have hne : 1 + u n ≠ 0 := hn.ne' field_simp [hne] ring
/-- `twistSeqPos n → 1` in `ℂ`. -/theorem tendsto_twistSeqPos : Tendsto (fun n => (twistSeqPos n : ℂ)) atTop (𝓝 1) := by have hu : Tendsto (fun n : ℕ => 2 * Real.pi * (n : ℝ)) atTop atTop := Tendsto.const_mul_atTop (by positivity) tendsto_natCast_atTop_atTop have hr : Tendsto twistSeqPos atTop (𝓝 1) := tendsto_div_one_add_atTop hu have h := (Complex.continuous_ofReal.tendsto (1 : ℝ)).comp hr simpa only [Function.comp_def, Complex.ofReal_one] using h
/-- `twistSeqNeg n → 1` in `ℂ`. -/theorem tendsto_twistSeqNeg : Tendsto (fun n => (twistSeqNeg n : ℂ)) atTop (𝓝 1) := by have h2n : Tendsto (fun n : ℕ => 2 * (n : ℝ) + 1) atTop atTop := tendsto_atTop_add_const_right atTop 1 <| Tendsto.const_mul_atTop (by norm_num) tendsto_natCast_atTop_atTop have hu : Tendsto (fun n : ℕ => (2 * (n : ℝ) + 1) * Real.pi) atTop atTop := Tendsto.atTop_mul_const Real.pi_pos h2n have hr : Tendsto twistSeqNeg atTop (𝓝 1) := tendsto_div_one_add_atTop hu have h := (Complex.continuous_ofReal.tendsto (1 : ℝ)).comp hr simpa only [Function.comp_def, Complex.ofReal_one] using h
/-- `radialTwist` fixes every `r_n = twistSeqPos n` because `r_n / (1 - r_n) = 2π n`. -/theorem radialTwist_twistSeqPos (n : ℕ) : radialTwist (twistSeqPos n : ℂ) = (twistSeqPos n : ℂ) := by unfold radialTwist have hmem := twistSeqPos_mem_Ico n have hnorm : ‖(twistSeqPos n : ℂ)‖ = twistSeqPos n := by rw [Complex.norm_real, Real.norm_of_nonneg hmem.1] have hangle : twistSeqPos n / (1 - twistSeqPos n) = 2 * Real.pi * (n : ℝ) := by unfold twistSeqPos have hpos : 0 < 1 + 2 * Real.pi * (n : ℝ) := by positivity field_simp [hpos.ne'] ring rw [hnorm, hangle] have harg : Complex.I * ((2 * Real.pi * (n : ℝ) : ℝ) : ℂ) = (n : ℂ) * (2 * Real.pi * Complex.I) := by push_cast ring rw [harg, Complex.exp_nat_mul, Complex.exp_two_pi_mul_I, one_pow, mul_one]
/-- `radialTwist` negates every `s_n = twistSeqNeg n` because `s_n / (1 - s_n) = (2n + 1)π`. -/theorem radialTwist_twistSeqNeg (n : ℕ) : radialTwist (twistSeqNeg n : ℂ) = -(twistSeqNeg n : ℂ) := by unfold radialTwist have hmem := twistSeqNeg_mem_Ioo n have hnorm : ‖(twistSeqNeg n : ℂ)‖ = twistSeqNeg n := by rw [Complex.norm_real, Real.norm_of_nonneg hmem.1.le] have hangle : twistSeqNeg n / (1 - twistSeqNeg n) = (2 * (n : ℝ) + 1) * Real.pi := by unfold twistSeqNeg have hpos : 0 < 1 + (2 * (n : ℝ) + 1) * Real.pi := by positivity field_simp [hpos.ne'] ring rw [hnorm, hangle] have harg : Complex.I * (((2 * (n : ℝ) + 1) * Real.pi : ℝ) : ℂ) = (n : ℂ) * (2 * Real.pi * Complex.I) + Real.pi * Complex.I := by push_cast ring rw [harg, Complex.exp_add, Complex.exp_nat_mul, Complex.exp_two_pi_mul_I, one_pow, one_mul, Complex.exp_pi_mul_I, mul_neg_one]
/-- `radialTwist (twistSeqPos n) → 1`. -/theorem tendsto_radialTwist_twistSeqPos : Tendsto (fun n => radialTwist (twistSeqPos n : ℂ)) atTop (𝓝 1) := by simpa [radialTwist_twistSeqPos] using tendsto_twistSeqPos
/-- `radialTwist (twistSeqNeg n) → -1`. -/theorem tendsto_radialTwist_twistSeqNeg : Tendsto (fun n => radialTwist (twistSeqNeg n : ℂ)) atTop (𝓝 (-1)) := by simpa [radialTwist_twistSeqNeg] using tendsto_twistSeqNeg.neg
/-- **Remark 12.4 (`rem:ep-twist`)**: `radialTwist` admits no continuous extension from the openunit disk to the closed unit disk `Metric.closedBall (0 : ℂ) 1`. -/theorem radialTwist_no_continuous_extension : ¬ ∃ F : Metric.closedBall (0 : ℂ) 1 → ℂ, Continuous F ∧ ∀ z : ℂ, (hz : ‖z‖ < 1) → F ⟨z, by simp [hz.le]⟩ = radialTwist z := by rintro ⟨F, hFcont, hFeq⟩ let a : ℕ → Metric.closedBall (0 : ℂ) 1 := fun n => ⟨(twistSeqPos n : ℂ), by have hm := twistSeqPos_mem_Ico n simp [Metric.mem_closedBall, dist_zero_right, Real.norm_of_nonneg hm.1, hm.2.le]⟩ let b : ℕ → Metric.closedBall (0 : ℂ) 1 := fun n => ⟨(twistSeqNeg n : ℂ), by have hm := twistSeqNeg_mem_Ioo n simp [Metric.mem_closedBall, dist_zero_right, Real.norm_of_nonneg hm.1.le, hm.2.le]⟩ let p1 : Metric.closedBall (0 : ℂ) 1 := ⟨1, by simp⟩ have hFa : Tendsto (fun n => F (a n)) atTop (𝓝 (F p1)) := (hFcont.continuousAt.tendsto).comp (tendsto_subtype_rng.2 tendsto_twistSeqPos) have hFb : Tendsto (fun n => F (b n)) atTop (𝓝 (F p1)) := (hFcont.continuousAt.tendsto).comp (tendsto_subtype_rng.2 tendsto_twistSeqNeg) have hFa_eq : (fun n => F (a n)) = fun n => radialTwist (twistSeqPos n : ℂ) := by ext n have hm := twistSeqPos_mem_Ico n exact hFeq (twistSeqPos n : ℂ) (by simpa [Real.norm_of_nonneg hm.1] using hm.2) have hFb_eq : (fun n => F (b n)) = fun n => radialTwist (twistSeqNeg n : ℂ) := by ext n have hm := twistSeqNeg_mem_Ioo n exact hFeq (twistSeqNeg n : ℂ) (by simpa [Real.norm_of_nonneg hm.1.le] using hm.2) rw [hFa_eq] at hFa rw [hFb_eq] at hFb have h1 : F p1 = 1 := tendsto_nhds_unique hFa tendsto_radialTwist_twistSeqPos have h2 : F p1 = -1 := tendsto_nhds_unique hFb tendsto_radialTwist_twistSeqNeg have hcontra : (1 : ℂ) = -1 := h1.symm.trans h2 norm_num at hcontra
/-! ### Part 2: Remark 9.3 (`r:poly`) — Explicit `f(z) = z² + i`, `s = 7` counterexample -/
/-- The quadratic polynomial `f(z) = z² + i` of Remark 9.3. -/def polyMap (z : ℂ) : ℂ := z ^ 2 + Complex.I
/-- The second iterate `f²(z) = (z² + i)² + i`. -/def polyMap2 (z : ℂ) : ℂ := polyMap (polyMap z)
/-- Explicit square root of `1 - 2i`: `√((√5 + 1)/2) - i √((√5 - 1)/2)`. -/noncomputable def polyRoot : ℂ := ⟨Real.sqrt ((Real.sqrt 5 + 1) / 2), -Real.sqrt ((Real.sqrt 5 - 1) / 2)⟩
/-- `polyRoot` satisfies `polyRoot² = 1 - 2i`. -/theorem polyRoot_sq : polyRoot ^ 2 = 1 - 2 * Complex.I := by have h5 : (1 : ℝ) ≤ Real.sqrt 5 := by rw [← Real.sqrt_one] exact Real.sqrt_le_sqrt (by norm_num) have hpos1 : 0 ≤ (Real.sqrt 5 + 1) / 2 := by linarith have hpos2 : 0 ≤ (Real.sqrt 5 - 1) / 2 := by linarith have hprod : Real.sqrt ((Real.sqrt 5 + 1) / 2) * Real.sqrt ((Real.sqrt 5 - 1) / 2) = 1 := by rw [← Real.sqrt_mul hpos1] have hsq5 : Real.sqrt 5 ^ 2 = 5 := Real.sq_sqrt (by norm_num) have hmul : (Real.sqrt 5 + 1) / 2 * ((Real.sqrt 5 - 1) / 2) = 1 := by nlinarith rw [hmul, Real.sqrt_one] apply Complex.ext · simp only [sq, polyRoot, Complex.mul_re, Complex.sub_re, Complex.one_re, Complex.I_re, Complex.I_im, Complex.re_ofNat, Complex.im_ofNat, mul_neg, neg_mul, neg_neg] rw [← sq, ← sq, Real.sq_sqrt hpos1, Real.sq_sqrt hpos2] ring · simp only [sq, polyRoot, Complex.mul_im, Complex.sub_im, Complex.one_im, Complex.I_re, Complex.I_im, Complex.re_ofNat, Complex.im_ofNat, mul_neg, neg_mul] linarith
/-- The 7-element forward-invariant finite marking`A = {0, i, -i, -1 + i, 1 - i, √(1 - 2i), -√(1 - 2i)}`. -/noncomputable def polyMarks : Finset ℂ := {0, Complex.I, -Complex.I, -1 + Complex.I, 1 - Complex.I, polyRoot, -polyRoot}
private lemma ne_of_sq_ne {a b : ℂ} (h : a ^ 2 ≠ b ^ 2) : a ≠ b := fun hab => h (by rw [hab])
private lemma complex_ne_of_re {a b : ℂ} (h : a.re ≠ b.re) : a ≠ b := fun hab => h (congrArg Complex.re hab)
private lemma complex_ne_of_im {a b : ℂ} (h : a.im ≠ b.im) : a ≠ b := fun hab => h (congrArg Complex.im hab)
private lemma polyRoot_ne_zero : polyRoot ≠ 0 := ne_of_sq_ne (by rw [polyRoot_sq, zero_pow (by norm_num)]; exact complex_ne_of_re (by norm_num))
private lemma polyRoot_ne_neg : polyRoot ≠ -polyRoot := fun h => polyRoot_ne_zero (by linear_combination (1 / 2 : ℂ) * h)
/-- **Remark 9.3 (`r:poly`)**: the finite marking `polyMarks` has cardinality `s = 7`. -/theorem polyMarks_card : polyMarks.card = 7 := by have hI : (Complex.I : ℂ) ^ 2 = -1 := Complex.I_sq have hmI : (-Complex.I : ℂ) ^ 2 = -1 := by rw [neg_sq, Complex.I_sq] have hm1I : (-1 + Complex.I : ℂ) ^ 2 = -2 * Complex.I := by linear_combination Complex.I_sq have h1mI : (1 - Complex.I : ℂ) ^ 2 = -2 * Complex.I := by linear_combination Complex.I_sq have hpr : polyRoot ^ 2 = 1 - 2 * Complex.I := polyRoot_sq have hmpr : (-polyRoot) ^ 2 = 1 - 2 * Complex.I := by rw [neg_sq, polyRoot_sq] unfold polyMarks rw [card_insert_of_notMem, card_insert_of_notMem, card_insert_of_notMem, card_insert_of_notMem, card_insert_of_notMem, card_insert_of_notMem, card_singleton] · simp [polyRoot_ne_neg] · simp only [mem_insert, mem_singleton, not_or] exact ⟨ne_of_sq_ne (by rw [h1mI, hpr]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [h1mI, hmpr]; exact complex_ne_of_re (by norm_num))⟩ · simp only [mem_insert, mem_singleton, not_or] exact ⟨complex_ne_of_re (by norm_num), ne_of_sq_ne (by rw [hm1I, hpr]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [hm1I, hmpr]; exact complex_ne_of_re (by norm_num))⟩ · simp only [mem_insert, mem_singleton, not_or] exact ⟨ne_of_sq_ne (by rw [hmI, hm1I]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [hmI, h1mI]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [hmI, hpr]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [hmI, hmpr]; exact complex_ne_of_re (by norm_num))⟩ · simp only [mem_insert, mem_singleton, not_or] exact ⟨complex_ne_of_im (by norm_num), ne_of_sq_ne (by rw [hI, hm1I]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [hI, h1mI]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [hI, hpr]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [hI, hmpr]; exact complex_ne_of_re (by norm_num))⟩ · simp only [mem_insert, mem_singleton, not_or] exact ⟨ne_of_sq_ne (by rw [zero_pow (by norm_num), hI]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [zero_pow (by norm_num), hmI]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [zero_pow (by norm_num), hm1I]; exact complex_ne_of_im (by norm_num)), ne_of_sq_ne (by rw [zero_pow (by norm_num), h1mI]; exact complex_ne_of_im (by norm_num)), ne_of_sq_ne (by rw [zero_pow (by norm_num), hpr]; exact complex_ne_of_re (by norm_num)), ne_of_sq_ne (by rw [zero_pow (by norm_num), hmpr]; exact complex_ne_of_re (by norm_num))⟩
/-- Critical orbit of `f(z) = z² + i`: `0 ↦ i ↦ -1 + i ↦ -i ↦ -1 + i`. -/theorem polyMap_critical_orbit : polyMap 0 = Complex.I ∧ polyMap Complex.I = -1 + Complex.I ∧ polyMap (-1 + Complex.I) = -Complex.I ∧ polyMap (-Complex.I) = -1 + Complex.I := by refine ⟨by unfold polyMap; ring, by unfold polyMap; linear_combination Complex.I_sq, by unfold polyMap; linear_combination Complex.I_sq, by unfold polyMap; linear_combination Complex.I_sq⟩
/-- **Remark 9.3 (`r:poly`)**: `polyMarks` is forward-invariant under `f(z) = z² + i`. -/theorem polyMarks_forward_invariant : ∀ a ∈ polyMarks, polyMap a ∈ polyMarks := by intro a ha simp only [polyMarks, mem_insert, mem_singleton] at ha ⊢ rcases ha with rfl | rfl | rfl | rfl | rfl | rfl | rfl · exact Or.inr (Or.inl (by unfold polyMap; ring)) · exact Or.inr (Or.inr (Or.inr (Or.inl (by unfold polyMap; linear_combination Complex.I_sq)))) · exact Or.inr (Or.inr (Or.inr (Or.inl (by unfold polyMap; linear_combination Complex.I_sq)))) · exact Or.inr (Or.inr (Or.inl (by unfold polyMap; linear_combination Complex.I_sq))) · exact Or.inr (Or.inr (Or.inl (by unfold polyMap; linear_combination Complex.I_sq))) · exact Or.inr (Or.inr (Or.inr (Or.inr (Or.inl (by unfold polyMap; rw [polyRoot_sq]; ring))))) · exact Or.inr (Or.inr (Or.inr (Or.inr (Or.inl (by unfold polyMap; rw [neg_sq, polyRoot_sq]; ring)))))
/-- First derivative of `f²(z) = (z² + i)² + i`: `(f²)'(z) = 4 z (z² + i)`. -/theorem deriv_polyMap2 (z : ℂ) : deriv polyMap2 z = 4 * z * (z ^ 2 + Complex.I) := by have hfn : polyMap2 = fun w : ℂ => (w ^ 2 + Complex.I) ^ 2 + Complex.I := rfl rw [hfn] have h1 : HasDerivAt (fun w : ℂ => w ^ 2 + Complex.I) (2 * z) z := by simpa using (hasDerivAt_pow 2 z).add_const Complex.I have h2 : HasDerivAt (fun w : ℂ => (w ^ 2 + Complex.I) ^ 2 + Complex.I) (2 * (z ^ 2 + Complex.I) ^ (2 - 1) * (2 * z)) z := by simpa using (h1.pow 2).add_const Complex.I rw [h2.deriv] ring
/-- Second derivative of `f²`: `(f²)''(z) = 4 (3 z² + i)`. -/theorem deriv_deriv_polyMap2 (z : ℂ) : deriv (deriv polyMap2) z = 4 * (3 * z ^ 2 + Complex.I) := by have hfn : deriv polyMap2 = fun w : ℂ => 4 * w ^ 3 + 4 * Complex.I * w := by ext w rw [deriv_polyMap2] ring rw [hfn] have h1 : HasDerivAt (fun w : ℂ => 4 * w ^ 3) (4 * (3 * z ^ 2)) z := by simpa using (hasDerivAt_pow 3 z).const_mul (4 : ℂ) have h2 : HasDerivAt (fun w : ℂ => 4 * Complex.I * w) (4 * Complex.I * 1) z := by simpa using (hasDerivAt_id z).const_mul (4 * Complex.I) exact (h1.add h2).deriv.trans (by ring)
private lemma deriv_polyMap2_ne_zero {z : ℂ} (hz0 : z ^ 2 ≠ 0) (hzI : z ^ 2 ≠ -Complex.I) : deriv polyMap2 z ≠ 0 := by rw [deriv_polyMap2] exact mul_ne_zero (mul_ne_zero (by norm_num) (fun h => hz0 (by rw [h]; ring))) (fun h => hzI (by linear_combination h))
/-- **Remark 9.3 (`r:poly`)**: exact fibers and ramification of `f²` over the three finite poles`i`, `-i`, and `-1 + i` of `p = dz² / ((z - i)(z + i)(z + 1 - i))`. -/theorem polyMap2_fibers : (∀ z : ℂ, polyMap2 z = Complex.I ↔ z ^ 2 = -Complex.I) ∧ (∀ z : ℂ, z ^ 2 = -Complex.I → deriv polyMap2 z = 0 ∧ deriv (deriv polyMap2) z ≠ 0) ∧ (∀ z : ℂ, polyMap2 z = -Complex.I ↔ z ∈ ({Complex.I, -Complex.I, polyRoot, -polyRoot} : Finset ℂ)) ∧ (∀ z ∈ ({Complex.I, -Complex.I, polyRoot, -polyRoot} : Finset ℂ), deriv polyMap2 z ≠ 0 ∧ z ∈ polyMarks) ∧ (∀ z : ℂ, polyMap2 z = -1 + Complex.I ↔ z = 0 ∨ z = 1 - Complex.I ∨ z = -1 + Complex.I) ∧ (deriv polyMap2 0 = 0 ∧ deriv (deriv polyMap2) 0 ≠ 0) ∧ (∀ z ∈ ({1 - Complex.I, -1 + Complex.I} : Finset ℂ), deriv polyMap2 z ≠ 0 ∧ z ∈ polyMarks) := by refine ⟨?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ · intro z unfold polyMap2 polyMap constructor · intro h have hlin : z ^ 2 + Complex.I = 0 := sq_eq_zero_iff.mp (by linear_combination h) linear_combination hlin · intro h rw [h] ring · intro z hz rw [deriv_polyMap2, deriv_deriv_polyMap2, hz] refine ⟨by ring, ?_⟩ have hval : 4 * (3 * -Complex.I + Complex.I) = -8 * Complex.I := by ring rw [hval] exact mul_ne_zero (by norm_num) Complex.I_ne_zero · intro z unfold polyMap2 polyMap simp only [mem_insert, mem_singleton] constructor · intro h have hsq : (z ^ 2 + Complex.I) ^ 2 = (1 - Complex.I) ^ 2 := by linear_combination h - Complex.I_sq rcases sq_eq_sq_iff_eq_or_eq_neg.mp hsq with h1 | h1 · have hz2 : z ^ 2 = polyRoot ^ 2 := by rw [polyRoot_sq]; linear_combination h1 rcases sq_eq_sq_iff_eq_or_eq_neg.mp hz2 with rfl | rfl · exact Or.inr (Or.inr (Or.inl rfl)) · exact Or.inr (Or.inr (Or.inr rfl)) · have hz2 : z ^ 2 = Complex.I ^ 2 := by rw [Complex.I_sq]; linear_combination h1 rcases sq_eq_sq_iff_eq_or_eq_neg.mp hz2 with rfl | rfl · exact Or.inl rfl · exact Or.inr (Or.inl rfl) · rintro (rfl | rfl | rfl | rfl) · rw [Complex.I_sq]; ring_nf; rw [Complex.I_sq]; ring · rw [neg_sq, Complex.I_sq]; ring_nf; rw [Complex.I_sq]; ring · rw [polyRoot_sq]; ring_nf; rw [Complex.I_sq]; ring · rw [neg_sq, polyRoot_sq]; ring_nf; rw [Complex.I_sq]; ring · intro z hz simp only [mem_insert, mem_singleton] at hz rcases hz with rfl | rfl | rfl | rfl · exact ⟨deriv_polyMap2_ne_zero (by rw [Complex.I_sq]; exact complex_ne_of_re (by norm_num)) (by rw [Complex.I_sq]; exact complex_ne_of_re (by norm_num)), by simp [polyMarks]⟩ · exact ⟨deriv_polyMap2_ne_zero (by rw [neg_sq, Complex.I_sq]; exact complex_ne_of_re (by norm_num)) (by rw [neg_sq, Complex.I_sq]; exact complex_ne_of_re (by norm_num)), by simp [polyMarks]⟩ · exact ⟨deriv_polyMap2_ne_zero (by rw [polyRoot_sq]; exact complex_ne_of_re (by norm_num)) (by rw [polyRoot_sq]; exact complex_ne_of_re (by norm_num)), by simp [polyMarks]⟩ · exact ⟨deriv_polyMap2_ne_zero (by rw [neg_sq, polyRoot_sq]; exact complex_ne_of_re (by norm_num)) (by rw [neg_sq, polyRoot_sq]; exact complex_ne_of_re (by norm_num)), by simp [polyMarks]⟩ · intro z unfold polyMap2 polyMap constructor · intro h have hsq : (z ^ 2 + Complex.I) ^ 2 = Complex.I ^ 2 := by rw [Complex.I_sq] linear_combination h rcases sq_eq_sq_iff_eq_or_eq_neg.mp hsq with h1 | h1 · exact Or.inl (sq_eq_zero_iff.mp (by linear_combination h1)) · have hz2 : z ^ 2 = (1 - Complex.I) ^ 2 := by linear_combination h1 - Complex.I_sq rcases sq_eq_sq_iff_eq_or_eq_neg.mp hz2 with h2 | h2 · exact Or.inr (Or.inl h2) · exact Or.inr (Or.inr (by linear_combination h2)) · rintro (rfl | rfl | rfl) · ring_nf; rw [Complex.I_sq]; ring · have hsq : (1 - Complex.I) ^ 2 = -2 * Complex.I := by linear_combination Complex.I_sq rw [hsq]; ring_nf; rw [Complex.I_sq]; ring · have hsq : (-1 + Complex.I) ^ 2 = -2 * Complex.I := by linear_combination Complex.I_sq rw [hsq]; ring_nf; rw [Complex.I_sq]; ring · rw [deriv_polyMap2, deriv_deriv_polyMap2] refine ⟨by ring, ?_⟩ have hval : 4 * (3 * (0 : ℂ) ^ 2 + Complex.I) = 4 * Complex.I := by ring rw [hval] exact mul_ne_zero (by norm_num) Complex.I_ne_zero · intro z hz simp only [mem_insert, mem_singleton] at hz rcases hz with rfl | rfl · have hsq : (1 - Complex.I) ^ 2 = -2 * Complex.I := by linear_combination Complex.I_sq exact ⟨deriv_polyMap2_ne_zero (by rw [hsq]; exact complex_ne_of_im (by norm_num)) (by rw [hsq]; exact complex_ne_of_im (by norm_num)), by simp [polyMarks]⟩ · have hsq : (-1 + Complex.I) ^ 2 = -2 * Complex.I := by linear_combination Complex.I_sq exact ⟨deriv_polyMap2_ne_zero (by rw [hsq]; exact complex_ne_of_im (by norm_num)) (by rw [hsq]; exact complex_ne_of_im (by norm_num)), by simp [polyMarks]⟩
/-- Coefficient of `p = dz² / ((z - i)(z + i)(z + 1 - i))`. -/noncomputable def polyPCoeff (z : ℂ) : ℂ := 1 / ((z - Complex.I) * (z + Complex.I) * (z + 1 - Complex.I))
/-- Coefficient of the scaled pullback `q = (f²)⋆ p / 4`:`q(z) = (1/4) · p(f²(z)) · ((f²)'(z))²`. -/noncomputable def polyQCoeff (z : ℂ) : ℂ := (1 / 4 : ℂ) * polyPCoeff (polyMap2 z) * (deriv polyMap2 z) ^ 2
/-- **Remark 9.3 (`r:poly`)**: exact rational cancellation of `q = (f²)⋆ p / 4`. Away from thefinite ramified points (`z = 0` and `z² = -i`), the factor `z² (z² + i)²` cancels identically,leaving a rational function whose denominator vanishes only at the six unramified poles in `A`. -/theorem polyPullback_exact_cancellation (z : ℂ) (hz0 : z ≠ 0) (hzI : z ^ 2 ≠ -Complex.I) : polyQCoeff z = 4 / ((z ^ 2 + 1) * (z ^ 2 + 2 * Complex.I) * (z ^ 2 - (1 - 2 * Complex.I))) := by unfold polyQCoeff polyPCoeff rw [deriv_polyMap2] set D := (z ^ 2 + 1) * (z ^ 2 + 2 * Complex.I) * (z ^ 2 - (1 - 2 * Complex.I)) have hden : (polyMap2 z - Complex.I) * (polyMap2 z + Complex.I) * (polyMap2 z + 1 - Complex.I) = z ^ 2 * (z ^ 2 + Complex.I) ^ 2 * D := by unfold polyMap2 polyMap dsimp [D] have h1 : (z ^ 2 + Complex.I) ^ 2 + 2 * Complex.I = (z ^ 2 + 1) * (z ^ 2 - (1 - 2 * Complex.I)) := by linear_combination Complex.I_sq have h2 : (z ^ 2 + Complex.I) ^ 2 + 1 = z ^ 2 * (z ^ 2 + 2 * Complex.I) := by linear_combination Complex.I_sq have h3 : (z ^ 2 + Complex.I) ^ 2 + Complex.I - Complex.I = (z ^ 2 + Complex.I) ^ 2 := by ring have h4 : (z ^ 2 + Complex.I) ^ 2 + Complex.I + Complex.I = (z ^ 2 + Complex.I) ^ 2 + 2 * Complex.I := by ring have h5 : (z ^ 2 + Complex.I) ^ 2 + Complex.I + 1 - Complex.I = (z ^ 2 + Complex.I) ^ 2 + 1 := by ring rw [h3, h4, h5, h1, h2] ring rw [hden] by_cases hD : D = 0 · simp [hD] · have hzi : z ^ 2 + Complex.I ≠ 0 := fun h => hzI (by linear_combination h) field_simp [hz0, hzi, hD]
/-- The reduced denominator of `q = (f²)⋆ p / 4` vanishes precisely at the six points`{i, -i, 1 - i, -1 + i, √(1 - 2i), -√(1 - 2i)} ⊆ polyMarks`. -/theorem polyPullback_poles_in_marks : (∀ z : ℂ, (z ^ 2 + 1) * (z ^ 2 + 2 * Complex.I) * (z ^ 2 - (1 - 2 * Complex.I)) = 0 ↔ z ∈ ({Complex.I, -Complex.I, 1 - Complex.I, -1 + Complex.I, polyRoot, -polyRoot} : Finset ℂ)) ∧ ({Complex.I, -Complex.I, 1 - Complex.I, -1 + Complex.I, polyRoot, -polyRoot} : Finset ℂ) ⊆ polyMarks := by refine ⟨?_, ?_⟩ · intro z simp only [mul_eq_zero, mem_insert, mem_singleton] have h1 : z ^ 2 + 1 = 0 ↔ z = Complex.I ∨ z = -Complex.I := by have : z ^ 2 + 1 = 0 ↔ z ^ 2 = Complex.I ^ 2 := by rw [Complex.I_sq] constructor <;> intro h <;> linear_combination h rw [this, sq_eq_sq_iff_eq_or_eq_neg] have h2 : z ^ 2 + 2 * Complex.I = 0 ↔ z = 1 - Complex.I ∨ z = -1 + Complex.I := by have : z ^ 2 + 2 * Complex.I = 0 ↔ z ^ 2 = (1 - Complex.I) ^ 2 := by constructor <;> intro h · linear_combination h - Complex.I_sq · linear_combination h + Complex.I_sq rw [this, sq_eq_sq_iff_eq_or_eq_neg] constructor · rintro (h | h) · exact Or.inl h · exact Or.inr (by linear_combination h) · rintro (h | h) · exact Or.inl h · exact Or.inr (by linear_combination h) have h3 : z ^ 2 - (1 - 2 * Complex.I) = 0 ↔ z = polyRoot ∨ z = -polyRoot := by have : z ^ 2 - (1 - 2 * Complex.I) = 0 ↔ z ^ 2 = polyRoot ^ 2 := by rw [polyRoot_sq, sub_eq_zero] rw [this, sq_eq_sq_iff_eq_or_eq_neg] rw [h1, h2, h3] tauto · intro z hz simp only [polyMarks, mem_insert, mem_singleton] at hz ⊢ rcases hz with rfl | rfl | rfl | rfl | rfl | rfl <;> simp
/-- Every non-critical value `w ∉ {i, -1 + i}` of `f²` has 4 distinct unramified preimages. -/theorem polyMap2_regular_fiber (w : ℂ) (hw1 : w ≠ Complex.I) (hw2 : w ≠ -1 + Complex.I) : ∃ z : Fin 4 → ℂ, Function.Injective z ∧ ∀ i : Fin 4, polyMap2 (z i) = w ∧ deriv polyMap2 (z i) ≠ 0 := by obtain ⟨u, hu⟩ := IsAlgClosed.exists_pow_nat_eq (w - Complex.I) (by norm_num : 0 < 2) have hu0 : u ≠ 0 := fun h0 => hw1 (by rw [h0, zero_pow (by norm_num)] at hu; linear_combination hu.symm) have huI : u - Complex.I ≠ 0 := fun h => hw2 (by have heq : u = Complex.I := by linear_combination h rw [heq, Complex.I_sq] at hu linear_combination hu.symm) have humI : -u - Complex.I ≠ 0 := fun h => hw2 (by have heq : u = -Complex.I := by linear_combination -h rw [heq, neg_sq, Complex.I_sq] at hu linear_combination hu.symm) obtain ⟨z0, hz0⟩ := IsAlgClosed.exists_pow_nat_eq (u - Complex.I) (by norm_num : 0 < 2) obtain ⟨z2, hz2⟩ := IsAlgClosed.exists_pow_nat_eq (-u - Complex.I) (by norm_num : 0 < 2) have hz0_ne : z0 ≠ 0 := fun h => huI (by rw [← hz0, h]; ring) have hz2_ne : z2 ≠ 0 := fun h => humI (by rw [← hz2, h]; ring) have hsq_ne : z0 ^ 2 ≠ z2 ^ 2 := by rw [hz0, hz2] intro h exact hu0 (by linear_combination (1 / 2 : ℂ) * h) let z : Fin 4 → ℂ := ![z0, -z0, z2, -z2] refine ⟨z, ?_, ?_⟩ · intro i j hij fin_cases i <;> fin_cases j <;> dsimp [z] at hij · rfl · exact absurd (by linear_combination (1 / 2 : ℂ) * hij : z0 = 0) hz0_ne · exact absurd (congrArg (· ^ 2) hij) hsq_ne · exact absurd (by rw [← neg_sq z2, ← hij]) hsq_ne · exact absurd (by linear_combination (-1 / 2 : ℂ) * hij : z0 = 0) hz0_ne · rfl · exact absurd (by rw [← neg_sq z0, hij]) hsq_ne · exact absurd (by rw [← neg_sq z0, hij, neg_sq]) hsq_ne · exact absurd (congrArg (· ^ 2) hij.symm) hsq_ne · exact absurd (by rw [← neg_sq z0, ← hij]) hsq_ne · rfl · exact absurd (by linear_combination (1 / 2 : ℂ) * hij : z2 = 0) hz2_ne · exact absurd (by rw [← neg_sq z2, hij]) hsq_ne · exact absurd (by rw [← neg_sq z0, ← neg_sq z2, hij]) hsq_ne · exact absurd (by linear_combination (-1 / 2 : ℂ) * hij : z2 = 0) hz2_ne · rfl · intro i fin_cases i <;> dsimp [z] <;> rw [deriv_polyMap2] <;> unfold polyMap2 polyMap · exact ⟨by rw [hz0]; linear_combination hu, mul_ne_zero (mul_ne_zero (by norm_num) hz0_ne) (by rw [hz0]; simpa using hu0)⟩ · exact ⟨by rw [neg_sq, hz0]; linear_combination hu, mul_ne_zero (mul_ne_zero (by norm_num) (neg_ne_zero.mpr hz0_ne)) (by rw [neg_sq, hz0]; simpa using hu0)⟩ · exact ⟨by rw [hz2]; linear_combination hu, mul_ne_zero (mul_ne_zero (by norm_num) hz2_ne) (by rw [hz2]; simpa using neg_ne_zero.mpr hu0)⟩ · exact ⟨by rw [neg_sq, hz2]; linear_combination hu, mul_ne_zero (mul_ne_zero (by norm_num) (neg_ne_zero.mpr hz2_ne)) (by rw [neg_sq, hz2]; simpa using neg_ne_zero.mpr hu0)⟩
/-- **Remark 9.3 (`r:poly`)**: over any 4 unramified preimages `z₀, z₁, z₂, z₃` of `w` under `f²`,the pushforward of `q = (f²)⋆ p / 4` equals `p(w)` with zero cancellation:`∑ i, q(zᵢ) / ((f²)'(zᵢ))² = p(w)` and `∑ i, ‖q(zᵢ) / ((f²)'(zᵢ))²‖ = ‖p(w)‖`. -/theorem polyPushforward_zero_cancellation (w : ℂ) (z : Fin 4 → ℂ) (hpre : ∀ i : Fin 4, polyMap2 (z i) = w) (hunram : ∀ i : Fin 4, deriv polyMap2 (z i) ≠ 0) : (∑ i : Fin 4, polyQCoeff (z i) / (deriv polyMap2 (z i)) ^ 2 = polyPCoeff w) ∧ (∑ i : Fin 4, ‖polyQCoeff (z i) / (deriv polyMap2 (z i)) ^ 2‖ = ‖polyPCoeff w‖) := by have hterm : ∀ i : Fin 4, polyQCoeff (z i) / (deriv polyMap2 (z i)) ^ 2 = (1 / 4 : ℂ) * polyPCoeff w := by intro i unfold polyQCoeff rw [hpre i] exact mul_div_cancel_right₀ _ (pow_ne_zero 2 (hunram i)) constructor · simp_rw [hterm] simp only [sum_const, card_univ, Fintype.card_fin, nsmul_eq_mul] ring · simp_rw [hterm, norm_mul] have hnorm : ‖(1 / 4 : ℂ)‖ = (1 / 4 : ℝ) := by norm_num simp only [hnorm, sum_const, card_univ, Fintype.card_fin, nsmul_eq_mul] ring
end Thurston.Core12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091import Mathlibimport Thurston.Core.PushforwardHolomorphic
/-!# Lemma 2.A (`l:pushforward`), area formula and `L¹` push-forward contraction
Standalone pure-Mathlib formalization of the area formula and `L¹` push-forward contraction foran entire map that is a covering map off a finite set, supporting Lemma 2.A (`l:pushforward`) ofS. van Strien, *The Thurston algorithm for meromorphic and rational maps* (version 22,3 December 2026).
Main results:* `exists_sheetedCover_of_isCoveringMapOn`: a nonconstant entire map `Hf` that is a covering map off a finite set `B` decomposes (up to the countable set `Hf⁻¹(B)`) into countably many pairwise disjoint measurable sheets with holomorphic inverse branches preserving area.* `areaFormula_of_isCoveringMapOn`: for every measurable `g : ℂ → ℝ≥0∞`, `∫⁻ w, ∑' (z : {z // H z = w}), g z = ∫⁻ z, g z * ‖deriv H z‖ₑ ^ 2`.* `pushContraction_of_isCoveringMapOn`: for every integrable `η : ℂ → ℂ` and measurable `F ⊆ ℂ`, `∫ w in F, ‖pushCoeff H η w‖ ≤ ∫ z in H ⁻¹' F, ‖η z‖`.* `pushCoeff_norm_lt_of_isCoveringMapOn`: assuming `GreatPicard`, if `f` is transcendental entire and a covering off a finite set `B`, and `η ≠ 0` is integrable and holomorphic off a finite set `M` with `f(M) ⊆ B`, then `∫ w, ‖pushCoeff f η w‖ < ∫ z, ‖η z‖` (using `pushHolomorphic` from `Thurston.Core.PushforwardHolomorphic` with no holomorphy assumption left open).-/
open Filter Topology MeasureTheory Metric Setopen scoped ENNReal
namespace Thurston.Core
/-! ## Sheeted covers and change of variables on holomorphic inverse branches -/
section SheetedCover
variable {Y X : Type*} [MeasurableSpace Y] [MeasurableSpace X]
/-- A countable measurable covering with inverse branches carrying target measure `lam` to sourcemeasure `ν`. -/structure SheetedCover (H : Y → X) (ν : Measure Y) (lam : Measure X) (ι : Type*) where sheet : ι → Set Y dom : ι → Set X branch : ι → X → Y measurableSet_sheet : ∀ j, MeasurableSet (sheet j) measurableSet_dom : ∀ j, MeasurableSet (dom j) measurable_branch : ∀ j, Measurable (branch j) disjoint_sheet : Pairwise (Function.onFun Disjoint sheet) null_compl : ν (⋃ j, sheet j)ᶜ = 0 branch_mem : ∀ j, ∀ w ∈ dom j, branch j w ∈ sheet j H_branch : ∀ j, ∀ w ∈ dom j, H (branch j w) = w branch_H : ∀ j, ∀ z ∈ sheet j, H z ∈ dom j ∧ branch j (H z) = z map_branch : ∀ j, (lam.restrict (dom j)).map (branch j) = ν.restrict (sheet j)
variable {H : Y → X} {ν : Measure Y} {lam : Measure X} {ι : Type*}
/-- Sum over inverse branches of a nonnegative function `g : Y → ℝ≥0∞`. -/noncomputable def SheetedCover.fibreSumE (c : SheetedCover H ν lam ι) (g : Y → ℝ≥0∞) (w : X) : ℝ≥0∞ := ∑' j, (c.dom j).indicator (fun w => g (c.branch j w)) w
lemma SheetedCover.measure_eq_sum [Countable ι] (c : SheetedCover H ν lam ι) : ν = Measure.sum fun j => (lam.restrict (c.dom j)).map (c.branch j) := by have h0 : ∀ᵐ z ∂ν, z ∈ ⋃ j, c.sheet j := mem_ae_iff.2 c.null_compl calc ν = ν.restrict (⋃ j, c.sheet j) := (Measure.restrict_eq_self_of_ae_mem h0).symm _ = Measure.sum fun j => ν.restrict (c.sheet j) := Measure.restrict_iUnion c.disjoint_sheet c.measurableSet_sheet _ = Measure.sum fun j => (lam.restrict (c.dom j)).map (c.branch j) := by congr 1 funext j exact (c.map_branch j).symm
lemma SheetedCover.aemeasurable_map (c : SheetedCover H ν lam ι) {β : Type*} [MeasurableSpace β] {f : Y → β} (hf : AEMeasurable f ν) (j : ι) : AEMeasurable f ((lam.restrict (c.dom j)).map (c.branch j)) := by rw [c.map_branch j] exact hf.restrict
lemma SheetedCover.lintegral_sheet (c : SheetedCover H ν lam ι) {f : Y → ℝ≥0∞} (hf : AEMeasurable f ν) (j : ι) : ∫⁻ z, f z ∂((lam.restrict (c.dom j)).map (c.branch j)) = ∫⁻ w in c.dom j, f (c.branch j w) ∂lam := lintegral_map' (c.aemeasurable_map hf j) (c.measurable_branch j).aemeasurable
lemma SheetedCover.indicator_comp_branch (c : SheetedCover H ν lam ι) {β : Type*} [Zero β] (g : Y → β) (U : Set X) (j : ι) (w : X) : (c.dom j).indicator (fun w => (H ⁻¹' U).indicator g (c.branch j w)) w = U.indicator ((c.dom j).indicator fun w => g (c.branch j w)) w := by by_cases hw : w ∈ c.dom j · have hH := c.H_branch j w hw by_cases hU : w ∈ U · have h1 : c.branch j w ∈ H ⁻¹' U := by rw [Set.mem_preimage, hH] exact hU rw [Set.indicator_of_mem hw, Set.indicator_of_mem h1, Set.indicator_of_mem hU, Set.indicator_of_mem hw] · have h1 : c.branch j w ∉ H ⁻¹' U := by rw [Set.mem_preimage, hH] exact hU rw [Set.indicator_of_mem hw, Set.indicator_of_notMem h1, Set.indicator_of_notMem hU] · rw [Set.indicator_of_notMem hw] by_cases hU : w ∈ U · rw [Set.indicator_of_mem hU, Set.indicator_of_notMem hw] · rw [Set.indicator_of_notMem hU]
lemma SheetedCover.aemeasurable_term (c : SheetedCover H ν lam ι) {g : Y → ℝ≥0∞} (hg : AEMeasurable g ν) (j : ι) : AEMeasurable ((c.dom j).indicator fun w => g (c.branch j w)) lam := (aemeasurable_indicator_iff (c.measurableSet_dom j)).2 ((c.aemeasurable_map hg j).comp_measurable (c.measurable_branch j))
lemma SheetedCover.aemeasurable_fibreSumE [Countable ι] (c : SheetedCover H ν lam ι) {g : Y → ℝ≥0∞} (hg : AEMeasurable g ν) : AEMeasurable (c.fibreSumE g) lam := AEMeasurable.tsum fun j => c.aemeasurable_term hg j
/-- Tonelli on the sheets: `∫⁻ w in U, fibreSumE g w ∂lam = ∫⁻ z in H⁻¹(U), g z ∂ν`. -/theorem SheetedCover.setLIntegral_fibreSumE [Countable ι] (c : SheetedCover H ν lam ι) (hH : Measurable H) {g : Y → ℝ≥0∞} (hg : AEMeasurable g ν) {U : Set X} (hU : MeasurableSet U) : ∫⁻ w in U, c.fibreSumE g w ∂lam = ∫⁻ z in H ⁻¹' U, g z ∂ν := by have hf : AEMeasurable ((H ⁻¹' U).indicator g) ν := hg.indicator (hH hU) calc ∫⁻ w in U, c.fibreSumE g w ∂lam = ∑' j, ∫⁻ w in U, (c.dom j).indicator (fun w => g (c.branch j w)) w ∂lam := by unfold SheetedCover.fibreSumE exact lintegral_tsum fun j => (c.aemeasurable_term hg j).restrict _ = ∑' j, ∫⁻ z, (H ⁻¹' U).indicator g z ∂((lam.restrict (c.dom j)).map (c.branch j)) := by refine tsum_congr fun j => ?_ rw [c.lintegral_sheet hf j, ← lintegral_indicator hU, ← lintegral_indicator (c.measurableSet_dom j)] exact lintegral_congr fun w => (c.indicator_comp_branch g U j w).symm _ = ∫⁻ z, (H ⁻¹' U).indicator g z ∂(Measure.sum fun j => (lam.restrict (c.dom j)).map (c.branch j)) := (lintegral_sum_measure _ _).symm _ = ∫⁻ z, (H ⁻¹' U).indicator g z ∂ν := by rw [← c.measure_eq_sum] _ = ∫⁻ z in H ⁻¹' U, g z ∂ν := lintegral_indicator (hH hU) g
theorem SheetedCover.lintegral_fibreSumE [Countable ι] (c : SheetedCover H ν lam ι) (hH : Measurable H) {g : Y → ℝ≥0∞} (hg : AEMeasurable g ν) : ∫⁻ w, c.fibreSumE g w ∂lam = ∫⁻ z, g z ∂ν := by have h := c.setLIntegral_fibreSumE hH hg MeasurableSet.univ simpa using h
theorem SheetedCover.fibreSumE_eq_tsum_fibre (c : SheetedCover H ν lam ι) (g : Y → ℝ≥0∞) (w : X) : c.fibreSumE g w = ∑' z : {z : Y // H z = w ∧ ∃ j, z ∈ c.sheet j}, g z := by have h1 : c.fibreSumE g w = ∑' j : {j : ι | w ∈ c.dom j}, g (c.branch j w) := by unfold SheetedCover.fibreSumE rw [tsum_subtype {j : ι | w ∈ c.dom j} (fun j => g (c.branch j w))] refine tsum_congr fun j => ?_ by_cases hj : w ∈ c.dom j · rw [Set.indicator_of_mem hj, Set.indicator_of_mem (show j ∈ {j : ι | w ∈ c.dom j} from hj)] · rw [Set.indicator_of_notMem hj, Set.indicator_of_notMem (show j ∉ {j : ι | w ∈ c.dom j} from hj)] rw [h1] let e : {j : ι | w ∈ c.dom j} → {z : Y // H z = w ∧ ∃ j, z ∈ c.sheet j} := fun j => ⟨c.branch j w, c.H_branch j w j.2, j, c.branch_mem j w j.2⟩ have he : Function.Bijective e := by constructor · rintro ⟨j, hj⟩ ⟨j', hj'⟩ h have hz : c.branch j w = c.branch j' w := congrArg Subtype.val h have m1 := c.branch_mem j w hj have m2 := c.branch_mem j' w hj' rw [hz] at m1 by_contra hne have hne' : j ≠ j' := fun h => hne (Subtype.ext h) exact Set.disjoint_left.1 (c.disjoint_sheet hne') m1 m2 · rintro ⟨z, hz, j, hj⟩ obtain ⟨m1, m2⟩ := c.branch_H j z hj rw [hz] at m1 m2 exact ⟨⟨j, m1⟩, Subtype.ext m2⟩ exact (Equiv.ofBijective e he).tsum_eq (fun z => g z.1)
end SheetedCover
section HolomorphicSheets
private lemma det_restrictScalars_smulRight (a : ℂ) : ((ContinuousLinearMap.smulRight (1 : ℂ →L[ℂ] ℂ) a).restrictScalars ℝ).det = ‖a‖ ^ 2 := by simp [ContinuousLinearMap.det, LinearMap.det_restrictScalars, Algebra.norm_complex_eq, Complex.normSq_eq_norm_sq]
/-- The area measure `|q|` of a quadratic differential `q(w) dw²` in a chart. -/noncomputable def areaOf (q : ℂ → ℂ) : Measure ℂ := volume.withDensity fun w => ‖q w‖ₑ
/-- The coefficient of the pullback `H^* q`: `q(H(z)) H'(z)²`. -/def pullbackCoeff (q Hf H' : ℂ → ℂ) (z : ℂ) : ℂ := q (Hf z) * H' z ^ 2
lemma areaOf_countable (q : ℂ → ℂ) {s : Set ℂ} (hs : s.Countable) : areaOf q s = 0 := withDensity_absolutelyContinuous _ _ (hs.measure_zero volume)
/-- Change of variables on one holomorphic inverse branch. -/theorem map_restrict_branch (q Hf H' : ℂ → ℂ) (ξ ξ' : ℂ → ℂ) (D : Set ℂ) (hD : MeasurableSet D) (hξm : Measurable ξ) (hξ : ∀ w ∈ D, HasDerivWithinAt ξ (ξ' w) D w) (hHξ : ∀ w ∈ D, Hf (ξ w) = w) (hchain : ∀ w ∈ D, H' (ξ w) * ξ' w = 1) : ((areaOf q).restrict D).map ξ = (areaOf (pullbackCoeff q Hf H')).restrict (ξ '' D) := by have hinj : Set.InjOn ξ D := fun w₁ h₁ w₂ h₂ h => by rw [← hHξ w₁ h₁, ← hHξ w₂ h₂, h] have hfd : ∀ w ∈ D, HasFDerivWithinAt ξ ((ContinuousLinearMap.smulRight (1 : ℂ →L[ℂ] ℂ) (ξ' w)).restrictScalars ℝ) D w := fun w hw => (hξ w hw).hasFDerivWithinAt.restrictScalars ℝ ext U hU have hs : MeasurableSet (ξ ⁻¹' U ∩ D) := (hξm hU).inter hD have hfd' : ∀ w ∈ ξ ⁻¹' U ∩ D, HasFDerivWithinAt ξ ((ContinuousLinearMap.smulRight (1 : ℂ →L[ℂ] ℂ) (ξ' w)).restrictScalars ℝ) (ξ ⁻¹' U ∩ D) w := fun w hw => (hfd w hw.2).mono Set.inter_subset_right have himg : MeasurableSet (ξ '' (ξ ⁻¹' U ∩ D)) := measurable_image_of_fderivWithin hs hfd' (hinj.mono Set.inter_subset_right) unfold areaOf rw [Measure.map_apply hξm hU, Measure.restrict_apply (hξm hU), withDensity_apply _ hs, Measure.restrict_apply hU, ← Set.image_preimage_inter, withDensity_apply _ himg, lintegral_image_eq_lintegral_abs_det_fderiv_mul volume hs hfd' (hinj.mono Set.inter_subset_right)] refine setLIntegral_congr_fun hs fun w hw => ?_ have h1 : ‖H' (ξ w)‖ₑ * ‖ξ' w‖ₑ = 1 := by rw [← enorm_mul, hchain w hw.2, enorm_one] show ‖q w‖ₑ = ENNReal.ofReal |((ContinuousLinearMap.smulRight (1 : ℂ →L[ℂ] ℂ) (ξ' w)).restrictScalars ℝ).det| * ‖pullbackCoeff q Hf H' (ξ w)‖ₑ rw [det_restrictScalars_smulRight, abs_of_nonneg (sq_nonneg _), ENNReal.ofReal_pow (norm_nonneg _), ofReal_norm, pullbackCoeff, enorm_mul, enorm_pow, hHξ w hw.2] calc ‖q w‖ₑ = ‖q w‖ₑ * (‖H' (ξ w)‖ₑ * ‖ξ' w‖ₑ) ^ 2 := by rw [h1, one_pow, mul_one] _ = ‖ξ' w‖ₑ ^ 2 * (‖q w‖ₑ * ‖H' (ξ w)‖ₑ ^ 2) := by ring
/-- A sheeted cover built from holomorphic inverse branches. -/noncomputable def SheetedCover.ofHolomorphic (q Hf H' : ℂ → ℂ) {ι : Type*} (dom : ι → Set ℂ) (branch branch' : ι → ℂ → ℂ) (hdom : ∀ j, MeasurableSet (dom j)) (hbm : ∀ j, Measurable (branch j)) (hderiv : ∀ j, ∀ w ∈ dom j, HasDerivWithinAt (branch j) (branch' j w) (dom j) w) (hHb : ∀ j, ∀ w ∈ dom j, Hf (branch j w) = w) (hchain : ∀ j, ∀ w ∈ dom j, H' (branch j w) * branch' j w = 1) (hdisj : Pairwise (Function.onFun Disjoint fun j => branch j '' dom j)) (hnull : areaOf (pullbackCoeff q Hf H') (⋃ j, branch j '' dom j)ᶜ = 0) : SheetedCover Hf (areaOf (pullbackCoeff q Hf H')) (areaOf q) ι where sheet := fun j => branch j '' dom j dom := dom branch := branch measurableSet_sheet := fun j => measurable_image_of_fderivWithin (hdom j) (fun w hw => (hderiv j w hw).hasFDerivWithinAt.restrictScalars ℝ) (fun w₁ h₁ w₂ h₂ h => by rw [← hHb j w₁ h₁, ← hHb j w₂ h₂, h]) measurableSet_dom := hdom measurable_branch := hbm disjoint_sheet := hdisj null_compl := hnull branch_mem := fun j _ hw => Set.mem_image_of_mem (branch j) hw H_branch := hHb branch_H := fun j z hz => by obtain ⟨w, hw, rfl⟩ := hz rw [hHb j w hw] exact ⟨hw, rfl⟩ map_branch := fun j => map_restrict_branch q Hf H' (branch j) (branch' j) (dom j) (hdom j) (hbm j) (hderiv j) (hHb j) (hchain j)
/-- A fibre of a nonconstant entire function is countable. -/theorem countable_fibre_of_entire {Hf : ℂ → ℂ} (hd : Differentiable ℂ Hf) (hnc : ¬ ∃ c : ℂ, ∀ z, Hf z = c) (a : ℂ) : (Hf ⁻¹' {a}).Countable := by have hfin : ∀ n : ℕ, (Hf ⁻¹' {a} ∩ closedBall (0 : ℂ) n).Finite := by intro n by_contra hinf obtain ⟨z₀, -, hacc⟩ := Set.Infinite.exists_accPt_of_subset_isCompact hinf (isCompact_closedBall (0 : ℂ) n) inter_subset_right have hfreq : ∃ᶠ z in 𝓝[≠] z₀, Hf z = (fun _ => a) z := (accPt_iff_frequently_nhdsNE.1 hacc).mono fun z hz => hz.1 have heq : Hf = fun _ => a := AnalyticOnNhd.eq_of_frequently_eq (fun z _ => hd.analyticAt z) analyticOnNhd_const hfreq exact hnc ⟨a, fun z => congrFun heq z⟩ have hcover : Hf ⁻¹' {a} = ⋃ n : ℕ, Hf ⁻¹' {a} ∩ closedBall (0 : ℂ) n := by ext z constructor · intro hz obtain ⟨n, hn⟩ := exists_nat_ge ‖z‖ exact mem_iUnion.2 ⟨n, hz, mem_closedBall_zero_iff.2 hn⟩ · intro hz obtain ⟨n, hz', -⟩ := mem_iUnion.1 hz exact hz' rw [hcover] exact countable_iUnion fun n => (hfin n).countable
/-- An evenly covered disk together with its complete family of holomorphic inverse branches. -/structure BranchDisk (Hf H' : ℂ → ℂ) (c : ℂ) (r : ℝ) {κ : Type*} (ψ ψ' : κ → ℂ → ℂ) : Prop where measurable : ∀ j, Measurable (ψ j) hasDerivAt : ∀ j, ∀ w ∈ ball c r, HasDerivAt (ψ j) (ψ' j w) w right_inv : ∀ j, ∀ w ∈ ball c r, Hf (ψ j w) = w chain : ∀ j, ∀ w ∈ ball c r, H' (ψ j w) * ψ' j w = 1 disjoint : Pairwise fun j k => Disjoint (ψ j '' ball c r) (ψ k '' ball c r) complete : ∀ z, Hf z ∈ ball c r → ∃ j, ψ j (Hf z) = z
/-- A sheeted cover built from a countable cover of `Bᶜ` by evenly covered disks. -/noncomputable def SheetedCover.ofBranchDisks (q Hf H' : ℂ → ℂ) {B : Set ℂ} (hB : (Hf ⁻¹' B).Countable) (c : ℕ → ℂ) (r : ℕ → ℝ) {κ : ℕ → Type*} (ψ ψ' : ∀ k, κ k → ℂ → ℂ) (hcover : Bᶜ ⊆ ⋃ k, ball (c k) (r k)) (hD : ∀ k, BranchDisk Hf H' (c k) (r k) (ψ k) (ψ' k)) : SheetedCover Hf (areaOf (pullbackCoeff q Hf H')) (areaOf q) (Σ k, κ k) := SheetedCover.ofHolomorphic q Hf H' (fun p => disjointed (fun k => ball (c k) (r k)) p.1) (fun p => ψ p.1 p.2) (fun p => ψ' p.1 p.2) (fun p => MeasurableSet.disjointed (fun _ => measurableSet_ball) p.1) (fun p => (hD p.1).measurable p.2) (fun p w hw => ((hD p.1).hasDerivAt p.2 w (disjointed_subset (fun k => ball (c k) (r k)) p.1 hw)).hasDerivWithinAt) (fun p w hw => (hD p.1).right_inv p.2 w (disjointed_subset (fun k => ball (c k) (r k)) p.1 hw)) (fun p w hw => (hD p.1).chain p.2 w (disjointed_subset (fun k => ball (c k) (r k)) p.1 hw)) (by rintro ⟨k, j⟩ ⟨k', j'⟩ hne show Disjoint (ψ k j '' disjointed (fun k => ball (c k) (r k)) k) (ψ k' j' '' disjointed (fun k => ball (c k) (r k)) k') rw [Set.disjoint_left] rintro z ⟨w, hw, rfl⟩ ⟨w', hw', hzw⟩ have hwb : w ∈ ball (c k) (r k) := disjointed_subset (fun k => ball (c k) (r k)) k hw have hwb' : w' ∈ ball (c k') (r k') := disjointed_subset (fun k => ball (c k) (r k)) k' hw' have hww : w' = w := by rw [← (hD k').right_inv j' w' hwb', hzw, (hD k).right_inv j w hwb] by_cases hk : k = k' · subst hk have hj : j ≠ j' := fun h => hne (by rw [h]) exact Set.disjoint_left.1 ((hD k).disjoint hj) (mem_image_of_mem _ hwb) ⟨w', hwb', hzw⟩ · have hdis : Disjoint (disjointed (fun k => ball (c k) (r k)) k) (disjointed (fun k => ball (c k) (r k)) k') := disjoint_disjointed (fun k => ball (c k) (r k)) hk exact Set.disjoint_left.1 hdis hw (hww ▸ hw')) (by refine measure_mono_null ?_ (areaOf_countable _ hB) intro z hz by_contra hzB apply hz have hmem : Hf z ∈ ⋃ k, disjointed (fun k => ball (c k) (r k)) k := by rw [iUnion_disjointed] exact hcover hzB obtain ⟨k, hk⟩ := mem_iUnion.1 hmem obtain ⟨j, hj⟩ := (hD k).complete z (disjointed_subset (fun k => ball (c k) (r k)) k hk) exact mem_iUnion.2 ⟨⟨k, j⟩, Hf z, hk, hj⟩)
theorem SheetedCover.mem_sheet_ofBranchDisks (q Hf H' : ℂ → ℂ) {B : Set ℂ} (hB : (Hf ⁻¹' B).Countable) (c : ℕ → ℂ) (r : ℕ → ℝ) {κ : ℕ → Type*} (ψ ψ' : ∀ k, κ k → ℂ → ℂ) (hcover : Bᶜ ⊆ ⋃ k, ball (c k) (r k)) (hD : ∀ k, BranchDisk Hf H' (c k) (r k) (ψ k) (ψ' k)) (hsub : ∀ k, ball (c k) (r k) ⊆ Bᶜ) (z : ℂ) : (∃ p, z ∈ (SheetedCover.ofBranchDisks q Hf H' hB c r ψ ψ' hcover hD).sheet p) ↔ Hf z ∉ B := by constructor · rintro ⟨⟨k, j⟩, hz⟩ have hz' : z ∈ ψ k j '' disjointed (fun k => ball (c k) (r k)) k := hz obtain ⟨w, hw, rfl⟩ := hz' have hwb : w ∈ ball (c k) (r k) := disjointed_subset (fun k => ball (c k) (r k)) k hw rw [(hD k).right_inv j w hwb] exact hsub k hwb · intro hzB have hmem : Hf z ∈ ⋃ k, disjointed (fun k => ball (c k) (r k)) k := by rw [iUnion_disjointed] exact hcover hzB obtain ⟨k, hk⟩ := mem_iUnion.1 hmem obtain ⟨j, hj⟩ := (hD k).complete z (disjointed_subset (fun k => ball (c k) (r k)) k hk) exact ⟨⟨k, j⟩, Hf z, hk, hj⟩
/-- Existence of a complete family of holomorphic inverse branches over a disk inside the coveredset of an entire map. -/theorem exists_branchDisk {Hf : ℂ → ℂ} (hH : Differentiable ℂ Hf) {s : Set ℂ} (cov : IsCoveringMapOn Hf s) {c : ℂ} {r : ℝ} (hr : 0 < r) (hs : ball c r ⊆ s) : ∃ ψ ψ' : {z : ℂ // Hf z = c} → ℂ → ℂ, BranchDisk Hf (deriv Hf) c r ψ ψ' := by classical have : ContractibleSpace (ball c r) := (convex_ball c r).contractibleSpace ⟨c, mem_ball_self hr⟩ have : LocallyPathConnectedSpace (ball c r) := isOpen_ball.locallyPathConnectedSpace obtain ⟨f, hf⟩ : ∃ f : C(ball c r, ℂ), ∀ a, f a = a.1 := ⟨⟨fun a => a.1, by fun_prop⟩, fun _ => rfl⟩ have hfs : ∀ a, f a ∈ s := fun a => by rw [hf a] exact hs a.2 obtain ⟨a₀, ha₀⟩ : ∃ a₀ : ball c r, a₀.1 = c := ⟨⟨c, mem_ball_self hr⟩, rfl⟩ have huniq : ∀ (F G : C(ball c r, ℂ)) (a : ball c r), Hf ∘ F = f → Hf ∘ G = f → F a = G a → F = G := by intro F G a hF hG hFG have hu := cov.existsUnique_continuousMap_lifts f (a₀ := a) (e₀ := F a) (congrFun hF a) hfs exact hu.unique ⟨rfl, hF⟩ ⟨hFG.symm, hG⟩ have hex : ∀ j : {z : ℂ // Hf z = c}, ∃ F : C(ball c r, ℂ), F a₀ = j.1 ∧ Hf ∘ F = f := fun j => (cov.existsUnique_continuousMap_lifts f (a₀ := a₀) (e₀ := j.1) (by rw [hf a₀, ha₀]; exact j.2) hfs).exists choose F hF₀ hFlift using hex obtain ⟨ψ, hval, hout⟩ : ∃ ψ : {z : ℂ // Hf z = c} → ℂ → ℂ, (∀ j w (hw : w ∈ ball c r), ψ j w = F j ⟨w, hw⟩) ∧ ∀ j w, w ∉ ball c r → ψ j w = 0 := ⟨fun j w => if hw : w ∈ ball c r then F j ⟨w, hw⟩ else 0, fun j w hw => by simp [hw], fun j w hw => by simp [hw]⟩ have hHψ : ∀ j, ∀ w ∈ ball c r, Hf (ψ j w) = w := by intro j w hw have h1 := congrFun (hFlift j) ⟨w, hw⟩ rw [hf] at h1 rw [hval j w hw] exact h1 have hcont : ∀ j, ContinuousOn (ψ j) (ball c r) := by intro j rw [continuousOn_iff_continuous_domRestrict] have h1 : (ball c r).domRestrict (ψ j) = F j := funext fun a => hval j a.1 a.2 rw [h1] exact (F j).continuous have hdiff : ∀ j, ∀ w ∈ ball c r, DifferentiableAt ℂ (ψ j) w := by intro j w hw have hnhds : ball c r ∈ 𝓝 w := isOpen_ball.mem_nhds hw have hca : ContinuousAt (ψ j) w := (hcont j).continuousAt hnhds have hne : deriv Hf (ψ j w) ≠ 0 := deriv_ne_zero_of_isCoveringMapOn hH cov (by rw [hHψ j w hw]; exact hs hw) have hstrict : HasStrictDerivAt Hf (deriv Hf (ψ j w)) (ψ j w) := (hH.analyticAt (ψ j w)).hasStrictDerivAt obtain ⟨g, hg⟩ : ∃ g : ℂ → ℂ, g = hstrict.localInverse Hf (deriv Hf (ψ j w)) (ψ j w) hne := ⟨_, rfl⟩ have hleft : ∀ᶠ x in 𝓝 (ψ j w), g (Hf x) = x := by rw [hg] exact hstrict.eventually_left_inverse hne have hgd : DifferentiableAt ℂ g (Hf (ψ j w)) := by rw [hg] exact (hstrict.to_localInverse hne).hasDerivAt.differentiableAt rw [hHψ j w hw] at hgd have hev : ψ j =ᶠ[𝓝 w] g := by filter_upwards [hca.eventually hleft, hnhds] with w' h1 h2 exact h1.symm.trans (congrArg g (hHψ j w' h2)) exact hgd.congr_of_eventuallyEq hev refine ⟨ψ, fun j w => deriv (ψ j) w, ?_, fun j w hw => (hdiff j w hw).hasDerivAt, hHψ, ?_, ?_, ?_⟩ · intro j have hpw : ψ j = (ball c r).piecewise (ψ j) (fun _ => 0) := by funext w by_cases hw : w ∈ ball c r · rw [Set.piecewise_eq_of_mem _ _ _ hw] · rw [Set.piecewise_eq_of_notMem _ _ _ hw, hout j w hw] rw [hpw] exact (hcont j).measurable_piecewise continuousOn_const measurableSet_ball · intro j w hw have hcomp : HasDerivAt (fun w' => Hf (ψ j w')) (deriv Hf (ψ j w) * deriv (ψ j) w) w := (hH (ψ j w)).hasDerivAt.comp w (hdiff j w hw).hasDerivAt have hid : (fun w' : ℂ => w') =ᶠ[𝓝 w] fun w' => Hf (ψ j w') := by filter_upwards [isOpen_ball.mem_nhds hw] with w' h2 exact (hHψ j w' h2).symm exact (hcomp.congr_of_eventuallyEq hid).unique (hasDerivAt_id w) · intro j k hjk rw [Set.disjoint_left] rintro z ⟨w, hw, rfl⟩ ⟨w', hw', hw'z⟩ have hww : w' = w := by rw [← hHψ k w' hw', hw'z, hHψ j w hw] rw [hww] at hw'z have hFeq : F k = F j := huniq (F k) (F j) ⟨w, hw⟩ (hFlift k) (hFlift j) (by rw [← hval k w hw, ← hval j w hw]; exact hw'z) have hkj : k = j := Subtype.ext (by rw [← hF₀ k, ← hF₀ j, hFeq]) exact hjk hkj.symm · intro z hz obtain ⟨G, hG₁, hG₂⟩ := (cov.existsUnique_continuousMap_lifts f (a₀ := ⟨Hf z, hz⟩) (e₀ := z) (by rw [hf]) hfs).exists have hj : Hf (G a₀) = c := by have h1 := congrFun hG₂ a₀ rw [hf a₀, ha₀] at h1 exact h1 refine ⟨⟨G a₀, hj⟩, ?_⟩ have hFG : F ⟨G a₀, hj⟩ = G := huniq _ _ a₀ (hFlift _) hG₂ (hF₀ _) rw [hval _ (Hf z) hz, hFG] exact hG₁
/-- An entire nonconstant map that is a covering map off a finite set `B` admits a countablesheeted cover whose sheets cover exactly `Hf⁻¹(Bᶜ)`. -/theorem exists_sheetedCover_of_isCoveringMapOn (q : ℂ → ℂ) {Hf : ℂ → ℂ} (hH : Differentiable ℂ Hf) (hnc : ¬ ∃ c : ℂ, ∀ z, Hf z = c) (B : Finset ℂ) (cov : IsCoveringMapOn Hf (↑B : Set ℂ)ᶜ) : ∃ (ι : Type) (_ : Countable ι) (cv : SheetedCover Hf (areaOf (pullbackCoeff q Hf (deriv Hf))) (areaOf q) ι), ∀ z, (∃ j, z ∈ cv.sheet j) ↔ Hf z ∉ (↑B : Set ℂ) := by have hopen : IsOpen ((↑B : Set ℂ)ᶜ) := B.finite_toSet.isClosed.isOpen_compl have hrad : ∀ x : ℂ, ∃ ρ : ℝ, 0 < ρ ∧ (x ∈ (↑B : Set ℂ)ᶜ → ball x ρ ⊆ (↑B : Set ℂ)ᶜ) := by intro x by_cases hx : x ∈ (↑B : Set ℂ)ᶜ · obtain ⟨ρ, hρ, hsub⟩ := Metric.isOpen_iff.1 hopen x hx exact ⟨ρ, hρ, fun _ => hsub⟩ · exact ⟨1, one_pos, fun h => absurd h hx⟩ choose ρ hρpos hρsub using hrad obtain ⟨T, hTsub, hTc, hTcov⟩ := TopologicalSpace.countable_cover_nhdsWithin (f := fun x => ball x (ρ x)) (s := (↑B : Set ℂ)ᶜ) (fun x _ => mem_nhdsWithin_of_mem_nhds (ball_mem_nhds x (hρpos x))) have hTne : T.Nonempty := by obtain ⟨x, hx⟩ := B.finite_toSet.infinite_compl.nonempty obtain ⟨t, ht, -⟩ := mem_iUnion₂.1 (hTcov hx) exact ⟨t, ht⟩ obtain ⟨e, he⟩ := hTc.exists_eq_range hTne have heT : ∀ k, e k ∈ T := fun k => he ▸ mem_range_self k have hfam : ∀ k, ∃ ψ ψ' : {z : ℂ // Hf z = e k} → ℂ → ℂ, BranchDisk Hf (deriv Hf) (e k) (ρ (e k)) ψ ψ' := fun k => exists_branchDisk hH cov (hρpos _) (hρsub _ (hTsub (heT k))) choose ψ ψ' hψ using hfam have hcount : ∀ k, Countable {z : ℂ // Hf z = e k} := fun k => (countable_fibre_of_entire hH hnc (e k)).to_subtype have hB : (Hf ⁻¹' (↑B : Set ℂ)).Countable := by have hU : Hf ⁻¹' (↑B : Set ℂ) = ⋃ a ∈ (↑B : Set ℂ), Hf ⁻¹' {a} := by ext z simp rw [hU] exact B.countable_toSet.biUnion fun a _ => countable_fibre_of_entire hH hnc a have hcover : ((↑B : Set ℂ)ᶜ) ⊆ ⋃ k, ball (e k) (ρ (e k)) := by intro x hx obtain ⟨t, ht, hxt⟩ := mem_iUnion₂.1 (hTcov hx) rw [he] at ht obtain ⟨k, rfl⟩ := ht exact mem_iUnion.2 ⟨k, hxt⟩ exact ⟨Σ k, {z : ℂ // Hf z = e k}, inferInstance, SheetedCover.ofBranchDisks q Hf (deriv Hf) hB e (fun k => ρ (e k)) ψ ψ' hcover hψ, SheetedCover.mem_sheet_ofBranchDisks q Hf (deriv Hf) hB e (fun k => ρ (e k)) ψ ψ' hcover hψ (fun k => hρsub _ (hTsub (heT k)))⟩
end HolomorphicSheets
/-! ## Area formula and `L¹` contraction for covering maps off a finite set -/
/-- The area formula for one map `H` and every measurable `g : ℂ → ℝ≥0∞`. -/def AreaFormulaFor (H : ℂ → ℂ) : Prop := ∀ g : ℂ → ℝ≥0∞, Measurable g → AEMeasurable (fun w => ∑' z : {z : ℂ // H z = w}, g z) ∧ ∫⁻ w, ∑' z : {z : ℂ // H z = w}, g z = ∫⁻ z, g z * ‖deriv H z‖ₑ ^ 2
theorem areaOf_one : areaOf (fun _ => (1 : ℂ)) = volume := by unfold areaOf simp
theorem areaOf_pullbackCoeff_one (H : ℂ → ℂ) : areaOf (pullbackCoeff (fun _ => (1 : ℂ)) H (deriv H)) = volume.withDensity fun z => ‖deriv H z‖ₑ ^ 2 := by unfold areaOf pullbackCoeff congr 1 funext z rw [one_mul, enorm_pow]
theorem measurable_deriv_of_differentiable {H : ℂ → ℂ} (hH : Differentiable ℂ H) : Measurable (deriv H) := (continuous_iff_continuousAt.2 fun z => (hH.analyticAt z).deriv.continuousAt).measurable
private theorem exists_measurable_ge_ae_eq {G : ℂ → ℝ≥0∞} (hG : AEMeasurable G) : ∃ G' : ℂ → ℝ≥0∞, Measurable G' ∧ (∀ z, G z ≤ G' z) ∧ G' =ᵐ[volume] G := by classical obtain ⟨N, hsub, hNm, hNnull⟩ : ∃ N : Set ℂ, {z | G z ≠ hG.mk G z} ⊆ N ∧ MeasurableSet N ∧ volume N = 0 := by refine ⟨toMeasurable volume {z | G z ≠ hG.mk G z}, subset_toMeasurable _ _, measurableSet_toMeasurable _ _, ?_⟩ rw [measure_toMeasurable] exact ae_iff.1 hG.ae_eq_mk refine ⟨fun z => if z ∈ N then ⊤ else hG.mk G z, Measurable.ite hNm measurable_const hG.measurable_mk, fun z => ?_, ?_⟩ · by_cases hz : z ∈ N · simp [hz] · have h : G z = hG.mk G z := by by_contra hne exact hz (hsub hne) simp [hz, h] · filter_upwards [compl_mem_ae_iff.2 hNnull] with z hz have hz' : z ∉ N := hz have h : G z = hG.mk G z := by by_contra hne exact hz' (hsub hne) simp [hz', h]
/-- **Area formula for an entire map that is a covering map off a finite set.** -/theorem areaFormula_of_isCoveringMapOn {H : ℂ → ℂ} (hH : Differentiable ℂ H) (hnc : ¬ ∃ c : ℂ, ∀ z, H z = c) (B : Finset ℂ) (cov : IsCoveringMapOn H (↑B : Set ℂ)ᶜ) (g : ℂ → ℝ≥0∞) (hg : Measurable g) : AEMeasurable (fun w => ∑' z : {z : ℂ // H z = w}, g z) ∧ ∫⁻ w, ∑' z : {z : ℂ // H z = w}, g z = ∫⁻ z, g z * ‖deriv H z‖ₑ ^ 2 := by obtain ⟨ι, _, cv, hsheet⟩ := exists_sheetedCover_of_isCoveringMapOn (fun _ => (1 : ℂ)) hH hnc B cov have hfib : ∀ w, w ∉ (↑B : Set ℂ) → cv.fibreSumE g w = ∑' z : {z : ℂ // H z = w}, g z := by intro w hw rw [cv.fibreSumE_eq_tsum_fibre g w] have hiff : ∀ z, (H z = w ∧ ∃ j, z ∈ cv.sheet j) ↔ H z = w := by intro z constructor · exact fun h => h.1 · intro h refine ⟨h, ?_⟩ exact (hsheet z).2 (by rw [h]; exact hw) exact (Equiv.subtypeEquivRight hiff).tsum_eq (fun z : {z : ℂ // H z = w} => g z) have hBnull : volume (↑B : Set ℂ) = 0 := B.finite_toSet.measure_zero volume have hae : (fun w => cv.fibreSumE g w) =ᵐ[volume] fun w => ∑' z : {z : ℂ // H z = w}, g z := by filter_upwards [compl_mem_ae_iff.2 hBnull] with w hw exact hfib w hw have hdm : Measurable fun z => ‖deriv H z‖ₑ ^ 2 := (measurable_deriv_of_differentiable hH).enorm.pow_const 2 have hSm := cv.aemeasurable_fibreSumE hg.aemeasurable have hS := cv.lintegral_fibreSumE hH.continuous.measurable hg.aemeasurable have hae' : cv.fibreSumE g =ᵐ[volume] fun w => ∑' z : {z : ℂ // H z = w}, g z := hae generalize cv.fibreSumE g = S at hSm hS hae' rw [areaOf_one] at hSm hS rw [areaOf_pullbackCoeff_one, lintegral_withDensity_eq_lintegral_mul _ hdm hg] at hS refine ⟨hSm.congr hae', ?_⟩ rw [← lintegral_congr_ae hae', hS] refine lintegral_congr fun z => ?_ simp only [Pi.mul_apply] rw [mul_comm]
/-- `L¹` push-forward contraction for one entire map `H`, from `AreaFormulaFor H`. -/theorem pushContraction_of_areaFormulaFor {H : ℂ → ℂ} (AF : AreaFormulaFor H) (hH : Differentiable ℂ H) (η : ℂ → ℂ) (F : Set ℂ) (hF : MeasurableSet F) (hint : Integrable (fun z => ‖η z‖)) : ∫ w in F, ‖pushCoeff H η w‖ ≤ ∫ z in H ⁻¹' F, ‖η z‖ := by have hnonneg : 0 ≤ ∫ z in H ⁻¹' F, ‖η z‖ := integral_nonneg fun z => norm_nonneg _ by_cases hPint : IntegrableOn (fun w => ‖pushCoeff H η w‖) F swap · rw [integral_undef hPint] exact hnonneg have hderiv : Measurable (deriv H) := measurable_deriv_of_differentiable hH have hpre : MeasurableSet (H ⁻¹' F) := hH.continuous.measurable hF have hGae : AEMeasurable ((H ⁻¹' F).indicator fun z => ‖η z‖ₑ * ‖(deriv H z ^ 2)⁻¹‖ₑ) := by have h1 : AEMeasurable fun z => ‖η z‖ₑ := by have h := hint.aestronglyMeasurable.aemeasurable.ennreal_ofReal simpa only [ofReal_norm] using h have h2 : Measurable fun z => ‖(deriv H z ^ 2)⁻¹‖ₑ := ((hderiv.pow_const 2).inv).enorm exact (h1.mul h2.aemeasurable).indicator hpre obtain ⟨G', hG'm, hGG', hG'ae⟩ := exists_measurable_ge_ae_eq hGae obtain ⟨_, hAF⟩ := AF G' hG'm have hpt : ∀ w, F.indicator (fun w => ‖pushCoeff H η w‖ₑ) w ≤ ∑' z : {z : ℂ // H z = w}, G' z := by intro w by_cases hw : w ∈ F · rw [Set.indicator_of_mem hw] refine enorm_tsum_le_tsum_enorm.trans (tsum_le_tsum fun z => ?_) have hz : (z : ℂ) ∈ H ⁻¹' F := by show H z ∈ F rw [z.2] exact hw refine le_trans ?_ (hGG' z) rw [Set.indicator_of_mem hz, ← enorm_mul, div_eq_mul_inv] · rw [Set.indicator_of_notMem hw] exact bot_le have h1 : ∫⁻ w in F, ‖pushCoeff H η w‖ₑ ≤ ∫⁻ z, G' z * ‖deriv H z‖ₑ ^ 2 := by rw [← lintegral_indicator hF, ← hAF] exact lintegral_mono hpt have h2 : ∫⁻ z, G' z * ‖deriv H z‖ₑ ^ 2 = ∫⁻ z, (H ⁻¹' F).indicator (fun z => ‖η z‖ₑ * ‖(deriv H z ^ 2)⁻¹‖ₑ) z * ‖deriv H z‖ₑ ^ 2 := lintegral_congr_ae (hG'ae.mono fun z hz => by simp only [hz]) have h3 : ∫⁻ z, (H ⁻¹' F).indicator (fun z => ‖η z‖ₑ * ‖(deriv H z ^ 2)⁻¹‖ₑ) z * ‖deriv H z‖ₑ ^ 2 ≤ ∫⁻ z in H ⁻¹' F, ‖η z‖ₑ := by rw [← lintegral_indicator hpre] refine lintegral_mono fun z => ?_ by_cases hz : z ∈ H ⁻¹' F · rw [Set.indicator_of_mem hz, Set.indicator_of_mem hz] by_cases h0 : deriv H z = 0 · simp [h0] · rw [mul_assoc, ← enorm_pow, ← enorm_mul, inv_mul_cancel₀ (pow_ne_zero 2 h0), enorm_one, mul_one] · rw [Set.indicator_of_notMem hz, Set.indicator_of_notMem hz, zero_mul] have hfin := h1.trans (h2.le.trans h3) have hL : ∫⁻ w in F, ‖pushCoeff H η w‖ₑ = ENNReal.ofReal (∫ w in F, ‖pushCoeff H η w‖) := by rw [ofReal_integral_eq_lintegral_ofReal hPint (ae_of_all _ fun z => norm_nonneg _)] simp only [ofReal_norm] have hR : ∫⁻ z in H ⁻¹' F, ‖η z‖ₑ = ENNReal.ofReal (∫ z in H ⁻¹' F, ‖η z‖) := by rw [ofReal_integral_eq_lintegral_ofReal hint.integrableOn (ae_of_all _ fun z => norm_nonneg _)] simp only [ofReal_norm] rw [hL, hR] at hfin exact (ENNReal.ofReal_le_ofReal_iff hnonneg).1 hfin
/-- **Lemma 2.A (`l:pushforward`), `L¹` contraction**: for an entire nonconstant map `H` that is acovering map off a finite set `B`, `∫_F |H_* η| ≤ ∫_{H⁻¹(F)} |η|`. -/theorem pushContraction_of_isCoveringMapOn {H : ℂ → ℂ} (hH : Differentiable ℂ H) (hnc : ¬ ∃ c : ℂ, ∀ z, H z = c) (B : Finset ℂ) (cov : IsCoveringMapOn H (↑B : Set ℂ)ᶜ) (η : ℂ → ℂ) (F : Set ℂ) (hF : MeasurableSet F) (hη : Integrable (fun z => ‖η z‖)) : ∫ w in F, ‖pushCoeff H η w‖ ≤ ∫ z in H ⁻¹' F, ‖η z‖ := pushContraction_of_areaFormulaFor (fun g hg => areaFormula_of_isCoveringMapOn hH hnc B cov g hg) hH η F hF hη
/-! ## Strict `L¹` contraction for transcendental entire coverings (assuming Great Picard) -/
section Strict
/-- The great Picard theorem for entire maps: a non-polynomial entire map takes every complexvalue, with at most one exception, infinitely often. -/def GreatPicard : Prop := ∀ f : ℂ → ���, Differentiable ℂ f → (¬ ∃ P : Polynomial ℂ, ∀ z, f z = P.eval z) → ∀ w₁ w₂ : ℂ, {z | f z = w₁}.Finite → {z | f z = w₂}.Finite → w₁ = w₂
/-- Alignment of the fibre sum over `w`: norms are summable and every term is aligned with thesum. -/def FibreAligned (f η : ℂ → ℂ) (w : ℂ) : Prop := (Summable fun z : {z : ℂ // f z = w} => ‖η z / deriv f z ^ 2‖) ∧ ∀ z : {z : ℂ // f z = w}, ((‖pushCoeff f η w‖ : ℝ) : ℂ) * (η z / deriv f z ^ 2) = ((‖η z / deriv f z ^ 2‖ : ℝ) : ℂ) * pushCoeff f η w
private theorem aligned_of_norm_tsum_eq {ι : Type*} (a : ι → ℂ) (ha : Summable fun i => ‖a i‖) (h : ‖∑' i, a i‖ = ∑' i, ‖a i‖) (i : ι) : ((‖∑' j, a j‖ : ℝ) : ℂ) * a i = ((‖a i‖ : ℝ) : ℂ) * ∑' j, a j := by have hs : Summable a := ha.of_norm obtain ⟨s, hsdef⟩ : ∃ s : ℂ, s = ∑' j, a j := ⟨_, rfl⟩ rw [← hsdef] at h ⊢ rcases eq_or_ne s 0 with hs0 | hs0 · have hsum0 : ∑' j, ‖a j‖ = 0 := by rw [← h, hs0, norm_zero] have hle : ‖a i‖ ≤ ∑' j, ‖a j‖ := ha.le_tsum i fun j _ => norm_nonneg _ have hi : ‖a i‖ = 0 := le_antisymm (hsum0 ▸ hle) (norm_nonneg _) rw [hs0, norm_zero, hi] simp · have hpos : 0 < ‖s‖ := norm_pos_iff.2 hs0 have hsc : Summable fun j => starRingEnd ℂ s * a j := hs.mul_left _ have hre_sum : Summable fun j => (starRingEnd ℂ s * a j).re := (Complex.hasSum_re hsc.hasSum).summable have hre : ∀ j, (starRingEnd ℂ s * a j).re ≤ ‖s‖ * ‖a j‖ := fun j => by calc (starRingEnd ℂ s * a j).re ≤ ‖starRingEnd ℂ s * a j‖ := Complex.re_le_norm _ _ = ‖s‖ * ‖a j‖ := by rw [norm_mul, Complex.norm_conj] have hsumre : ∑' j, (starRingEnd ℂ s * a j).re = ‖s‖ * ‖s‖ := by rw [← Complex.re_tsum hsc, hs.tsum_mul_left, ← hsdef, mul_comm, Complex.mul_conj, Complex.ofReal_re, Complex.normSq_eq_norm_sq] ring have hd_sum : Summable fun j => ‖s‖ * ‖a j‖ - (starRingEnd ℂ s * a j).re := (ha.mul_left ‖s‖).sub hre_sum have hd_tsum : ∑' j, (‖s‖ * ‖a j‖ - (starRingEnd ℂ s * a j).re) = 0 := by rw [(ha.mul_left ‖s‖).tsum_sub hre_sum, ha.tsum_mul_left, hsumre, ← h, sub_self] have hdi : ‖s‖ * ‖a i‖ - (starRingEnd ℂ s * a i).re ≤ 0 := by have := hd_sum.le_tsum i fun j _ => sub_nonneg.2 (hre j) rwa [hd_tsum] at this have hrei : (starRingEnd ℂ s * a i).re = ‖s‖ * ‖a i‖ := le_antisymm (hre i) (by linarith) have hnorm : ‖starRingEnd ℂ s * a i‖ = ‖s‖ * ‖a i‖ := by rw [norm_mul, Complex.norm_conj] have him : (starRingEnd ℂ s * a i).im = 0 := by have h1 : (starRingEnd ℂ s * a i).re ^ 2 + (starRingEnd ℂ s * a i).im ^ 2 = ‖starRingEnd ℂ s * a i‖ ^ 2 := by rw [Complex.sq_norm, Complex.normSq_apply]; ring rw [hrei, hnorm] at h1 have h2 : (starRingEnd ℂ s * a i).im ^ 2 = 0 := by linarith exact pow_eq_zero_iff (two_ne_zero) |>.1 h2 have hz : starRingEnd ℂ s * a i = ((‖s‖ * ‖a i‖ : ℝ) : ℂ) := Complex.ext (by rw [hrei, Complex.ofReal_re]) (by rw [him, Complex.ofReal_im]) have hne : ((‖s‖ : ℝ) : ℂ) ≠ 0 := by exact_mod_cast hpos.ne' refine mul_left_cancel₀ hne ?_ have hss : s * starRingEnd ℂ s = ((‖s‖ * ‖s‖ : ℝ) : ℂ) := by rw [Complex.mul_conj, Complex.normSq_eq_norm_sq]; norm_cast; ring calc ((‖s‖ : ℝ) : ℂ) * (((‖s‖ : ℝ) : ℂ) * a i) = ((‖s‖ * ‖s‖ : ℝ) : ℂ) * a i := by push_cast; ring _ = s * (starRingEnd ℂ s * a i) := by rw [← hss]; ring _ = ((‖s‖ : ℝ) : ℂ) * (((‖a i‖ : ℝ) : ℂ) * s) := by rw [hz]; push_cast; ring
private theorem exists_eq_const_of_im_eq_zero {U : Set ℂ} (hU : IsOpen U) (hUc : IsPreconnected U) {g : ℂ → ℂ} (hg : DifferentiableOn ℂ g U) (hreal : ∀ z ∈ U, (g z).im = 0) : ∃ c : ℂ, ∀ z ∈ U, g z = c := by rcases (hg.analyticOnNhd hU).is_constant_or_isOpen hUc with h | h · exact h · rcases U.eq_empty_or_nonempty with rfl | ⟨z₀, hz₀⟩ · exact ⟨0, by simp⟩ · exfalso have hopen : IsOpen (g '' U) := h U subset_rfl hU obtain ⟨ε, hε, hball⟩ := Metric.isOpen_iff.1 hopen (g z₀) ⟨z₀, hz₀, rfl⟩ have hpt : g z₀ + ((ε / 2 : ℝ) : ℂ) * Complex.I ∈ Metric.ball (g z₀) ε := by rw [Metric.mem_ball, dist_eq_norm, add_sub_cancel_left, norm_mul, Complex.norm_I, mul_one, Complex.norm_real, Real.norm_eq_abs, abs_of_pos (by linarith)] linarith obtain ⟨z, hz, hzeq⟩ := hball hpt have h1 := hreal z hz rw [hzeq] at h1 simp [hreal z₀ hz₀] at h1 linarith
private theorem countable_zeros_of_analyticOnNhd {g : ℂ → ℂ} {V : Set ℂ} (hVc : IsConnected V) (hg : AnalyticOnNhd ℂ g V) {x : ℂ} (hx : x ∈ V) (hgx : g x ≠ 0) : {z | z ∈ V ∧ g z = 0}.Countable := by have hcod : (g ⁻¹' {0})ᶜ ∈ codiscreteWithin V := hg.preimage_zero_mem_codiscreteWithin hgx hx hVc have hdisc : IsDiscrete (g ⁻¹' {0} ∩ V) := isDiscrete_of_codiscreteWithin hcod refine ((HereditarilyLindelofSpace.isLindelof _).countable_of_isDiscrete hdisc).mono ?_ rintro z ⟨hzV, hz⟩ exact ⟨hz, hzV⟩
private theorem exists_ne_of_not_polynomial {f : ℂ → ℂ} (htr : ¬ ∃ P : Polynomial ℂ, ∀ z, f z = P.eval z) : ∃ x y, f x ≠ f y := by by_contra h push Not at h exact htr ⟨Polynomial.C (f 0), fun z => by rw [Polynomial.eval_C]; exact h z 0⟩
private theorem countable_critical_of_entire {f : ℂ → ℂ} (hf : Differentiable ℂ f) (hnc : ∃ x y, f x ≠ f y) : {z | deriv f z = 0}.Countable := by have hg : AnalyticOnNhd ℂ (deriv f) univ := fun z _ => (hf.analyticAt z).deriv have hex : ∃ x₀, deriv f x₀ ≠ 0 := by by_contra h push Not at h obtain ⟨x, y, hxy⟩ := hnc exact hxy (is_const_of_deriv_eq_zero hf h x y) obtain ⟨x₀, hx₀⟩ := hex refine (countable_zeros_of_analyticOnNhd isConnected_univ hg (mem_univ x₀) hx₀).mono ?_ intro z hz exact ⟨mem_univ z, hz⟩
private theorem countable_preimage_of_entire {f : ℂ → ℂ} (hf : Differentiable ℂ f) (hnc : ∃ x y, f x ≠ f y) {C : Set ℂ} (hC : C.Countable) : (f ⁻¹' C).Countable := by have hnc' : ¬ ∃ c : ℂ, ∀ z, f z = c := by rintro ⟨c, hc⟩ obtain ⟨x, y, hxy⟩ := hnc exact hxy (by rw [hc x, hc y]) have h : f ⁻¹' C = ⋃ w ∈ C, f ⁻¹' {w} := by ext z simp rw [h] exact hC.biUnion fun w _ => countable_fibre_of_entire hf hnc' w
private theorem measurable_of_continuousOn_compl_finite {η : ℂ → ℂ} {M : Set ℂ} (hM : M.Finite) (hη : ContinuousOn η Mᶜ) : Measurable η := by refine measurable_of_restrict_of_restrict_compl hM.measurableSet ?_ ?_ · have : Countable M := hM.countable.to_subtype exact measurable_of_countable _ · exact (continuousOn_iff_continuous_domRestrict.1 hη).measurable
private theorem integral_norm_pos_of_ne_zero {η : ℂ → ℂ} {M : Set ℂ} (hM : M.Finite) (hη : ContinuousOn η Mᶜ) (hint : Integrable fun z => ‖η z‖) (hne : ∃ z, z ∉ M ∧ η z ≠ 0) : 0 < ∫ z, ‖η z‖ := by obtain ⟨z₀, hz₀, hηz₀⟩ := hne rw [integral_pos_iff_support_of_nonneg (fun z => norm_nonneg _) hint] have hopen : IsOpen (Mᶜ ∩ η ⁻¹' {y | y ≠ 0}) := hη.isOpen_inter_preimage hM.isClosed.isOpen_compl isOpen_ne have hsub : Mᶜ ∩ η ⁻¹' {y | y ≠ 0} ⊆ Function.support fun z => ‖η z‖ := by rintro z ⟨_, hz⟩ exact norm_ne_zero_iff.2 hz exact lt_of_lt_of_le (hopen.measure_pos volume ⟨z₀, hz₀, hηz₀⟩) (measure_mono hsub)
private theorem exists_two_notMem_of_measure_zero {N : Set ℂ} (hN : volume N = 0) : ∃ w₁ w₂, w₁ ∉ N ∧ w₂ ∉ N ∧ w₁ ≠ w₂ := by have key : ∀ K : Set ℂ, volume K = 0 → ∃ w, w ∉ K := by intro K hK by_contra h push Not at h have hpos : (0 : ℝ≥0∞) < volume K := by rw [eq_univ_of_forall h] exact isOpen_univ.measure_pos volume univ_nonempty exact hpos.ne' hK obtain ⟨w₁, hw₁⟩ := key N hN obtain ⟨w₂, hw₂⟩ := key (N ∪ {w₁}) (measure_union_null hN (measure_singleton w₁)) exact ⟨w₁, w₂, hw₁, fun h => hw₂ (Or.inl h), fun h => hw₂ (Or.inr h.symm)⟩
private theorem div_eq_ofReal_of_aligned {a s : ℂ} (hs : s ≠ 0) (h : ((‖s‖ : ℝ) : ℂ) * a = ((‖a‖ : ℝ) : ℂ) * s) : a / s = ((‖a‖ / ‖s‖ : ℝ) : ℂ) := by have hn : ((‖s‖ : ℝ) : ℂ) ≠ 0 := by exact_mod_cast (norm_pos_iff.2 hs).ne' rw [div_eq_iff hs, Complex.ofReal_div, div_mul_eq_mul_div, eq_div_iff hn] linear_combination h
private theorem lintegral_enorm_eq_ofReal {F : ℂ → ℂ} (h : Integrable fun z => ‖F z‖) : ∫⁻ z, ‖F z‖ₑ = ENNReal.ofReal (∫ z, ‖F z‖) := by rw [ofReal_integral_eq_lintegral_ofReal h (ae_of_all _ fun z => norm_nonneg _)] simp only [ofReal_norm]
/-- From `AreaFormulaFor f`: the sum of `|η(z)| / |f'(z)|²` over the fibres is `AEMeasurable`and its integral is at most `∫ |η|`. -/theorem lintegral_fibre_tsum_le_of_areaFormulaFor {f η : ℂ → ℂ} (AF : AreaFormulaFor f) (hf : Differentiable ℂ f) (hηm : Measurable η) : AEMeasurable (fun w => ∑' z : {z : ℂ // f z = w}, ‖η z / deriv f z ^ 2‖ₑ) ∧ ∫⁻ w, ∑' z : {z : ℂ // f z = w}, ‖η z / deriv f z ^ 2‖ₑ ≤ ∫⁻ z, ‖η z‖ₑ := by have hderiv : Measurable (deriv f) := (continuous_iff_continuousAt.2 fun z => (hf.analyticAt z).deriv.continuousAt).measurable have hgm : Measurable fun z => ‖η z / deriv f z ^ 2‖ₑ := (hηm.div (hderiv.pow_const 2)).enorm obtain ⟨hSm, hSeq⟩ := AF (fun z => ‖η z / deriv f z ^ 2‖ₑ) hgm refine ⟨hSm, ?_⟩ rw [hSeq] refine lintegral_mono fun z => ?_ by_cases h0 : deriv f z = 0 · simp [h0] · rw [← enorm_pow, ← enorm_mul, div_mul_cancel₀ _ (pow_ne_zero 2 h0)]
/-- Equality case on fibres: if `∫ |η| ≤ ∫ |f_* η|`, then for almost every `w` the terms of thefibre sum over `w` are aligned with their sum. -/theorem ae_fibreAligned_of_areaFormulaFor {f η : ℂ → ℂ} (AF : AreaFormulaFor f) (hf : Differentiable ℂ f) (hηm : Measurable η) (hint : Integrable fun z => ‖η z‖) (hPint : Integrable fun w => ‖pushCoeff f η w‖) (hge : ∫ z, ‖η z‖ ≤ ∫ w, ‖pushCoeff f η w‖) : ∀ᵐ w : ℂ, FibreAligned f η w := by obtain ⟨hSm, hSle⟩ := lintegral_fibre_tsum_le_of_areaFormulaFor AF hf hηm have hηl := lintegral_enorm_eq_ofReal hint have hPl := lintegral_enorm_eq_ofReal hPint have hPS : ∀ w, ‖pushCoeff f η w‖ₑ ≤ ∑' z : {z : ℂ // f z = w}, ‖η z / deriv f z ^ 2‖ₑ := fun w => enorm_tsum_le_tsum_enorm have hle : ∫⁻ w, ∑' z : {z : ℂ // f z = w}, ‖η z / deriv f z ^ 2‖ₑ ≤ ∫⁻ w, ‖pushCoeff f η w‖ₑ := by refine hSle.trans ?_ rw [hηl, hPl] exact ENNReal.ofReal_le_ofReal hge have hPfin : ∫⁻ w, ‖pushCoeff f η w‖ₑ ≠ ⊤ := by rw [hPl] exact ENNReal.ofReal_ne_top have hae : (fun w => ‖pushCoeff f η w‖ₑ) =ᵐ[volume] fun w => ∑' z : {z : ℂ // f z = w}, ‖η z / deriv f z ^ 2‖ₑ := ae_eq_of_ae_le_of_lintegral_le (ae_of_all _ hPS) hPfin hSm hle have hSfin : ∀ᵐ w : ℂ, ∑' z : {z : ℂ // f z = w}, ‖η z / deriv f z ^ 2‖ₑ < ⊤ := ae_lt_top' hSm (ne_top_of_le_ne_top (by rw [hηl]; exact ENNReal.ofReal_ne_top) hSle) filter_upwards [hae, hSfin] with w hw hfin have hsumm : Summable fun z : {z : ℂ // f z = w} => ‖η z / deriv f z ^ 2‖ := by have h1 : Summable fun z : {z : ℂ // f z = w} => ‖η z / deriv f z ^ 2‖₊ := ENNReal.tsum_coe_ne_top_iff_summable.1 hfin.ne exact NNReal.summable_coe.2 h1 have heq : ‖∑' z : {z : ℂ // f z = w}, η z / deriv f z ^ 2‖ = ∑' z : {z : ℂ // f z = w}, ‖η z / deriv f z ^ 2‖ := by have h2 := congrArg ENNReal.toReal hw rw [toReal_enorm, ENNReal.tsum_toReal_eq (fun z => enorm_ne_top)] at h2 simpa [pushCoeff, toReal_enorm] using h2 exact ⟨hsumm, fun z => aligned_of_norm_tsum_eq (fun z : {z : ℂ // f z = w} => η z / deriv f z ^ 2) hsumm heq z⟩
/-- Strict `L¹` push-forward contraction from `AreaFormulaFor f`, `GreatPicard`, and holomorphy of`pushCoeff f η`. -/theorem pushCoeff_norm_lt_of_areaFormulaFor (GP : GreatPicard) {f η : ℂ → ℂ} (AF : AreaFormulaFor f) {B M : Set ℂ} (hf : Differentiable ℂ f) (htr : ¬ ∃ P : Polynomial ℂ, ∀ z, f z = P.eval z) (hB : B.Finite) (hM : M.Finite) (hη : DifferentiableOn ℂ η Mᶜ) (hint : Integrable fun z => ‖η z‖) (hne : ∃ z, z ∉ M ∧ η z ≠ 0) (hPhol : DifferentiableOn ℂ (pushCoeff f η) Bᶜ) : ∫ w, ‖pushCoeff f η w‖ < ∫ z, ‖η z‖ := by have hnc : ∃ x y, f x ≠ f y := exists_ne_of_not_polynomial htr have hηm : Measurable η := measurable_of_continuousOn_compl_finite hM hη.continuousOn have hpos : 0 < ∫ z, ‖η z‖ := integral_norm_pos_of_ne_zero hM hη.continuousOn hint hne have hrank : 1 < Module.rank ℝ ℂ := by rw [Complex.rank_real_complex] norm_num by_contra hcon have hge : ∫ z, ‖η z‖ ≤ ∫ w, ‖pushCoeff f η w‖ := not_lt.1 hcon have hPint : Integrable fun w => ‖pushCoeff f η w‖ := by by_contra h rw [integral_undef h] at hge exact absurd hpos (not_lt.2 hge) have hal : ∀ᵐ w : ℂ, FibreAligned f η w := ae_fibreAligned_of_areaFormulaFor AF hf hηm hint hPint hge have hNnull : volume {w : ℂ | ¬ FibreAligned f η w} = 0 := ae_iff.1 hal have hBo : IsOpen Bᶜ := hB.isClosed.isOpen_compl have hBconn : IsConnected Bᶜ := (hB.countable.isPathConnected_compl_of_one_lt_rank hrank).isConnected have hPne : ∃ w, w ∈ Bᶜ ∧ pushCoeff f η w ≠ 0 := by by_contra h push Not at h have h0 : ∫ w, ‖pushCoeff f η w‖ = 0 := by refine integral_eq_zero_of_ae ?_ have hBnull : volume B = 0 := hB.measure_zero volume filter_upwards [compl_mem_ae_iff.2 hBnull] with w hw simp [h w hw] rw [h0] at hge exact absurd hpos (not_lt.2 hge) obtain ⟨w₁, hw₁, hPw₁⟩ := hPne have hZP : {w | w ∈ Bᶜ ∧ pushCoeff f η w = 0}.Countable := countable_zeros_of_analyticOnNhd hBconn (hPhol.analyticOnNhd hBo) hw₁ hPw₁ obtain ⟨U, hUdef⟩ : ∃ U : Set ℂ, U = {z | z ∉ M ∧ deriv f z ≠ 0 ∧ f z ∈ Bᶜ ∧ pushCoeff f η (f z) ≠ 0} := ⟨_, rfl⟩ have hUmem : ∀ z, z ∈ U ↔ z ∉ M ∧ deriv f z ≠ 0 ∧ f z ∈ Bᶜ ∧ pushCoeff f η (f z) ≠ 0 := by intro z rw [hUdef] rfl have hUc : Uᶜ.Countable := by have hK : (M ∪ {z | deriv f z = 0} ∪ f ⁻¹' B ∪ f ⁻¹' {w | w ∈ Bᶜ ∧ pushCoeff f η w = 0}).Countable := ((hM.countable.union (countable_critical_of_entire hf hnc)).union (countable_preimage_of_entire hf hnc hB.countable)).union (countable_preimage_of_entire hf hnc hZP) refine hK.mono fun z hz => ?_ by_contra hz' have h1 : z ∉ M := fun h => hz' (Or.inl (Or.inl (Or.inl h))) have h2 : deriv f z ≠ 0 := fun h => hz' (Or.inl (Or.inl (Or.inr h))) have h3 : f z ∈ Bᶜ := fun h => hz' (Or.inl (Or.inr h)) have h4 : pushCoeff f η (f z) ≠ 0 := fun h => hz' (Or.inr ⟨h3, h⟩) exact hz ((hUmem z).2 ⟨h1, h2, h3, h4⟩) have hUpc : IsPreconnected U := by have h := (hUc.isPathConnected_compl_of_one_lt_rank hrank).isConnected.isPreconnected rwa [compl_compl] at h have hf' : Differentiable ℂ (deriv f) := fun z => (hf.analyticAt z).deriv.differentiableAt have hPf : DifferentiableOn ℂ (fun z => pushCoeff f η (f z)) (f ⁻¹' Bᶜ) := hPhol.comp hf.differentiableOn fun z hz => hz have hpreo : IsOpen (f ⁻¹' Bᶜ) := hBo.preimage hf.continuous have hUo : IsOpen U := by have h1 : IsOpen Mᶜ := hM.isClosed.isOpen_compl have h2 : IsOpen {z | deriv f z ≠ 0} := isOpen_ne_fun hf'.continuous continuous_const have h3 : IsOpen (f ⁻¹' Bᶜ ∩ (fun z => pushCoeff f η (f z)) ⁻¹' {y | y ≠ 0}) := hPf.continuousOn.isOpen_inter_preimage hpreo isOpen_ne have hU' : U = Mᶜ ∩ {z | deriv f z ≠ 0} ∩ (f ⁻¹' Bᶜ ∩ (fun z => pushCoeff f η (f z)) ⁻¹' {y | y ≠ 0}) := by ext z rw [hUmem] constructor · rintro ⟨h1, h2, h3, h4⟩ exact ⟨⟨h1, h2⟩, h3, h4⟩ · rintro ⟨⟨h1, h2⟩, h3, h4⟩ exact ⟨h1, h2, h3, h4⟩ rw [hU'] exact (h1.inter h2).inter h3 have hgd : DifferentiableOn ℂ (fun z => η z / deriv f z ^ 2 / pushCoeff f η (f z)) U := by intro z hz obtain ⟨hzM, hzd, hzB, hzP⟩ := (hUmem z).1 hz have e1 : DifferentiableAt ℂ η z := hη.differentiableAt (hM.isClosed.isOpen_compl.mem_nhds hzM) have e2 : DifferentiableAt ℂ (deriv f) z := hf' z have e3 : DifferentiableAt ℂ (fun z => pushCoeff f η (f z)) z := hPf.differentiableAt (hpreo.mem_nhds hzB) exact ((e1.div (e2.pow 2) (pow_ne_zero 2 hzd)).div e3 hzP).differentiableWithinAt have hreal : ∀ z ∈ U, (η z / deriv f z ^ 2 / pushCoeff f η (f z)).im = 0 := by by_contra hex push Not at hex obtain ⟨z₀, hz₀U, hz₀⟩ := hex have hEo : IsOpen (U ∩ (fun z => (η z / deriv f z ^ 2 / pushCoeff f η (f z)).im) ⁻¹' {y : ℝ | y ≠ 0}) := (Complex.continuous_im.comp_continuousOn hgd.continuousOn).isOpen_inter_preimage hUo isOpen_ne have hfopen : IsOpen (f '' (U ∩ (fun z => (η z / deriv f z ^ 2 / pushCoeff f η (f z)).im) ⁻¹' {y : ℝ | y ≠ 0})) := by rcases (hf.differentiableOn.analyticOnNhd isOpen_univ).is_constant_or_isOpen isPreconnected_univ with hconst | hopen · obtain ⟨c, hc⟩ := hconst obtain ⟨x, y, hxy⟩ := hnc exact absurd (by rw [hc x (mem_univ x), hc y (mem_univ y)]) hxy · exact hopen _ (subset_univ _) hEo have hsub : f '' (U ∩ (fun z => (η z / deriv f z ^ 2 / pushCoeff f η (f z)).im) ⁻¹' {y : ℝ | y ≠ 0}) ⊆ {w : ℂ | ¬ FibreAligned f η w} := by rintro w ⟨z, ⟨hzU, hzim⟩, rfl⟩ hgood refine hzim ?_ have hzP : pushCoeff f η (f z) ≠ 0 := ((hUmem z).1 hzU).2.2.2 have h := hgood.2 ⟨z, rfl⟩ show (η z / deriv f z ^ 2 / pushCoeff f η (f z)).im = 0 rw [div_eq_ofReal_of_aligned hzP h, Complex.ofReal_im] have hposm : 0 < volume (f '' (U ∩ (fun z => (η z / deriv f z ^ 2 / pushCoeff f η (f z)).im) ⁻¹' {y : ℝ | y ≠ 0})) := hfopen.measure_pos volume ⟨f z₀, z₀, ⟨hz₀U, hz₀⟩, rfl⟩ exact hposm.ne' (measure_mono_null hsub hNnull) obtain ⟨c, hc⟩ := exists_eq_const_of_im_eq_zero hUo hUpc hgd hreal have hUnull : volume Uᶜ = 0 := hUc.measure_zero volume rcases eq_or_ne c 0 with hc0 | hc0 · have hη0 : ∀ z ∈ U, η z = 0 := by intro z hz obtain ⟨hzM, hzd, hzB, hzP⟩ := (hUmem z).1 hz have h1 : η z / deriv f z ^ 2 / pushCoeff f η (f z) = 0 := by rw [hc z hz, hc0] have h2 : η z / deriv f z ^ 2 = 0 := (div_eq_zero_iff.1 h1).resolve_right hzP exact (div_eq_zero_iff.1 h2).resolve_right (pow_ne_zero 2 hzd) have h0 : ∫ z, ‖η z‖ = 0 := by refine integral_eq_zero_of_ae ?_ filter_upwards [compl_mem_ae_iff.2 hUnull] with z hz have hzU : z ∈ U := not_not.1 hz simp [hη0 z hzU] rw [h0] at hpos exact lt_irrefl 0 hpos · have hbad : volume ({w : ℂ | ¬ FibreAligned f η w} ∪ f '' Uᶜ) = 0 := measure_union_null hNnull ((hUc.image f).measure_zero volume) have hfin : ∀ w, w ∉ ({w : ℂ | ¬ FibreAligned f η w} ∪ f '' Uᶜ) → {z | f z = w}.Finite := by intro w hw have hgood : FibreAligned f η w := not_not.1 fun h => hw (Or.inl h) have hwU : w ∉ f '' Uᶜ := fun h => hw (Or.inr h) by_contra hinf have hinf' : Infinite {z : ℂ // f z = w} := Set.infinite_coe_iff.2 hinf have hfibU : ∀ z : {z : ℂ // f z = w}, (z : ℂ) ∈ U := fun z => by by_contra hz exact hwU ⟨z, hz, z.2⟩ have hPw : ∀ z : {z : ℂ // f z = w}, pushCoeff f η w ≠ 0 := fun z => by have h := ((hUmem z).1 (hfibU z)).2.2.2 rwa [z.2] at h have hconst : ∀ z : {z : ℂ // f z = w}, ‖η z / deriv f z ^ 2‖ = ‖c * pushCoeff f η w‖ := fun z => by have h1 := hc z (hfibU z) rw [z.2, div_eq_iff (hPw z)] at h1 rw [h1] have hs : Summable fun _ : {z : ℂ // f z = w} => ‖c * pushCoeff f η w‖ := hgood.1.congr hconst have hzero : ‖c * pushCoeff f η w‖ = 0 := (summable_const_iff _).1 hs obtain ⟨z⟩ := (inferInstance : Nonempty {z : ℂ // f z = w}) exact (mul_ne_zero hc0 (hPw z)) (norm_eq_zero.1 hzero) obtain ⟨w₂, w₃, hw₂, hw₃, hne23⟩ := exists_two_notMem_of_measure_zero hbad exact hne23 (GP f hf htr w₂ w₃ (hfin w₂ hw₂) (hfin w₃ hw₃))
/-- **Strict `L¹` push-forward contraction** for a transcendental entire map `f` that is acovering map off a finite set `B`, assuming `GreatPicard` (with both the area formula andholomorphy of `f_* η` proved outright in Mathlib). -/theorem pushCoeff_norm_lt_of_isCoveringMapOn (GP : GreatPicard) {f η : ℂ → ℂ} {B M : Set ℂ} (hf : Differentiable ℂ f) (htr : ¬ ∃ P : Polynomial ℂ, ∀ z, f z = P.eval z) (hB : B.Finite) (hcov : IsCoveringMapOn f Bᶜ) (hM : M.Finite) (hMB : ∀ a ∈ M, f a ∈ B) (hη : DifferentiableOn ℂ η Mᶜ) (hint : Integrable fun z => ‖η z‖) (hne : ∃ z, z ∉ M ∧ η z ≠ 0) : ∫ w, ‖pushCoeff f η w‖ < ∫ z, ‖η z‖ := by have hnc : ¬ ∃ c : ℂ, ∀ z, f z = c := by rintro ⟨c, hc⟩ obtain ⟨x, y, hxy⟩ := exists_ne_of_not_polynomial htr exact hxy (by rw [hc x, hc y]) have hcov' : IsCoveringMapOn f (↑hB.toFinset : Set ℂ)ᶜ := by rw [Set.Finite.coe_toFinset] exact hcov have AF : AreaFormulaFor f := fun g hg => areaFormula_of_isCoveringMapOn hf hnc hB.toFinset hcov' g hg exact pushCoeff_norm_lt_of_areaFormulaFor GP AF hf htr hB hM hη hint hne (pushHolomorphic f η B M hf hB hcov hM hMB hη hint)
end Strict
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367import Mathlib
/-!# Lemma 6.1 (`l:finitecover`): Finite covering over a fixed subsurface — selection & monodromy
Formalization of the four algebraic, measure-theoretic, and group-action engines in the proof ofLemma 6.1 (`l:finitecover`) from S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026).
Here we prove:1. **Bounded-fiber sheet selection** (`exists_sheet_density_gt_of_bounded_fiber`): over a positive-measure set `U` where total mass exceeds `3m/4`, tail mass is less than `m/4`, and at most `M` good sheets lie in each fiber, some sheet density exceeds `m / (2 M μ(U))`.2. **Complex alignment / triangle-inequality defect** (`fiber_alignment_defect_sum`, `fiber_alignment_defect_le`, and the countable `tsum` versions `fiber_alignment_defect_tsum`, `fiber_alignment_defect_le_tsum`): on each fiber with `p = ∑ b`, the nonnegative defects `(|b / p| - Re(b / p)) * |p|` sum to `(∑ |b|) - |p|`, bounding any single chosen branch by `(∑ |b|) - |p|`.3. **Word-length orbit growth** (`reach_stabilizes_at_orbit`, `orbit_eq_reach_or_card_ge`, `reach_card_ge_succ_of_orbit_gt`): under a finite generating set `S`, the `k`-step reachable set grows strictly at every step until it stabilizes at the full orbit of `⟨S⟩`.4. **Mass-exhaustion degree bound** (`orbit_eq_reach_and_card_le_of_mass_bound`, `orbit_finite_and_card_le_of_mass_bound`): if disjoint sheets reached in `≤ J` steps each carry mass `≥ δ` inside total mass `≤ 1` with `(J + 1) δ > 1`, then the orbit is finite of cardinality at most `J`.5. **Proper subgroup from infinite transitive monodromy** (`subgroup_ne_top_of_finite_orbit_of_infinite_transitive`): a subgroup with a finite orbit inside an infinite transitive `G`-set is a proper subgroup of `G`.-/
open MeasureTheory Finset
namespace Thurston.Core
/-! ### 1. Bounded-fiber sheet selection -/
/-- Integral pigeonhole over bounded fibers: if the good-sheet contribution `goodMass` integratesto more than `m / 2` over a measurable set `U` of positive finite measure, and at each `w ∈ U`we have `goodMass w ≤ ∑ i ∈ S w, dens i w` with `(S w).card ≤ M`, then some sheet attainsdensity strictly greater than `m / (2 * M * μ.real U)`. -/theorem exists_sheet_density_gt_of_good_mass {α ι : Type*} [MeasurableSpace α] (μ : Measure α) (U : Set α) (m : ℝ) (M : ℕ) (goodMass : α → ℝ) (S : α → Finset ι) (dens : ι → α → ℝ) (hm : 0 ≤ m) (hM : 1 ≤ M) (hU_meas : MeasurableSet U) (hU : 0 < μ.real U) (hgood_int : IntegrableOn goodMass U μ) (hgood_gt : m / 2 < ∫ w in U, goodMass w ∂μ) (hfiber : ∀ w ∈ U, goodMass w ≤ ∑ i ∈ S w, dens i w) (hcard : ∀ w ∈ U, (S w).card ≤ M) : ∃ w ∈ U, ∃ i ∈ S w, m / (2 * (M : ℝ) * μ.real U) < dens i w := by by_contra hno push Not at hno set c : ℝ := m / (2 * (M : ℝ) * μ.real U) have hM_pos : (0 : ℝ) < (M : ℝ) := by exact_mod_cast (lt_of_lt_of_le Nat.zero_lt_one hM) have hc_nonneg : 0 ≤ c := div_nonneg hm (by positivity) have hpt : ∀ w ∈ U, goodMass w ≤ (M : ℝ) * c := by intro w hw calc goodMass w ≤ ∑ i ∈ S w, dens i w := hfiber w hw _ ≤ ∑ _i ∈ S w, c := Finset.sum_le_sum (fun i hi => hno w hw i hi) _ = ((S w).card : ℝ) * c := by simp _ ≤ (M : ℝ) * c := by exact mul_le_mul_of_nonneg_right (by exact_mod_cast hcard w hw) hc_nonneg have hU_fin : μ U ≠ ⊤ := (ENNReal.toReal_pos_iff.mp hU).2.ne have hconst_int : IntegrableOn (fun _ : α => (M : ℝ) * c) U μ := integrableOn_const (hs := hU_fin) have hint := setIntegral_mono_on hgood_int hconst_int hU_meas hpt rw [setIntegral_const, smul_eq_mul] at hint have hval : μ.real U * ((M : ℝ) * c) = m / 2 := by dsimp only [c] have hM_ne : (M : ℝ) ≠ 0 := hM_pos.ne' have hU_ne : μ.real U ≠ 0 := hU.ne' field_simp linarith
/-- **Lemma 6.1 (sheet selection)**: if the total mass over `U` exceeds `3m/4`, the tail massoutside the bounded-fiber set `K_n` is less than `m/4`, and at most `M` good sheets lie in eachfiber over `U`, then some good sheet has density strictly greater than `m / (2 * M * μ.real U)`. -/theorem exists_sheet_density_gt_of_bounded_fiber {α ι : Type*} [MeasurableSpace α] (μ : Measure α) (U : Set α) (m : ℝ) (M : ℕ) (totalMass goodMass tailMass : α → ℝ) (S : α → Finset ι) (dens : ι → α → ℝ) (hm : 0 ≤ m) (hM : 1 ≤ M) (hU_meas : MeasurableSet U) (hU : 0 < μ.real U) (htotal_int : IntegrableOn totalMass U μ) (hgood_int : IntegrableOn goodMass U μ) (htail_int : IntegrableOn tailMass U μ) (hsplit : ∀ w ∈ U, totalMass w ≤ goodMass w + tailMass w) (htotal_gt : 3 * m / 4 < ∫ w in U, totalMass w ∂μ) (htail_lt : ∫ w in U, tailMass w ∂μ < m / 4) (hfiber : ∀ w ∈ U, goodMass w ≤ ∑ i ∈ S w, dens i w) (hcard : ∀ w ∈ U, (S w).card ≤ M) : ∃ w ∈ U, ∃ i ∈ S w, m / (2 * (M : ℝ) * μ.real U) < dens i w := by have hle : ∫ w in U, totalMass w ∂μ ≤ (∫ w in U, goodMass w ∂μ) + ∫ w in U, tailMass w ∂μ := by calc ∫ w in U, totalMass w ∂μ ≤ ∫ w in U, (goodMass w + tailMass w) ∂μ := setIntegral_mono_on htotal_int (hgood_int.add htail_int) hU_meas hsplit _ = (∫ w in U, goodMass w ∂μ) + ∫ w in U, tailMass w ∂μ := integral_add hgood_int htail_int have hgood_gt : m / 2 < ∫ w in U, goodMass w ∂μ := by linarith exact exists_sheet_density_gt_of_good_mass μ U m M goodMass S dens hm hM hU_meas hU hgood_int hgood_gt hfiber hcard
/-! ### 2. Complex alignment / triangle-inequality defect -/
/-- Each individual complex alignment defect `(|b / p| - Re(b / p)) * |p|` is nonnegative. -/lemma alignment_defect_nonneg (b p : ℂ) : 0 ≤ (‖b / p‖ - (b / p).re) * ‖p‖ := mul_nonneg (sub_nonneg.mpr (Complex.re_le_norm (b / p))) (norm_nonneg p)
/-- On a finite fiber `s` with nonzero sum `p = ∑ i ∈ s, b i`, the alignment defects sum exactlyto `(∑ i ∈ s, ‖b i‖) - ‖p‖`. -/theorem fiber_alignment_defect_sum {ι : Type*} (s : Finset ι) (b : ι → ℂ) (hp : ∑ i ∈ s, b i ≠ 0) : let p := ∑ i ∈ s, b i ∑ i ∈ s, (‖b i / p‖ - (b i / p).re) * ‖p‖ = (∑ i ∈ s, ‖b i‖) - ‖p‖ := by intro p have hp_norm : ‖p‖ ≠ 0 := norm_ne_zero_iff.mpr hp have hterm : ∀ i, (‖b i / p‖ - (b i / p).re) * ‖p‖ = ‖b i‖ - (b i / p).re * ‖p‖ := by intro i rw [sub_mul, norm_div, div_mul_cancel₀ _ hp_norm] simp_rw [hterm, Finset.sum_sub_distrib, ← Finset.sum_mul] have hre : ∑ i ∈ s, (b i / p).re = 1 := by rw [← Complex.re_sum, ← Finset.sum_div, div_self hp, Complex.one_re] rw [hre, one_mul]
/-- **Lemma 6.1 (alignment defect, finite fiber)**: for any chosen branch `i₀ ∈ s` on a fiberwith nonzero sum `p = ∑ i ∈ s, b i`, its nonnegative alignment defect is bounded by the totaltriangle-inequality defect `(∑ i ∈ s, ‖b i‖) - ‖p‖`. -/theorem fiber_alignment_defect_le {ι : Type*} (s : Finset ι) (b : ι → ℂ) (hp : ∑ i ∈ s, b i ≠ 0) {i₀ : ι} (hi₀ : i₀ ∈ s) : let p := ∑ i ∈ s, b i 0 ≤ (‖b i₀ / p‖ - (b i₀ / p).re) * ‖p‖ ∧ (‖b i₀ / p‖ - (b i₀ / p).re) * ‖p‖ ≤ (∑ i ∈ s, ‖b i‖) - ‖p‖ := by intro p refine ⟨alignment_defect_nonneg (b i₀) p, ?_⟩ rw [← fiber_alignment_defect_sum s b hp] exact Finset.single_le_sum (f := fun i => (‖b i / p‖ - (b i / p).re) * ‖p‖) (fun i _ => alignment_defect_nonneg (b i) p) hi₀
/-- On a summable (possibly infinite) fiber with nonzero sum `p = ∑' i, b i`, the alignmentdefects are summable and sum to `(∑' i, ‖b i‖) - ‖p‖`. -/theorem fiber_alignment_defect_tsum {ι : Type*} (b : ι → ℂ) (hb : Summable fun i => ‖b i‖) (hp : ∑' i, b i ≠ 0) : let p := ∑' i, b i Summable (fun i => (‖b i / p‖ - (b i / p).re) * ‖p‖) ∧ ∑' i, (‖b i / p‖ - (b i / p).re) * ‖p‖ = (∑' i, ‖b i‖) - ‖p‖ := by intro p have hp_norm : ‖p‖ ≠ 0 := norm_ne_zero_iff.mpr hp have hterm : (fun i => (‖b i / p‖ - (b i / p).re) * ‖p‖) = fun i => ‖b i‖ - (b i / p).re * ‖p‖ := by ext i rw [sub_mul, norm_div, div_mul_cancel₀ _ hp_norm] have hb_div : Summable (fun i => b i / p) := hb.of_norm.div_const p have hre_sum : Summable (fun i => (b i / p).re) := Complex.reCLM.summable hb_div have hre_mul_sum : Summable (fun i => (b i / p).re * ‖p‖) := hre_sum.mul_right ‖p‖ rw [hterm] refine ⟨hb.sub hre_mul_sum, ?_⟩ rw [hb.tsum_sub hre_mul_sum, tsum_mul_right] have hre : ∑' i, (b i / p).re = 1 := by have h1 := (Complex.reCLM.map_tsum hb_div).symm change ∑' i, (b i / p).re = (∑' i, b i / p).re at h1 rw [h1, tsum_div_const, div_self hp, Complex.one_re] rw [hre, one_mul]
/-- **Lemma 6.1 (alignment defect, countable/infinite fiber)**: for any branch `i₀` in anabsolutely summable fiber with nonzero sum `p = ∑' i, b i`, its alignment defect lies in`[0, (∑' i, ‖b i‖) - ‖p‖]`. -/theorem fiber_alignment_defect_le_tsum {ι : Type*} (b : ι → ℂ) (hb : Summable fun i => ‖b i‖) (hp : ∑' i, b i ≠ 0) (i₀ : ι) : let p := ∑' i, b i 0 ≤ (‖b i₀ / p‖ - (b i₀ / p).re) * ‖p‖ ∧ (‖b i₀ / p‖ - (b i₀ / p).re) * ‖p‖ ≤ (∑' i, ‖b i‖) - ‖p‖ := by intro p obtain ⟨hsum, heq⟩ := fiber_alignment_defect_tsum b hb hp refine ⟨alignment_defect_nonneg (b i₀) p, ?_⟩ rw [← heq] exact hsum.le_tsum i₀ (fun i _ => alignment_defect_nonneg (b i) p)
/-! ### 3. Word-length orbit growth -/
section OrbitGrowth
variable {G X : Type*} [Group G] [MulAction G X]
/-- One step of expanding a finite set of sheets `A` by a finite set of group elements `S`. -/def reachStep [DecidableEq X] (S : Finset G) (A : Finset X) : Finset X := A ∪ S.biUnion (fun g => A.image (fun x => g • x))
/-- The finite set of sheets reachable from `x₀` by words in `S` of length at most `k`. -/def reach [DecidableEq X] (S : Finset G) : ℕ → X → Finset X | 0, x₀ => {x₀} | k + 1, x₀ => reachStep S (reach S k x₀)
lemma reach_subset_succ [DecidableEq X] (S : Finset G) (k : ℕ) (x₀ : X) : reach S k x₀ ⊆ reach S (k + 1) x₀ := Finset.subset_union_left
lemma mem_reach_self [DecidableEq X] (S : Finset G) (k : ℕ) (x₀ : X) : x₀ ∈ reach S k x₀ := by induction k with | zero => simp [reach] | succ k ih => exact reach_subset_succ S k x₀ ih
lemma smul_mem_reach_succ [DecidableEq X] (S : Finset G) (k : ℕ) (x₀ : X) {g : G} (hg : g ∈ S) {x : X} (hx : x ∈ reach S k x₀) : g • x ∈ reach S (k + 1) x₀ := by refine Finset.mem_union_right _ ?_ exact Finset.mem_biUnion.mpr ⟨g, hg, Finset.mem_image.mpr ⟨x, hx, rfl⟩⟩
/-- Every sheet reached by words in `S` of length `≤ k` lies in the `⟨S⟩`-orbit of `x₀`. -/lemma reach_subset_orbit [DecidableEq X] (S : Finset G) (k : ℕ) (x₀ : X) : (reach S k x₀ : Set X) ⊆ MulAction.orbit (Subgroup.closure (S : Set G)) x₀ := by induction k with | zero => intro y hy simp only [reach, Finset.coe_singleton, Set.mem_singleton_iff] at hy rw [hy] exact MulAction.mem_orbit_self x₀ | succ k ih => intro y hy simp only [reach, reachStep, Finset.mem_coe, Finset.mem_union, Finset.mem_biUnion, Finset.mem_image] at hy rcases hy with hy | ⟨g, hg, x, hx, rfl⟩ · exact ih hy · obtain ⟨h, rfl⟩ := ih hx refine ⟨⟨g, Subgroup.subset_closure hg⟩ * h, ?_⟩ change (g * (h : G)) • x₀ = g • ((h : G) • x₀) exact mul_smul g (h : G) x₀
/-- If `reach S (k + 1) x₀ = reach S k x₀`, then `reach S k x₀` is already the entire orbit of`x₀` under `Subgroup.closure S`. (Since `reach S k x₀` is finite, closure under every `g ∈ S`automatically implies closure under `g⁻¹` as well.) -/theorem reach_stabilizes_at_orbit [DecidableEq X] (S : Finset G) (k : ℕ) (x₀ : X) (hstab : reach S (k + 1) x₀ = reach S k x₀) : (reach S k x₀ : Set X) = MulAction.orbit (Subgroup.closure (S : Set G)) x₀ := by apply Set.Subset.antisymm (reach_subset_orbit S k x₀) have hclosed : ∀ h ∈ Subgroup.closure (S : Set G), ∀ x ∈ reach S k x₀, h • x ∈ reach S k x₀ := by intro h hh refine Subgroup.closure_induction ?_ ?_ ?_ ?_ hh · intro g hg x hx rw [← hstab] exact smul_mem_reach_succ S k x₀ hg hx · intro x hx simpa using hx · intro a b _ _ ha hb x hx rw [mul_smul] exact ha _ (hb _ hx) · intro a _ ha x hx set A := reach S k x₀ have himg_sub : A.image (fun y => a • y) ⊆ A := by intro z hz obtain ⟨y, hy, rfl⟩ := Finset.mem_image.mp hz exact ha y hy have himg_card : (A.image (fun y => a • y)).card = A.card := Finset.card_image_of_injective A (MulAction.injective a) have himg_eq : A.image (fun y => a • y) = A := Finset.eq_of_subset_of_card_le himg_sub himg_card.ge have hx' : x ∈ A.image (fun y => a • y) := himg_eq.symm ▸ hx obtain ⟨y, hy, hxy⟩ := Finset.mem_image.mp hx' simpa [← hxy] using hy rintro y ⟨⟨h, hh⟩, rfl⟩ exact hclosed h hh x₀ (mem_reach_self S k x₀)
/-- Dichotomy of word-length growth: after `k` steps, either `reach S k x₀` has already exhaustedthe entire `⟨S⟩`-orbit, or it contains at least `k + 1` distinct sheets. -/theorem orbit_eq_reach_or_card_ge [DecidableEq X] (S : Finset G) (k : ℕ) (x₀ : X) : (reach S k x₀ : Set X) = MulAction.orbit (Subgroup.closure (S : Set G)) x₀ ∨ k + 1 ≤ (reach S k x₀).card := by induction k with | zero => right simp [reach] | succ k ih => rcases ih with heq | hcard · left apply Set.Subset.antisymm (reach_subset_orbit S (k + 1) x₀) rw [← heq] exact_mod_cast reach_subset_succ S k x₀ · by_cases hstab : reach S (k + 1) x₀ = reach S k x₀ · left rw [hstab] exact reach_stabilizes_at_orbit S k x₀ hstab · right have hlt : reach S k x₀ ⊂ reach S (k + 1) x₀ := Finset.ssubset_iff_subset_ne.mpr ⟨reach_subset_succ S k x₀, fun h => hstab h.symm⟩ have hcard_lt : (reach S k x₀).card < (reach S (k + 1) x₀).card := Finset.card_lt_card hlt omega
/-- **Lemma 6.1 (orbit growth)**: if the `⟨S⟩`-orbit of `x₀` has strictly more than `J`elements (including the case of an infinite orbit), then words in `S` of length at most `J`already reach at least `J + 1` distinct sheets. -/theorem reach_card_ge_succ_of_orbit_gt [DecidableEq X] (S : Finset G) (J : ℕ) (x₀ : X) (hgt : (J : ℕ∞) < (MulAction.orbit (Subgroup.closure (S : Set G)) x₀).encard) : J + 1 ≤ (reach S J x₀).card := by rcases orbit_eq_reach_or_card_ge S J x₀ with heq | hcard · rw [← heq, Set.encard_coe_eq_coe_finsetCard] at hgt exact_mod_cast hgt · exact hcard
/-! ### 4. Mass-exhaustion finiteness & degree bound -/
/-- If the sheets reached in `≤ J` steps each carry mass `≥ δ` inside total mass `≤ 1` with`(J + 1) * δ > 1`, then `reach S J x₀` already equals the full `⟨S⟩`-orbit and hascardinality `≤ J`. -/theorem orbit_eq_reach_and_card_le_of_mass_bound [DecidableEq X] (S : Finset G) (J : ℕ) (x₀ : X) (mass : X → ℝ) (δ : ℝ) (hδ : 0 ≤ δ) (hJ : 1 < ((J + 1 : ℕ) : ℝ) * δ) (hmass_ge : ∀ x ∈ reach S J x₀, δ ≤ mass x) (hsum_le : ∑ x ∈ reach S J x₀, mass x ≤ 1) : (reach S J x₀ : Set X) = MulAction.orbit (Subgroup.closure (S : Set G)) x₀ ∧ (reach S J x₀).card ≤ J := by have hcard_le : (reach S J x₀).card ≤ J := by by_contra hgt have hgt : J + 1 ≤ (reach S J x₀).card := Nat.succ_le_of_lt (not_le.mp hgt) have hcard_real : ((J + 1 : ℕ) : ℝ) ≤ ((reach S J x₀).card : ℝ) := by exact_mod_cast hgt have hsum_ge : ((reach S J x₀).card : ℝ) * δ ≤ ∑ x ∈ reach S J x₀, mass x := by calc ((reach S J x₀).card : ℝ) * δ = ∑ _x ∈ reach S J x₀, δ := by simp _ ≤ ∑ x ∈ reach S J x₀, mass x := Finset.sum_le_sum hmass_ge have hmul : ((J + 1 : ℕ) : ℝ) * δ ≤ ((reach S J x₀).card : ℝ) * δ := mul_le_mul_of_nonneg_right hcard_real hδ linarith rcases orbit_eq_reach_or_card_ge S J x₀ with heq | hge · exact ⟨heq, hcard_le⟩ · omega
/-- **Lemma 6.1 (mass-exhaustion degree bound)**: under a finite generating set `S`, if the sheetsreached by words of length `≤ J` carry disjoint masses `≥ δ` summing to `≤ 1` with`(J + 1) * δ > 1`, then the `⟨S⟩`-orbit of `x₀` is finite and has cardinality at most `J`. -/theorem orbit_finite_and_card_le_of_mass_bound [DecidableEq X] (S : Finset G) (J : ℕ) (x₀ : X) (mass : X → ℝ) (δ : ℝ) (hδ : 0 ≤ δ) (hJ : 1 < ((J + 1 : ℕ) : ℝ) * δ) (hmass_ge : ∀ x ∈ reach S J x₀, δ ≤ mass x) (hsum_le : ∑ x ∈ reach S J x₀, mass x ≤ 1) : (MulAction.orbit (Subgroup.closure (S : Set G)) x₀).Finite ∧ (MulAction.orbit (Subgroup.closure (S : Set G)) x₀).ncard ≤ J := by obtain ⟨heq, hcard⟩ := orbit_eq_reach_and_card_le_of_mass_bound S J x₀ mass δ hδ hJ hmass_ge hsum_le rw [← heq] exact ⟨Finset.finite_toSet _, by simpa [Set.ncard_coe_finset] using hcard⟩
/-! ### 5. Proper subgroup from infinite transitive monodromy -/
/-- **Lemma 6.1 (proper subgroup)**: if `G` acts transitively on an infinite set `X` (e.g. themonodromy of `π₁(S_n)` on an infinite fiber of a connected covering `Y_n → S_n`), then anysubgroup `H ≤ G` having a finite orbit is a proper subgroup (`H ≠ ⊤`). -/theorem subgroup_ne_top_of_finite_orbit_of_infinite_transitive [MulAction.IsPretransitive G X] [Infinite X] (H : Subgroup G) (x₀ : X) (hfin : (MulAction.orbit H x₀).Finite) : H ≠ ⊤ := by intro htop have huniv : MulAction.orbit H x₀ = Set.univ := by ext x simp only [Set.mem_univ, iff_true] obtain ⟨g, rfl⟩ := MulAction.exists_smul_eq G x₀ x exact ⟨⟨g, htop.symm ▸ Subgroup.mem_top g⟩, rfl⟩ rw [huniv] at hfin have : Finite X := Set.finite_univ_iff.mp hfin exact not_finite X
end OrbitGrowth
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187import Mathlib
/-!# Lemma 5.1 (`l:hilbert`): quadratic decay in a Hilbert space
Lemma 5.1 (`l:hilbert`) of S. van Strien, *The Thurston algorithm for meromorphic and rationalmaps* (research manuscript, version 22, 3 December 2026).
Paper statement. Let `ℋ` be a real Hilbert space, put `J_t(a, b) = ‖a‖² + e^{4t} ‖b‖²` on`ℋ × ℋ`, and let `(a_s, b_s) ∈ ℋ × ℋ` for `s ≥ 0`. Suppose that `E_t = J_t(a_t, b_t)`increases to a finite limit `E`, and that `E_t ≤ J_t(a, b)` for every `t ≥ 0` and every finiteconvex combination `(a, b)` of the pairs `(a_s, b_s)`. Then `e^{2s} ‖b_s‖ → 0`, and `a_s`converges to some `v ∈ ℋ` with `‖v‖² = E`.
`Thurston.Core.lemma_5_1` is that statement. `Thurston.Core.lemma_5_1_core` is a slightly strongerform: it asks for the minimality hypothesis at midpoints of two pairs only, which is all thepaper's proof uses.-/
open Filter Topology
namespace Thurston.Core
variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H]
/-- The quadratic functional `J_t(x, y) = ‖x‖² + e^{4t} ‖y‖²` on `H × H`. -/noncomputable def J (t : ℝ) (x y : H) : ℝ := ‖x‖ ^ 2 + Real.exp (4 * t) * ‖y‖ ^ 2
omit [InnerProductSpace ℝ H] in/-- `J_t` increases with `t`. -/lemma J_le_J_of_le {t s : ℝ} (h : t ≤ s) (x y : H) : J t x y ≤ J s x y := by unfold J have h1 : Real.exp (4 * t) ≤ Real.exp (4 * s) := Real.exp_le_exp.mpr (by linarith) have h2 : 0 ≤ ‖y‖ ^ 2 := sq_nonneg _ have h3 := mul_le_mul_of_nonneg_right h1 h2 linarith
/-- The parallelogram identity, written with the midpoint. -/lemma norm_sub_sq_eq_midpoint (x y : H) : ‖x - y‖ ^ 2 = 2 * ‖x‖ ^ 2 + 2 * ‖y‖ ^ 2 - 4 * ‖(1 / 2 : ℝ) • x + (1 / 2 : ℝ) • y‖ ^ 2 := by have h := parallelogram_law_with_norm ℝ x y have hm : ‖(1 / 2 : ℝ) • x + (1 / 2 : ℝ) • y‖ = 1 / 2 * ‖x + y‖ := by rw [← smul_add, norm_smul, Real.norm_of_nonneg (by norm_num : (0 : ℝ) ≤ 1 / 2)] rw [hm] linear_combination h
/-- The parallelogram identity for the quadratic functional `J_t`. -/lemma J_parallelogram (t : ℝ) (x x' y y' : H) : J t (x - x') (y - y') = 2 * J t x y + 2 * J t x' y' - 4 * J t ((1 / 2 : ℝ) • x + (1 / 2 : ℝ) • x') ((1 / 2 : ℝ) • y + (1 / 2 : ℝ) • y') := by unfold J have hx := norm_sub_sq_eq_midpoint x x' have hy := norm_sub_sq_eq_midpoint y y' linear_combination hx + Real.exp (4 * t) * hy
/-- Lemma 5.1 with the minimality hypothesis at midpoints only. -/theorem lemma_5_1_core [CompleteSpace H] (a b : ℝ → H) (E : ℝ) (hmono : ∀ s t, 0 ≤ s → s ≤ t → J s (a s) (b s) ≤ J t (a t) (b t)) (hlim : Tendsto (fun t => J t (a t) (b t)) atTop (𝓝 E)) (hmid : ∀ t s u, 0 ≤ t → 0 ≤ s → 0 ≤ u → J t (a t) (b t) ≤ J t ((1 / 2 : ℝ) • a s + (1 / 2 : ℝ) • a u) ((1 / 2 : ℝ) • b s + (1 / 2 : ℝ) • b u)) : Tendsto (fun s => Real.exp (2 * s) * ‖b s‖) atTop (𝓝 0) ∧ ∃ v : H, Tendsto a atTop (𝓝 v) ∧ ‖v‖ ^ 2 = E := by -- The hypothesis for a single pair is the midpoint of that pair with itself. have hself : ∀ t s, 0 ≤ t → 0 ≤ s → J t (a t) (b t) ≤ J t (a s) (b s) := by intro t s ht hs have h := hmid t s s ht hs hs have e1 : (1 / 2 : ℝ) • a s + (1 / 2 : ℝ) • a s = a s := by rw [← add_smul]; norm_num have e2 : (1 / 2 : ℝ) • b s + (1 / 2 : ℝ) • b s = b s := by rw [← add_smul]; norm_num rwa [e1, e2] at h -- `E_t ≤ E`, because `E_t` increases to `E`. have hle : ∀ t, 0 ≤ t → J t (a t) (b t) ≤ E := by intro t ht exact ge_of_tendsto hlim ((eventually_ge_atTop t).mono fun s hs => hmono t s ht hs) -- Step 1: `(1 - e⁻⁴) e^{4s} ‖b_s‖² ≤ E_s - E_{s-1}`. have hc : (0 : ℝ) < 1 - Real.exp (-4) := by have h : Real.exp (-4) < Real.exp 0 := Real.exp_lt_exp.mpr (by norm_num) rw [Real.exp_zero] at h linarith have hstep : ∀ s, 1 ≤ s → (1 - Real.exp (-4)) * (Real.exp (4 * s) * ‖b s‖ ^ 2) ≤ J s (a s) (b s) - J (s - 1) (a (s - 1)) (b (s - 1)) := by intro s hs have h := hself (s - 1) s (by linarith) (by linarith) have hexp : Real.exp (4 * (s - 1)) = Real.exp (-4) * Real.exp (4 * s) := by rw [← Real.exp_add] congr 1 ring unfold J at h ⊢ rw [hexp] at h ⊢ linarith have hsub : Tendsto (fun s : ℝ => s - 1) atTop atTop := by simpa [sub_eq_add_neg] using tendsto_atTop_add_const_right atTop (-1 : ℝ) tendsto_id have hshift : Tendsto (fun s : ℝ => J (s - 1) (a (s - 1)) (b (s - 1))) atTop (𝓝 E) := hlim.comp hsub have hdiff : Tendsto (fun s : ℝ => J s (a s) (b s) - J (s - 1) (a (s - 1)) (b (s - 1))) atTop (𝓝 0) := by simpa using hlim.sub hshift have hX : Tendsto (fun s : ℝ => Real.exp (4 * s) * ‖b s‖ ^ 2) atTop (𝓝 0) := by have hupper : Tendsto (fun s : ℝ => (J s (a s) (b s) - J (s - 1) (a (s - 1)) (b (s - 1))) / (1 - Real.exp (-4))) atTop (𝓝 0) := by simpa using hdiff.div_const (1 - Real.exp (-4)) refine tendsto_of_tendsto_of_tendsto_of_le_of_le' tendsto_const_nhds hupper ?_ ?_ · exact Eventually.of_forall fun s => by positivity · filter_upwards [eventually_ge_atTop (1 : ℝ)] with s hs rw [le_div_iff₀ hc] have := hstep s hs linarith have hfirst : Tendsto (fun s : ℝ => Real.exp (2 * s) * ‖b s‖) atTop (𝓝 0) := by have hsqrt := (Real.continuous_sqrt.tendsto 0).comp hX rw [Real.sqrt_zero] at hsqrt refine hsqrt.congr fun s => ?_ change Real.sqrt (Real.exp (4 * s) * ‖b s‖ ^ 2) = Real.exp (2 * s) * ‖b s‖ have h4 : Real.exp (4 * s) = Real.exp (2 * s) ^ 2 := by rw [sq, ← Real.exp_add] congr 1 ring rw [h4, ← mul_pow, Real.sqrt_sq (by positivity)] -- Step 2: for `s, u ≥ t ≥ 0`, `‖a_s - a_u‖² ≤ 4 (E - E_t)`. have hcauchy : ∀ t s u, 0 ≤ t → t ≤ s → t ≤ u → ‖a s - a u‖ ^ 2 ≤ 4 * (E - J t (a t) (b t)) := by intro t s u ht hs hu have hpar := J_parallelogram t (a s) (a u) (b s) (b u) have hm := hmid t s u ht (ht.trans hs) (ht.trans hu) have h1 : J t (a s) (b s) ≤ E := (J_le_J_of_le hs _ _).trans (hle s (ht.trans hs)) have h2 : J t (a u) (b u) ≤ E := (J_le_J_of_le hu _ _).trans (hle u (ht.trans hu)) have h3 : ‖a s - a u‖ ^ 2 ≤ J t (a s - a u) (b s - b u) := by unfold J have : 0 ≤ Real.exp (4 * t) * ‖b s - b u‖ ^ 2 := by positivity linarith linarith have hCS : CauchySeq a := by rw [Metric.cauchySeq_iff'] intro ε hε have h0 : Tendsto (fun t : ℝ => E - J t (a t) (b t)) atTop (𝓝 0) := by simpa using (tendsto_const_nhds (x := E)).sub hlim have hev : ∀ᶠ t in atTop, E - J t (a t) (b t) < ε ^ 2 / 4 := h0.eventually (gt_mem_nhds (by positivity)) obtain ⟨t, ht0, htε⟩ := ((eventually_ge_atTop (0 : ℝ)).and hev).exists refine ⟨t, fun n hn => ?_⟩ rw [dist_eq_norm] have hsq := hcauchy t n t ht0 hn le_rfl by_contra hcon rw [not_lt] at hcon have := mul_self_le_mul_self hε.le hcon nlinarith -- Step 3: the limit `v` exists and `‖v‖² = lim (E_s - e^{4s} ‖b_s‖²) = E`. obtain ⟨v, hv⟩ := cauchySeq_tendsto_of_complete hCS refine ⟨hfirst, v, hv, ?_⟩ have hnorm : Tendsto (fun s : ℝ => ‖a s‖ ^ 2) atTop (𝓝 (‖v‖ ^ 2)) := hv.norm.pow 2 have hnorm' : Tendsto (fun s : ℝ => ‖a s‖ ^ 2) atTop (𝓝 E) := by have h := hlim.sub hX rw [sub_zero] at h refine h.congr fun s => ?_ unfold J ring exact tendsto_nhds_unique hnorm hnorm'
/-- **Lemma 5.1** of the paper. The pairs `(a_s, b_s)` are indexed by real `s ≥ 0`, and thefinite convex combinations of the pairs are the points of their convex hull in `H × H`. -/theorem lemma_5_1 [CompleteSpace H] (a b : ℝ → H) (E : ℝ) (hmono : ∀ s t, 0 ≤ s → s ≤ t → J s (a s) (b s) ≤ J t (a t) (b t)) (hlim : Tendsto (fun t => J t (a t) (b t)) atTop (𝓝 E)) (hmin : ∀ t, 0 ≤ t → ∀ p ∈ convexHull ℝ ((fun s : ℝ => ((a s, b s) : H × H)) '' Set.Ici 0), J t (a t) (b t) ≤ J t p.1 p.2) : Tendsto (fun s => Real.exp (2 * s) * ‖b s‖) atTop (𝓝 0) ∧ ∃ v : H, Tendsto a atTop (𝓝 v) ∧ ‖v‖ ^ 2 = E := by refine lemma_5_1_core a b E hmono hlim fun t s u ht hs hu => ?_ have hs' : ((a s, b s) : H × H) ∈ convexHull ℝ ((fun s : ℝ => ((a s, b s) : H × H)) '' Set.Ici 0) := subset_convexHull ℝ _ ⟨s, hs, rfl⟩ have hu' : ((a u, b u) : H × H) ∈ convexHull ℝ ((fun s : ℝ => ((a s, b s) : H × H)) '' Set.Ici 0) := subset_convexHull ℝ _ ⟨u, hu, rfl⟩ have hmem := (convex_convexHull ℝ _) hs' hu' (by norm_num : (0 : ℝ) ≤ 1 / 2) (by norm_num : (0 : ℝ) ≤ 1 / 2) (by norm_num : (1 / 2 : ℝ) + 1 / 2 = 1) have h := hmin t ht _ hmem simpa using h
end Thurston.Core1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586import Mathlib
/-!# Lemma 9.1 (`l:hyparea`): Hyperbolic area inequality for disjoint annuli
Formalization of Lemma 9.1 (`l:hyparea`) from S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026).
Paper statement:Let `X` be a marked sphere with `N = s + 1 ≥ 4` marks, with the complete hyperbolic metric ofcurvature `-1` on the complement of the marks, and write `ℓ_X(α)` for the length of the geodesicin an essential class `α`. If `D_j` are disjoint embedded annuli with essential core classes `α_j`,then``` ∑_j Mod(D_j) · ℓ_X(α_j)² ≤ area_X(⋃_j D_j) ≤ 2π (N - 2).```
Here we prove:1. The circle Cauchy–Schwarz inequality on `[0, 1]`: `ℓ² ≤ (∫ y in 0..1, ρ y)² ≤ ∫ y in 0..1, (ρ y)²`.2. Integrating in `x ∈ [0, M]` for an annulus `0 < x < M`, `y mod 1`: `M · ℓ² ≤ ∫ x in 0..M, ∫ y in 0..1, (ρ x y)²`.3. Summing over any finite family of disjoint annuli inside a surface of area `≤ 2π (N - 2)`.-/
open MeasureTheory Finset
namespace Thurston.Core
/-- Cauchy–Schwarz on the unit circle `[0, 1]` for a square-integrable density `f : ℝ → ℝ`:`(∫ y in 0..1, f y)² ≤ ∫ y in 0..1, (f y)²`. -/lemma sq_intervalIntegral_le_intervalIntegral_sq (f : ℝ → ℝ) (hf1 : IntervalIntegrable f volume 0 1) (hf2 : IntervalIntegrable (fun y => (f y) ^ 2) volume 0 1) : (∫ y in (0 : ℝ)..1, f y) ^ 2 ≤ ∫ y in (0 : ℝ)..1, (f y) ^ 2 := by set c := ∫ y in (0 : ℝ)..1, f y have hnonneg : 0 ≤ ∫ y in (0 : ℝ)..1, (f y - c) ^ 2 := by refine intervalIntegral.integral_nonneg (by norm_num) ?_ intro y _ exact sq_nonneg _ have hexpand : (fun y => (f y - c) ^ 2) = fun y => (f y) ^ 2 - 2 * c * f y + c ^ 2 := by ext y ring rw [hexpand] at hnonneg have hlin1 : IntervalIntegrable (fun y => 2 * c * f y) volume 0 1 := hf1.const_mul (2 * c) have hlin2 : IntervalIntegrable (fun _ : ℝ => c ^ 2) volume 0 1 := intervalIntegrable_const rw [intervalIntegral.integral_add (hf2.sub hlin1) hlin2, intervalIntegral.integral_sub hf2 hlin1, intervalIntegral.integral_const_mul, intervalIntegral.integral_const] at hnonneg simp only [sub_zero, smul_eq_mul, one_mul] at hnonneg -- `hnonneg : 0 ≤ (∫ f^2) - 2 * c * c + c^2` nlinarith
/-- Single-annulus lower bound: if an annulus `[0, M] × [0, 1]` has metric density `ρ x y` whosehorizontal circles `x = const` all have length at least `ℓ ≥ 0`, then`M * ℓ² ≤ ∫ x in 0..M, ∫ y in 0..1, (ρ x y)²`. -/theorem annulus_mod_mul_sq_le_area (M ℓ : ℝ) (ρ : ℝ → ℝ → ℝ) (hM : 0 ≤ M) (hℓ : 0 ≤ ℓ) (hf1 : ∀ x ∈ Set.Icc (0 : ℝ) M, IntervalIntegrable (fun y => ρ x y) volume 0 1) (hf2 : ∀ x ∈ Set.Icc (0 : ℝ) M, IntervalIntegrable (fun y => (ρ x y) ^ 2) volume 0 1) (harea_int : IntervalIntegrable (fun x => ∫ y in (0 : ℝ)..1, (ρ x y) ^ 2) volume 0 M) (hlen : ∀ x ∈ Set.Icc (0 : ℝ) M, ℓ ≤ ∫ y in (0 : ℝ)..1, ρ x y) : M * ℓ ^ 2 ≤ ∫ x in (0 : ℝ)..M, ∫ y in (0 : ℝ)..1, (ρ x y) ^ 2 := by have hpt : ∀ x ∈ Set.Icc (0 : ℝ) M, ℓ ^ 2 ≤ ∫ y in (0 : ℝ)..1, (ρ x y) ^ 2 := by intro x hx have hcs := sq_intervalIntegral_le_intervalIntegral_sq (fun y => ρ x y) (hf1 x hx) (hf2 x hx) have hsq : ℓ ^ 2 ≤ (∫ y in (0 : ℝ)..1, ρ x y) ^ 2 := by have hlx := hlen x hx nlinarith exact le_trans hsq hcs have hint := intervalIntegral.integral_mono_on hM intervalIntegrable_const harea_int hpt rw [intervalIntegral.integral_const, sub_zero, smul_eq_mul] at hint exact hint
/-- **Lemma 9.1 (`l:hyparea`)**: summing the annulus Cauchy–Schwarz bound over a finite family `s`of disjoint annuli of moduli `Mod j`, core lengths `ℓ j`, and areas `area j` whose total area isbounded by the Gauss–Bonnet area `2π (N - 2)`. -/theorem hyparea_sum_le {ι : Type*} (s : Finset ι) (Mod ℓ area : ι → ℝ) (N : ℕ) (hsingle : ∀ j ∈ s, Mod j * (ℓ j) ^ 2 ≤ area j) (htotal : ∑ j ∈ s, area j ≤ 2 * Real.pi * ((N : ℝ) - 2)) : ∑ j ∈ s, Mod j * (ℓ j) ^ 2 ≤ 2 * Real.pi * ((N : ℝ) - 2) := le_trans (sum_le_sum hsingle) htotal
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447import Mathlib
/-!# Theorem 12.1 (`thm:ep-qr`, Part 2): Hyperbolic circumcenter uniqueness and measurable selection
Formalization of the circumcenter uniqueness, isometry equivariance, and measurable first-indexselection arguments in Theorem 12.1 (`thm:ep-qr`) from S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026).
Here we prove:1. **Circumcenter uniqueness, existence, and isometry equivariance** on a domain `B` satisfying strict midpoint convexity of squared distance (`StrictMidpointSqConvex B`, which holds with `c = 1/4` in any CAT(0) space, verified concretely for convex subsets of real inner product spaces).2. **Tail circumradius `tailRadius J x = limsup_n dist x (J n)`**: `1`-Lipschitz continuity, tail-shift invariance, measurability in `ω`, strict midpoint squared-distance convexity, and unique isometry-equivariant tail circumcenters.3. **Measurable first-index selection** from a countable dense subset of a compact metric space, yielding measurability of any unique minimizer of a Carathéodory radius function and in particular measurability of the unique tail circumcenter.-/
open Filter Topology MeasureTheory Set
namespace Thurston.Core
/-! ### Part 1: Circumcenter uniqueness, existence, and isometry equivariance -/
/-- Strict midpoint convexity of squared distance on a domain `B` with constant `c > 0`:for any `x, y ∈ B`, there exists `m ∈ B` with`d(m, w)² ≤ (d(x, w)² + d(y, w)²) / 2 - c · d(x, y)²` for all `w ∈ B`. -/def StrictMidpointSqConvex {X : Type*} [MetricSpace X] (B : Set X) : Prop := ∃ c : ℝ, 0 < c ∧ ∀ x ∈ B, ∀ y ∈ B, ∃ m ∈ B, ∀ w ∈ B, dist m w ^ 2 ≤ (dist x w ^ 2 + dist y w ^ 2) / 2 - c * dist x y ^ 2
/-- Any convex subset of a real inner product space (e.g. Euclidean or Hilbert space) satisfies`StrictMidpointSqConvex` with constant `c = 1 / 4` and midpoint `(x + y) / 2`. -/theorem strictMidpointSqConvex_of_convex {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {B : Set E} (hB : Convex ℝ B) : StrictMidpointSqConvex B := by refine ⟨1 / 4, by norm_num, fun x hx y hy => ⟨(1 / 2 : ℝ) • x + (1 / 2 : ℝ) • y, hB hx hy (by norm_num) (by norm_num) (by norm_num), fun w _ => ?_⟩⟩ have hpar := parallelogram_law_with_norm ℝ (x - w) (y - w) have h1 : (1 / 2 : ℝ) • x + (1 / 2 : ℝ) • y - w = (1 / 2 : ℝ) • ((x - w) + (y - w)) := by module have h2 : (x - w) - (y - w) = x - y := by abel rw [dist_eq_norm, dist_eq_norm, dist_eq_norm, dist_eq_norm, h1, norm_smul, Real.norm_of_nonneg (by norm_num : (0 : ℝ) ≤ 1 / 2)] rw [h2] at hpar nlinarith
/-- The circumradius of a subset `K` measured from `x`: `sup_{w ∈ K} dist x w`. -/noncomputable def circRadius {X : Type*} [MetricSpace X] (K : Set X) (x : X) : ℝ := sSup ((fun w => dist x w) '' K)
private lemma bddAbove_dist_image {X : Type*} [MetricSpace X] {K : Set X} (hK : Bornology.IsBounded K) (x : X) : BddAbove ((fun w => dist x w) '' K) := by rcases hK.subset_closedBall x with ⟨r, hr⟩ refine ⟨r, ?_⟩ rintro _ ⟨w, hw, rfl⟩ change dist x w ≤ r rw [dist_comm] exact hr hw
lemma dist_le_circRadius {X : Type*} [MetricSpace X] {K : Set X} (hK : Bornology.IsBounded K) {w : X} (hw : w ∈ K) (x : X) : dist x w ≤ circRadius K x := le_csSup (bddAbove_dist_image hK x) ⟨w, hw, rfl⟩
lemma circRadius_nonneg {X : Type*} [MetricSpace X] {K : Set X} (hne : K.Nonempty) (hK : Bornology.IsBounded K) (x : X) : 0 ≤ circRadius K x := let ⟨_, hw⟩ := hne; le_trans dist_nonneg (dist_le_circRadius hK hw x)
/-- For a nonempty bounded set `K`, `circRadius K` is `1`-Lipschitz. -/theorem lipschitzWith_circRadius {X : Type*} [MetricSpace X] {K : Set X} (hne : K.Nonempty) (hK : Bornology.IsBounded K) : LipschitzWith 1 (circRadius K) := by refine LipschitzWith.of_dist_le_mul fun x y => ?_ rw [NNReal.coe_one, one_mul, Real.dist_eq, abs_sub_le_iff] have hstep : ∀ a b : X, circRadius K a - circRadius K b ≤ dist a b := fun a b => by have hle : circRadius K a ≤ dist a b + circRadius K b := csSup_le (hne.image _) <| by rintro _ ⟨w, hw, rfl⟩ linarith [dist_triangle a b w, dist_le_circRadius hK hw b] linarith exact ⟨hstep x y, by rw [dist_comm]; exact hstep y x⟩
/-- Strict midpoint squared-distance inequality transfers to `circRadius K`. -/lemma circRadius_sq_midpoint_le {X : Type*} [MetricSpace X] {B K : Set X} (hKB : K ⊆ B) (hne : K.Nonempty) (hK : Bornology.IsBounded K) {c : ℝ} {x y m : X} (hmid : ∀ w ∈ B, dist m w ^ 2 ≤ (dist x w ^ 2 + dist y w ^ 2) / 2 - c * dist x y ^ 2) : circRadius K m ^ 2 ≤ (circRadius K x ^ 2 + circRadius K y ^ 2) / 2 - c * dist x y ^ 2 := by set M := (circRadius K x ^ 2 + circRadius K y ^ 2) / 2 - c * dist x y ^ 2 have hpt : ∀ w ∈ K, dist m w ^ 2 ≤ M := fun w hw => by have h1 := hmid w (hKB hw) have h2 : dist x w ^ 2 ≤ circRadius K x ^ 2 := sq_le_sq' (by linarith [dist_nonneg (x := x) (y := w), circRadius_nonneg hne hK x]) (dist_le_circRadius hK hw x) have h3 : dist y w ^ 2 ≤ circRadius K y ^ 2 := sq_le_sq' (by linarith [dist_nonneg (x := y) (y := w), circRadius_nonneg hne hK y]) (dist_le_circRadius hK hw y) dsimp only [M]; linarith have hM : 0 ≤ M := let ⟨w, hw⟩ := hne; le_trans (sq_nonneg _) (hpt w hw) have hle : circRadius K m ≤ Real.sqrt M := csSup_le (hne.image _) <| by rintro _ ⟨w, hw, rfl⟩; exact Real.le_sqrt_of_sq_le (hpt w hw) have hsq : circRadius K m ^ 2 ≤ Real.sqrt M ^ 2 := sq_le_sq' (by linarith [circRadius_nonneg hne hK m, Real.sqrt_nonneg M]) hle rwa [Real.sq_sqrt hM] at hsq
/-- **Circumcenter uniqueness**: under `StrictMidpointSqConvex B`, a nonempty bounded subset `K ⊆ B`has at most one minimizer of `circRadius K` in `B`. -/theorem circumcenter_unique {X : Type*} [MetricSpace X] {B K : Set X} (hcat0 : StrictMidpointSqConvex B) (hKB : K ⊆ B) (hne : K.Nonempty) (hK : Bornology.IsBounded K) {x y : X} (hxB : x ∈ B) (hyB : y ∈ B) (hx : ∀ z ∈ B, circRadius K x ≤ circRadius K z) (hy : ∀ z ∈ B, circRadius K y ≤ circRadius K z) : x = y := by rcases hcat0 with ⟨c, hc, hmid⟩ rcases hmid x hxB y hyB with ⟨m, hmB, hm⟩ have hxy : circRadius K x = circRadius K y := le_antisymm (hx y hyB) (hy x hxB) have hxm_sq : circRadius K x ^ 2 ≤ circRadius K m ^ 2 := sq_le_sq' (by linarith [circRadius_nonneg hne hK x, circRadius_nonneg hne hK m]) (hx m hmB) have hmid_sq := circRadius_sq_midpoint_le hKB hne hK hm rw [← hxy] at hmid_sq have hdist_sq : dist x y ^ 2 ≤ 0 := nonpos_of_mul_nonpos_right (by linarith) hc exact dist_eq_zero.mp (by nlinarith [sq_nonneg (dist x y)])
/-- **Circumcenter existence and uniqueness**: on a nonempty compact domain `B` with`StrictMidpointSqConvex B`, every nonempty subset `K ⊆ B` has a unique circumcenter in `B`. -/theorem circumcenter_exists_unique {X : Type*} [MetricSpace X] {B K : Set X} (hB : IsCompact B) (hBne : B.Nonempty) (hcat0 : StrictMidpointSqConvex B) (hKB : K ⊆ B) (hne : K.Nonempty) : ∃! x, x ∈ B ∧ ∀ z ∈ B, circRadius K x ≤ circRadius K z := by have hK : Bornology.IsBounded K := hB.isBounded.subset hKB rcases hB.exists_isMinOn hBne (lipschitzWith_circRadius hne hK).continuous.continuousOn with ⟨x, hxB, hxmin⟩ exact ⟨x, ⟨hxB, fun z hz => hxmin hz⟩, fun y ⟨hyB, hymin⟩ => circumcenter_unique hcat0 hKB hne hK hyB hxB hymin (fun z hz => hxmin hz)⟩
lemma circRadius_image_isometry {Y X : Type*} [MetricSpace Y] [MetricSpace X] (φ : Y ≃ᵢ X) (K : Set Y) (x : Y) : circRadius (φ '' K) (φ x) = circRadius K x := by unfold circRadius; congr 1; ext r simp only [mem_image, exists_exists_and_eq_and, φ.dist_eq]
/-- **Isometry equivariance of circumcenters**: an isometry `φ : Y ≃ᵢ X` mapping `B'` onto `B`sends the circumcenter of `K ⊆ B'` to the unique circumcenter of `φ '' K ⊆ B`. -/theorem circumcenter_isometry_equivariant {Y X : Type*} [MetricSpace Y] [MetricSpace X] {B' : Set Y} {B : Set X} {K : Set Y} (φ : Y ≃ᵢ X) (hφB : φ '' B' = B) (hcat0 : StrictMidpointSqConvex B) (hKB' : K ⊆ B') (hne : K.Nonempty) (hK : Bornology.IsBounded K) {x : Y} {y : X} (hxB : x ∈ B') (hx : ∀ z ∈ B', circRadius K x ≤ circRadius K z) (hyB : y ∈ B) (hy : ∀ z ∈ B, circRadius (φ '' K) y ≤ circRadius (φ '' K) z) : y = φ x := by have hφK_sub : φ '' K ⊆ B := by rw [← hφB]; exact image_mono hKB' have hφK_bdd : Bornology.IsBounded (φ '' K) := φ.isometry.lipschitzWith.isBounded_image hK have hφxB : φ x ∈ B := by rw [← hφB]; exact mem_image_of_mem φ hxB refine circumcenter_unique hcat0 hφK_sub (hne.image φ) hφK_bdd hyB hφxB hy fun z hz => ?_ rw [← hφB] at hz; rcases hz with ⟨w, hw, rfl⟩ rw [circRadius_image_isometry, circRadius_image_isometry]; exact hx w hw
/-! ### Part 2: Asymptotic (tail) radius function `limsup_n dist x (J n)` -/
/-- The asymptotic (tail) circumradius of a sequence `J : ℕ → X` measured from `x`:`limsup_{n → ∞} dist x (J n)`, computed via `ℝ≥0∞` so `limsup` is unconditionally measurable. -/noncomputable def tailRadius {X : Type*} [MetricSpace X] (J : ℕ → X) (x : X) : ℝ := (Filter.limsup (fun n => ENNReal.ofReal (dist x (J n))) atTop).toReal
lemma tailRadius_nonneg {X : Type*} [MetricSpace X] (J : ℕ → X) (x : X) : 0 ≤ tailRadius J x := ENNReal.toReal_nonneg
/-- Shifting a sequence to its tail leaves `tailRadius` unchanged. -/theorem tailRadius_shift {X : Type*} [MetricSpace X] (J : ℕ → X) (x : X) : tailRadius (fun n => J (n + 1)) x = tailRadius J x := by unfold tailRadius; congr 1 exact Filter.limsup_nat_add (fun n => ENNReal.ofReal (dist x (J n))) 1
lemma tailRadius_isometry {Y X : Type*} [MetricSpace Y] [MetricSpace X] (φ : Y ≃ᵢ X) (J : ℕ → Y) (x : Y) : tailRadius (fun n => φ (J n)) (φ x) = tailRadius J x := by simp [tailRadius, φ.dist_eq]
private lemma limsup_ofReal_dist_ne_top {X : Type*} [MetricSpace X] {J : ℕ → X} (hJ : Bornology.IsBounded (range J)) (x : X) : Filter.limsup (fun n => ENNReal.ofReal (dist x (J n))) atTop ≠ ⊤ := by rcases hJ.subset_closedBall x with ⟨r, hr⟩ refine ne_top_of_le_ne_top ENNReal.ofReal_ne_top <| Filter.limsup_le_of_le (by isBoundedDefault) <| Eventually.of_forall fun n => ENNReal.ofReal_le_ofReal (by rw [dist_comm]; exact hr (mem_range_self n))
private lemma tailRadius_le_of_eventually_le {X : Type*} [MetricSpace X] {J : ℕ → X} {x : X} {R : ℝ} (hR : 0 ≤ R) (h : ∀ᶠ n in atTop, dist x (J n) ≤ R) : tailRadius J x ≤ R := by have hlim : Filter.limsup (fun n => ENNReal.ofReal (dist x (J n))) atTop ≤ ENNReal.ofReal R := Filter.limsup_le_of_le (by isBoundedDefault) (h.mono fun _ hn => ENNReal.ofReal_le_ofReal hn) exact (ENNReal.toReal_mono ENNReal.ofReal_ne_top hlim).trans_eq (ENNReal.toReal_ofReal hR)
private lemma eventually_dist_lt_tailRadius_add {X : Type*} [MetricSpace X] {J : ℕ → X} (hJ : Bornology.IsBounded (range J)) (x : X) {ε : ℝ} (hε : 0 < ε) : ∀ᶠ n in atTop, dist x (J n) < tailRadius J x + ε := by have hpos : 0 < tailRadius J x + ε := by linarith [tailRadius_nonneg J x] have hlt : Filter.limsup (fun n => ENNReal.ofReal (dist x (J n))) atTop < ENNReal.ofReal (tailRadius J x + ε) := by rw [← ENNReal.ofReal_toReal (limsup_ofReal_dist_ne_top hJ x)] exact (ENNReal.ofReal_lt_ofReal_iff hpos).mpr (show tailRadius J x < tailRadius J x + ε by linarith) filter_upwards [Filter.eventually_lt_of_limsup_lt hlt] with n hn exact (ENNReal.ofReal_lt_ofReal_iff hpos).mp hn
/-- For a bounded sequence `J : ℕ → X`, `tailRadius J` is `1`-Lipschitz. -/theorem lipschitzWith_tailRadius {X : Type*} [MetricSpace X] {J : ℕ → X} (hJ : Bornology.IsBounded (range J)) : LipschitzWith 1 (tailRadius J) := by refine LipschitzWith.of_dist_le_mul fun x y => ?_ rw [NNReal.coe_one, one_mul, Real.dist_eq, abs_sub_le_iff] have hstep : ∀ a b : X, tailRadius J a - tailRadius J b ≤ dist a b := fun a b => by have hle : tailRadius J a ≤ dist a b + tailRadius J b := le_of_forall_pos_le_add fun ε hε => tailRadius_le_of_eventually_le (by linarith [dist_nonneg (x := a) (y := b), tailRadius_nonneg J b]) ((eventually_dist_lt_tailRadius_add hJ b hε).mono fun n hn => by linarith [dist_triangle a b (J n)]) linarith exact ⟨hstep x y, by rw [dist_comm]; exact hstep y x⟩
/-- For each fixed `x : X`, `ω ↦ tailRadius (fun n => J n ω) x` is measurable whenever each`J n : Ω → X` is measurable. -/theorem measurable_tailRadius {Ω X : Type*} [MeasurableSpace Ω] [MetricSpace X] [MeasurableSpace X] [BorelSpace X] {J : ℕ → Ω → X} (hJ : ∀ n, Measurable (J n)) (x : X) : Measurable (fun ω => tailRadius (fun n => J n ω) x) := by have hstep : ∀ n, Measurable (fun ω => ENNReal.ofReal (dist x (J n ω))) := fun n => ENNReal.measurable_ofReal.comp ((continuous_const.dist continuous_id).measurable.comp (hJ n)) have hlim : Measurable (fun ω => Filter.limsup (fun n => ENNReal.ofReal (dist x (J n ω))) atTop) := by have heq : (fun ω => Filter.limsup (fun n => ENNReal.ofReal (dist x (J n ω))) atTop) = fun ω => ⨅ N : ℕ, ⨆ n : ℕ, ⨆ (_ : N ≤ n), ENNReal.ofReal (dist x (J n ω)) := by ext ω; exact Filter.limsup_eq_iInf_iSup_of_nat rw [heq] refine Measurable.iInf fun N => Measurable.iSup fun n => ?_ by_cases hNn : N ≤ n · simp only [ciSup_pos hNn]; exact hstep n · simp only [iSup_neg hNn]; exact measurable_const exact ENNReal.measurable_toReal.comp hlim
/-- Strict midpoint squared-distance inequality passes through `limsup` to `tailRadius`. -/lemma tailRadius_sq_midpoint_le {X : Type*} [MetricSpace X] {B : Set X} {J : ℕ → X} (hJB : ∀ n, J n ∈ B) (hJ : Bornology.IsBounded (range J)) {c : ℝ} {x y m : X} (hmid : ∀ w ∈ B, dist m w ^ 2 ≤ (dist x w ^ 2 + dist y w ^ 2) / 2 - c * dist x y ^ 2) : tailRadius J m ^ 2 ≤ (tailRadius J x ^ 2 + tailRadius J y ^ 2) / 2 - c * dist x y ^ 2 := by have heps : ∀ ε : ℝ, 0 < ε → tailRadius J m ^ 2 ≤ ((tailRadius J x + ε) ^ 2 + (tailRadius J y + ε) ^ 2) / 2 - c * dist x y ^ 2 := by intro ε hε set M := ((tailRadius J x + ε) ^ 2 + (tailRadius J y + ε) ^ 2) / 2 - c * dist x y ^ 2 have hpt : ∀ᶠ n in atTop, dist m (J n) ^ 2 ≤ M := by filter_upwards [eventually_dist_lt_tailRadius_add hJ x hε, eventually_dist_lt_tailRadius_add hJ y hε] with n hnx hny have h1 := hmid (J n) (hJB n) have h2 : dist x (J n) ^ 2 ≤ (tailRadius J x + ε) ^ 2 := sq_le_sq' (by linarith [dist_nonneg (x := x) (y := J n), tailRadius_nonneg J x]) hnx.le have h3 : dist y (J n) ^ 2 ≤ (tailRadius J y + ε) ^ 2 := sq_le_sq' (by linarith [dist_nonneg (x := y) (y := J n), tailRadius_nonneg J y]) hny.le dsimp only [M]; linarith have hM : 0 ≤ M := let ⟨_, hn⟩ := hpt.exists; le_trans (sq_nonneg _) hn have hle : tailRadius J m ≤ Real.sqrt M := tailRadius_le_of_eventually_le (Real.sqrt_nonneg M) (hpt.mono fun _ hn => Real.le_sqrt_of_sq_le hn) have hsq : tailRadius J m ^ 2 ≤ Real.sqrt M ^ 2 := sq_le_sq' (by linarith [tailRadius_nonneg J m, Real.sqrt_nonneg M]) hle rwa [Real.sq_sqrt hM] at hsq have htend : Tendsto (fun ε : ℝ => ((tailRadius J x + ε) ^ 2 + (tailRadius J y + ε) ^ 2) / 2 - c * dist x y ^ 2) (𝓝[>] (0 : ℝ)) (𝓝 (((tailRadius J x + 0) ^ 2 + (tailRadius J y + 0) ^ 2) / 2 - c * dist x y ^ 2)) := (Continuous.tendsto (by fun_prop) 0).mono_left nhdsWithin_le_nhds simpa using ge_of_tendsto htend (eventually_nhdsWithin_of_forall fun ε hε => heps ε hε)
/-- **Tail circumcenter uniqueness**: under `StrictMidpointSqConvex B`, a bounded sequence`J : ℕ → X` in `B` has at most one minimizer of `tailRadius J` in `B`. -/theorem tailCircumcenter_unique {X : Type*} [MetricSpace X] {B : Set X} {J : ℕ → X} (hcat0 : StrictMidpointSqConvex B) (hJB : ∀ n, J n ∈ B) (hJ : Bornology.IsBounded (range J)) {x y : X} (hxB : x ∈ B) (hyB : y ∈ B) (hx : ∀ z ∈ B, tailRadius J x ≤ tailRadius J z) (hy : ∀ z ∈ B, tailRadius J y ≤ tailRadius J z) : x = y := by rcases hcat0 with ⟨c, hc, hmid⟩ rcases hmid x hxB y hyB with ⟨m, hmB, hm⟩ have hxy : tailRadius J x = tailRadius J y := le_antisymm (hx y hyB) (hy x hxB) have hxm_sq : tailRadius J x ^ 2 ≤ tailRadius J m ^ 2 := sq_le_sq' (by linarith [tailRadius_nonneg J x, tailRadius_nonneg J m]) (hx m hmB) have hmid_sq := tailRadius_sq_midpoint_le hJB hJ hm rw [← hxy] at hmid_sq have hdist_sq : dist x y ^ 2 ≤ 0 := nonpos_of_mul_nonpos_right (by linarith) hc exact dist_eq_zero.mp (by nlinarith [sq_nonneg (dist x y)])
/-- **Tail circumcenter existence and uniqueness** on a nonempty compact domain `B` with`StrictMidpointSqConvex B`. -/theorem tailCircumcenter_exists_unique {X : Type*} [MetricSpace X] {B : Set X} {J : ℕ → X} (hB : IsCompact B) (hBne : B.Nonempty) (hcat0 : StrictMidpointSqConvex B) (hJB : ∀ n, J n ∈ B) : ∃! x, x ∈ B ∧ ∀ z ∈ B, tailRadius J x ≤ tailRadius J z := by have hJ : Bornology.IsBounded (range J) := hB.isBounded.subset (range_subset_iff.mpr hJB) rcases hB.exists_isMinOn hBne (lipschitzWith_tailRadius hJ).continuous.continuousOn with ⟨x, hxB, hxmin⟩ exact ⟨x, ⟨hxB, fun z hz => hxmin hz⟩, fun y ⟨hyB, hymin⟩ => tailCircumcenter_unique hcat0 hJB hJ hyB hxB hymin (fun z hz => hxmin hz)⟩
/-- **Fiber isometry & tail-shift equivariance**: if an isometry `φ : Y ≃ᵢ X` sends `B'` onto `B`and maps `J'` to the tail `n ↦ J (n + 1)`, then `φ` maps the tail circumcenter of `J'` to theunique tail circumcenter of `J`. -/theorem tailCircumcenter_isometry_equivariant {Y X : Type*} [MetricSpace Y] [MetricSpace X] {B' : Set Y} {B : Set X} {J' : ℕ → Y} {J : ℕ → X} (φ : Y ≃ᵢ X) (hφB : φ '' B' = B) (hφJ : ∀ n, φ (J' n) = J (n + 1)) (hcat0 : StrictMidpointSqConvex B) (hJB : ∀ n, J n ∈ B) (hJ : Bornology.IsBounded (range J)) {x : Y} {y : X} (hxB : x ∈ B') (hx : ∀ z ∈ B', tailRadius J' x ≤ tailRadius J' z) (hyB : y ∈ B) (hy : ∀ z ∈ B, tailRadius J y ≤ tailRadius J z) : y = φ x := by have hrad : ∀ w : Y, tailRadius J (φ w) = tailRadius J' w := fun w => by rw [← tailRadius_shift J (φ w), ← tailRadius_isometry φ J' w] congr 1; funext n; exact (hφJ n).symm have hφxB : φ x ∈ B := by rw [← hφB]; exact mem_image_of_mem φ hxB refine tailCircumcenter_unique hcat0 hJB hJ hyB hφxB hy fun z hz => ?_ rw [← hφB] at hz; rcases hz with ⟨w, hw, rfl⟩ rw [hrad x, hrad w]; exact hx w hw
/-! ### Part 3: Measurable first-index selection from a countable dense subset -/
private lemma iInf_dense_eq_min {B : Type*} [MetricSpace B] {q : ℕ → B} (hq : DenseRange q) {f : B → ℝ} (hf : Continuous f) {x : B} (hmin : ∀ y, f x ≤ f y) : (⨅ j, f (q j)) = f x := by have hbdd : BddBelow (range (fun j => f (q j))) := ⟨f x, by rintro _ ⟨j, rfl⟩; exact hmin (q j)⟩ refine le_antisymm (le_of_forall_pos_le_add fun ε hε => ?_) (le_ciInf fun j => hmin (q j)) rcases hq.exists_mem_open ((isOpen_Iio (a := f x + ε)).preimage hf) ⟨x, by simp [hε]⟩ with ⟨j, hj⟩ exact le_trans (ciInf_le hbdd j) (le_of_lt hj)
private lemma exists_approx_index {Ω B : Type*} [MetricSpace B] {q : ℕ → B} (hq : DenseRange q) {r : Ω → B → ℝ} (hr_cont : ∀ ω, Continuous (r ω)) {x_star : Ω → B} (hx_min : ∀ ω y, r ω (x_star ω) ≤ r ω y) (m : ℕ) (ω : Ω) : ∃ k : ℕ, r ω (q k) < (⨅ j, r ω (q j)) + 1 / ((m : ℝ) + 1) := by have hpos : (0 : ℝ) < 1 / ((m : ℝ) + 1) := by positivity have hinf := iInf_dense_eq_min hq (hr_cont ω) (hx_min ω) exact hq.exists_mem_open (isOpen_Iio.preimage (hr_cont ω)) ⟨x_star ω, by rw [mem_preimage, mem_Iio, hinf]; linarith⟩
/-- First index `k` in `q` whose radius `r ω (q k)` is within `1 / (m + 1)` of `⨅ j, r ω (q j)`. -/noncomputable def firstApproxIndex {Ω B : Type*} [MetricSpace B] {q : ℕ → B} (hq : DenseRange q) {r : Ω → B → ℝ} (hr_cont : ∀ ω, Continuous (r ω)) {x_star : Ω → B} (hx_min : ∀ ω y, r ω (x_star ω) ≤ r ω y) (m : ℕ) (ω : Ω) : ℕ := open Classical in Nat.find (exists_approx_index hq hr_cont hx_min m ω)
/-- First-index `1 / (m + 1)`-approximate minimizer picked from the enumerated dense subset `q`. -/noncomputable def approxMin {Ω B : Type*} [MetricSpace B] {q : ℕ → B} (hq : DenseRange q) {r : Ω → B → ℝ} (hr_cont : ∀ ω, Continuous (r ω)) {x_star : Ω → B} (hx_min : ∀ ω y, r ω (x_star ω) ≤ r ω y) (m : ℕ) (ω : Ω) : B := q (firstApproxIndex hq hr_cont hx_min m ω)
/-- Each `1 / (m + 1)`-approximate first-index choice is measurable. -/theorem measurable_approxMin {Ω B : Type*} [MeasurableSpace Ω] [MetricSpace B] [MeasurableSpace B] {q : ℕ → B} (hq : DenseRange q) {r : Ω → B → ℝ} (hr_meas : ∀ k, Measurable (fun ω => r ω (q k))) (hr_cont : ∀ ω, Continuous (r ω)) {x_star : Ω → B} (hx_min : ∀ ω y, r ω (x_star ω) ≤ r ω y) (m : ℕ) : Measurable (approxMin hq hr_cont hx_min m) := by have hinf_meas : Measurable (fun ω => ⨅ j, r ω (q j)) := by refine measurable_of_Iio fun a => ?_ have heq : (fun ω => ⨅ j, r ω (q j)) ⁻¹' Iio a = ⋃ j, (fun ω => r ω (q j)) ⁻¹' Iio a := by ext ω have hbdd : BddBelow (range (fun j => r ω (q j))) := ⟨r ω (x_star ω), by rintro _ ⟨j, rfl⟩; exact hx_min ω (q j)⟩ simp only [mem_preimage, mem_Iio, mem_iUnion, ciInf_lt_iff hbdd] rw [heq] exact MeasurableSet.iUnion fun j => measurableSet_Iio.preimage (hr_meas j) have hP_meas : ∀ j, MeasurableSet {ω | r ω (q j) < (⨅ i, r ω (q i)) + 1 / ((m : ℝ) + 1)} := fun j => measurableSet_lt (hr_meas j) (hinf_meas.add measurable_const) have hidx_meas : Measurable (firstApproxIndex hq hr_cont hx_min m) := by refine measurable_to_countable' fun k => ?_ have heq : firstApproxIndex hq hr_cont hx_min m ⁻¹' {k} = {ω | r ω (q k) < (⨅ i, r ω (q i)) + 1 / ((m : ℝ) + 1)} ∩ ⋂ j ∈ Finset.range k, {ω | r ω (q j) < (⨅ i, r ω (q i)) + 1 / ((m : ℝ) + 1)}ᶜ := by ext ω simp only [mem_preimage, mem_singleton_iff, firstApproxIndex, Nat.find_eq_iff, mem_inter_iff, mem_ofPred_eq, mem_iInter, Finset.mem_range, mem_compl_iff] rw [heq] exact (hP_meas k).inter (Finset.measurableSet_biInter (Finset.range k) fun j _ => (hP_meas j).compl) exact measurable_from_top.comp hidx_meas
/-- By compactness of `B` and uniqueness of `x_star ω`, `approxMin m ω → x_star ω`. -/theorem tendsto_approxMin {Ω B : Type*} [MetricSpace B] [CompactSpace B] {q : ℕ → B} (hq : DenseRange q) {r : Ω → B → ℝ} (hr_cont : ∀ ω, Continuous (r ω)) {x_star : Ω → B} (hx_min : ∀ ω y, r ω (x_star ω) ≤ r ω y) (hx_uniq : ∀ ω y, r ω y = r ω (x_star ω) → y = x_star ω) (ω : Ω) : Tendsto (fun m => approxMin hq hr_cont hx_min m ω) atTop (𝓝 (x_star ω)) := by have hval : Tendsto (fun m => r ω (approxMin hq hr_cont hx_min m ω)) atTop (𝓝 (r ω (x_star ω))) := by have hupper : Tendsto (fun m : ℕ => r ω (x_star ω) + 1 / ((m : ℝ) + 1)) atTop (𝓝 (r ω (x_star ω) + 0)) := tendsto_const_nhds.add tendsto_one_div_add_atTop_nhds_zero_nat rw [add_zero] at hupper refine tendsto_of_tendsto_of_tendsto_of_le_of_le tendsto_const_nhds hupper (fun m => hx_min ω _) fun m => ?_ have hspec : r ω (approxMin hq hr_cont hx_min m ω) < (⨅ j, r ω (q j)) + 1 / ((m : ℝ) + 1) := open Classical in Nat.find_spec (exists_approx_index hq hr_cont hx_min m ω) rw [iInf_dense_eq_min hq (hr_cont ω) (hx_min ω)] at hspec exact hspec.le refine isCompact_univ.tendsto_nhds_of_unique_mapClusterPt (Eventually.of_forall fun _ => mem_univ _) fun y _ hy => ?_ have hcl : ClusterPt (r ω y) (𝓝 (r ω (x_star ω))) := ClusterPt.map hy (hr_cont ω).continuousAt (Filter.tendsto_map'_iff.mpr hval) exact hx_uniq ω y (eq_of_nhds_neBot hcl)
/-- **Measurable unique minimizer**: if `x_star ω` is the unique global minimizer on a compactmetric space `B` of a function `r ω` that is continuous on `B` and measurable at each point of adense sequence `q`, then `x_star` is measurable. -/theorem measurable_unique_minimizer {Ω B : Type*} [MeasurableSpace Ω] [MetricSpace B] [CompactSpace B] [MeasurableSpace B] [BorelSpace B] {q : ℕ → B} (hq : DenseRange q) {r : Ω → B → ℝ} (hr_meas : ∀ k, Measurable (fun ω => r ω (q k))) (hr_cont : ∀ ω, Continuous (r ω)) {x_star : Ω → B} (hx_min : ∀ ω y, r ω (x_star ω) ≤ r ω y) (hx_uniq : ∀ ω y, r ω y = r ω (x_star ω) → y = x_star ω) : Measurable x_star := measurable_of_tendsto_metrizable (fun m => measurable_approxMin hq hr_meas hr_cont hx_min m) (tendsto_pi_nhds.mpr fun ω => tendsto_approxMin hq hr_cont hx_min hx_uniq ω)
/-- **Measurability of the unique tail circumcenter** (Theorem 12.1, Part 2):if `B` is a nonempty compact domain in `X` satisfying `StrictMidpointSqConvex B` and`J : ℕ → Ω → X` is a sequence of measurable maps into `B`, then the unique tail circumcenter map`x_star : Ω → B` is measurable. -/theorem measurable_tailCircumcenter {Ω X : Type*} [MeasurableSpace Ω] [MetricSpace X] [MeasurableSpace X] [BorelSpace X] {B : Set X} (hB : IsCompact B) (hBne : B.Nonempty) (hcat0 : StrictMidpointSqConvex B) {J : ℕ → Ω → X} (hJ_meas : ∀ n, Measurable (J n)) (hJB : ∀ n ω, J n ω ∈ B) {x_star : Ω → B} (hx_min : ∀ ω (z : B), tailRadius (fun n => J n ω) (x_star ω) ≤ tailRadius (fun n => J n ω) z) : Measurable x_star := by have : CompactSpace B := isCompact_iff_compactSpace.mp hB have : Nonempty B := hBne.to_subtype rcases TopologicalSpace.exists_dense_seq B with ⟨q, hq⟩ refine measurable_unique_minimizer hq (r := fun ω (x : B) => tailRadius (fun n => J n ω) x.1) (fun k => measurable_tailRadius hJ_meas (q k).1) (fun ω => (lipschitzWith_tailRadius (hB.isBounded.subset (range_subset_iff.mpr fun n => hJB n ω))).continuous.comp continuous_subtype_val) hx_min fun ω y hy => Subtype.ext ?_ have hJω : Bornology.IsBounded (range fun n => J n ω) := hB.isBounded.subset (range_subset_iff.mpr fun n => hJB n ω) exact tailCircumcenter_unique hcat0 (fun n => hJB n ω) hJω y.2 (x_star ω).2 (fun z hz => by rw [hy]; exact hx_min ω ⟨z, hz⟩) (fun z hz => hx_min ω ⟨z, hz⟩)
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264import Mathlib
/-!# Lemma 4.1 (`lem:iterate`): Matrices of Iterates
Formalization of Lemma 4.1 from S. van Strien, *The Thurston algorithm for meromorphic andrational maps* (version 22, 3 December 2026):
Let `Λ` be an `f`-stable multicurve with Thurston pullback matrix `M`, defined from the finite1-step essential covering lifts `l : L` (with source class `src l`, target class `tgt l`, andcovering degree `deg l`) by `M δ γ = ∑_{src l = δ, tgt l = γ} 1 / deg l`.
1. **Concrete lift chains** (`pow_thurstonMatrix_eq_sum_chains`): For all `m : ℕ` and `δ, γ : Λ`, `(M ^ m) δ γ = ∑ c : LiftChain src tgt m δ γ, 1 / chainDeg c`.2. **Abstract covering-component theorem** (`iterate_matrix_eq_sum_lifts`): Following Lemma 4.1's proof verbatim, given any finite family `Comp m γ` of essential `m`-step closed lifts over `γ` satisfying the base identification (`m = 1`) and inductive factorization `Comp (m + 1) γ ≃ Σ β : Comp m γ, { l : L // tgt l = cls β }` with multiplicative degrees, `(M ^ m) δ γ = ∑_{α ∈ Comp m γ, cls α = δ} 1 / compDeg α` for all `m ≥ 1`.-/
open Finset Matrix
namespace Thurston.Core
section ThurstonMatrix
variable {Λ L : Type*} [Fintype L] [DecidableEq Λ]
/-- The Thurston pullback matrix of a finite 1-step covering-lift system:`(thurstonMatrix src tgt deg) δ γ = ∑_{src l = δ, tgt l = γ} 1 / deg l`. -/noncomputable def thurstonMatrix (src tgt : L → Λ) (deg : L → ℕ) : Matrix Λ Λ ℝ := fun δ γ => ∑ l ∈ Finset.univ.filter (fun l : L => src l = δ ∧ tgt l = γ), (1 : ℝ) / (deg l : ℝ)
@[simp]lemma thurstonMatrix_apply (src tgt : L → Λ) (deg : L → ℕ) (δ γ : Λ) : thurstonMatrix src tgt deg δ γ = ∑ l ∈ Finset.univ.filter (fun l : L => src l = δ ∧ tgt l = γ), (1 : ℝ) / (deg l : ℝ) := rfl
/-- Every entry of the Thurston pullback matrix is nonnegative. -/lemma thurstonMatrix_nonneg (src tgt : L → Λ) (deg : L → ℕ) (δ γ : Λ) : 0 ≤ thurstonMatrix src tgt deg δ γ := Finset.sum_nonneg fun _ _ => by positivity
private lemma sum_subtype_tgt_eq_thurstonMatrix (src tgt : L → Λ) (deg : L → ℕ) (δ κ : Λ) : (∑ l : { l : L // tgt l = κ }, if src l.1 = δ then (1 : ℝ) / (deg l.1 : ℝ) else 0) = thurstonMatrix src tgt deg δ κ := by rw [← Finset.sum_filter, thurstonMatrix_apply] refine Finset.sum_bij (fun l _ => l.1) (fun l hl => ?_) (fun _ _ _ _ h => Subtype.ext h) (fun l hl => ?_) (fun _ _ => rfl) · simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hl ⊢ exact ⟨hl, l.2⟩ · simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hl exact ⟨⟨l, hl.2⟩, by simp [hl.1], rfl⟩
end ThurstonMatrix
section LiftChains
universe u
variable {Λ : Type*} {L : Type u}
/-- A composable chain of `m` 1-step lifts starting at `δ` and ending at `γ`.For `m = 0`, it is a lifted proof that `δ = γ`; for `m + 1`, it consists of a first lift `l` with`src l = δ` followed by an `m`-step chain from `tgt l` to `γ`. -/def LiftChain (src tgt : L → Λ) : ℕ → Λ → Λ → Type u | 0, δ, γ => ULift.{u} (PLift (δ = γ)) | m + 1, δ, γ => Σ l : { l : L // src l = δ }, LiftChain src tgt m (tgt l.1) γ
/-- Total covering degree of a lift chain: the product of the degrees of its steps. -/def chainDeg {src tgt : L → Λ} (deg : L → ℕ) : {m : ℕ} → {δ γ : Λ} → LiftChain src tgt m δ γ → ℕ | 0, _, _, _ => 1 | _ + 1, _, _, ⟨l, c⟩ => deg l.1 * chainDeg deg c
instance instFintypeLiftChain [Fintype L] [DecidableEq Λ] (src tgt : L → Λ) : ∀ (m : ℕ) (δ γ : Λ), Fintype (LiftChain src tgt m δ γ) | 0, δ, γ => by dsimp [LiftChain]; infer_instance | m + 1, δ, γ => by dsimp [LiftChain] letI := instFintypeLiftChain src tgt m infer_instance
/-- **Concrete `m`-step lift-chain formula**:for every `m : ℕ` and `δ, γ : Λ`, `(M ^ m) δ γ` equals the sum of `1 / chainDeg c` over allcomposable `m`-step lift chains `c` from `δ` to `γ`. -/theorem pow_thurstonMatrix_eq_sum_chains [Fintype Λ] [Fintype L] [DecidableEq Λ] (src tgt : L → Λ) (deg : L → ℕ) : ∀ (m : ℕ) (δ γ : Λ), (thurstonMatrix src tgt deg ^ m) δ γ = ∑ c : LiftChain src tgt m δ γ, (1 : ℝ) / (chainDeg deg c : ℝ) | 0, δ, γ => by simp only [pow_zero, Matrix.one_apply, LiftChain, chainDeg, Nat.cast_one, div_one] by_cases h : δ = γ · subst h have : Unique (ULift.{u} (PLift (δ = δ))) := ⟨⟨⟨⟨rfl⟩⟩⟩, fun ⟨⟨_⟩⟩ => rfl⟩ simp · have : IsEmpty (ULift.{u} (PLift (δ = γ))) := ⟨fun ⟨⟨heq⟩⟩ => h heq⟩ simp [h] | m + 1, δ, γ => by have ih := pow_thurstonMatrix_eq_sum_chains src tgt deg m have hrhs : (∑ c : LiftChain src tgt (m + 1) δ γ, (1 : ℝ) / (chainDeg deg c : ℝ)) = ∑ l : { l : L // src l = δ }, ((1 : ℝ) / (deg l.1 : ℝ)) * (thurstonMatrix src tgt deg ^ m) (tgt l.1) γ := by change (∑ p : Σ l : { l : L // src l = δ }, LiftChain src tgt m (tgt l.1) γ, (1 : ℝ) / ((deg p.1.1 * chainDeg deg p.2 : ℕ) : ℝ)) = _ rw [Fintype.sum_sigma] refine Finset.sum_congr rfl fun l _ => ?_ rw [ih (tgt l.1) γ, Finset.mul_sum] refine Finset.sum_congr rfl fun c _ => by push_cast; rw [one_div_mul_one_div] rw [hrhs, pow_succ', Matrix.mul_apply] symm rw [← Finset.sum_fiberwise_of_maps_to (t := Finset.univ) (g := fun l : { l : L // src l = δ } => tgt l.1) (fun _ _ => Finset.mem_univ _)] refine Finset.sum_congr rfl fun κ _ => ?_ have hinner : (∑ l ∈ Finset.univ.filter (fun l : { l : L // src l = δ } => tgt l.1 = κ), ((1 : ℝ) / (deg l.1 : ℝ)) * (thurstonMatrix src tgt deg ^ m) (tgt l.1) γ) = (∑ l ∈ Finset.univ.filter (fun l : { l : L // src l = δ } => tgt l.1 = κ), (1 : ℝ) / (deg l.1 : ℝ)) * (thurstonMatrix src tgt deg ^ m) κ γ := by rw [Finset.sum_mul] refine Finset.sum_congr rfl fun l hl => by simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hl; rw [hl] rw [hinner, thurstonMatrix_apply] congr 1 refine Finset.sum_bij (fun l _ => l.1) (fun l hl => ?_) (fun _ _ _ _ h => Subtype.ext h) (fun l hl => ?_) (fun _ _ => rfl) · simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hl ⊢ exact ⟨l.2, hl⟩ · simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hl exact ⟨⟨l, hl.1⟩, by simp [hl.2], rfl⟩
end LiftChains
section AbstractCoveringLifts
variable {Λ L : Type*} [Fintype Λ] [Fintype L] [DecidableEq Λ]
/-- **Lemma 4.1 (`lem:iterate`, Matrices of iterates)**:Given a finite family `Comp m γ` of essential `m`-step closed lifts over `γ ∈ Λ` with homotopyclass `cls` and covering degree `compDeg`, satisfying:- base correspondence `Comp 1 γ ≃ { l : L // tgt l = γ }` preserving class and degree;- inductive factorization `Comp (m + 1) γ ≃ Σ β : Comp m γ, { l : L // tgt l = cls β }` (stability + isotopy lifting) with multiplicative covering degrees;
we have for every `m ≥ 1` and `δ, γ : Λ`:`(thurstonMatrix src tgt deg ^ m) δ γ = ∑_{α ∈ Comp m γ, cls α = δ} 1 / compDeg α`. -/theorem iterate_matrix_eq_sum_lifts (src tgt : L → Λ) (deg : L → ℕ) (Comp : ℕ → Λ → Type*) [∀ m γ, Fintype (Comp m γ)] (cls : ∀ {m γ}, Comp m γ → Λ) (compDeg : ∀ {m γ}, Comp m γ → ℕ) (e_one : ∀ γ, Comp 1 γ ≃ { l : L // tgt l = γ }) (hcls_one : ∀ {γ} (α : Comp 1 γ), cls α = src (e_one γ α).1) (hdeg_one : ∀ {γ} (α : Comp 1 γ), compDeg α = deg (e_one γ α).1) (e_succ : ∀ m, 1 ≤ m → ∀ γ, Comp (m + 1) γ ≃ Σ β : Comp m γ, { l : L // tgt l = cls β }) (hcls_succ : ∀ m (hm : 1 ≤ m) γ (β : Comp m γ) (l : { l : L // tgt l = cls β }), cls ((e_succ m hm γ).symm ⟨β, l⟩) = src l.1) (hdeg_succ : ∀ m (hm : 1 ≤ m) γ (β : Comp m γ) (l : { l : L // tgt l = cls β }), compDeg ((e_succ m hm γ).symm ⟨β, l⟩) = deg l.1 * compDeg β) : ∀ m : ℕ, 1 ≤ m → ∀ δ γ : Λ, (thurstonMatrix src tgt deg ^ m) δ γ = ∑ α ∈ Finset.univ.filter (fun α : Comp m γ => cls α = δ), (1 : ℝ) / (compDeg α : ℝ) := by intro m hm induction m, hm using Nat.le_induction with | base => intro δ γ rw [pow_one, thurstonMatrix_apply] symm refine Finset.sum_bij (fun α _ => (e_one γ α).1) (fun α hα => ?_) (fun _ _ _ _ h => (e_one γ).injective (Subtype.ext h)) (fun l hl => ?_) (fun α _ => by rw [hdeg_one α]) · simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hα ⊢ exact ⟨(hcls_one α).symm.trans hα, (e_one γ α).2⟩ · simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hl exact ⟨(e_one γ).symm ⟨l, hl.2⟩, by simp [hcls_one, hl.1], by simp⟩ | succ m hm ih => intro δ γ symm rw [Finset.sum_filter, ← Equiv.sum_comp (e_succ m hm γ).symm, Fintype.sum_sigma] have hinner : (∑ β : Comp m γ, ∑ l : { l : L // tgt l = cls β }, if cls ((e_succ m hm γ).symm ⟨β, l⟩) = δ then (1 : ℝ) / (compDeg ((e_succ m hm γ).symm ⟨β, l⟩) : ℝ) else 0) = ∑ β : Comp m γ, thurstonMatrix src tgt deg δ (cls β) * ((1 : ℝ) / (compDeg β : ℝ)) := by refine Finset.sum_congr rfl fun β _ => ?_ rw [← sum_subtype_tgt_eq_thurstonMatrix, Finset.sum_mul] refine Finset.sum_congr rfl fun l _ => ?_ rw [hcls_succ m hm γ β l, hdeg_succ m hm γ β l] split_ifs · push_cast; rw [one_div_mul_one_div] · simp rw [hinner, ← Finset.sum_fiberwise_of_maps_to (t := Finset.univ) (g := fun β : Comp m γ => cls β) (fun _ _ => Finset.mem_univ _), pow_succ', Matrix.mul_apply] refine Finset.sum_congr rfl fun κ _ => ?_ rw [ih κ γ, Finset.mul_sum] refine Finset.sum_congr rfl fun β hβ => by simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hβ; rw [hβ]
end AbstractCoveringLifts
section SanityExample
/-!### Sanity check: a 2-class, 3-lift covering system
`Λ = Fin 2`, `L = Fin 3` with lifts `0 : 0 → 0` (deg `2`), `1 : 0 → 1` (deg `1`),`2 : 1 → 0` (deg `2`), giving `M = [[1/2, 1], [1/2, 0]]` and `(M ^ 2) 0 0 = 1/4 + 1/2 = 3/4`.-/
private def exSrc : Fin 3 → Fin 2 | 0 => 0 | 1 => 0 | 2 => 1private def exTgt : Fin 3 → Fin 2 | 0 => 0 | 1 => 1 | 2 => 0private def exDeg : Fin 3 → ℕ | 0 => 2 | 1 => 1 | 2 => 2
private abbrev ExComp (m : ℕ) (γ : Fin 2) : Type := Σ δ : Fin 2, LiftChain exSrc exTgt m δ γ
private def exEquivOne (γ : Fin 2) : ExComp 1 γ ≃ { l : Fin 3 // exTgt l = γ } where toFun p := ⟨p.2.1.1, p.2.2.down.down⟩ invFun l := ⟨exSrc l.1, ⟨⟨l.1, rfl⟩, ⟨⟨l.2⟩⟩⟩⟩ left_inv := by rintro ⟨δ, ⟨⟨l, rfl⟩, ⟨⟨rfl⟩⟩⟩⟩; rfl right_inv := by rintro ⟨l, rfl⟩; rfl
private def exEquivSucc (m : ℕ) (γ : Fin 2) : ExComp (m + 1) γ ≃ Σ β : ExComp m γ, { l : Fin 3 // exTgt l = β.1 } where toFun p := ⟨⟨exTgt p.2.1.1, p.2.2⟩, ⟨p.2.1.1, rfl⟩⟩ invFun := fun ⟨⟨_, c⟩, ⟨l, htgt⟩⟩ => ⟨exSrc l, ⟨⟨l, rfl⟩, htgt ▸ c⟩⟩ left_inv := by rintro ⟨δ, ⟨⟨l, rfl⟩, c⟩⟩; rfl right_inv := by rintro ⟨⟨κ, c⟩, ⟨l, htgt⟩⟩; dsimp only at htgt; subst htgt; rfl
example : (thurstonMatrix exSrc exTgt exDeg ^ 2) 0 0 = ∑ α ∈ Finset.univ.filter (fun α : ExComp 2 0 => α.1 = 0), (1 : ℝ) / (chainDeg exDeg α.2 : ℝ) ∧ (thurstonMatrix exSrc exTgt exDeg ^ 2) 0 0 = ∑ c : LiftChain exSrc exTgt 2 0 0, (1 : ℝ) / (chainDeg exDeg c : ℝ) ∧ (thurstonMatrix exSrc exTgt exDeg ^ 2) 0 0 = (3 : ℝ) / 4 := by have h1 := iterate_matrix_eq_sum_lifts exSrc exTgt exDeg ExComp (fun p => p.1) (fun p => chainDeg exDeg p.2) exEquivOne (fun p => p.2.1.2.symm) (fun ⟨_, ⟨_, _⟩⟩ => mul_one _) (fun m _ γ => exEquivSucc m γ) (fun _ _ _ _ _ => rfl) (fun _ _ _ β l => by rcases β with ⟨κ, c⟩; rcases l with ⟨l, htgt⟩; dsimp only at htgt; subst htgt; rfl) 2 (by norm_num) 0 0 have h2 := pow_thurstonMatrix_eq_sum_chains exSrc exTgt exDeg 2 0 0 refine ⟨h1, h2, ?_⟩ rw [pow_two, Matrix.mul_apply, Fin.sum_univ_two] simp_rw [thurstonMatrix_apply, Finset.sum_filter, Fin.sum_univ_three] norm_num [exSrc, exTgt, exDeg]
end SanityExample
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172import Mathlib
/-!# Lemma 4.3 (`lem:chain`): Chains of lifts
Formalization of Lemma 4.3 (`lem:chain`) from S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026).
Paper statement:Let `α_0, α_1, …, α_K` be essential classes with pairwise zero intersection, such that each`α_{j+1}` is the class of a closed component of degree `d_{j+1}` of the preimage under `f`of a representative of `α_j`. If `d_{a+1} = … = d_{a+r} = 1` for some `a` with `a + r ≤ K`,then `f` has a Levy cycle. In particular, if `f` has no Levy cycle and `K ≥ r * b`, then`d_1 ⋯ d_K ≥ 2^b`.
Here the topological fact from `[FMar, Proposition 1.3, Corollary 1.9]` — that pairwise disjointessential curve classes belong to a finite set `S` of cardinality at most `r` — is stated as ahypothesis `S.card ≤ r` and `∀ j ≤ K, α j ∈ S`. Both conclusions (existence of a minimaldegree-1 repeat / Levy cycle, and the exponential degree bound `2^b ≤ ∏ d_j`) are proveddirectly in Lean 4 + Mathlib with no extra axioms.-/
open Finset
namespace Thurston.Core
/-- A minimal repeat inside `[a, a + r]` along a sequence `α : ℕ → C` whose values on`[a, a + r]` lie in a finite set `S` of size at most `r`: there exist `a ≤ i < i' ≤ a + r`with `α i = α i'` and `α` pairwise distinct on `[i, i')`. -/theorem exists_minimal_repeat {C : Type*} (α : ℕ → C) (S : Finset C) (a r : ℕ) (hcard : S.card ≤ r) (hmem : ∀ j ∈ Icc a (a + r), α j ∈ S) : ∃ i i', a ≤ i ∧ i < i' ∧ i' ≤ a + r ∧ α i = α i' ∧ ∀ u v, i ≤ u → u < v → v < i' → α u ≠ α v := by classical have hrep : ∃ d : ℕ, 0 < d ∧ ∃ i, a ≤ i ∧ i + d ≤ a + r ∧ α i = α (i + d) := by have hlt : S.card < (Icc a (a + r)).card := by rw [Nat.card_Icc] omega obtain ⟨u, hu, v, hv, hne, heq⟩ := exists_ne_map_eq_of_card_lt_of_maps_to hlt hmem rw [mem_Icc] at hu hv rcases lt_or_gt_of_ne hne with huv | hvu · exact ⟨v - u, by omega, u, hu.1, by omega, by simpa [Nat.add_sub_cancel' huv.le] using heq⟩ · exact ⟨u - v, by omega, v, hv.1, by omega, by simpa [Nat.add_sub_cancel' hvu.le] using heq.symm⟩ let d := Nat.find hrep have hd_spec : 0 < d ∧ ∃ i, a ≤ i ∧ i + d ≤ a + r ∧ α i = α (i + d) := Nat.find_spec hrep obtain ⟨hd_pos, i, hi_ge, hid_le, hα_eq⟩ := hd_spec refine ⟨i, i + d, hi_ge, by omega, hid_le, hα_eq, ?_⟩ intro u v hiu huv hv_lt heq_uv have hlt_d : v - u < d := by omega have hnot := Nat.find_min hrep hlt_d apply hnot refine ⟨by omega, u, by omega, by omega, ?_⟩ simpa [Nat.add_sub_cancel' huv.le] using heq_uv
/-- First assertion of Lemma 4.3 (`lem:chain`): if a block of `r` consecutive steps`d_{a+1} = … = d_{a+r} = 1` all have degree 1, then there is a minimal repeat `a ≤ i < i' ≤ a + r`whose steps all have degree 1 (a Levy cycle when read in reverse order). -/theorem chain_has_levy_cycle_of_deg_one_block {C : Type*} (α : ℕ → C) (d : ℕ → ℕ) (S : Finset C) (a r : ℕ) (hcard : S.card ≤ r) (hmem : ∀ j ∈ Icc a (a + r), α j ∈ S) (hdeg1 : ∀ j ∈ Icc (a + 1) (a + r), d j = 1) : ∃ i i', a ≤ i ∧ i < i' ∧ i' ≤ a + r ∧ α i = α i' ∧ (∀ u v, i ≤ u → u < v → v < i' → α u ≠ α v) ∧ (∀ j, i < j → j ≤ i' → d j = 1) := by obtain ⟨i, i', hi, hii', hi'le, heq, hdist⟩ := exists_minimal_repeat α S a r hcard hmem refine ⟨i, i', hi, hii', hi'le, heq, hdist, ?_⟩ intro j hij hji' exact hdeg1 j (mem_Icc.mpr ⟨by omega, by omega⟩)
/-- Contrapositive on a single block of length `r`: if there is no degree-1 repeat inside`[a, a + r]` and every degree is at least 1, then at least one step in `(a, a + r]` hasdegree at least 2. -/lemma exists_deg_ge_two_in_block {C : Type*} (α : ℕ → C) (d : ℕ → ℕ) (S : Finset C) (a r : ℕ) (hcard : S.card ≤ r) (hmem : ∀ j ∈ Icc a (a + r), α j ∈ S) (hpos : ∀ j ∈ Icc (a + 1) (a + r), 1 ≤ d j) (hnoLevy : ¬ ∃ i i', a ≤ i ∧ i < i' ∧ i' ≤ a + r ∧ α i = α i' ∧ (∀ u v, i ≤ u → u < v → v < i' → α u ≠ α v) ∧ (∀ j, i < j → j ≤ i' → d j = 1)) : ∃ j ∈ Icc (a + 1) (a + r), 2 ≤ d j := by by_contra h push Not at h have hdeg1 : ∀ j ∈ Icc (a + 1) (a + r), d j = 1 := by intro j hj have h1 := hpos j hj have h2 := h j hj omega exact hnoLevy (chain_has_levy_cycle_of_deg_one_block α d S a r hcard hmem hdeg1)
/-- The product of degrees over a single block `(a, a + r]` is at least `2` when every step hasdegree `≥ 1` and at least one step has degree `≥ 2`. -/private lemma two_le_prod_of_exists_two (d : ℕ → ℕ) (s : Finset ℕ) (hpos : ∀ j ∈ s, 1 ≤ d j) (htwo : ∃ j ∈ s, 2 ≤ d j) : 2 ≤ ∏ j ∈ s, d j := by obtain ⟨j0, hj0, hdj0⟩ := htwo rw [��� mul_prod_erase s d hj0] have hrest : 1 ≤ ∏ j ∈ s.erase j0, d j := Finset.one_le_prod fun j hj => hpos j (mem_of_mem_erase hj) calc 2 = 2 * 1 := (mul_one 2).symm _ ≤ d j0 * ∏ j ∈ s.erase j0, d j := Nat.mul_le_mul hdj0 hrest
/-- Second assertion of Lemma 4.3 (`lem:chain`): if the chain `α_0, …, α_K` has values in aset `S` of size at most `r`, every step has degree `d_j ≥ 1`, there is no Levy cycle (no minimaldegree-1 repeat inside `[0, K]`), and `K ≥ r * b`, then `2^b ≤ ∏_{j=1}^K d_j`. -/theorem chain_prod_deg_ge_two_pow {C : Type*} (α : ℕ → C) (d : ℕ → ℕ) (S : Finset C) (K r b : ℕ) (hcard : S.card ≤ r) (hmem : ∀ j ≤ K, α j ∈ S) (hpos : ∀ j ∈ Icc 1 K, 1 ≤ d j) (hnoLevy : ¬ ∃ i i', i < i' ∧ i' ≤ K ∧ α i = α i' ∧ (∀ u v, i ≤ u → u < v → v < i' → α u ≠ α v) ∧ (∀ j, i < j → j ≤ i' → d j = 1)) (hK : r * b ≤ K) : 2 ^ b ≤ ∏ j ∈ Icc 1 K, d j := by have hprefix : ∀ m, r * m ≤ K → 2 ^ m ≤ ∏ j ∈ Icc 1 (r * m), d j := by intro m induction m with | zero => intro _ simp | succ m ih => intro hm have hrm : r * (m + 1) = r * m + r := by ring have hm_le : r * m ≤ K := by omega have hsplit : Icc 1 (r * (m + 1)) = Icc 1 (r * m) ∪ Icc (r * m + 1) (r * m + r) := by ext j simp only [mem_Icc, mem_union] omega have hdisj : Disjoint (Icc 1 (r * m)) (Icc (r * m + 1) (r * m + r)) := by rw [Finset.disjoint_left] intro j hj1 hj2 rw [mem_Icc] at hj1 hj2 omega rw [hsplit, prod_union hdisj, pow_succ] have hblock_two : 2 ≤ ∏ j ∈ Icc (r * m + 1) (r * m + r), d j := by apply two_le_prod_of_exists_two · intro j hj rw [mem_Icc] at hj exact hpos j (mem_Icc.mpr ⟨by omega, by omega⟩) · apply exists_deg_ge_two_in_block α d S (r * m) r hcard · intro j hj rw [mem_Icc] at hj exact hmem j (by omega) · intro j hj rw [mem_Icc] at hj exact hpos j (mem_Icc.mpr ⟨by omega, by omega⟩) · rintro ⟨i, i', _, hii', hi'le, heq, hdist, hdeg1⟩ exact hnoLevy ⟨i, i', hii', by omega, heq, hdist, hdeg1⟩ exact Nat.mul_le_mul (ih hm_le) hblock_two have hsub : Icc 1 (r * b) ⊆ Icc 1 K := Icc_subset_Icc_right hK have htail : ∏ j ∈ Icc 1 (r * b), d j ≤ ∏ j ∈ Icc 1 K, d j := by rw [← prod_sdiff hsub] have hrest : 1 ≤ ∏ j ∈ Icc 1 K \ Icc 1 (r * b), d j := Finset.one_le_prod fun j hj => hpos j (mem_sdiff.mp hj).1 calc ∏ j ∈ Icc 1 (r * b), d j = 1 * ∏ j ∈ Icc 1 (r * b), d j := (one_mul _).symm _ ≤ (∏ j ∈ Icc 1 K \ Icc 1 (r * b), d j) * ∏ j ∈ Icc 1 (r * b), d j := Nat.mul_le_mul_right _ hrest exact le_trans (hprefix b hK) htail
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363import Thurston.Core.PerronObstructionBounds
/-!# Lemma 4.2 (`lem:levy-obstruction`): Levy cycles give obstructions
Formalization of Lemma 4.2 from S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026):
> **Lemma 4.2 (Levy cycles give obstructions):** For all three classes of maps, a Levy cycle> generates a Thurston obstruction.
The proof decomposes into three self-contained pure-Mathlib components:
1. **Monotone stabilization (`levy_stable_multicurve_exists`)**: If `P : Finset C → Finset C` is monotone, `L ⊆ P L`, and `(P^[i] L).card ≤ r` for all `i`, then `i ↦ P^[i] L` is increasing and stabilizes at some `k ≤ r - L.card` with `L ⊆ P^[k] L` and `P (P^[k] L) = P^[k] L`.2. **Cycle lower bound on matrix powers (`levy_cycle_pow_diag_ge_one`, `levy_cycle_trace_pow_ge_one`)**: If `M : Matrix Γ Γ ℝ` is entrywise nonnegative and has a period-`p` cycle with `M (γ i) (γ (i + 1)) ≥ 1`, then `(M ^ p) (γ i) (γ i) ≥ 1` for every `i < p`, `(M ^ (k * p)) (γ 0) (γ 0) ≥ 1`, and `Matrix.trace (M ^ (k * p)) ≥ 1` for all `k`.3. **Spectral radius lower bound (`spectralRadius_ge_one_of_pow_diag_ge_one`, `levy_cycle_spectralRadius_ge_one`, `levy_obstruction`)**: Any entrywise nonnegative matrix `M` with `(M ^ p) γ γ ≥ 1` (`p ≥ 1`) satisfies `1 ≤ spectralRadius ℂ (M.map (algebraMap ℝ ℂ))`. Combining Parts 1–3 gives an `f`-stable multicurve `Γ^* ⊇ L` whose Thurston matrix has spectral radius at least `1`.-/
open Finset Filter Topology Matrix
namespace Thurston.Core
/-! ## Part 1: Monotone stabilization of `P(Γ)` -/
section Stabilization
variable {C : Type*}
/-- If `P` is monotone and `L ⊆ P L`, then each iterate is contained in the next. -/theorem levy_iterate_subset_succ (P : Finset C → Finset C) (hmono : ∀ Γ₁ Γ₂, Γ₁ ⊆ Γ₂ → P Γ₁ ⊆ P Γ₂) (L : Finset C) (hL : L ⊆ P L) : ∀ i : ℕ, P^[i] L ⊆ P^[i + 1] L | 0 => hL | i + 1 => by rw [Function.iterate_succ_apply', Function.iterate_succ_apply'] exact hmono _ _ (levy_iterate_subset_succ P hmono L hL i)
/-- The sequence `i ↦ P^[i] L` is monotone with respect to `⊆`. -/theorem levy_iterate_mono (P : Finset C → Finset C) (hmono : ∀ Γ₁ Γ₂, Γ₁ ⊆ Γ₂ → P Γ₁ ⊆ P Γ₂) (L : Finset C) (hL : L ⊆ P L) {i j : ℕ} (hij : i ≤ j) : P^[i] L ⊆ P^[j] L := by induction j with | zero => have hi : i = 0 := Nat.eq_zero_of_le_zero hij subst hi exact Subset.rfl | succ j ih => rcases Nat.eq_or_lt_of_le hij with rfl | hlt · exact Subset.rfl · exact (ih (Nat.lt_succ_iff.mp hlt)).trans (levy_iterate_subset_succ P hmono L hL j)
/-- **Lemma 4.2, stabilization step**:A monotone operator `P` on finite multicurves with `L ⊆ P L` and uniform cardinality bound`(P^[i] L).card ≤ r` stabilizes in at most `r - L.card` steps at an `f`-stable multicurve`Γ^* = P^[k] L ⊇ L`. -/theorem levy_stable_multicurve_exists (P : Finset C → Finset C) (hmono : ∀ Γ₁ Γ₂, Γ₁ ⊆ Γ₂ → P Γ₁ ⊆ P Γ₂) (L : Finset C) (hL : L ⊆ P L) (r : ℕ) (hcard : ∀ i : ℕ, (P^[i] L).card ≤ r) : ∃ k ≤ r - L.card, L ⊆ P^[k] L ∧ P (P^[k] L) = P^[k] L ∧ (P^[k] L).card ≤ r := by by_contra hno push Not at hno have hne : ∀ k ≤ r - L.card, P (P^[k] L) ≠ P^[k] L := by intro k hk heq have hgt := hno k hk (levy_iterate_mono P hmono L hL (Nat.zero_le k)) heq have hle := hcard k omega have hgrow : ∀ j ≤ r - L.card + 1, L.card + j ≤ (P^[j] L).card := by intro j induction j with | zero => intro _; simp | succ j ih => intro hj have hj_le : j ≤ r - L.card := Nat.lt_succ_iff.mp hj have hsub : P^[j] L ⊆ P^[j + 1] L := levy_iterate_subset_succ P hmono L hL j have hneq : P^[j] L ≠ P^[j + 1] L := by rw [Function.iterate_succ_apply'] exact (hne j hj_le).symm have hlt : (P^[j] L).card < (P^[j + 1] L).card := Finset.card_lt_card (Finset.ssubset_iff_subset_ne.mpr ⟨hsub, hneq⟩) have := ih (Nat.le_succ_of_le hj_le) omega have hL_le : L.card ≤ r := by simpa using hcard 0 have h1 := hgrow (r - L.card + 1) le_rfl have h2 := hcard (r - L.card + 1) omega
end Stabilization
/-! ## Part 2: Cycle lower bound on matrix powers -/
section CyclePowers
variable {Γ : Type*} [Fintype Γ] [DecidableEq Γ]
/-- Along a chain of entries `≥ 1` in a nonnegative matrix `M`, the corresponding entry of `M^m`is at least `1`. -/theorem levy_chain_pow_ge_one (M : Matrix Γ Γ ℝ) (hM : ∀ α β, 0 ≤ M α β) (p : ℕ) (γ : ℕ → Γ) (hstep : ∀ i < p, 1 ≤ M (γ i) (γ (i + 1))) : ∀ a m : ℕ, a + m ≤ p → 1 ≤ (M ^ m) (γ a) (γ (a + m)) | a, 0, _ => by simp | a, m + 1, h => by have hm : a + m < p := by omega have ih : 1 ≤ (M ^ m) (γ a) (γ (a + m)) := levy_chain_pow_ge_one M hM p γ hstep a m (by omega) have hnext : 1 ≤ M (γ (a + m)) (γ (a + m + 1)) := hstep (a + m) hm rw [pow_succ, Matrix.mul_apply] have hterm : (M ^ m) (γ a) (γ (a + m)) * M (γ (a + m)) (γ (a + (m + 1))) ≤ ∑ β, (M ^ m) (γ a) β * M β (γ (a + (m + 1))) := single_le_sum (fun β _ => mul_nonneg (pow_nonneg_entries M hM m (γ a) β) (hM β _)) (mem_univ (γ (a + m))) have hmul : (1 : ℝ) ≤ (M ^ m) (γ a) (γ (a + m)) * M (γ (a + m)) (γ (a + (m + 1))) := by have : a + (m + 1) = a + m + 1 := by omega rw [this] nlinarith exact le_trans hmul hterm
/-- Along a period-`p` Levy cycle (`M (γ i) (γ (i + 1)) ≥ 1` with `γ p = γ 0`), every diagonalentry `(M ^ p) (γ i) (γ i)` for `i < p` is at least `1`. -/theorem levy_cycle_pow_diag_ge_one (M : Matrix Γ Γ ℝ) (hM : ∀ α β, 0 ≤ M α β) (p : ℕ) (γ : ℕ → Γ) (hper : γ p = γ 0) (hstep : ∀ i < p, 1 ≤ M (γ i) (γ (i + 1))) : ∀ i < p, 1 ≤ (M ^ p) (γ i) (γ i) := by intro i hi have h1 : 1 ≤ (M ^ (p - i)) (γ i) (γ 0) := by have := levy_chain_pow_ge_one M hM p γ hstep i (p - i) (by omega) rwa [Nat.add_sub_of_le hi.le, hper] at this have h2 : 1 ≤ (M ^ i) (γ 0) (γ i) := by simpa using levy_chain_pow_ge_one M hM p γ hstep 0 i (by omega) have hsplit : M ^ p = M ^ (p - i) * M ^ i := by rw [← pow_add, Nat.sub_add_cancel hi.le] rw [hsplit, Matrix.mul_apply] have hterm : (M ^ (p - i)) (γ i) (γ 0) * (M ^ i) (γ 0) (γ i) ≤ ∑ β, (M ^ (p - i)) (γ i) β * (M ^ i) β (γ i) := single_le_sum (fun β _ => mul_nonneg (pow_nonneg_entries M hM (p - i) (γ i) β) (pow_nonneg_entries M hM i β (γ i))) (mem_univ (γ 0)) nlinarith
/-- If `(M ^ p) α α ≥ 1` for a nonnegative matrix `M`, then `(M ^ (k * p)) α α ≥ 1`for every `k : ℕ`. -/theorem pow_mul_diag_ge_one (M : Matrix Γ Γ ℝ) (hM : ∀ α β, 0 ≤ M α β) (p : ℕ) (α : Γ) (hdiag : 1 ≤ (M ^ p) α α) : ∀ k : ℕ, 1 ≤ (M ^ (k * p)) α α | 0 => by simp | k + 1 => by have ih := pow_mul_diag_ge_one M hM p α hdiag k have hsplit : M ^ ((k + 1) * p) = M ^ (k * p) * M ^ p := by rw [Nat.add_mul, one_mul, pow_add] rw [hsplit, Matrix.mul_apply] have hterm : (M ^ (k * p)) α α * (M ^ p) α α ≤ ∑ β, (M ^ (k * p)) α β * (M ^ p) β α := single_le_sum (fun β _ => mul_nonneg (pow_nonneg_entries M hM (k * p) α β) (pow_nonneg_entries M hM p β α)) (mem_univ α) nlinarith
/-- If `(M ^ p) α α ≥ 1` for a nonnegative matrix `M`, then `trace (M ^ (k * p)) ≥ 1` for all`k`. -/theorem trace_pow_mul_ge_one (M : Matrix Γ Γ ℝ) (hM : ∀ α β, 0 ≤ M α β) (p : ℕ) (α : Γ) (hdiag : 1 ≤ (M ^ p) α α) (k : ℕ) : 1 ≤ Matrix.trace (M ^ (k * p)) := by simp only [Matrix.trace, Matrix.diag_apply] have hsingle : (M ^ (k * p)) α α ≤ ∑ β, (M ^ (k * p)) β β := single_le_sum (fun β _ => pow_nonneg_entries M hM (k * p) β β) (mem_univ α) exact le_trans (pow_mul_diag_ge_one M hM p α hdiag k) hsingle
/-- Along a period-`p` Levy cycle (`p ≥ 1`), `trace (M ^ (k * p)) ≥ 1` for every `k : ℕ`. -/theorem levy_cycle_trace_pow_ge_one (M : Matrix Γ Γ ℝ) (hM : ∀ α β, 0 ≤ M α β) (p : ℕ) (hp : 1 ≤ p) (γ : ℕ → Γ) (hper : γ p = γ 0) (hstep : ∀ i < p, 1 ≤ M (γ i) (γ (i + 1))) (k : ℕ) : 1 ≤ Matrix.trace (M ^ (k * p)) := trace_pow_mul_ge_one M hM p (γ 0) (levy_cycle_pow_diag_ge_one M hM p γ hper hstep 0 (by omega)) k
end CyclePowers
/-! ## Part 3: Spectral radius `ρ(M) ≥ 1` and combined Lemma 4.2 -/
section SpectralRadius
variable {Γ : Type*} [Fintype Γ]
private lemma norm_multiset_sum_le_card_mul (s : Multiset ℂ) (b : ℝ) (hb : ∀ z ∈ s, ‖z‖ ≤ b) : ‖s.sum‖ ≤ (s.card : ℝ) * b := by induction s using Multiset.induction_on with | empty => simp | @cons x s ih => simp only [Multiset.sum_cons, Multiset.card_cons, Nat.cast_add, Nat.cast_one] have hx : ‖x‖ ≤ b := hb x (Multiset.mem_cons_self x s) have hs : ‖s.sum‖ ≤ (s.card : ℝ) * b := ih fun z hz => hb z (Multiset.mem_cons_of_mem hz) calc ‖x + s.sum‖ ≤ ‖x‖ + ‖s.sum‖ := norm_add_le x s.sum _ ≤ b + (s.card : ℝ) * b := add_le_add hx hs _ = ((s.card : ℝ) + 1) * b := by ring
/-- If an entrywise nonnegative real matrix `M` satisfies `(M ^ p) γ γ ≥ 1` for some `p ≥ 1`and `γ : Γ`, then its complex spectral radius satisfies `1 ≤ spectralRadius ℂ (M.map _)`. -/theorem spectralRadius_ge_one_of_pow_diag_ge_one [DecidableEq Γ] (M : Matrix Γ Γ ℝ) (hM : ∀ α β, 0 ≤ M α β) (p : ℕ) (hp : 1 ≤ p) (γ : Γ) (hdiag : 1 ≤ (M ^ p) γ γ) : 1 ≤ spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) := by set A : Matrix Γ Γ ℂ := M.map (algebraMap ℝ ���) by_contra hlt push Not at hlt have hne_top : spectralRadius ℂ A ≠ ⊤ := ne_top_of_lt hlt set r : ℝ := (spectralRadius ℂ A).toReal have hr0 : 0 ≤ r := ENNReal.toReal_nonneg have hr1 : r < 1 := by have h := (ENNReal.toReal_lt_toReal hne_top ENNReal.one_ne_top).mpr hlt simpa [r] using h have htrace_bound : ∀ k : ℕ, 1 ≤ (Fintype.card Γ : ℝ) * (r ^ p) ^ (k + 1) := by intro k set m : ℕ := (k + 1) * p have hm_pos : 0 < m := Nat.mul_pos (Nat.succ_pos k) (by omega) have hpow_map : A ^ m = (M ^ m).map (algebraMap ℝ ℂ) := by simpa [A, RingHom.mapMatrix_apply] using (map_pow (RingHom.mapMatrix (algebraMap ℝ ℂ)) M m).symm have htr_eq : (A ^ m).trace = ((M ^ m).trace : ℂ) := by rw [hpow_map, Matrix.trace, Matrix.trace] simp [Matrix.diag_apply] have htr_ge : (1 : ℝ) ≤ (M ^ m).trace := trace_pow_mul_ge_one M hM p γ hdiag (k + 1) have hnorm_ge : (1 : ℝ) ≤ ‖(A ^ m).trace‖ := by rw [htr_eq, Complex.norm_real, Real.norm_of_nonneg (by linarith)] exact htr_ge have hroot_le : ∀ μ ∈ (A ^ m).charpoly.roots, ‖μ‖ ≤ r ^ m := by intro μ hμ have hisroot : (A ^ m).charpoly.IsRoot μ := Polynomial.isRoot_of_mem_roots hμ have hspec : μ ∈ spectrum ℂ (A ^ m) := Matrix.mem_spectrum_iff_isRoot_charpoly.mpr hisroot rw [spectrum.map_pow_of_pos A hm_pos] at hspec obtain ⟨lam, hlam, rfl⟩ := hspec have hlam_enn : (‖lam‖₊ : ENNReal) ≤ spectralRadius ℂ A := by rw [spectralRadius_eq_of_unital] exact le_iSup₂ (f := fun x (_ : x ∈ spectrum ℂ A) => (‖x‖₊ : ENNReal)) lam hlam have hlam_le : ‖lam‖ ≤ r := by have h := ENNReal.toReal_mono hne_top hlam_enn simpa [r] using h rw [norm_pow] exact pow_le_pow_left₀ (norm_nonneg lam) hlam_le m have htr_roots : (A ^ m).trace = (A ^ m).charpoly.roots.sum := Matrix.trace_eq_sum_roots_charpoly (A ^ m) have hcard_le : ((A ^ m).charpoly.roots.card : ℝ) ≤ (Fintype.card Γ : ℝ) := by have h1 : (A ^ m).charpoly.roots.card ≤ (A ^ m).charpoly.natDegree := Polynomial.card_roots' _ have h2 : (A ^ m).charpoly.natDegree = Fintype.card Γ := Matrix.charpoly_natDegree_eq_dim (A ^ m) exact_mod_cast (h2 ▸ h1) have hnorm_le : ‖(A ^ m).trace‖ ≤ (Fintype.card Γ : ℝ) * r ^ m := by rw [htr_roots] exact le_trans (norm_multiset_sum_le_card_mul _ (r ^ m) hroot_le) (mul_le_mul_of_nonneg_right hcard_le (pow_nonneg hr0 m)) have hpow_eq : r ^ m = (r ^ p) ^ (k + 1) := by simp [m, mul_comm, pow_mul] rw [← hpow_eq] exact le_trans hnorm_ge hnorm_le have hrp0 : 0 ≤ r ^ p := pow_nonneg hr0 p have hrp1 : r ^ p < 1 := pow_lt_one₀ hr0 hr1 (by omega) have hlim : Tendsto (fun k : ℕ => (Fintype.card Γ : ℝ) * (r ^ p) ^ (k + 1)) atTop (𝓝 0) := by have hpow_lim : Tendsto (fun k : ℕ => (r ^ p) ^ (k + 1)) atTop (𝓝 0) := (tendsto_pow_atTop_nhds_zero_of_lt_one hrp0 hrp1).comp (tendsto_add_atTop_nat 1) simpa using tendsto_const_nhds.mul hpow_lim have hle0 : (1 : ℝ) ≤ 0 := ge_of_tendsto hlim (Eventually.of_forall htrace_bound) linarith
/-- A nonnegative matrix containing a period-`p` Levy cycle (`p ≥ 1`) has spectral radius atleast `1`. -/theorem levy_cycle_spectralRadius_ge_one (M : Matrix Γ Γ ℝ) (hM : ∀ α β, 0 ≤ M α β) (p : ℕ) (hp : 1 ≤ p) (γ : ℕ → Γ) (hper : γ p = γ 0) (hstep : ∀ i < p, 1 ≤ M (γ i) (γ (i + 1))) : 1 ≤ spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) := by classical exact spectralRadius_ge_one_of_pow_diag_ge_one M hM p hp (γ 0) (levy_cycle_pow_diag_ge_one M hM p γ hper hstep 0 (by omega))
/-- **Lemma 4.2 (`lem:levy-obstruction`, combined)**:Given a monotone pullback operator `P` on finite multicurves with `L ⊆ P L` and uniform bound`(P^[i] L).card ≤ r`, together with a family of nonnegative Thurston matrices `M Γ` whoseentries along the period-`p` Levy cycle in `L` are `≥ 1` on any `f`-stable `Γ ⊇ L`,there exists an `f`-stable multicurve `Γ^* ⊇ L` with `Γ^*.card ≤ r` and`1 ≤ spectralRadius ℂ ((M Γ^*).map (algebraMap ℝ ℂ))`. -/theorem levy_obstruction {C : Type*} (P : Finset C → Finset C) (hmono : ∀ Γ₁ Γ₂, Γ₁ ⊆ Γ₂ → P Γ₁ ⊆ P Γ₂) (L : Finset C) (hL : L ⊆ P L) (r : ℕ) (hcard : ∀ i : ℕ, (P^[i] L).card ≤ r) (M : ∀ Γ : Finset C, Matrix Γ Γ ℝ) (hM_nonneg : ∀ (Γ : Finset C), L ⊆ Γ → P Γ = Γ → ∀ α β : Γ, 0 ≤ M Γ α β) (p : ℕ) (hp : 1 ≤ p) (γ : ℕ → C) (hper : γ p = γ 0) (hγ_mem : ∀ i < p, γ i ∈ L) (hM_cycle : ∀ (Γ : Finset C), L ⊆ Γ → P Γ = Γ → ∀ i < p, ∀ (h1 : γ i ∈ Γ) (h2 : γ (i + 1) ∈ Γ), 1 ≤ M Γ ⟨γ i, h1⟩ ⟨γ (i + 1), h2⟩) : ∃ Γ_star : Finset C, L ⊆ Γ_star ∧ P Γ_star = Γ_star ∧ Γ_star.card ≤ r ∧ 1 ≤ spectralRadius ℂ ((M Γ_star).map (algebraMap ℝ ℂ)) := by obtain ⟨k, _, hLΓ, hfix, hΓcard⟩ := levy_stable_multicurve_exists P hmono L hL r hcard set Γ_star : Finset C := P^[k] L have hmem_mod : ∀ i : ℕ, γ (i % p) ∈ Γ_star := fun i => hLΓ (hγ_mem (i % p) (Nat.mod_lt i (by omega))) let γ' : ℕ → Γ_star := fun i => ⟨γ (i % p), hmem_mod i⟩ have hper' : γ' p = γ' 0 := by apply Subtype.ext simp [γ'] have hstep' : ∀ i < p, 1 ≤ M Γ_star (γ' i) (γ' (i + 1)) := by intro i hi have h1 : γ (i % p) = γ i := by rw [Nat.mod_eq_of_lt hi] have h2 : γ ((i + 1) % p) = γ (i + 1) := by rcases Nat.lt_or_eq_of_le (by omega : i + 1 ≤ p) with hlt | heq · rw [Nat.mod_eq_of_lt hlt] · rw [heq, Nat.mod_self, hper] have hmem1 : γ i ∈ Γ_star := hLΓ (hγ_mem i hi) have hmem2 : γ (i + 1) ∈ Γ_star := by rcases Nat.lt_or_eq_of_le (by omega : i + 1 ≤ p) with hlt | heq · exact hLΓ (hγ_mem (i + 1) hlt) · rw [heq, hper] exact hLΓ (hγ_mem 0 (by omega)) have hcycle := hM_cycle Γ_star hLΓ hfix i hi hmem1 hmem2 have hγi : γ' i = ⟨γ i, hmem1⟩ := Subtype.ext h1 have hγi1 : γ' (i + 1) = ⟨γ (i + 1), hmem2⟩ := Subtype.ext h2 rw [hγi, hγi1] exact hcycle exact ⟨Γ_star, hLΓ, hfix, hΓcard, levy_cycle_spectralRadius_ge_one (M Γ_star) (hM_nonneg Γ_star hLΓ hfix) p hp γ' hper' hstep'⟩
/-- Sanity check: the 2-cycle permutation matrix has spectral radius at least `1`. -/example : 1 ≤ spectralRadius ℂ ((!![(0 : ℝ), 1; 1, 0]).map (algebraMap ℝ ℂ)) := by refine levy_cycle_spectralRadius_ge_one (!![(0 : ℝ), 1; 1, 0]) ?_ 2 (by omega) (fun i => if i % 2 = 0 then (0 : Fin 2) else 1) (by decide) ?_ · intro i j fin_cases i <;> fin_cases j <;> norm_num · intro i hi interval_cases i <;> norm_num
end SpectralRadius
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203import Mathlib
/-!# Proposition 9.2 (`p:necessity-obstruction`) & Proposition 12.2 (`prop:ep-matrix`)
Formalization of the linear-algebraic and asymptotic obstruction arguments in S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026):
1. **Proposition 9.2 (`p:necessity-obstruction`)**: If a finite nonnegative matrix `M` has a nonnegative nonzero eigenvector `M v = ρ v` with `ρ ≥ 1`, then `(M^j) v = ρ^j v`, and the hyperbolic area bound `R · ρ^j · ∑_α v_α ℓ_j(α)² ≤ C` cannot hold for all `R > 0` and `j ≥ 0` when `ℓ_j(α) → ℓ_*(α) > 0` as `j → ∞` (excluding both `ρ > 1` and `ρ = 1`).
2. **Proposition 12.2 (`prop:ep-matrix`)**: If a finite nonnegative matrix `M` satisfies `∑_α ℓ_α² · ((M^n) m)_α ≤ C` for all `n ≥ 1`, where every `ℓ_α > 0` and every `m_β > 0`, then: - all entries of all powers `M^n` are uniformly bounded (`(M^n) α β ≤ B`); - consequently, every nonnegative nonzero eigenvector `M v = ρ v` satisfies `ρ ≤ 1`.-/
open Finset Filter Topology Matrix
namespace Thurston.Core
section MatrixPowers
variable {ι : Type*} [Fintype ι]
/-- Nonnegativity is preserved under matrix multiplication. -/lemma mul_nonneg_entries {A B : Matrix ι ι ℝ} (hA : ∀ i j, 0 ≤ A i j) (hB : ∀ i j, 0 ≤ B i j) : ∀ i j, 0 ≤ (A * B) i j := by intro i j rw [Matrix.mul_apply] exact sum_nonneg fun k _ => mul_nonneg (hA i k) (hB k j)
/-- Every power `M^n` of an entrywise nonnegative matrix is entrywise nonnegative. -/lemma pow_nonneg_entries [DecidableEq ι] (M : Matrix ι ι ℝ) (hM : ∀ i j, 0 ≤ M i j) : ∀ n i j, 0 ≤ (M ^ n) i j | 0, i, j => by simp only [pow_zero, Matrix.one_apply] split_ifs <;> norm_num | n + 1, i, j => by rw [pow_succ] exact mul_nonneg_entries (pow_nonneg_entries M hM n) hM i j
/-- Iterating an eigenvector equation `M v = ρ v` gives `(M^n) v = ρ^n v`. -/lemma pow_mulVec_of_mulVec_eq [DecidableEq ι] (M : Matrix ι ι ℝ) (v : ι → ℝ) (ρ : ℝ) (hv : M.mulVec v = ρ • v) : ∀ n : ℕ, (M ^ n).mulVec v = (ρ ^ n) • v | 0 => by simp | n + 1 => by rw [pow_succ, ← Matrix.mulVec_mulVec, hv, Matrix.mulVec_smul, pow_mulVec_of_mulVec_eq M v ρ hv n, smul_smul, mul_comm, pow_succ]
end MatrixPowers
section NecessityObstruction
variable {ι : Type*} [Fintype ι] [DecidableEq ι]
private lemma tendsto_sum_real {κ : Type*} {s : Finset κ} {f : κ → ℕ → ℝ} {a : κ → ℝ} (hf : ∀ i ∈ s, Tendsto (f i) atTop (𝓝 (a i))) : Tendsto (fun n => ∑ i ∈ s, f i n) atTop (𝓝 (∑ i ∈ s, a i)) := by classical induction s using Finset.induction_on with | empty => simp | @insert x s hx ih => have hfx : Tendsto (f x) atTop (𝓝 (a x)) := hf x (mem_insert_self x s) have hfs : Tendsto (fun n => ∑ i ∈ s, f i n) atTop (𝓝 (∑ i ∈ s, a i)) := ih fun i hi => hf i (mem_insert_of_mem hi) simpa [sum_insert hx] using hfx.add hfs
/-- **Proposition 9.2 (`p:necessity-obstruction`)**:If `M v = ρ v` with `v ≥ 0`, `v ≠ 0`, `ρ ≥ 1`, and the lengths `ℓ j α` converge to `ℓ_star α > 0`,then the area bound `R * ∑_α ((M^j) v)_α * (ℓ j α)² ≤ C` cannot hold for every `R > 0` and every`j : ℕ`. This excludes obstructions with `ρ = 1` as well as `ρ > 1`. -/theorem necessity_no_obstruction (M : Matrix ι ι ℝ) (v : ι → ℝ) (ρ C : ℝ) (ℓ : ℕ → ι → ℝ) (ℓ_star : ι → ℝ) (hv_nonneg : ∀ α, 0 ≤ v α) (hv_ne : v ≠ 0) (heig : M.mulVec v = ρ • v) (hρ : 1 ≤ ρ) (hℓ_pos : ∀ α, 0 < ℓ_star α) (hℓ_lim : ∀ α, Tendsto (fun j => ℓ j α) atTop (𝓝 (ℓ_star α))) (hbound : ∀ R : ℝ, 0 < R → ∀ j : ℕ, R * ∑ α, ((M ^ j).mulVec v) α * (ℓ j α) ^ 2 ≤ C) : False := by obtain ⟨α0, hα0_ne⟩ : ∃ α0, v α0 ≠ 0 := Function.ne_iff.mp hv_ne have hα0_pos : 0 < v α0 := lt_of_le_of_ne (hv_nonneg α0) (Ne.symm hα0_ne) set S : ℝ := ∑ α, v α * (ℓ_star α) ^ 2 have hS_pos : 0 < S := by refine Finset.sum_pos' (fun α _ => mul_nonneg (hv_nonneg α) (sq_nonneg _)) ?_ exact ⟨α0, mem_univ α0, mul_pos hα0_pos (sq_pos_of_pos (hℓ_pos α0))⟩ have hlim_sum : Tendsto (fun j => ∑ α, v α * (ℓ j α) ^ 2) atTop (𝓝 S) := tendsto_sum_real fun α _ => tendsto_const_nhds.mul ((hℓ_lim α).pow 2) have hRS_le : ∀ R : ℝ, 0 < R → R * S ≤ C := by intro R hR have hlim_R : Tendsto (fun j => R * ∑ α, v α * (ℓ j α) ^ 2) atTop (𝓝 (R * S)) := tendsto_const_nhds.mul hlim_sum refine le_of_tendsto hlim_R (Eventually.of_forall fun j => ?_) have hpow := pow_mulVec_of_mulVec_eq M v ρ heig j have hsum_eq : ∑ α, ((M ^ j).mulVec v) α * (ℓ j α) ^ 2 = ρ ^ j * ∑ α, v α * (ℓ j α) ^ 2 := by rw [hpow, Finset.mul_sum] refine sum_congr rfl fun α _ => ?_ simp [Pi.smul_apply, smul_eq_mul, mul_assoc] have hbj := hbound R hR j rw [hsum_eq] at hbj have hρj : (1 : ℝ) ≤ ρ ^ j := one_le_pow₀ hρ have hsum_nn : 0 ≤ ∑ α, v α * (ℓ j α) ^ 2 := sum_nonneg fun α _ => mul_nonneg (hv_nonneg α) (sq_nonneg _) have hmono : R * ∑ α, v α * (ℓ j α) ^ 2 ≤ R * (ρ ^ j * ∑ α, v α * (ℓ j α) ^ 2) := by have : ∑ α, v α * (ℓ j α) ^ 2 ≤ ρ ^ j * ∑ α, v α * (ℓ j α) ^ 2 := by simpa using mul_le_mul_of_nonneg_right hρj hsum_nn exact mul_le_mul_of_nonneg_left this hR.le exact le_trans hmono hbj have hR_pos : 0 < (|C| + 1) / S := div_pos (by positivity) hS_pos have hcontra := hRS_le ((|C| + 1) / S) hR_pos rw [div_mul_cancel₀ _ hS_pos.ne'] at hcontra have hle_abs : C ≤ |C| := le_abs_self C linarith
end NecessityObstruction
section EpsteinMatrix
variable {ι : Type*} [Fintype ι] [DecidableEq ι]
/-- **Proposition 12.2 (`prop:ep-matrix`), part 1**:If `M` is entrywise nonnegative, `ℓ α > 0`, `m β > 0`, and`∑_α (ℓ α)² * ((M^n) m)_α ≤ C` for all `n ≥ 1`, then every entry `(M^n) α β` is bounded by`C / ((ℓ α)² * m β)` for all `n ≥ 1`. -/theorem ep_matrix_entries_bounded (M : Matrix ι ι ℝ) (m ℓ : ι → ℝ) (C : ℝ) (hM : ∀ α β, 0 ≤ M α β) (hm : ∀ β, 0 < m β) (hℓ : ∀ α, 0 < ℓ α) (hbound : ∀ n : ℕ, 1 ≤ n → ∑ α, (ℓ α) ^ 2 * ((M ^ n).mulVec m) α ≤ C) : ∀ n : ℕ, 1 ≤ n → ∀ α β, (M ^ n) α β ≤ C / ((ℓ α) ^ 2 * m β) := by intro n hn α β have hMn : ∀ i j, 0 ≤ (M ^ n) i j := pow_nonneg_entries M hM n have hterm_le_vec : (M ^ n) α β * m β ≤ ((M ^ n).mulVec m) α := by rw [Matrix.mulVec, dotProduct] exact single_le_sum (fun j _ => mul_nonneg (hMn α j) (hm j).le) (mem_univ β) have hvec_nn : ∀ i, 0 ≤ ((M ^ n).mulVec m) i := fun i => by rw [Matrix.mulVec, dotProduct] exact sum_nonneg fun j _ => mul_nonneg (hMn i j) (hm j).le have hα_le_sum : (ℓ α) ^ 2 * ((M ^ n).mulVec m) α ≤ C := le_trans (single_le_sum (fun i _ => mul_nonneg (sq_nonneg (ℓ i)) (hvec_nn i)) (mem_univ α)) (hbound n hn) have hprod : (M ^ n) α β * ((ℓ α) ^ 2 * m β) ≤ C := by calc (M ^ n) α β * ((ℓ α) ^ 2 * m β) = (ℓ α) ^ 2 * ((M ^ n) α β * m β) := by ring _ ≤ (ℓ α) ^ 2 * ((M ^ n).mulVec m) α := mul_le_mul_of_nonneg_left hterm_le_vec (sq_nonneg _) _ ≤ C := hα_le_sum exact (le_div_iff₀ (mul_pos (sq_pos_of_pos (hℓ α)) (hm β))).mpr hprod
/-- **Proposition 12.2 (`prop:ep-matrix`), part 2**:Under the same hyperbolic-area bound on `M^n m`, no nonnegative nonzero eigenvector `M v = ρ v`can have eigenvalue `ρ > 1` (i.e. the Perron spectral radius satisfies `ρ(M) ≤ 1`). -/theorem ep_matrix_eig_le_one (M : Matrix ι ι ℝ) (m ℓ v : ι → ℝ) (ρ C : ℝ) (hM : ∀ α β, 0 ≤ M α β) (hm : ∀ β, 0 < m β) (hℓ : ∀ α, 0 < ℓ α) (hbound : ∀ n : ℕ, 1 ≤ n → ∑ α, (ℓ α) ^ 2 * ((M ^ n).mulVec m) α ≤ C) (hv_nonneg : ∀ α, 0 ≤ v α) (hv_ne : v ≠ 0) (heig : M.mulVec v = ρ • v) : ρ ≤ 1 := by by_contra hgt push Not at hgt obtain ⟨α0, hα0_ne⟩ : ∃ α0, v α0 ≠ 0 := Function.ne_iff.mp hv_ne have hα0_pos : 0 < v α0 := lt_of_le_of_ne (hv_nonneg α0) (Ne.symm hα0_ne) set B : ℝ := ∑ β, (C / ((ℓ α0) ^ 2 * m β)) * v β have hvec_bound : ∀ n : ℕ, 1 ≤ n → ρ ^ n * v α0 ≤ B := by intro n hn have hpow := congr_fun (pow_mulVec_of_mulVec_eq M v ρ heig n) α0 simp only [Pi.smul_apply, smul_eq_mul] at hpow rw [← hpow, Matrix.mulVec, dotProduct] refine sum_le_sum fun β _ => ?_ exact mul_le_mul_of_nonneg_right (ep_matrix_entries_bounded M m ℓ C hM hm hℓ hbound n hn α0 β) (hv_nonneg β) have hgrow : Tendsto (fun n : ℕ => ρ ^ n * v α0) atTop atTop := (tendsto_pow_atTop_atTop_of_one_lt hgt).atTop_mul_const hα0_pos obtain ⟨N, hN⟩ := Filter.eventually_atTop.mp ((eventually_ge_atTop (1 : ℕ)).and (hgrow.eventually_gt_atTop B)) obtain ⟨hn1, hnbig⟩ := hN N le_rfl have hle := hvec_bound N hn1 linarith
end EpsteinMatrix
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327import Mathlib
/-!# Section 3 (`eq:modulus`) and Section 8 (`sec:persistence`): Cylinder persistence contradiction
Formalization of the Teichmüller ray cylinder-modulus formula (`eq:modulus`, Section 3) and thecylinder persistence contradiction (`eq:coverage` and `sec:persistence`, Section 8) fromS. van Strien, *The Thurston algorithm for meromorphic and rational maps*(version 22, 3 December 2026).
Paper outline:1. Along the Teichmüller ray, a maximal cylinder of constant area `A` and holonomy `(h, v)` has modulus `m_C(t) = A / (exp (2t) · h² + exp (-2t) · v²)` (`eq:modulus`). - If `h = 0` (vertical), `m_C(t)` grows like `exp (2t)` and tends to `+∞`. - If `h ≠ 0` (nonvertical), `m_C` is continuous and tends to `0` as `t → ∞`, hence hits any threshold `0 < K < m_C(t₀)` at some later time `t_* > t₀`.2. Sequential concentration along every sequence `t_n → ∞` upgrades to the real-time limit `μ(Σ \ U(t, K)) → 0` as `t → ∞` (`eq:coverage`).3. If every maximal cylinder is nonvertical, at most `r` cylinders have modulus `> K` at any time, distinct maximal cylinders of modulus `≥ K` are disjoint, and `μ(Σ \ U(t, K)) < δ < E / (r + 1)` for all `t ≥ t₀`, then some cylinder `C` active at `t₀` carries mass `> (E - δ) / r`, reaches modulus `K` at some `t_* > t₀`, and then sits disjoint from `U(t_*, K)`, yielding `δ < (E - δ) / r < μ(C) ≤ μ(Σ \ U(t_*, K)) < δ`, a contradiction.-/
open MeasureTheory Filter Topology
namespace Thurston.Core
/-! ### Part 1: Teichmüller ray cylinder modulus (`eq:modulus`) -/
/-- Modulus along the Teichmüller ray (`eq:modulus`) for a cylinder of area `A` and translationholonomy `(h, v)`: `m_C(t) = A / (e^{2t} h² + e^{-2t} v²)`. -/noncomputable def rayModulus (A h v t : ℝ) : ℝ := A / (Real.exp (2 * t) * h ^ 2 + Real.exp (-2 * t) * v ^ 2)
/-- The denominator `e^{2t} h² + e^{-2t} v²` is strictly positive whenever `(h, v) ≠ (0, 0)`. -/lemma rayModulus_denom_pos (h v : ℝ) (hhv : h ≠ 0 ∨ v ≠ 0) (t : ℝ) : 0 < Real.exp (2 * t) * h ^ 2 + Real.exp (-2 * t) * v ^ 2 := by rcases hhv with hh | hv · exact add_pos_of_pos_of_nonneg (mul_pos (Real.exp_pos _) (sq_pos_of_ne_zero hh)) (mul_nonneg (Real.exp_pos _).le (sq_nonneg _)) · exact add_pos_of_nonneg_of_pos (mul_nonneg (Real.exp_pos _).le (sq_nonneg _)) (mul_pos (Real.exp_pos _) (sq_pos_of_ne_zero hv))
/-- The ray modulus is continuous in `t` whenever `(h, v) ≠ (0, 0)`. -/theorem rayModulus_continuous (A h v : ℝ) (hhv : h ≠ 0 ∨ v ≠ 0) : Continuous (rayModulus A h v) := by unfold rayModulus refine continuous_const.div ?_ (fun t => (rayModulus_denom_pos h v hhv t).ne') have h1 : Continuous fun t : ℝ => Real.exp (2 * t) * h ^ 2 := (Real.continuous_exp.comp (continuous_const.mul continuous_id)).mul continuous_const have h2 : Continuous fun t : ℝ => Real.exp (-2 * t) * v ^ 2 := (Real.continuous_exp.comp (continuous_const.mul continuous_id)).mul continuous_const exact h1.add h2
/-- A nonvertical cylinder (`h ≠ 0`) has ray modulus tending to `0` as `t → ∞`. -/theorem rayModulus_tendsto_zero_of_nonvertical (A h v : ℝ) (hh : h ≠ 0) : Tendsto (rayModulus A h v) atTop (nhds 0) := by unfold rayModulus have hexp : Tendsto (fun t : ℝ => Real.exp (2 * t)) atTop atTop := Real.tendsto_exp_atTop.comp (tendsto_id.const_mul_atTop (by norm_num : (0 : ℝ) < 2)) have hlead : Tendsto (fun t : ℝ => Real.exp (2 * t) * h ^ 2) atTop atTop := hexp.atTop_mul_const (sq_pos_of_ne_zero hh) have hdenom : Tendsto (fun t : ℝ => Real.exp (2 * t) * h ^ 2 + Real.exp (-2 * t) * v ^ 2) atTop atTop := by refine tendsto_atTop_mono (fun t => ?_) hlead linarith [mul_nonneg (Real.exp_pos (-2 * t)).le (sq_nonneg v)] exact tendsto_const_nhds.div_atTop hdenom
/-- Any continuous function `f : ℝ → ℝ` tending to `0` at `+∞` with `f t₀ > K > 0` hits `K`at some strictly later time `t_star > t₀`. -/theorem exists_hitting_time_of_tendsto_zero {f : ℝ → ℝ} (hf : Continuous f) (htend : Tendsto f atTop (nhds 0)) {K t₀ : ℝ} (hK : 0 < K) (hgt : K < f t₀) : ∃ t_star > t₀, f t_star = K := by have hev : ∀ᶠ t in atTop, f t < K := htend.eventually (Iio_mem_nhds hK) rcases eventually_atTop.mp hev with ⟨t₁, ht₁⟩ set t₂ := max (t₀ + 1) t₁ have ht₀_lt_t₂ : t₀ < t₂ := lt_of_lt_of_le (by linarith) (le_max_left _ _) have hlt₂ : f t₂ < K := ht₁ t₂ (le_max_right _ _) have hmem : K ∈ Set.Icc (f t₂) (f t₀) := ⟨hlt₂.le, hgt.le⟩ rcases intermediate_value_Icc' ht₀_lt_t₂.le hf.continuousOn hmem with ⟨t_star, ht_mem, hft⟩ have hne : t_star ≠ t₀ := by intro heq rw [heq] at hft linarith exact ⟨t_star, lt_of_le_of_ne ht_mem.1 hne.symm, hft⟩
/-- A nonvertical cylinder (`h ≠ 0`) with modulus `> K > 0` at time `t₀` hits modulus `K` at somelater time `t_star > t₀`. -/theorem rayModulus_exists_hitting_time (A h v K t₀ : ℝ) (hh : h ≠ 0) (hK : 0 < K) (hgt : K < rayModulus A h v t₀) : ∃ t_star > t₀, rayModulus A h v t_star = K := exists_hitting_time_of_tendsto_zero (rayModulus_continuous A h v (Or.inl hh)) (rayModulus_tendsto_zero_of_nonvertical A h v hh) hK hgt
/-- A vertical cylinder (`h = 0`, `A > 0`, `v ≠ 0`) has ray modulus tending to `+∞` as `t → ∞`. -/theorem rayModulus_tendsto_atTop_of_vertical (A v : ℝ) (hA : 0 < A) (hv : v ≠ 0) : Tendsto (rayModulus A 0 v) atTop atTop := by have hrew : rayModulus A 0 v = fun t : ℝ => (A / v ^ 2) * Real.exp (2 * t) := by ext t unfold rayModulus have hneg : Real.exp (-2 * t) = (Real.exp (2 * t))⁻¹ := by rw [← Real.exp_neg] ring_nf rw [hneg] field_simp ring rw [hrew] have hexp : Tendsto (fun t : ℝ => Real.exp (2 * t)) atTop atTop := Real.tendsto_exp_atTop.comp (tendsto_id.const_mul_atTop (by norm_num : (0 : ℝ) < 2)) exact hexp.const_mul_atTop (div_pos hA (sq_pos_of_ne_zero hv))
/-! ### Part 2: Quantifier upgrade from sequential concentration (`eq:coverage`) -/
/-- If along every sequence `t_n → ∞` the value `g (t n)` eventually drops below `δ`, then`g t < δ` holds for all sufficiently large real times `t`. -/theorem eventually_lt_of_sequential {g : ℝ → ℝ} (hseq : ∀ t : ℕ → ℝ, Tendsto t atTop atTop → ∀ δ₀ > 0, ∃ n, g (t n) < δ₀) {δ : ℝ} (hδ : 0 < δ) : ∃ t₀ : ℝ, ∀ t ≥ t₀, g t < δ := by by_contra h push Not at h let seq : ℕ → ℝ := fun n => Classical.choose (h (n : ℝ)) have hge : ∀ n : ℕ, (n : ℝ) ≤ seq n := fun n => (Classical.choose_spec (h (n : ℝ))).1 have hval : ∀ n : ℕ, δ ≤ g (seq n) := fun n => (Classical.choose_spec (h (n : ℝ))).2 have htend : Tendsto seq atTop atTop := tendsto_atTop_mono hge tendsto_natCast_atTop_atTop rcases hseq seq htend δ hδ with ⟨n, hn⟩ linarith [hval n]
/-- **Quantifier upgrade (`eq:coverage`)**: if `g t ≥ 0` and every sequence `t_n → ∞` has a termwith `g (t n) < δ₀` for every `δ₀ > 0`, then `g t → 0` as `t → ∞` in the real parameter `t`. -/theorem tendsto_coverage_of_sequential {g : ℝ → ℝ} (hg : ∀ t, 0 ≤ g t) (hseq : ∀ t : ℕ → ℝ, Tendsto t atTop atTop → ∀ δ₀ > 0, ∃ n, g (t n) < δ₀) : Tendsto g atTop (nhds 0) := by rw [Metric.tendsto_atTop] intro ε hε rcases eventually_lt_of_sequential hseq hε with ⟨t₀, ht₀⟩ refine ⟨t₀, fun t ht => ?_⟩ rw [Real.dist_eq, sub_zero, abs_of_nonneg (hg t)] exact ht₀ t ht
/-! ### Part 3: Core measure-theoretic persistence contradiction (`sec:persistence`) -/
private lemma measureReal_biUnion_finset_le {Ω ι : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsFiniteMeasure μ] (s : Finset ι) (f : ι → Set Ω) : μ.real (⋃ i ∈ s, f i) ≤ ∑ i ∈ s, μ.real (f i) := by have h1 : μ (⋃ i ∈ s, f i) ≤ ∑ i ∈ s, μ (f i) := measure_biUnion_finset_le s f have hne : ∑ i ∈ s, μ (f i) ≠ ⊤ := (ENNReal.sum_lt_top.mpr (fun i _ => measure_lt_top μ (f i))).ne calc μ.real (⋃ i ∈ s, f i) = (μ (⋃ i ∈ s, f i)).toReal := rfl _ ≤ (∑ i ∈ s, μ (f i)).toReal := ENNReal.toReal_mono hne h1 _ = ∑ i ∈ s, μ.real (f i) := ENNReal.toReal_sum (fun i _ => measure_ne_top μ (f i))
/-- **Cylinder persistence contradiction (`sec:persistence`)**:on a finite measure space `(Ω, μ)` with total mass `E = μ.real univ > 0`, suppose every maximalcylinder is nonvertical (`m i` continuous and tending to `0`), at each time `t` at most `r`cylinders have modulus `> K > 0`, and distinct cylinders of modulus `≥ K` at the same time aredisjoint. Then the complement of the active union cannot have `μ`-mass `< δ < E / (r + 1)` atall sufficiently late times `t ≥ t₀`. -/theorem persistence_contradiction {Ω ι : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsFiniteMeasure μ] (hE : 0 < μ.real Set.univ) (cyl : ι → Set Ω) (m : ι → ℝ → ℝ) (K : ℝ) (hK : 0 < K) (r : ℕ) (δ : ℝ) (hδ : δ < μ.real Set.univ / ((r : ℝ) + 1)) (hnonvert : ∀ i, Continuous (m i) ∧ Tendsto (m i) atTop (nhds 0)) (active : ℝ → Finset ι) (hactive : ∀ t i, i ∈ active t ↔ K < m i t) (hcard : ∀ t, (active t).card ≤ r) (hdisj : ∀ t i j, i ≠ j → K ≤ m i t → K ≤ m j t → Disjoint (cyl i) (cyl j)) (hcov : ∃ t₀ : ℝ, ∀ t ≥ t₀, μ.real (Set.univ \ ⋃ i ∈ active t, cyl i) < δ) : False := by set E := μ.real Set.univ rcases hcov with ⟨t₀, ht₀⟩ have hcov₀ : μ.real (Set.univ \ ⋃ i ∈ active t₀, cyl i) < δ := ht₀ t₀ le_rfl -- Total mass is bounded by the active union plus its complement. have hunion_cov : E ≤ μ.real (⋃ i ∈ active t₀, cyl i) + μ.real (Set.univ \ ⋃ i ∈ active t₀, cyl i) := by have hsub : Set.univ ⊆ (⋃ i ∈ active t₀, cyl i) ∪ (Set.univ \ ⋃ i ∈ active t₀, cyl i) := by intro x _ by_cases hx : x ∈ ⋃ i ∈ active t₀, cyl i · exact Or.inl hx · exact Or.inr ⟨trivial, hx⟩ calc E ≤ μ.real ((⋃ i ∈ active t₀, cyl i) ∪ (Set.univ \ ⋃ i ∈ active t₀, cyl i)) := measureReal_mono hsub _ ≤ μ.real (⋃ i ∈ active t₀, cyl i) + μ.real (Set.univ \ ⋃ i ∈ active t₀, cyl i) := measureReal_union_le _ _ have hsum_gt : E - δ < ∑ i ∈ active t₀, μ.real (cyl i) := by linarith [measureReal_biUnion_finset_le μ (active t₀) cyl] -- Since `δ < E / (r + 1) ≤ E`, the active set at `t₀` is nonempty, forcing `r ≥ 1`. have hr1_pos : (0 : ℝ) < (r : ℝ) + 1 := by positivity have hδ_lt_E : δ < E := by have hle : E / ((r : ℝ) + 1) ≤ E := div_le_self hE.le (by linarith [Nat.cast_nonneg (α := ℝ) r]) exact lt_of_lt_of_le hδ hle have hnonempty : (active t₀).Nonempty := by by_contra hempty rw [Finset.not_nonempty_iff_eq_empty] at hempty rw [hempty, Finset.sum_empty] at hsum_gt linarith have hr_pos : (0 : ℝ) < (r : ℝ) := by have hcard_pos : 0 < (active t₀).card := Finset.Nonempty.card_pos hnonempty exact Nat.cast_pos.mpr (lt_of_lt_of_le hcard_pos (hcard t₀)) -- Pigeonhole: some cylinder `c ∈ active t₀` carries mass `> (E - δ) / r`. have hex_heavy : ∃ c ∈ active t₀, (E - δ) / (r : ℝ) < μ.real (cyl c) := by by_contra hnone push Not at hnone have hle : ∑ i ∈ active t₀, μ.real (cyl i) ≤ ∑ _i ∈ active t₀, (E - δ) / (r : ℝ) := Finset.sum_le_sum hnone rw [Finset.sum_const, nsmul_eq_mul] at hle have hcard_le : ((active t₀).card : ℝ) ≤ (r : ℝ) := Nat.cast_le.mpr (hcard t₀) have hq_nonneg : 0 ≤ (E - δ) / (r : ℝ) := div_nonneg (by linarith) hr_pos.le have hmul : ((active t₀).card : ℝ) * ((E - δ) / (r : ℝ)) ≤ (r : ℝ) * ((E - δ) / (r : ℝ)) := mul_le_mul_of_nonneg_right hcard_le hq_nonneg have hcancel : (r : ℝ) * ((E - δ) / (r : ℝ)) = E - δ := mul_div_cancel₀ _ hr_pos.ne' linarith rcases hex_heavy with ⟨c, hc_act, hc_mass⟩ -- Since `c` is nonvertical, its modulus drops from `> K` at `t₀` to `K` at some `t_star > t₀`. have hc_gt : K < m c t₀ := (hactive t₀ c).mp hc_act rcases exists_hitting_time_of_tendsto_zero (hnonvert c).1 (hnonvert c).2 hK hc_gt with ⟨t_star, ht_star, hm_star⟩ -- At time `t_star`, `cyl c` is disjoint from every cylinder in `active t_star`. have hc_sub : cyl c ⊆ Set.univ \ ⋃ i ∈ active t_star, cyl i := by intro x hx refine ⟨trivial, ?_⟩ simp only [Set.mem_iUnion, exists_prop, not_exists, not_and] intro j hj_act hxj have hj_gt : K < m j t_star := (hactive t_star j).mp hj_act have hne : c ≠ j := by intro heq rw [heq] at hm_star linarith have hd : Disjoint (cyl c) (cyl j) := hdisj t_star c j hne hm_star.ge hj_gt.le exact Set.disjoint_left.mp hd hx hxj -- Therefore `δ < (E - δ) / r < μ.real (cyl c) ≤ μ.real (univ \ U(t_star, K)) < δ`. have hmass_le : μ.real (cyl c) ≤ μ.real (Set.univ \ ⋃ i ∈ active t_star, cyl i) := measureReal_mono hc_sub have hcov_star : μ.real (Set.univ \ ⋃ i ∈ active t_star, cyl i) < δ := ht₀ t_star ht_star.le have hδ_lt_quot : δ < (E - δ) / (r : ℝ) := by rw [lt_div_iff₀ hr_pos] have h1 : δ * ((r : ℝ) + 1) < E := (lt_div_iff₀ hr1_pos).mp hδ linarith linarith
/-- Corollary of `persistence_contradiction` taking the real-time coverage limit`μ.real (univ \ U(t, K)) → 0` directly (automatically choosing `δ = E / (2 (r + 1))`). -/theorem persistence_contradiction_of_tendsto {Ω ι : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsFiniteMeasure μ] (hE : 0 < μ.real Set.univ) (cyl : ι → Set Ω) (m : ι → ℝ → ℝ) (K : ℝ) (hK : 0 < K) (r : ℕ) (hnonvert : ∀ i, Continuous (m i) ∧ Tendsto (m i) atTop (nhds 0)) (active : ℝ → Finset ι) (hactive : ∀ t i, i ∈ active t ↔ K < m i t) (hcard : ∀ t, (active t).card ≤ r) (hdisj : ∀ t i j, i ≠ j → K ≤ m i t → K ≤ m j t → Disjoint (cyl i) (cyl j)) (htend : Tendsto (fun t => μ.real (Set.univ \ ⋃ i ∈ active t, cyl i)) atTop (nhds 0)) : False := by set δ := μ.real Set.univ / (2 * ((r : ℝ) + 1)) have hr1_pos : (0 : ℝ) < (r : ℝ) + 1 := by positivity have hδ_pos : 0 < δ := by positivity have hδ_lt : δ < μ.real Set.univ / ((r : ℝ) + 1) := by dsimp only [δ] rw [div_lt_div_iff₀ (by positivity) hr1_pos] nlinarith have hcov : ∃ t₀ : ℝ, ∀ t ≥ t₀, μ.real (Set.univ \ ⋃ i ∈ active t, cyl i) < δ := eventually_atTop.mp (htend.eventually (Iio_mem_nhds hδ_pos)) exact persistence_contradiction μ hE cyl m K hK r δ hδ_lt hnonvert active hactive hcard hdisj hcov
/-- Specialization of `persistence_contradiction_of_tendsto` to cylinders whose moduli follow theTeichmüller ray formula `rayModulus (A i) (h i) (v i)` with no vertical cylinders (`h i ≠ 0`). -/theorem persistence_contradiction_rayModulus {Ω ι : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsFiniteMeasure μ] (hE : 0 < μ.real Set.univ) (cyl : ι → Set Ω) (A h v : ι → ℝ) (hh : ∀ i, h i ≠ 0) (K : ℝ) (hK : 0 < K) (r : ℕ) (active : ℝ → Finset ι) (hactive : ∀ t i, i ∈ active t ↔ K < rayModulus (A i) (h i) (v i) t) (hcard : ∀ t, (active t).card ≤ r) (hdisj : ∀ t i j, i ≠ j → K ≤ rayModulus (A i) (h i) (v i) t → K ≤ rayModulus (A j) (h j) (v j) t → Disjoint (cyl i) (cyl j)) (htend : Tendsto (fun t => μ.real (Set.univ \ ⋃ i ∈ active t, cyl i)) atTop (nhds 0)) : False := persistence_contradiction_of_tendsto μ hE cyl (fun i => rayModulus (A i) (h i) (v i)) K hK r (fun i => ⟨rayModulus_continuous (A i) (h i) (v i) (Or.inl (hh i)), rayModulus_tendsto_zero_of_nonvertical (A i) (h i) (v i) (hh i)⟩) active hactive hcard hdisj htend
/-- End-to-end Section 8 contradiction combining the ray modulus formula (`eq:modulus`), thesequential-to-real-time quantifier upgrade (`eq:coverage`), and cylinder persistence. -/theorem persistence_contradiction_rayModulus_of_sequential {Ω ι : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsFiniteMeasure μ] (hE : 0 < μ.real Set.univ) (cyl : ι → Set Ω) (A h v : ι → ℝ) (hh : ∀ i, h i ≠ 0) (K : ℝ) (hK : 0 < K) (r : ℕ) (active : ℝ → Finset ι) (hactive : ∀ t i, i ∈ active t ↔ K < rayModulus (A i) (h i) (v i) t) (hcard : ∀ t, (active t).card ≤ r) (hdisj : ∀ t i j, i ≠ j → K ≤ rayModulus (A i) (h i) (v i) t → K ≤ rayModulus (A j) (h j) (v j) t → Disjoint (cyl i) (cyl j)) (hseq : ∀ t : ℕ → ℝ, Tendsto t atTop atTop → ∀ δ₀ > 0, ∃ n, μ.real (Set.univ \ ⋃ i ∈ active (t n), cyl i) < δ₀) : False := persistence_contradiction_rayModulus μ hE cyl A h v hh K hK r active hactive hcard hdisj (tendsto_coverage_of_sequential (fun _ => measureReal_nonneg) hseq)
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554import Mathlib
/-!# Lemma 2.A (`l:pushforward`), holomorphy: push-forward of an integrable holomorphic differential
Standalone pure-Mathlib proof of the holomorphy of the push-forward `f_* η` for S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026),Lemma 2.A (`l:pushforward`).
Let `f : ℂ → ℂ` be entire and a covering map over the complement of a finite set `B`, and let`η : ℂ → ℂ` be holomorphic off a finite set `M` with `f(M) ⊆ B` and `|η|` integrable on `ℂ`.Then the push-forward coefficient``` (f_* η)(w) = ∑_{f(z) = w} η(z) / f'(z)²```(`pushCoeff f η`) is holomorphic on `Bᶜ` (`pushHolomorphic`).
The proof follows the standard argument:1. Over a disk `D = B(w₀, r) ⊆ Bᶜ`, the covering map `f` has a complete family of holomorphic inverse branches `ψ_j` with pairwise disjoint images (`exists_branches`), using `deriv_ne_zero_of_isCoveringMapOn`.2. The terms `u_j = η(ψ_j) ψ_j'²` (`pull`) are holomorphic on `D` (`differentiableOn_pull`), and their `L¹` norms on `D` equal the integrals of `|η|` over the disjoint images `ψ_j(D)` (`integral_pull_eq`), hence are summable (`summable_mass`).3. The area mean-value inequality (`area_mean`, proved from the circle mean value and polar coordinates) bounds `|u_j|` on `B(w₀, r/2)` uniformly by a constant times its `L¹` norm on `D`.4. Weierstrass's M-test (`Complex.differentiableOn_tsum_of_summable_norm`) yields holomorphy of `∑_j u_j`, which equals `pushCoeff f η` on `D` (`pushCoeff_eq_tsum_pull`).-/
open Filter Topology MeasureTheory Metric Setopen scoped ENNReal
namespace Thurston.Core
/-! ## Definitions and basic holomorphic helpers -/
/-- The coefficient of the push-forward `H_* η` at `w`: the sum of `η(z) / H'(z)²` over thefibre `H⁻¹(w)`. -/noncomputable def pushCoeff (H η : ℂ → ℂ) (w : ℂ) : ℂ := ∑' z : {z : ℂ // H z = w}, η z / deriv H z ^ 2
/-- The pullback `ψ^* η` of a quadratic differential coefficient: `η(ψ(w)) ψ'(w)²`. -/noncomputable def pull (ψ η : ℂ → ℂ) (w : ℂ) : ℂ := η (ψ w) * deriv ψ w ^ 2
/-- The statement that the push-forward of an integrable holomorphic quadratic differential underan entire map that is a covering map off a finite set `B` is holomorphic off `B`. -/def PushHolomorphic : Prop := ∀ (f η : ℂ → ℂ) (B M : Set ℂ), Differentiable ℂ f → B.Finite → IsCoveringMapOn f Bᶜ → M.Finite → (∀ a ∈ M, f a ∈ B) → DifferentiableOn ℂ η Mᶜ → Integrable (fun z => ‖η z‖) → DifferentiableOn ℂ (pushCoeff f η) Bᶜ
/-- The real Jacobian determinant of multiplication by a complex number `c` is `|c|²`. -/lemma det_smul_one_complex (c : ℂ) : (c • (1 : ℂ →L[ℝ] ℂ)).det = ‖c‖ ^ 2 := by have h : ((c • (1 : ℂ →L[ℝ] ℂ) : ℂ →L[ℝ] ℂ) : ℂ →ₗ[ℝ] ℂ) = Algebra.lmul ℝ ℂ c := by apply LinearMap.ext intro z simp rw [ContinuousLinearMap.det, h, ← Algebra.norm_apply, Algebra.norm_complex_apply, Complex.normSq_eq_norm_sq]
/-- A holomorphic function that is injective near a point has nonzero derivative there. -/lemma deriv_ne_zero_of_injOn_nhds {f : ℂ → ℂ} {z₁ : ℂ} (hf : AnalyticAt ℂ f z₁) {N : Set ℂ} (hN : N ∈ 𝓝 z₁) (hinj : Set.InjOn f N) : deriv f z₁ ≠ 0 := by intro hd0 have hz₁N : z₁ ∈ N := mem_of_mem_nhds hN have hNev : ∀ᶠ z in 𝓝 z₁, z ∈ N := hN have hpt : ∀ {p : ℂ → Prop}, (∀ᶠ z in 𝓝 z₁, p z) → ∃ z, z ≠ z₁ ∧ p z := by intro p hp obtain ⟨ε, hε, hball⟩ := Metric.eventually_nhds_iff.mp hp refine ⟨z₁ + ((ε / 2 : ℝ) : ℂ), ?_, hball ?_⟩ · intro h have h2 : (((ε / 2 : ℝ) : ℂ)) = 0 := by linear_combination h have h3 : (ε / 2 : ℝ) = 0 := by exact_mod_cast h2 linarith · rw [dist_eq_norm, add_sub_cancel_left, Complex.norm_real, Real.norm_eq_abs, abs_of_pos (half_pos hε)] linarith have hF : AnalyticAt ℂ (fun z => f z - f z₁) z₁ := hf.sub analyticAt_const have hnz : ¬ ∀ᶠ z in 𝓝 z₁, f z - f z₁ = 0 := by intro hev obtain ⟨z, hz, hz0, hzN⟩ := hpt (hev.and hNev) exact hz (hinj hzN hz₁N (sub_eq_zero.mp hz0)) obtain ⟨n, g, hg, hg0, hfac⟩ := hF.exists_eventuallyEq_pow_smul_ne_zero_iff.mpr hnz have hn0 : n ≠ 0 := by intro h0 have h1 := hfac.self_of_nhds rw [h0, pow_zero, one_smul, sub_self] at h1 exact hg0 h1.symm have hn1 : n ≠ 1 := by intro h1 have h2 : (fun z => f z - f z₁) =ᶠ[𝓝 z₁] fun z => (z - z₁) * g z := by filter_upwards [hfac] with z hz rw [hz, h1, pow_one, smul_eq_mul] have h3 : HasDerivAt (fun z => (z - z₁) * g z) (1 * g z₁ + (z₁ - z₁) * deriv g z₁) z₁ := ((hasDerivAt_id z₁).sub_const z₁).mul hg.differentiableAt.hasDerivAt have h4 : deriv (fun z => f z - f z₁) z₁ = g z₁ := by rw [h2.deriv_eq, h3.deriv] ring rw [deriv_sub_const, hd0] at h4 exact hg0 h4.symm have hn2 : 1 < n := by omega obtain ⟨c, hc⟩ := IsAlgClosed.exists_pow_nat_eq (g z₁) (Nat.pos_of_ne_zero hn0) have hc0 : c ≠ 0 := by rintro rfl rw [zero_pow hn0] at hc exact hg0 hc.symm obtain ⟨h, hh⟩ : ∃ h : ℂ → ℂ, ∀ z, h z = (z - z₁) * c * Complex.exp (Complex.log (g z / g z₁) / n) := ⟨_, fun _ => rfl⟩ have han : AnalyticAt ℂ h z₁ := by have h1 : AnalyticAt ℂ (fun z => g z / g z₁) z₁ := hg.div_const have h2 : AnalyticAt ℂ (fun z => Complex.log (g z / g z₁)) z₁ := h1.clog (by rw [div_self hg0]; exact Complex.one_mem_slitPlane) have h3 : AnalyticAt ℂ (fun z => Complex.exp (Complex.log (g z / g z₁) / n)) z₁ := h2.div_const.cexp' have h4 : AnalyticAt ℂ (fun z => (z - z₁) * c * Complex.exp (Complex.log (g z / g z₁) / n)) z₁ := ((analyticAt_id.sub analyticAt_const).mul analyticAt_const).mul h3 exact h4.congr (Eventually.of_forall fun z => (hh z).symm) have hh0 : h z₁ = 0 := by rw [hh, sub_self, zero_mul, zero_mul] have hhne : ∀ z, z ≠ z₁ → h z ≠ 0 := fun z hz => by rw [hh] exact mul_ne_zero (mul_ne_zero (sub_ne_zero.mpr hz) hc0) (Complex.exp_ne_zero _) have heq : ∀ᶠ z in 𝓝 z₁, f z - f z₁ = h z ^ n := by filter_upwards [hfac, hg.continuousAt.eventually_ne hg0] with z hz hgz have hnC : (n : ℂ) ≠ 0 := by exact_mod_cast hn0 have h1 : Complex.exp (Complex.log (g z / g z₁) / n) ^ n = g z / g z₁ := by rw [← Complex.exp_nat_mul, mul_div_cancel₀ _ hnC, Complex.exp_log (div_ne_zero hgz hg0)] rw [hz, smul_eq_mul, hh, mul_pow, mul_pow, h1, hc] field_simp have hmap : 𝓝 (h z₁) ≤ map h (𝓝 z₁) := by rcases han.eventually_constant_or_nhds_le_map_nhds with hconst | hm · exfalso obtain ⟨z, hz, hzc⟩ := hpt hconst exact hhne z hz (hzc.trans hh0) · exact hm have hN' : N ∩ {z | f z - f z₁ = h z ^ n} ∈ 𝓝 z₁ := inter_mem hN heq have himg := hmap (image_mem_map hN') rw [hh0] at himg obtain ⟨ε, hε, hball⟩ := Metric.mem_nhds_iff.mp himg have hω := Complex.isPrimitiveRoot_exp n hn0 obtain ⟨ω, hωdef⟩ : ∃ ω : ℂ, ω = Complex.exp (2 * Real.pi * Complex.I / n) := ⟨_, rfl⟩ rw [← hωdef] at hω have hωn : ω ^ n = 1 := hω.pow_eq_one have hω1 : ω ≠ 1 := hω.ne_one hn2 have hωnorm : ‖ω‖ = 1 := Complex.norm_eq_one_of_pow_eq_one hωn hn0 obtain ⟨u, hu⟩ : ∃ u : ℂ, u = ((ε / 2 : ℝ) : ℂ) := ⟨_, rfl⟩ have hu0 : u ≠ 0 := by rw [hu] exact_mod_cast (half_pos hε).ne' have hunorm : ‖u‖ = ε / 2 := by rw [hu, Complex.norm_real, Real.norm_eq_abs, abs_of_pos (half_pos hε)] have hu1 : u ∈ ball (0 : ℂ) ε := by rw [mem_ball_zero_iff, hunorm] linarith have hu2 : ω * u ∈ ball (0 : ℂ) ε := by rw [mem_ball_zero_iff, norm_mul, hωnorm, one_mul, hunorm] linarith obtain ⟨z, ⟨hzN, hzf⟩, hzu⟩ := hball hu1 obtain ⟨z', ⟨hz'N, hz'f⟩, hz'u⟩ := hball hu2 have hzf' : f z - f z₁ = h z ^ n := hzf have hz'f' : f z' - f z₁ = h z' ^ n := hz'f have hsame : f z = f z' := by have h1 : f z - f z₁ = f z' - f z₁ := by rw [hzf', hz'f', hzu, hz'u, mul_pow, hωn, one_mul] exact sub_left_injective h1 have hzz : z = z' := hinj hzN hz'N hsame rw [hzz, hz'u] at hzu have h2 : (ω - 1) * u = 0 := by linear_combination hzu rcases mul_eq_zero.mp h2 with h3 | h3 · exact hω1 (sub_eq_zero.mp h3) · exact hu0 h3
/-- An entire map has nonzero derivative at every point over a set on which it is a coveringmap. -/lemma deriv_ne_zero_of_isCoveringMapOn {H : ℂ → ℂ} (hH : Differentiable ℂ H) {s : Set ℂ} (cov : IsCoveringMapOn H s) {z : ℂ} (hz : H z ∈ s) : deriv H z ≠ 0 := by obtain ⟨e, hze, he⟩ := cov.isLocalHomeomorphOn z hz have hinj : Set.InjOn H e.source := by rw [he] exact e.injOn exact deriv_ne_zero_of_injOn_nhds (hH.analyticAt z) (e.open_source.mem_nhds hze) hinj
/-! ## The area mean-value inequality -/
/-- A translate `c + z` lies in the disk `B(c, r)` exactly when `z` lies in `B(0, r)`. -/lemma add_mem_ball_iff {c z : ℂ} {r : ℝ} : c + z ∈ ball c r ↔ z ∈ ball (0 : ℂ) r := by simp [mem_ball, dist_eq_norm]
/-- The point of polar coordinates `(s, θ)` moved to the centre `c` is `circleMap c s θ`. -/lemma add_polarCoord_symm (c : ℂ) (s θ : ℝ) : c + Complex.polarCoord.symm (s, θ) = circleMap c s θ := by simp [circleMap, Complex.exp_mul_I, ← Complex.ofReal_cos, ← Complex.ofReal_sin]
/-- The integral over `(-π, π)` of a function holomorphic on `B(c, r)` along the circle of radius`s < r` about `c` is `2π` times its value at `c`. -/lemma integral_circle_eq {u : ℂ → ℂ} {c : ℂ} {s r : ℝ} (hs : 0 < s) (hsr : s < r) (hu : DifferentiableOn ℂ u (ball c r)) : ∫ θ in Ioo (-Real.pi) Real.pi, u (c + Complex.polarCoord.symm (s, θ)) = (2 * Real.pi : ℂ) * u c := by have hd : DiffContOnCl ℂ u (ball c |s|) := by rw [abs_of_pos hs] apply DifferentiableOn.diffContOnCl rw [closure_ball c hs.ne'] exact hu.mono (closedBall_subset_ball hsr) have hmv := hd.circleAverage have hper : Function.Periodic (fun θ => u (circleMap c s θ)) (2 * Real.pi) := fun θ => by simp only [periodic_circleMap c s θ] simp_rw [add_polarCoord_symm] rw [← integral_Ioc_eq_integral_Ioo, ← intervalIntegral.integral_of_le (by linarith [Real.pi_pos])] have h2 := hper.intervalIntegral_add_eq (-Real.pi) 0 rw [show -Real.pi + 2 * Real.pi = Real.pi by ring, zero_add] at h2 rw [h2] rw [Real.circleAverage_def] at hmv have hpi : (2 * Real.pi : ℂ) ≠ 0 := by have := Real.pi_pos exact_mod_cast (by positivity : (2 * Real.pi : ℝ) ≠ 0) rw [← hmv, Complex.real_smul] push_cast field_simp
/-- The integral of `s` over `(0, r)` is `r² / 2`, in `ℝ≥0∞`. -/lemma lintegral_Ioo_ofReal_id {r : ℝ} (hr : 0 < r) : ∫⁻ s in Ioo 0 r, ENNReal.ofReal s = ENNReal.ofReal (r ^ 2 / 2) := by have hint : IntegrableOn (fun s : ℝ => s) (Ioo 0 r) := (continuous_id.integrableOn_Icc (a := 0) (b := r)).mono_set Ioo_subset_Icc_self rw [← ofReal_integral_eq_lintegral_ofReal hint ((ae_restrict_iff' measurableSet_Ioo).2 (Eventually.of_forall fun s hs => hs.1.le)), ← integral_Ioc_eq_integral_Ioo, ← intervalIntegral.integral_of_le hr.le, integral_id] congr 1 ring
/-- **The area mean-value inequality**, in `ℝ≥0∞`: if `u` is holomorphic on the disk `B(c, r)`,then `π r² |u(c)| ≤ ∫_{B(c, r)} |u|`. -/theorem area_mean_lintegral {u : ℂ → ℂ} {c : ℂ} {r : ℝ} (hr : 0 < r) (hu : DifferentiableOn ℂ u (ball c r)) : ENNReal.ofReal (Real.pi * r ^ 2) * ‖u c‖ₑ ≤ ∫⁻ z in ball c r, ‖u z‖ₑ := by classical set G : ℂ → ℝ≥0∞ := (ball (0 : ℂ) r).indicator (fun z => ‖u (c + z)‖ₑ) with hG have hGm : Measurable G := by have hcont : ContinuousOn (fun z => ‖u (c + z)‖ₑ) (ball (0 : ℂ) r) := by have h1 : ContinuousOn (fun z => u (c + z)) (ball (0 : ℂ) r) := hu.continuousOn.comp (by fun_prop) (fun z hz => add_mem_ball_iff.2 hz) exact continuous_enorm.comp_continuousOn h1 rw [hG, ← piecewise_eq_indicator] exact hcont.measurable_piecewise continuousOn_const measurableSet_ball have htrans : ∫⁻ z in ball c r, ‖u z‖ₑ = ∫⁻ z, G z := by rw [← lintegral_indicator measurableSet_ball, ← lintegral_add_left_eq_self _ c] refine lintegral_congr fun z => ?_ simp only [hG, indicator, add_mem_ball_iff] set F : ℝ × ℝ → ℝ≥0∞ := fun p => ENNReal.ofReal p.1 • G (Complex.polarCoord.symm p) with hF have hsymm : Measurable (Complex.polarCoord.symm : ℝ × ℝ → ℂ) := by have h : (Complex.polarCoord.symm : ℝ × ℝ → ℂ) = fun p => Complex.measurableEquivRealProd.symm (polarCoord.symm p) := funext fun p => (Complex.measurableEquivRealProd_symm_polarCoord_symm_apply p).symm rw [h] exact Complex.measurableEquivRealProd.symm.measurable.comp continuous_polarCoord_symm.measurable have hFm : Measurable F := (ENNReal.measurable_ofReal.comp measurable_fst).smul (hGm.comp hsymm) have hpolar : ∫⁻ z, G z = ∫⁻ s in Ioi (0 : ℝ), ∫⁻ θ in Ioo (-Real.pi) Real.pi, F (s, θ) := by rw [← Complex.lintegral_comp_polarCoord_symm, polarCoord_target, Measure.volume_eq_prod, ← Measure.prod_restrict, lintegral_prod _ hFm.aemeasurable] have hinner : ∀ s ∈ Ioo 0 r, ENNReal.ofReal s * ENNReal.ofReal (2 * Real.pi * ‖u c‖) ≤ ∫⁻ θ in Ioo (-Real.pi) Real.pi, F (s, θ) := by intro s hs have h1 : ∀ θ, F (s, θ) = ENNReal.ofReal s * ‖u (c + Complex.polarCoord.symm (s, θ))‖ₑ := by intro θ have hmem : Complex.polarCoord.symm (s, θ) ∈ ball (0 : ℂ) r := by rw [mem_ball, dist_zero_right, Complex.norm_polarCoord_symm, abs_of_pos hs.1] exact hs.2 simp only [hF, hG, indicator_of_mem hmem, smul_eq_mul] simp_rw [h1] rw [lintegral_const_mul' _ _ ENNReal.ofReal_ne_top] gcongr calc ENNReal.ofReal (2 * Real.pi * ‖u c‖) = ‖∫ θ in Ioo (-Real.pi) Real.pi, u (c + Complex.polarCoord.symm (s, θ))‖ₑ := by rw [integral_circle_eq hs.1 hs.2 hu, ← ofReal_norm, norm_mul] congr 1 rw [Complex.norm_mul] simp [abs_of_pos Real.pi_pos] _ ≤ _ := enorm_integral_le_lintegral_enorm _ have hK : ENNReal.ofReal (2 * Real.pi * ‖u c‖) ≠ ⊤ := ENNReal.ofReal_ne_top calc ENNReal.ofReal (Real.pi * r ^ 2) * ‖u c‖ₑ = (∫⁻ s in Ioo 0 r, ENNReal.ofReal s) * ENNReal.ofReal (2 * Real.pi * ‖u c‖) := by rw [lintegral_Ioo_ofReal_id hr, ← ENNReal.ofReal_mul (by positivity), ← ofReal_norm, ← ENNReal.ofReal_mul (by positivity)] congr 1 ring _ = ��⁻ s in Ioo 0 r, ENNReal.ofReal s * ENNReal.ofReal (2 * Real.pi * ‖u c‖) := (lintegral_mul_const' _ _ hK).symm _ ≤ ∫⁻ s in Ioo 0 r, ∫⁻ θ in Ioo (-Real.pi) Real.pi, F (s, θ) := setLIntegral_mono' measurableSet_Ioo hinner _ ≤ ∫⁻ s in Ioi 0, ∫⁻ θ in Ioo (-Real.pi) Real.pi, F (s, θ) := lintegral_mono_set Ioo_subset_Ioi_self _ = ∫⁻ z in ball c r, ‖u z‖ₑ := by rw [htrans, hpolar]
/-- **The area mean-value inequality**: if `u` is holomorphic on the disk `B(c, r)` and `|u|` isintegrable there, then `|u(c)| ≤ (π r²)⁻¹ ∫_{B(c, r)} |u|`. -/theorem area_mean {u : ℂ → ℂ} {c : ℂ} {r : ℝ} (hr : 0 < r) (hu : DifferentiableOn ℂ u (ball c r)) (hint : IntegrableOn (fun z => ‖u z‖) (ball c r)) : ‖u c‖ ≤ (Real.pi * r ^ 2)⁻¹ * ∫ z in ball c r, ‖u z‖ := by have hpos : 0 < Real.pi * r ^ 2 := by positivity have h1 := area_mean_lintegral hr hu rw [← ofReal_norm, ← ENNReal.ofReal_mul hpos.le] at h1 have h2 : ∫⁻ z in ball c r, ‖u z‖ₑ = ENNReal.ofReal (∫ z in ball c r, ‖u z‖) := by rw [ofReal_integral_eq_lintegral_ofReal hint (Eventually.of_forall fun z => norm_nonneg _)] exact lintegral_congr fun z => (ofReal_norm _).symm rw [h2, ENNReal.ofReal_le_ofReal_iff (integral_nonneg fun z => norm_nonneg _)] at h1 rw [inv_mul_eq_div, le_div_iff₀ hpos, mul_comm] exact h1
/-! ## Inverse branches over a disk -/
/-- Inverse branches of a covering over a disk `B(w₀, r)` inside the covered set, indexed by thefibre over `w₀`: each is holomorphic on the disk and a right inverse of `f` there, their images arepairwise disjoint, and every point over the disk is the value of one of them. -/theorem exists_branches {f : ℂ → ℂ} (hf : Differentiable ℂ f) {s : Set ℂ} (cov : IsCoveringMapOn f s) {w₀ : ℂ} {r : ℝ} (hr : 0 < r) (hs : ball w₀ r ⊆ s) : ∃ ψ : {z : ℂ // f z = w₀} → ℂ → ℂ, (∀ j, DifferentiableOn ℂ (ψ j) (ball w₀ r)) ∧ (∀ j, ∀ w ∈ ball w₀ r, f (ψ j w) = w) ∧ (Pairwise fun j k => Disjoint (ψ j '' ball w₀ r) (ψ k '' ball w₀ r)) ∧ ∀ w ∈ ball w₀ r, ∀ z, f z = w → ∃ j, ψ j w = z := by classical have : ContractibleSpace (ball w₀ r) := (convex_ball w₀ r).contractibleSpace ⟨w₀, mem_ball_self hr⟩ have : LocallyPathConnectedSpace (ball w₀ r) := isOpen_ball.locallyPathConnectedSpace obtain ⟨g, hg⟩ : ∃ g : C(ball w₀ r, ℂ), ∀ a, g a = a.1 := ⟨⟨fun a => a.1, by fun_prop⟩, fun _ => rfl⟩ have hgs : ∀ a, g a ∈ s := fun a => by rw [hg a] exact hs a.2 obtain ⟨a₀, ha₀⟩ : ∃ a₀ : ball w₀ r, a₀.1 = w₀ := ⟨⟨w₀, mem_ball_self hr⟩, rfl⟩ have huniq : ∀ (F G : C(ball w₀ r, ℂ)) (a : ball w₀ r), f ∘ F = g → f ∘ G = g → F a = G a → F = G := by intro F G a hF hG hFG have hu := cov.existsUnique_continuousMap_lifts g (a₀ := a) (e₀ := F a) (congrFun hF a) hgs exact hu.unique ⟨rfl, hF⟩ ⟨hFG.symm, hG⟩ have hex : ∀ j : {z : ℂ // f z = w₀}, ∃ F : C(ball w₀ r, ℂ), F a₀ = j.1 ∧ f ∘ F = g := fun j => (cov.existsUnique_continuousMap_lifts g (a₀ := a₀) (e₀ := j.1) (by rw [hg a₀, ha₀]; exact j.2) hgs).exists choose F hF₀ hFlift using hex obtain ⟨ψ, hval⟩ : ∃ ψ : {z : ℂ // f z = w₀} → ℂ → ℂ, ∀ j w (hw : w ∈ ball w₀ r), ψ j w = F j ⟨w, hw⟩ := ⟨fun j w => if hw : w ∈ ball w₀ r then F j ⟨w, hw⟩ else 0, fun j w hw => by simp [hw]⟩ have hfψ : ∀ j, ∀ w ∈ ball w₀ r, f (ψ j w) = w := by intro j w hw have h1 := congrFun (hFlift j) ⟨w, hw⟩ rw [hg] at h1 rw [hval j w hw] exact h1 have hcont : ∀ j, ContinuousOn (ψ j) (ball w₀ r) := by intro j rw [continuousOn_iff_continuous_domRestrict] have h1 : (ball w₀ r).domRestrict (ψ j) = F j := funext fun a => hval j a.1 a.2 rw [h1] exact (F j).continuous refine ⟨ψ, fun j w hw => ?_, hfψ, ?_, ?_⟩ · have hnhds : ball w₀ r ∈ 𝓝 w := isOpen_ball.mem_nhds hw have hca : ContinuousAt (ψ j) w := (hcont j).continuousAt hnhds have hne : deriv f (ψ j w) ≠ 0 := deriv_ne_zero_of_isCoveringMapOn hf cov (by rw [hfψ j w hw]; exact hs hw) have hstrict : HasStrictDerivAt f (deriv f (ψ j w)) (ψ j w) := (hf.analyticAt (ψ j w)).hasStrictDerivAt obtain ⟨gi, hgi⟩ : ∃ gi : ℂ → ℂ, gi = hstrict.localInverse f (deriv f (ψ j w)) (ψ j w) hne := ⟨_, rfl⟩ have hleft : ∀ᶠ x in 𝓝 (ψ j w), gi (f x) = x := by rw [hgi] exact hstrict.eventually_left_inverse hne have hgd : DifferentiableAt ℂ gi (f (ψ j w)) := by rw [hgi] exact (hstrict.to_localInverse hne).hasDerivAt.differentiableAt rw [hfψ j w hw] at hgd have hev : ψ j =ᶠ[𝓝 w] gi := by filter_upwards [hca.eventually hleft, hnhds] with w' h1 h2 calc ψ j w' = gi (f (ψ j w')) := h1.symm _ = gi w' := by rw [hfψ j w' h2] exact (hgd.congr_of_eventuallyEq hev).differentiableWithinAt · intro j k hjk rw [Set.disjoint_left] rintro z ⟨w, hw, rfl⟩ ⟨w', hw', hw'z⟩ have hww : w' = w := by rw [← hfψ k w' hw', hw'z, hfψ j w hw] subst hww have hFeq : F k = F j := huniq (F k) (F j) ⟨w', hw⟩ (hFlift k) (hFlift j) (by rw [← hval k w' hw, ← hval j w' hw]; exact hw'z) have hkj : k = j := Subtype.ext (by rw [← hF₀ k, ← hF₀ j, hFeq]) exact hjk hkj.symm · intro w hw z hz obtain ⟨G, hG₁, hG₂⟩ := (cov.existsUnique_continuousMap_lifts g (a₀ := ⟨w, hw⟩) (e₀ := z) (by rw [hg]; exact hz) hgs).exists have hj : f (G a₀) = w₀ := by have h1 := congrFun hG₂ a₀ rw [hg a₀, ha₀] at h1 exact h1 refine ⟨⟨G a₀, hj⟩, ?_⟩ have hFG : F ⟨G a₀, hj⟩ = G := huniq _ _ a₀ (hFlift _) hG₂ (hF₀ _) rw [hval _ w hw, hFG] exact hG₁
/-! ## The terms `u_j = η(ψ_j) ψ_j'²` -/
/-- A holomorphic map on a disk has the real derivative `ψ'(w) • 1` within the disk. -/lemma hasFDerivWithinAt_of_differentiableOn {ψ : ℂ → ℂ} {w₀ : ℂ} {r : ℝ} (hψ : DifferentiableOn ℂ ψ (ball w₀ r)) : ∀ w ∈ ball w₀ r, HasFDerivWithinAt ψ (deriv ψ w • (1 : ℂ →L[ℝ] ℂ)) (ball w₀ r) w := by intro w hw have h1 : HasDerivAt ψ (deriv ψ w) w := (hψ.differentiableAt (isOpen_ball.mem_nhds hw)).hasDerivAt exact h1.complexToReal_fderiv.hasFDerivWithinAt
/-- A right inverse of `f` on a set is injective there. -/lemma injOn_of_rightInv {f ψ : ℂ → ℂ} {V : Set ℂ} (h : ∀ w ∈ V, f (ψ w) = w) : InjOn ψ V := fun a ha b hb hab => by rw [← h a ha, hab, h b hb]
/-- The norm of `η(ψ) ψ'²` is the real Jacobian `|ψ'|²` of `ψ` times `|η ∘ ψ|`. -/lemma norm_pull_eq (ψ η : ℂ → ℂ) (w : ℂ) : ‖pull ψ η w‖ = |(deriv ψ w • (1 : ℂ →L[ℝ] ℂ)).det| • ‖η (ψ w)‖ := by rw [det_smul_one_complex, abs_of_nonneg (by positivity), smul_eq_mul, pull, norm_mul, norm_pow] ring
/-- Change of variables: `∫_D |η(ψ) ψ'²| = ∫_{ψ(D)} |η|` for a holomorphic right inverse `ψ` of`f` on the disk `D`. -/theorem integral_pull_eq {f η ψ : ℂ → ℂ} {w₀ : ℂ} {r : ℝ} (hψd : DifferentiableOn ℂ ψ (ball w₀ r)) (hψ : ∀ w ∈ ball w₀ r, f (ψ w) = w) : ∫ w in ball w₀ r, ‖pull ψ η w‖ = ∫ z in ψ '' ball w₀ r, ‖η z‖ := by rw [integral_image_eq_integral_abs_det_fderiv_smul volume measurableSet_ball (hasFDerivWithinAt_of_differentiableOn hψd) (injOn_of_rightInv hψ)] exact setIntegral_congr_fun measurableSet_ball fun w _ => norm_pull_eq ψ η w
/-- If `|η|` is integrable, then `|η(ψ) ψ'²|` is integrable on the disk `D`, for a holomorphicright inverse `ψ` of `f` on `D`. -/theorem integrableOn_pull {f η ψ : ℂ → ℂ} {w₀ : ℂ} {r : ℝ} (hψd : DifferentiableOn ℂ ψ (ball w₀ r)) (hψ : ∀ w ∈ ball w₀ r, f (ψ w) = w) (hint : Integrable fun z => ‖η z‖) : IntegrableOn (fun w => ‖pull ψ η w‖) (ball w₀ r) := by have h := (integrableOn_image_iff_integrableOn_abs_det_fderiv_smul volume measurableSet_ball (hasFDerivWithinAt_of_differentiableOn hψd) (injOn_of_rightInv hψ) (fun z => ‖η z‖)).1 hint.integrableOn exact h.congr_fun (fun w _ => (norm_pull_eq ψ η w).symm) measurableSet_ball
/-- The `L¹` norms on `D` of the terms `η(ψ_j) ψ_j'²` are summable, for holomorphic right inverses`ψ_j` of `f` on `D` with pairwise disjoint images, if `|η|` is integrable. -/theorem summable_mass {f η : ℂ → ℂ} {ι : Type*} {ψ : ι → ℂ → ℂ} {w₀ : ℂ} {r : ℝ} (hψd : ∀ j, DifferentiableOn ℂ (ψ j) (ball w₀ r)) (hψ : ∀ j, ∀ w ∈ ball w₀ r, f (ψ j w) = w) (hd : Pairwise fun j k => Disjoint (ψ j '' ball w₀ r) (ψ k '' ball w₀ r)) (hint : Integrable fun z => ‖η z‖) : Summable fun j => ∫ w in ball w₀ r, ‖pull (ψ j) η w‖ := by have hmeas : ∀ j, MeasurableSet (ψ j '' ball w₀ r) := fun j => measurable_image_of_fderivWithin measurableSet_ball (hasFDerivWithinAt_of_differentiableOn (hψd j)) (injOn_of_rightInv (hψ j)) refine summable_of_sum_le (c := ∫ z, ‖η z‖) (fun j => integral_nonneg fun w => norm_nonneg _) fun u => ?_ have h1 : ∑ j ∈ u, ∫ w in ball w₀ r, ‖pull (ψ j) η w‖ = ∑ j ∈ u, ∫ z in ψ j '' ball w₀ r, ‖η z‖ := Finset.sum_congr rfl fun j _ => integral_pull_eq (hψd j) (hψ j) rw [h1, ← integral_biUnion_finset u (fun j _ => hmeas j) (fun j _ k _ hjk => hd hjk) (fun j _ => hint.integrableOn)] exact setIntegral_le_integral hint (Eventually.of_forall fun z => norm_nonneg _)
/-- The term `η(ψ) ψ'²` is holomorphic on a disk `D` off `B`, for a holomorphic right inverse `ψ`of `f` on `D`, if `η` is holomorphic off a finite set `M` with `f(M) ⊆ B`. -/theorem differentiableOn_pull {f η ψ : ℂ → ℂ} {B M : Set ℂ} {w₀ : ℂ} {r : ℝ} (hM : M.Finite) (hMB : ∀ a ∈ M, f a ∈ B) (hη : DifferentiableOn ℂ η Mᶜ) (hD : ball w₀ r ⊆ Bᶜ) (hψd : DifferentiableOn ℂ ψ (ball w₀ r)) (hψ : ∀ w ∈ ball w₀ r, f (ψ w) = w) : DifferentiableOn ℂ (pull ψ η) (ball w₀ r) := by intro w hw have hnot : ψ w ∉ M := by intro hm have h1 := hMB _ hm rw [hψ w hw] at h1 exact hD hw h1 have hηd : DifferentiableAt ℂ η (ψ w) := hη.differentiableAt (hM.isClosed.isOpen_compl.mem_nhds hnot) have hψa : DifferentiableAt ℂ ψ w := hψd.differentiableAt (isOpen_ball.mem_nhds hw) have hdd : DifferentiableAt ℂ (deriv ψ) w := (hψd.deriv isOpen_ball).differentiableAt (isOpen_ball.mem_nhds hw) exact ((hηd.comp w hψa).mul (hdd.pow 2)).differentiableWithinAt
/-- On a disk `D` covered by a complete family of holomorphic right inverses `ψ_j` of an entire `f`with pairwise disjoint images, `pushCoeff f η = Σ_j η(ψ_j) ψ_j'²`. -/theorem pushCoeff_eq_tsum_pull {f η : ℂ → ℂ} (hf : Differentiable ℂ f) {ι : Type*} {ψ : ι → ℂ → ℂ} {w₀ : ℂ} {r : ℝ} (hψd : ∀ j, DifferentiableOn ℂ (ψ j) (ball w₀ r)) (hψ : ∀ j, ∀ w ∈ ball w₀ r, f (ψ j w) = w) (hd : Pairwise fun j k => Disjoint (ψ j '' ball w₀ r) (ψ k '' ball w₀ r)) (hc : ∀ w ∈ ball w₀ r, ∀ z, f z = w → ∃ j, ψ j w = z) {w : ℂ} (hw : w ∈ ball w₀ r) : pushCoeff f η w = ∑' j, pull (ψ j) η w := by have hbij : Function.Bijective (fun j => (⟨ψ j w, hψ j w hw⟩ : {z : ℂ // f z = w})) := by constructor · intro j k hjk by_contra hne have h1 : ψ k w = ψ j w := (congrArg Subtype.val hjk).symm exact Set.disjoint_left.mp (hd hne) ⟨w, hw, rfl⟩ ⟨w, hw, h1⟩ · rintro ⟨z, hz⟩ obtain ⟨j, hj⟩ := hc w hw z hz exact ⟨j, Subtype.ext hj⟩ have hsum : pushCoeff f η w = ∑' j, η (ψ j w) / deriv f (ψ j w) ^ 2 := by unfold pushCoeff exact ((Equiv.ofBijective _ hbij).tsum_eq (fun z : {z : ℂ // f z = w} => η z / deriv f z ^ 2)).symm rw [hsum] refine tsum_congr fun j => ?_ have hnhds : ball w₀ r ∈ 𝓝 w := isOpen_ball.mem_nhds hw have hψa : HasDerivAt (ψ j) (deriv (ψ j) w) w := ((hψd j).differentiableAt hnhds).hasDerivAt have hcomp : HasDerivAt (fun w => f (ψ j w)) (deriv f (ψ j w) * deriv (ψ j) w) w := (hf (ψ j w)).hasDerivAt.comp w hψa have hid : HasDerivAt (fun w => f (ψ j w)) 1 w := (hasDerivAt_id' w).congr_of_eventuallyEq (Filter.eventually_of_mem hnhds fun w' hw' => hψ j w' hw') have hone := hcomp.unique hid rw [pull, eq_inv_of_mul_eq_one_right hone, inv_pow, div_eq_mul_inv]
/-! ## Main theorem -/
/-- **Lemma 2.A (`l:pushforward`), holomorphy**: for `f` entire and a covering map over thecomplement of a finite set `B`, and `η` holomorphic off a finite set `M` with `f(M) ⊆ B` and`|η|` integrable, `pushCoeff f η` is holomorphic on `Bᶜ`. -/theorem pushHolomorphic : PushHolomorphic := by intro f η B M hf hB cov hM hMB hη hint w₀ hw₀ obtain ⟨r, hr, hD⟩ := Metric.isOpen_iff.1 hB.isClosed.isOpen_compl w₀ hw₀ obtain ⟨ψ, hψd, hψ, hd, hc⟩ := exists_branches hf cov hr hD have hρ : 0 < r / 2 := half_pos hr have hsub : ∀ w ∈ ball w₀ (r / 2), ball w (r / 2) ⊆ ball w₀ r := by intro w hw refine ball_subset_ball' ?_ rw [mem_ball] at hw linarith have hhalf : ball w₀ (r / 2) ⊆ ball w₀ r := ball_subset_ball (by linarith) have hle : ∀ j, ∀ w ∈ ball w₀ (r / 2), ‖pull (ψ j) η w‖ ≤ (Real.pi * (r / 2) ^ 2)⁻¹ * ∫ v in ball w₀ r, ‖pull (ψ j) η v‖ := by intro j w hw have hdiff := differentiableOn_pull hM hMB hη hD (hψd j) (hψ j) have hi := integrableOn_pull (hψd j) (hψ j) hint calc ‖pull (ψ j) η w‖ ≤ (Real.pi * (r / 2) ^ 2)⁻¹ * ∫ v in ball w (r / 2), ‖pull (ψ j) η v‖ := area_mean hρ (hdiff.mono (hsub w hw)) (hi.mono_set (hsub w hw)) _ ≤ (Real.pi * (r / 2) ^ 2)⁻¹ * ∫ v in ball w₀ r, ‖pull (ψ j) η v‖ := by refine mul_le_mul_of_nonneg_left ?_ (by positivity) exact setIntegral_mono_set hi (Eventually.of_forall fun v => norm_nonneg _) (Eventually.of_forall (hsub w hw)) have hsum : DifferentiableOn ℂ (fun w => ∑' j, pull (ψ j) η w) (ball w₀ (r / 2)) := Complex.differentiableOn_tsum_of_summable_norm ((summable_mass hψd hψ hd hint).mul_left _) (fun j => (differentiableOn_pull hM hMB hη hD (hψd j) (hψ j)).mono hhalf) isOpen_ball hle have heq : EqOn (pushCoeff f η) (fun w => ∑' j, pull (ψ j) η w) (ball w₀ (r / 2)) := fun w hw => pushCoeff_eq_tsum_pull hf hψd hψ hd hc (hhalf hw) exact ((hsum.congr heq).differentiableAt (isOpen_ball.mem_nhds (mem_ball_self hρ))).differentiableWithinAt
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422import Thurston.Core.RiemannHurwitzPolesimport Thurston.Core.LevyCycleChains
/-!# Theorem 7.9 (`thm:rat-components`): Component lemma for branched coverings (combinatorial core)
Formalization of the combinatorial core (Steps 0, 2, 3, 4, 5) of Theorem 7.9 (`thm:rat-components`)from S. van Strien, *The Thurston algorithm for meromorphic and rational maps*(version 22, 3 December 2026), directly reusing `Thurston.Core.RiemannHurwitzPoles`(`cor_poles_lower_bound`, `cor_poles_equality_rigidity`) and `Thurston.Core.LevyCycleChains`(`chain_has_levy_cycle_of_deg_one_block`):
- **Step 0 (`card_nonflat_le`)**: A monotone sequence `4 ≤ p 0 ≤ … ≤ p k ≤ N` has at most `N - 4` non-flat steps (`p j ≠ p (j + 1)`).- **Step 2 (`no_node_pole_at_depth_ge_r`)**: A degree-1 node-pole pullback chain into a multicurve of size `≤ r` with no Levy cycle must have depth `J < r`.- **Step 3 (`flat_step_unramified_at_node`, `no_flat_run_with_node`)**: At a flat step `j ≥ r`, `cor_poles_equality_rigidity` forces every critical point to lie over `P_j`, which contains no node point by Step 2; hence `R_j` is unramified at every node point, ruling out `r` consecutive flat steps ending at a node-bearing depth `a + r` (via `chain_has_levy_cycle_of_deg_one_block`).- **Step 5 (`interval_card_le_of_nonflat_and_flat_run`, `rat_components_j_star_bound`)**: At most `N - 4` non-flat steps cut the flat steps in `[r, j_* - 1)` into at most `N - 3` runs of length `≤ r - 1`, giving `j_* ≤ (N - 2) * (N - 3) < N ^ 2`.- **Combined (`thm_rat_components_combinatorial`)**: With `r = N - 3`, `k ≥ N ^ 2 + N₀`, and Step 4 (`k - j < N₀` at any node-free depth `j ≤ k`), the descent sequence cannot exist.-/
open Finset
namespace Thurston.Core
/-- A Levy cycle (minimal degree-1 repeat) in `[a, b]` for curve classes `α` and step degrees `d`.Matches the conclusion of `chain_has_levy_cycle_of_deg_one_block`. -/def HasLevyCycle {C : Type*} (α : ℕ → C) (d : ℕ → ℕ) (a b : ℕ) : Prop := ∃ i i', a ≤ i ∧ i < i' ∧ i' ≤ b ∧ α i = α i' ∧ (∀ u v, i ≤ u → u < v → v < i' → α u ≠ α v) ∧ (∀ j, i < j → j ≤ i' → d j = 1)
/-- Image orbit of a point `z` at depth `b` pushed forward through `R_j : w_{j+1} → w_j` todepths `i ≤ b`, satisfying `pullbackOrbit R b z b = z` and`pullbackOrbit R b z i = R i (pullbackOrbit R b z (i + 1))` for `i < b`. -/def pullbackOrbit {X : Type*} (R : ℕ → X → X) (b : ℕ) (z : X) (i : ℕ) : X := Nat.rec (motive := fun _ => X) z (fun m prev => R (b - 1 - m) prev) (b - i)
private lemma pullbackOrbit_self {X : Type*} (R : ℕ → X → X) (b : ℕ) (z : X) : pullbackOrbit R b z b = z := by simp [pullbackOrbit]
private lemma pullbackOrbit_step {X : Type*} (R : ℕ → X → X) (b : ℕ) (z : X) {i : ℕ} (hi : i < b) : pullbackOrbit R b z i = R i (pullbackOrbit R b z (i + 1)) := by have hsub : b - i = (b - (i + 1)) + 1 := by omega have hidx : b - 1 - (b - (i + 1)) = i := by omega unfold pullbackOrbit rw [hsub] dsimp only rw [hidx]
private lemma pullbackOrbit_ind {X : Type*} (R : ℕ → X → X) (Q : ℕ → X → Prop) (a b : ℕ) (z : X) (hb : Q b z) (hstep : ∀ i x, a ≤ i → i < b → Q (i + 1) x → Q i (R i x)) : ∀ i ∈ Icc a b, Q i (pullbackOrbit R b z i) := by have haux : ∀ m, m ≤ b - a → Q (b - m) (pullbackOrbit R b z (b - m)) := by intro m induction m with | zero => intro _ simpa [pullbackOrbit_self] using hb | succ m ih => intro hm have hlt : b - (m + 1) < b := by omega have hge : a ≤ b - (m + 1) := by omega have hsucc : b - (m + 1) + 1 = b - m := by omega rw [pullbackOrbit_step R b z hlt] refine hstep (b - (m + 1)) _ hge hlt ?_ rw [hsucc] exact ih (by omega) intro i hi rw [mem_Icc] at hi have hbm : b - (b - i) = i := by omega simpa [hbm] using haux (b - i) (by omega)
section Step0AndCounting
/-- **Step 0 of Theorem 7.9 (`thm:rat-components`)**: A monotone pole-count sequence`4 ≤ p 0 ≤ … ≤ p k ≤ N` has at most `N - 4` non-flat steps (`p j ≠ p (j + 1)`). -/theorem card_nonflat_le (p : ℕ → ℕ) (k N : ℕ) (hp0 : 4 ≤ p 0) (hmono : ∀ j < k, p j ≤ p (j + 1)) (hpk : p k ≤ N) : ((range k).filter fun j => p j ≠ p (j + 1)).card ≤ N - 4 := by have hbound : ∀ m ≤ k, ((range m).filter fun j => p j ≠ p (j + 1)).card + p 0 ≤ p m := by intro m induction m with | zero => intro _ simp | succ m ih => intro hm have hstep : p m ≤ p (m + 1) := hmono m (by omega) have hih := ih (by omega) rw [range_add_one, filter_insert] split_ifs with hne · rw [card_insert_of_notMem (by simp)] omega · omega have hk := hbound k le_rfl omega
/-- **Step 5 (run-length counting)**: If `[a, b)` contains at most `M` non-flat indices and norun of `r ≥ 1` consecutive flat indices, then `b - a ≤ M + (M + 1) * (r - 1)`. -/theorem interval_card_le_of_nonflat_and_flat_run (isFlat : ℕ → Prop) [DecidablePred isFlat] (a b M r : ℕ) (hr : 1 ≤ r) (hnonflat : ((Ico a b).filter fun j => ¬ isFlat j).card ≤ M) (hnoRun : ∀ s, a ≤ s → s + r ≤ b → ∃ j ∈ Ico s (s + r), ¬ isFlat j) : b - a ≤ M + (M + 1) * (r - 1) := by induction M generalizing a with | zero => by_contra h have har : a + r ≤ b := by omega obtain ⟨j, hj, hnf⟩ := hnoRun a le_rfl har rw [mem_Ico] at hj have hjmem : j ∈ (Ico a b).filter fun i => ¬ isFlat i := mem_filter.mpr ⟨mem_Ico.mpr ⟨hj.1, by omega⟩, hnf⟩ have hpos : 0 < ((Ico a b).filter fun i => ¬ isFlat i).card := card_pos.mpr ⟨j, hjmem⟩ omega | succ M ih => by_cases har : a + r ≤ b · obtain ⟨j, hj, hnf⟩ := hnoRun a le_rfl har rw [mem_Ico] at hj have hjmem : j ∈ (Ico a b).filter fun i => ¬ isFlat i := mem_filter.mpr ⟨mem_Ico.mpr ⟨hj.1, by omega⟩, hnf⟩ have hsub : ((Ico (j + 1) b).filter fun i => ¬ isFlat i) ⊆ ((Ico a b).filter fun i => ¬ isFlat i).erase j := by intro i hi rw [mem_filter, mem_Ico] at hi exact mem_erase.mpr ⟨by omega, mem_filter.mpr ⟨mem_Ico.mpr ⟨by omega, hi.1.2⟩, hi.2⟩⟩ have hcard_tail : ((Ico (j + 1) b).filter fun i => ¬ isFlat i).card ≤ M := by have hle := card_le_card hsub rw [card_erase_of_mem hjmem] at hle omega have htail := ih (j + 1) hcard_tail (fun s hs hsr => hnoRun s (by omega) hsr) have hmul : (M + 1 + 1) * (r - 1) = (M + 1) * (r - 1) + (r - 1) := by ring omega · have h1 : r - 1 ≤ (M + 1 + 1) * (r - 1) := Nat.le_mul_of_pos_left _ (by omega) omega
/-- **Step 5 (exact `j_*` bound)**: For `N ≥ 4` and `r = N - 3`, if `[r, j_* - 1)` has at most`N - 4` non-flat steps and no `r` consecutive flat steps, then`j_* ≤ (N - 2) * (N - 3)` and `(N - 2) * (N - 3) < N ^ 2`. -/theorem rat_components_j_star_bound (isFlat : ℕ → Prop) [DecidablePred isFlat] (N r j_star : ℕ) (hN : 4 ≤ N) (hr : r = N - 3) (hnonflat : ((Ico r (j_star - 1)).filter fun j => ¬ isFlat j).card ≤ N - 4) (hnoRun : ∀ s, r ≤ s → s + r ≤ j_star - 1 → ∃ j ∈ Ico s (s + r), ¬ isFlat j) : j_star ≤ (N - 2) * (N - 3) ∧ (N - 2) * (N - 3) < N ^ 2 := by have hcount := interval_card_le_of_nonflat_and_flat_run isFlat r (j_star - 1) (N - 4) r (by omega) hnonflat hnoRun set m := N - 4 have hN_eq : N = m + 4 := by omega have hr_eq : r = m + 1 := by omega have h1 : j_star ≤ (N - 2) * (N - 3) := by have hid : m + (m + 1) * m + (m + 2) = (m + 2) * (m + 1) := by ring have hsub : N - 2 = m + 2 := by omega have hsub3 : N - 3 = m + 1 := by omega rw [hsub, hsub3, ← hid] rw [hr_eq] at hcount have hrm : m + 1 - 1 = m := by omega rw [hrm] at hcount omega have h2 : (N - 2) * (N - 3) < N ^ 2 := by have hsub2 : N - 2 = m + 2 := by omega have hsub3 : N - 3 = m + 1 := by omega rw [hsub2, hsub3, hN_eq] nlinarith exact ⟨h1, h2⟩
end Step0AndCounting
section Steps2And3
/-- **Step 2 of Theorem 7.9 (`thm:rat-components`)**: From a degree-1 node-pole pullback chain`α 0, …, α J` into a multicurve `S` of size `≤ r` with no Levy cycle on `[0, J]`, deduce`J < r`. -/theorem no_node_pole_at_depth_ge_r {C : Type*} (α : ℕ → C) (d : ℕ → ℕ) (S : Finset C) (J r : ℕ) (hcard : S.card ≤ r) (hmem : ∀ i ≤ J, α i ∈ S) (hdeg1 : ∀ i ∈ Icc 1 J, d i = 1) (hnoLevy : ¬ HasLevyCycle α d 0 J) : J < r := by by_contra h have hrJ : r ≤ J := Nat.le_of_not_lt h have hcycle : HasLevyCycle α d 0 (0 + r) := chain_has_levy_cycle_of_deg_one_block α d S 0 r hcard (fun i hi => hmem i (by rw [mem_Icc] at hi; omega)) (fun i hi => hdeg1 i (by rw [mem_Icc] at hi; exact mem_Icc.mpr ⟨by omega, by omega⟩)) obtain ⟨i, i', hi, hii', hi'le, heq, hdist, hdeg⟩ := hcycle exact hnoLevy ⟨i, i', hi, hii', by omega, heq, hdist, hdeg⟩
/-- **Step 3 (part 1) of Theorem 7.9 (`thm:rat-components`)**: At a flat step(`|P_{j+1}| = |P_j|`), if `P_j` contains no node point and `R_j(z)` is a node point, then `R_j`is unramified at `z` (`deg z = 1`). When `deg R_j ≥ 2`, `cor_poles_equality_rigidity` forces all`2 * d - 2` ramification to lie in `E = R_j⁻¹(P_j)`, leaving zero ramification at `z ∉ E`. -/theorem flat_step_unramified_at_node {X : Type*} [DecidableEq X] (E P : Finset X) (R : X → X) (deg : X → ℕ) (isNode : X → Prop) (d : ℕ) (z : X) (hE_maps : ∀ w ∈ E, R w ∈ P) (hP_no_node : ∀ y ∈ P, ¬ isNode y) (hz_node : isNode (R z)) (hpos_E : ∀ w ∈ E, 1 ≤ deg w) (hpos_z : 1 ≤ deg z) (hsum : ∑ w ∈ E, deg w = d * P.card) (hrh : ∑ w ∈ insert z E, (deg w - 1) ≤ 2 * d - 2) (hd : 1 ≤ d) (hP4 : 4 ≤ P.card) (hflat : (E.filter fun w => deg w = 1).card = P.card) : deg z = 1 := by have hz_not_mem : z ∉ E := fun hzE => hP_no_node (R z) (hE_maps z hzE) hz_node rw [sum_insert hz_not_mem] at hrh rcases eq_or_lt_of_le hd with rfl | hd2 · omega · have hrh_E : ∑ w ∈ E, (deg w - 1) ≤ 2 * d - 2 := by omega have ⟨_, hϱ_eq, _⟩ := cor_poles_equality_rigidity E deg d P.card hpos_E hsum hrh_E hd2 hP4 hflat omega
/-- **Step 3 (part 2) of Theorem 7.9 (`thm:rat-components`)**: There is no `a ≥ r` such that`a, …, a + r - 1` are all flat and depth `a + r` has a node point: combining`flat_step_unramified_at_node` with `chain_has_levy_cycle_of_deg_one_block` produces a Levycycle. -/theorem no_flat_run_with_node {X C : Type*} [DecidableEq X] (P E : ℕ → Finset X) (R : ℕ → X → X) (dR : ℕ → ℕ) (locDeg : ℕ → X → ℕ) (isNode : ℕ → X → Prop) (curve : ℕ → X → C) (S : Finset C) (a r : ℕ) (ha : r ≤ a) (hS : S.card ≤ r) (hE_maps : ∀ j ∈ Ico a (a + r), ∀ w ∈ E j, R j w ∈ P j) (hP_no_node : ∀ j, r ≤ j → j < a + r → ∀ y ∈ P j, ¬ isNode j y) (hP4 : ∀ j ∈ Ico a (a + r), 4 ≤ (P j).card) (hdR : ∀ j ∈ Ico a (a + r), 1 ≤ dR j) (hpos : ∀ j ∈ Ico a (a + r), ∀ w, 1 ≤ locDeg j w) (hsum : ∀ j ∈ Ico a (a + r), ∑ w ∈ E j, locDeg j w = dR j * (P j).card) (hrh : ∀ j ∈ Ico a (a + r), ∀ z, ∑ w ∈ insert z (E j), (locDeg j w - 1) ≤ 2 * dR j - 2) (hnode : ∀ j ∈ Ico a (a + r), ∀ w, isNode (j + 1) w → isNode j (R j w)) (hcurve : ∀ j ∈ Icc a (a + r), ∀ w, isNode j w → curve j w ∈ S) (hflat : ∀ j ∈ Ico a (a + r), ((E j).filter fun w => locDeg j w = 1).card = (P j).card) {z : X} (hz : isNode (a + r) z) (hnoLevy : ¬ HasLevyCycle (fun i => curve i (pullbackOrbit R (a + r) z i)) (fun i => locDeg (i - 1) (pullbackOrbit R (a + r) z i)) a (a + r)) : False := by let orb := pullbackOrbit R (a + r) z have horb_node : ∀ i ∈ Icc a (a + r), isNode i (orb i) := pullbackOrbit_ind R isNode a (a + r) z hz fun i x hai hib hx => hnode i (mem_Ico.mpr ⟨hai, hib⟩) x hx have hmem : ∀ i ∈ Icc a (a + r), curve i (orb i) ∈ S := fun i hi => hcurve i hi (orb i) (horb_node i hi) have hdeg1 : ∀ i ∈ Icc (a + 1) (a + r), locDeg (i - 1) (orb i) = 1 := by intro i hi rw [mem_Icc] at hi have hj : i - 1 ∈ Ico a (a + r) := mem_Ico.mpr ⟨by omega, by omega⟩ have hsucc : i - 1 + 1 = i := by omega have hnode_i : isNode (i - 1 + 1) (orb i) := by rw [hsucc] exact horb_node i (mem_Icc.mpr ⟨by omega, hi.2⟩) exact flat_step_unramified_at_node (E (i - 1)) (P (i - 1)) (R (i - 1)) (locDeg (i - 1)) (isNode (i - 1)) (dR (i - 1)) (orb i) (hE_maps (i - 1) hj) (hP_no_node (i - 1) (by omega) (by omega)) (hnode (i - 1) hj (orb i) hnode_i) (fun w _ => hpos (i - 1) hj w) (hpos (i - 1) hj (orb i)) (hsum (i - 1) hj) (hrh (i - 1) hj (orb i)) (hdR (i - 1) hj) (hP4 (i - 1) hj) (hflat (i - 1) hj) exact hnoLevy (chain_has_levy_cycle_of_deg_one_block (fun i => curve i (orb i)) (fun i => locDeg (i - 1) (orb i)) S a r hS hmem hdeg1)
end Steps2And3
/-- **Theorem 7.9 (`thm:rat-components`), combinatorial core**:Putting Steps 0, 2, 3, 4, 5 together: for `N ≥ 4`, `r = N - 3`, `k ≥ N ^ 2 + N₀`, a descentsequence `w_0, …, w_k` satisfying pole bookkeeping (`cor:poles`), node lifting (`lem:lift`(i)),multicurve containment `|Γ_n| ≤ r`, no Levy cycles, and the Step-4 saturation bound(`k - j < N₀` whenever depth `j ≤ k` has no node point) cannot exist. -/theorem thm_rat_components_combinatorial {X C : Type*} [DecidableEq X] (N r N₀ k : ℕ) (hN : 4 ≤ N) (hr : r = N - 3) (hk : N ^ 2 + N₀ ≤ k) (P E : ℕ → Finset X) (R : ℕ → X → X) (dR : ℕ → ℕ) (locDeg : ℕ → X → ℕ) (isNode : ℕ → X → Prop) (curve : ℕ → X → C) (S : Finset C) (hS : S.card ≤ r) (hP0 : 4 ≤ (P 0).card) (hPk : (P k).card ≤ N) (hP_succ : ∀ j < k, P (j + 1) = (E j).filter fun w => locDeg j w = 1) (hE_maps : ∀ j < k, ∀ w ∈ E j, R j w ∈ P j) (hdR : ∀ j < k, 1 ≤ dR j) (hpos : ∀ j < k, ∀ w, 1 ≤ locDeg j w) (hsum : ∀ j < k, ∑ w ∈ E j, locDeg j w = dR j * (P j).card) (hrh : ∀ j < k, ∀ z, ∑ w ∈ insert z (E j), (locDeg j w - 1) ≤ 2 * dR j - 2) (hnode : ∀ j < k, ∀ w, isNode (j + 1) w → isNode j (R j w)) (hcurve : ∀ j ≤ k, ∀ w, isNode j w → curve j w ∈ S) (hnoLevy : ∀ a b, a ≤ b → b ≤ k → ∀ z, isNode b z → ¬ HasLevyCycle (fun i => curve i (pullbackOrbit R b z i)) (fun i => locDeg (i - 1) (pullbackOrbit R b z i)) a b) (hstep4 : ∀ j ≤ k, (∀ z, ¬ isNode j z) → k - j < N₀) : False := by classical -- Step 0: derive `4 ≤ |P_j|` and `|P_j| ≤ |P_{j+1}|` via `cor_poles_lower_bound`. obtain ⟨z0, _⟩ : (P 0).Nonempty := card_pos.mp (by omega) have hP_step : ∀ j < k, 4 ≤ (P j).card → (P j).card ≤ (P (j + 1)).card := by intro j hj h4 have hrh_E : ∑ w ∈ E j, (locDeg j w - 1) ≤ 2 * dR j - 2 := le_trans (sum_le_sum_of_subset (subset_insert z0 (E j))) (hrh j hj z0) have hlb := cor_poles_lower_bound (E j) (locDeg j) (dR j) (P j).card (fun w _ => hpos j hj w) (hsum j hj) hrh_E (hdR j hj) h4 rw [← hP_succ j hj] at hlb exact le_trans hlb.1 hlb.2 have hP_ge4 : ∀ j ≤ k, 4 ≤ (P j).card := by intro j induction j with | zero => intro _; exact hP0 | succ j ih => intro hjk have h4 := ih (by omega) exact le_trans h4 (hP_step j (by omega) h4) have hP_mono : ∀ j < k, (P j).card ≤ (P (j + 1)).card := fun j hj => hP_step j hj (hP_ge4 j (by omega)) -- Step 2: no pole at a node point at depth `J ≥ r`. have hP_no_node : ∀ J, r ≤ J → J ≤ k → ∀ y ∈ P J, ¬ isNode J y := by intro J hJr hJk y hyP hyNode let orb := pullbackOrbit R J y have horb : ∀ i ∈ Icc 0 J, orb i ∈ P i ∧ isNode i (orb i) := pullbackOrbit_ind R (fun i x => x ∈ P i ∧ isNode i x) 0 J y ⟨hyP, hyNode⟩ fun i x _ hi hx => by have hik : i < k := by omega have hx' := hx.1 rw [hP_succ i hik, mem_filter] at hx' exact ⟨hE_maps i hik x hx'.1, hnode i hik x hx.2⟩ have hmem : ∀ i ≤ J, curve i (orb i) ∈ S := fun i hi => hcurve i (by omega) (orb i) (horb i (mem_Icc.mpr ⟨Nat.zero_le i, hi⟩)).2 have hdeg1 : ∀ i ∈ Icc 1 J, locDeg (i - 1) (orb i) = 1 := by intro i hi rw [mem_Icc] at hi have hmemP : orb i ∈ P (i - 1 + 1) := by have hsub : i - 1 + 1 = i := by omega rw [hsub] exact (horb i (mem_Icc.mpr ⟨by omega, hi.2⟩)).1 rw [hP_succ (i - 1) (by omega), mem_filter] at hmemP exact hmemP.2 have hlt : J < r := no_node_pole_at_depth_ge_r (fun i => curve i (orb i)) (fun i => locDeg (i - 1) (orb i)) S J r hS hmem hdeg1 (hnoLevy 0 J (Nat.zero_le J) hJk y hyNode) omega -- Step 4/5: define `j_star` as the first node-free depth (or `k + 1` if none). let isFlat : ℕ → Prop := fun j => (P j).card = (P (j + 1)).card let j_star : ℕ := if h : ∃ j ≤ k, ∀ z, ¬ isNode j z then Nat.find h else k + 1 have hj_le : j_star ≤ k + 1 := by dsimp only [j_star] split_ifs with h · exact le_trans (Nat.find_spec h).1 (Nat.le_succ k) · exact le_rfl have hnode_lt : ∀ j < j_star, ∃ z, isNode j z := by intro j hj dsimp only [j_star] at hj split_ifs at hj with h · by_contra hno push Not at hno have hj_le_k : j ≤ k := le_trans (le_of_lt hj) (Nat.find_spec h).1 exact Nat.find_min h hj ⟨hj_le_k, hno⟩ · by_contra hno push Not at hno exact h ⟨j, by omega, hno⟩ -- Step 0 count restricted to `[r, j_star - 1) ⊆ range k`. have hnonflat_all := card_nonflat_le (fun j => (P j).card) k N hP0 hP_mono hPk have hnonflat_sub : ((Ico r (j_star - 1)).filter fun j => ¬ isFlat j).card ≤ N - 4 := by refine le_trans (card_le_card ?_) hnonflat_all intro j hj rw [mem_filter, mem_Ico] at hj exact mem_filter.mpr ⟨mem_range.mpr (by omega), hj.2⟩ -- Step 3 rules out `r` consecutive flat steps in `[r, j_star - 1)`. have hnoRun : ∀ s, r ≤ s → s + r ≤ j_star - 1 → ∃ j ∈ Ico s (s + r), ¬ isFlat j := by intro s hs hsr by_contra hall push Not at hall have hsr_lt : s + r < j_star := by omega have hsr_le : s + r ≤ k := by omega obtain ⟨z, hz⟩ := hnode_lt (s + r) hsr_lt exact no_flat_run_with_node P E R dR locDeg isNode curve S s r hs hS (fun j hj => hE_maps j (by rw [mem_Ico] at hj; omega)) (fun j hjr hjsr => hP_no_node j hjr (by omega)) (fun j hj => hP_ge4 j (by rw [mem_Ico] at hj; omega)) (fun j hj => hdR j (by rw [mem_Ico] at hj; omega)) (fun j hj => hpos j (by rw [mem_Ico] at hj; omega)) (fun j hj => hsum j (by rw [mem_Ico] at hj; omega)) (fun j hj => hrh j (by rw [mem_Ico] at hj; omega)) (fun j hj => hnode j (by rw [mem_Ico] at hj; omega)) (fun j hj => hcurve j (by rw [mem_Icc] at hj; omega)) (fun j hj => by have hjk : j < k := by rw [mem_Ico] at hj; omega have hf : (P j).card = (P (j + 1)).card := hall j hj rw [← hP_succ j hjk] exact hf.symm) hz (hnoLevy s (s + r) (by omega) hsr_le z hz) -- Step 5: deduce `j_star ≤ (N - 2) * (N - 3) < N ^ 2`, contradicting Step 4. have ⟨hj_bound, hsq⟩ := rat_components_j_star_bound isFlat N r j_star hN hr hnonflat_sub hnoRun have hj_lt_k : j_star < k := by omega dsimp only [j_star] at hj_lt_k hj_bound split_ifs at hj_lt_k hj_bound with h · have hspec := Nat.find_spec h have h4 := hstep4 (Nat.find h) hspec.1 hspec.2 omega · omega
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240import Mathlib
/-!# Lemma 7.8 (`cor:poles`, Pole bookkeeping) & Lemma 2.5 (`lem:saturation`, Saturation counting)
Formalization of the Riemann–Hurwitz pole-counting inequalities used twice in S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026):
1. **Lemma 7.8 (`cor:poles`)**: Given a degree-`d` branched covering `R` over a pole set `P_v` of size `m ≥ 4`, with preimage set `E = R⁻¹(P_v)` and local degrees `deg z ≥ 1` summing to `d * m` and total ramification `ϱ = ∑_{z ∈ E} (deg z - 1) ≤ 2 * d - 2`, let `P_w = {z ∈ E | deg z = 1}` be the unramified preimages. Then: - `|P_w| ≥ d * m - 2 * ϱ ≥ d * (m - 4) + 4 ≥ m`; - if `|P_w| = m` and `d ≥ 2`, then `m = 4`, `ϱ = 2 * d - 2` (every critical value of `R` lies in `P_v`), and every ramified point in `E` is simple (`deg z = 2`).
2. **Lemma 2.5 (`lem:saturation`)**: - **Orbifold rigidity**: If `P ⊆ Y`, `|P| = 4`, degree `D ≥ 2`, every unramified preimage of `Y` lies in `Y`, and total ramification `ϱ ≤ 2 * D - 2`, then `Y = P`, `ϱ = 2 * D - 2`, every ramified point over `Y` is simple (`deg z = 2`), and the unramified preimages of `P` are exactly `P` — leaving orbifold Euler characteristic `2 - |P_f|/2 ≥ 0` (non-hyperbolic). - **Uniform bound `N₀`**: Over a finite set `A`, if every 4-element subset `P ⊆ A` is eventually unsaturated and saturation is downward-monotone in `m`, then there is a uniform `N₀` above which no 4-element subset is `m`-saturated.-/
open Finset
namespace Thurston.Core
section PoleBookkeeping
variable {α : Type*}
/-- Exact fiber-count identity: `#E + ∑_{z ∈ E} (deg z - 1) = ∑_{z ∈ E} deg z`. -/lemma card_add_ramification_eq_sum_deg (E : Finset α) (deg : α → ℕ) (hpos : ∀ z ∈ E, 1 ≤ deg z) : E.card + ∑ z ∈ E, (deg z - 1) = ∑ z ∈ E, deg z := by have h1 : E.card = ∑ _z ∈ E, (1 : ℕ) := by simp rw [h1, ← sum_add_distrib] refine sum_congr rfl fun z hz => ?_ have := hpos z hz omega
/-- Each ramified point (`deg z ≥ 2`) contributes at least `1` to `ϱ = ∑ (deg z - 1)`, sothe number of ramified preimages is at most `ϱ`. -/lemma card_ramified_le_ramification (E : Finset α) (deg : α → ℕ) : (E.filter fun z => 2 ≤ deg z).card ≤ ∑ z ∈ E, (deg z - 1) := by calc (E.filter fun z => 2 ≤ deg z).card = ∑ _z ∈ E.filter (fun z => 2 ≤ deg z), (1 : ℕ) := by simp _ ≤ ∑ z ∈ E.filter (fun z => 2 ≤ deg z), (deg z - 1) := by refine sum_le_sum fun z hz => ?_ have h2 : 2 ≤ deg z := (mem_filter.mp hz).2 omega _ ≤ ∑ z ∈ E, (deg z - 1) := sum_le_sum_of_subset (filter_subset _ E)
/-- Partition of `E` into unramified (`deg z = 1`) and ramified (`deg z ≥ 2`) points. -/lemma card_unramified_add_ramified (E : Finset α) (deg : α → ℕ) (hpos : ∀ z ∈ E, 1 ≤ deg z) : (E.filter fun z => deg z = 1).card + (E.filter fun z => 2 ≤ deg z).card = E.card := by classical have hdisj : Disjoint (E.filter fun z => deg z = 1) (E.filter fun z => 2 ≤ deg z) := by rw [Finset.disjoint_left] intro z h1 h2 have a := (mem_filter.mp h1).2 have b := (mem_filter.mp h2).2 omega rw [← card_union_of_disjoint hdisj] congr 1 ext z simp only [mem_union, mem_filter] constructor · rintro (⟨hz, _⟩ | ⟨hz, _⟩) <;> exact hz · intro hz have h1 := hpos z hz rcases eq_or_lt_of_le h1 with h | h · exact Or.inl ⟨hz, h.symm⟩ · exact Or.inr ⟨hz, h⟩
/-- Equality in `card_ramified_le_ramification` forces every ramified point in `E` to be simple(`deg z = 2`). -/lemma all_ramified_simple_of_card_eq_ramification (E : Finset α) (deg : α → ℕ) (heq : (E.filter fun z => 2 ≤ deg z).card = ∑ z ∈ E, (deg z - 1)) : ∀ z ∈ E, 2 ≤ deg z → deg z = 2 := by have hsum_eq : ∑ z ∈ E.filter (fun z => 2 ≤ deg z), (deg z - 1) = ∑ z ∈ E, (deg z - 1) := by refine sum_subset (filter_subset _ E) fun z hz hnot => ?_ simp only [mem_filter, not_and, not_le] at hnot have := hnot hz omega have hcard_sum : ∑ z ∈ E.filter (fun z => 2 ≤ deg z), (1 : ℕ) = ∑ z ∈ E.filter (fun z => 2 ≤ deg z), (deg z - 1) := by simpa [hsum_eq] using heq have hle : ∀ z ∈ E.filter (fun z => 2 ≤ deg z), 1 ≤ deg z - 1 := by intro z hz have h2 : 2 ≤ deg z := (mem_filter.mp hz).2 omega have hall := (sum_eq_sum_iff_of_le hle).mp hcard_sum intro z hz h2 have hz' : z ∈ E.filter (fun z => 2 ≤ deg z) := mem_filter.mpr ⟨hz, h2⟩ have := hall z hz' omega
/-- **Lemma 7.8(ii) (`cor:poles`)**: lower bound on the number of unramified preimages`P_w = {z ∈ E | deg z = 1}`. -/theorem cor_poles_lower_bound (E : Finset α) (deg : α → ℕ) (d m : ℕ) (hpos : ∀ z ∈ E, 1 ≤ deg z) (hsum : ∑ z ∈ E, deg z = d * m) (hrh : ��� z ∈ E, (deg z - 1) ≤ 2 * d - 2) (hd : 1 ≤ d) (hm : 4 ≤ m) : m ≤ d * (m - 4) + 4 ∧ d * (m - 4) + 4 ≤ (E.filter fun z => deg z = 1).card := by set ϱ := ∑ z ∈ E, (deg z - 1) have hcard_sum : E.card + ϱ = d * m := by simpa [ϱ, hsum] using card_add_ramification_eq_sum_deg E deg hpos have hram_le : (E.filter fun z => 2 ≤ deg z).card ≤ ϱ := card_ramified_le_ramification E deg have hpart := card_unramified_add_ramified E deg hpos have hmul : d * (m - 4) + 4 * d = d * m := by calc d * (m - 4) + 4 * d = d * (m - 4) + d * 4 := by ring _ = d * (m - 4 + 4) := (Nat.mul_add d (m - 4) 4).symm _ = d * m := by rw [Nat.sub_add_cancel hm] have hstep1 : m ≤ d * (m - 4) + 4 := by have : 1 * (m - 4) ≤ d * (m - 4) := Nat.mul_le_mul_right (m - 4) hd omega have hstep2 : d * (m - 4) + 4 ≤ (E.filter fun z => deg z = 1).card := by omega exact ⟨hstep1, hstep2⟩
/-- **Lemma 7.8(iii) (`cor:poles`)**: equality `|P_w| = m` with `d ≥ 2` forces `m = 4`,full ramification `ϱ = 2 * d - 2` (so every critical value lies in `P_v`), and every ramifiedpreimage in `E` to be simple (`deg z = 2`). -/theorem cor_poles_equality_rigidity (E : Finset α) (deg : α → ℕ) (d m : ℕ) (hpos : ∀ z ∈ E, 1 ≤ deg z) (hsum : ∑ z ∈ E, deg z = d * m) (hrh : ∑ z ∈ E, (deg z - 1) ≤ 2 * d - 2) (hd : 2 ≤ d) (hm : 4 ≤ m) (heq : (E.filter fun z => deg z = 1).card = m) : m = 4 ∧ ∑ z ∈ E, (deg z - 1) = 2 * d - 2 ∧ ∀ z ∈ E, 2 ≤ deg z → deg z = 2 := by set ϱ := ∑ z ∈ E, (deg z - 1) have hcard_sum : E.card + ϱ = d * m := by simpa [ϱ, hsum] using card_add_ramification_eq_sum_deg E deg hpos have hram_le : (E.filter fun z => 2 ≤ deg z).card ≤ ϱ := card_ramified_le_ramification E deg have hpart := card_unramified_add_ramified E deg hpos have hmul : d * (m - 4) + 4 * d = d * m := by calc d * (m - 4) + 4 * d = d * (m - 4) + d * 4 := by ring _ = d * (m - 4 + 4) := (Nat.mul_add d (m - 4) 4).symm _ = d * m := by rw [Nat.sub_add_cancel hm] have hm4 : m = 4 := by have hdm4 : d * (m - 4) + 4 ≤ m := by omega have h2m4 : 2 * (m - 4) ≤ d * (m - 4) := Nat.mul_le_mul_right (m - 4) hd omega have hϱ_eq : ϱ = 2 * d - 2 := by subst hm4 omega have hram_eq : (E.filter fun z => 2 ≤ deg z).card = ϱ := by subst hm4 omega have hsimple := all_ramified_simple_of_card_eq_ramification E deg hram_eq exact ⟨hm4, hϱ_eq, hsimple⟩
end PoleBookkeeping
section Saturation
variable {α : Type*}
/-- **Lemma 2.5 (`lem:saturation`), core counting contradiction**:Suppose `P ⊆ Y`, `|P| = 4`, `D ≥ 2`, `E` is the preimage set `f⁻¹(Y)` with local degrees summingto `D * |Y|`, total ramification `ϱ = ∑_{z ∈ E} (deg z - 1) ≤ 2 * D - 2`, and every unramifiedpoint of `E` lies back in `Y` (saturation of `Y`). Then:1. `Y = P` (so `|Y| = 4`),2. `ϱ = 2 * D - 2` (every critical point of `f` lies in `f⁻¹(P)`),3. every ramified point in `E` is simple (`deg z = 2`), and4. the unramified preimages of `P` are *exactly* `P`. -/theorem lem_saturation_counting (P Y E : Finset α) (deg : α → ℕ) (D : ℕ) (hPY : P ⊆ Y) (hP4 : P.card = 4) (hD : 2 ≤ D) (hpos : ∀ z ∈ E, 1 ≤ deg z) (hsum : ∑ z ∈ E, deg z = D * Y.card) (hrh : ∑ z ∈ E, (deg z - 1) ≤ 2 * D - 2) (hunram_sub : (E.filter fun z => deg z = 1) ⊆ Y) : Y = P ∧ ∑ z ∈ E, (deg z - 1) = 2 * D - 2 ∧ (∀ z ∈ E, 2 ≤ deg z → deg z = 2) ∧ (E.filter fun z => deg z = 1) = P := by have hm4 : 4 ≤ Y.card := by rw [← hP4] exact card_le_card hPY have hlb := cor_poles_lower_bound E deg D Y.card hpos hsum hrh (by omega) hm4 have hub : (E.filter fun z => deg z = 1).card ≤ Y.card := card_le_card hunram_sub have hcard_eq : (E.filter fun z => deg z = 1).card = Y.card := le_antisymm hub (le_trans hlb.1 hlb.2) obtain ⟨hY4, hϱ, hsimple⟩ := cor_poles_equality_rigidity E deg D Y.card hpos hsum hrh hD hm4 hcard_eq have hYP : Y = P := (eq_of_subset_of_card_le hPY (by omega)).symm have hUP : (E.filter fun z => deg z = 1) = P := by have hUY : (E.filter fun z => deg z = 1) = Y := eq_of_subset_of_card_le hunram_sub (by omega) exact hUY.trans hYP exact ⟨hYP, hϱ, hsimple, hUP⟩
/-- Orbifold Euler characteristic inequality from `|P_f| ≤ 4`: if `ν = 2` on `P_f` and `1`elsewhere, then `χ = 2 - |P_f| / 2 ≥ 0` (the orbifold is not hyperbolic). -/lemma orbifold_euler_nonneg {Pf : Finset α} (hPf : Pf.card ≤ 4) : (0 : ℝ) ≤ 2 - (Pf.card : ℝ) / 2 := by have h : (Pf.card : ℝ) ≤ 4 := by exact_mod_cast hPf linarith
/-- **Lemma 2.5 (`lem:saturation`), uniform `N₀` step**:Given a finite set `A` and a downward-monotone predicate `Sat P m` on 4-element subsets`P ⊆ A`, if every 4-element subset fails `Sat P m` for some finite `m`, then there is auniform `N₀` such that no 4-element subset satisfies `Sat P m` for any `m ≥ N₀`. -/theorem lem_saturation_uniform_bound (A : Finset α) (Sat : Finset α → ℕ → Prop) (hmono : ∀ P m' m, m' ≤ m → Sat P m → Sat P m') (hfin : ∀ P ∈ A.powersetCard 4, ∃ m, ¬ Sat P m) : ∃ N₀ : ℕ, ∀ P ∈ A.powersetCard 4, ∀ m ≥ N₀, ¬ Sat P m := by classical let mOf : Finset α → ℕ := fun P => if h : P ∈ A.powersetCard 4 then Classical.choose (hfin P h) else 0 refine ⟨(A.powersetCard 4).sup mOf, ?_⟩ intro P hP m hm hSat have hmOf_le : mOf P ≤ (A.powersetCard 4).sup mOf := Finset.le_sup (f := mOf) hP have hSat_mOf : Sat P (mOf P) := hmono P (mOf P) m (le_trans hmOf_le hm) hSat have hnot : ¬ Sat P (mOf P) := by dsimp only [mOf] split_ifs exact Classical.choose_spec (hfin P hP) exact hnot hSat_mOf
end Saturation
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550import Mathlibimport Thurston.Core.HilbertQuadraticDecay
/-!# Transport $L^1$ convergence, 3-term Hilbert decay, and uniform absolute continuity
Formalizes four analytic core components from S. van Strien, *The Thurston algorithm formeromorphic and rational maps* (research manuscript, version 22, 3 December 2026):
1. **3-term Hilbert quadratic decay** (`lem:ep-mixed`, `thm:ep-final`): On Hilbert spaces `H₁, H₂`, for `J3 t a b c = ‖a‖² + e^{4t} ‖b‖² + e^{2t} ‖c‖²`, if `E_t = J3 t (a t) (b t) (c t)` increases to a finite limit `E` and `E_t ≤ J3 t a b c` for all `t ≥ 0` and finite convex combinations (or midpoints) `(a, b, c)`, then `e^{2s} ‖b s‖ → 0`, `e^s ‖c s‖ → 0`, and `a s → v` in `H₁` with `‖v‖² = E`.
2. **$L^2 \to L^1$ transport comparison** (`l:transport`): Pointwise complex norm bound and global $L^1$ error estimate in terms of $L^2$ norms, showing `∫ y, ‖F t y - (v y : ℂ)²‖ ∂μ → 0` when `a t → v` and `B t → 0` in `L²`.
3. **Pushforward mass ratio** (`l:transport`): If `E_t → E > 0` and `P_t → E`, then `P_t / E_t → 1`.
4. **Uniform modulus of absolute continuity** (`eq:omega`): For nonnegative integrable `S`, the modulus `acModulus μ S δ = sSup { ∫ y in V, S y ∂μ | MeasurableSet V ∧ μ V ≤ ENNReal.ofReal δ }` dominates every such set integral and satisfies `acModulus μ S δ → 0` as `δ ↓ 0`.-/
open Filter Topology MeasureTheory
namespace Thurston.Core
/-! ### Part 1: 3-term Hilbert quadratic decay (`lem:ep-mixed`, `thm:ep-final`) -/
section ThreeTermHilbert
variable {H₁ H₂ : Type*} [NormedAddCommGroup H₁] [InnerProductSpace ℝ H₁] [NormedAddCommGroup H₂] [InnerProductSpace ℝ H₂]
/-- The 3-term quadratic functional `J3 t a b c = ‖a‖² + e^{4t} ‖b‖² + e^{2t} ‖c‖²`. -/noncomputable def J3 (t : ℝ) (a b : H₁) (c : H₂) : ℝ := ‖a‖ ^ 2 + Real.exp (4 * t) * ‖b‖ ^ 2 + Real.exp (2 * t) * ‖c‖ ^ 2
omit [InnerProductSpace ℝ H₁] [InnerProductSpace ℝ H₂] in/-- `J3 t` increases with `t`. -/lemma J3_le_J3_of_le {t s : ℝ} (h : t ≤ s) (a b : H₁) (c : H₂) : J3 t a b c ≤ J3 s a b c := by unfold J3 have h4 : Real.exp (4 * t) ≤ Real.exp (4 * s) := Real.exp_le_exp.mpr (by linarith) have h2 : Real.exp (2 * t) ≤ Real.exp (2 * s) := Real.exp_le_exp.mpr (by linarith) have hb := mul_le_mul_of_nonneg_right h4 (sq_nonneg ‖b‖) have hc := mul_le_mul_of_nonneg_right h2 (sq_nonneg ‖c‖) linarith
/-- The parallelogram identity for the 3-term quadratic functional `J3`. -/lemma J3_parallelogram (t : ℝ) (a a' b b' : H₁) (c c' : H₂) : J3 t (a - a') (b - b') (c - c') = 2 * J3 t a b c + 2 * J3 t a' b' c' - 4 * J3 t ((1 / 2 : ℝ) • a + (1 / 2 : ℝ) • a') ((1 / 2 : ℝ) • b + (1 / 2 : ℝ) • b') ((1 / 2 : ℝ) • c + (1 / 2 : ℝ) • c') := by unfold J3 have ha := norm_sub_sq_eq_midpoint a a' have hb := norm_sub_sq_eq_midpoint b b' have hc := norm_sub_sq_eq_midpoint c c' linear_combination ha + Real.exp (4 * t) * hb + Real.exp (2 * t) * hc
/-- 3-term Hilbert decay (`lem:ep-mixed` / `thm:ep-final`) with minimality at midpoints only. -/theorem ep_hilbert_decay_core [CompleteSpace H₁] (a b : ℝ → H₁) (c : ℝ → H₂) (E : ℝ) (hmono : ∀ s t, 0 ≤ s → s ≤ t → J3 s (a s) (b s) (c s) ≤ J3 t (a t) (b t) (c t)) (hlim : Tendsto (fun t => J3 t (a t) (b t) (c t)) atTop (𝓝 E)) (hmid : ∀ t s u, 0 ≤ t → 0 ≤ s → 0 ≤ u → J3 t (a t) (b t) (c t) ≤ J3 t ((1 / 2 : ℝ) • a s + (1 / 2 : ℝ) • a u) ((1 / 2 : ℝ) • b s + (1 / 2 : ℝ) • b u) ((1 / 2 : ℝ) • c s + (1 / 2 : ℝ) • c u)) : Tendsto (fun s => Real.exp (2 * s) * ‖b s‖) atTop (𝓝 0) ∧ Tendsto (fun s => Real.exp s * ‖c s‖) atTop (𝓝 0) ∧ ∃ v : H₁, Tendsto a atTop (𝓝 v) ∧ ‖v‖ ^ 2 = E := by have hself : ∀ t s, 0 ≤ t → 0 ≤ s → J3 t (a t) (b t) (c t) ≤ J3 t (a s) (b s) (c s) := by intro t s ht hs have h := hmid t s s ht hs hs have e1 : (1 / 2 : ℝ) • a s + (1 / 2 : ℝ) • a s = a s := by rw [← add_smul]; norm_num have e2 : (1 / 2 : ℝ) • b s + (1 / 2 : ℝ) • b s = b s := by rw [← add_smul]; norm_num have e3 : (1 / 2 : ℝ) • c s + (1 / 2 : ℝ) • c s = c s := by rw [← add_smul]; norm_num rwa [e1, e2, e3] at h have hle : ∀ t, 0 ≤ t → J3 t (a t) (b t) (c t) ≤ E := fun t ht => ge_of_tendsto hlim ((eventually_ge_atTop t).mono fun s hs => hmono t s ht hs) have hc4 : (0 : ℝ) < 1 - Real.exp (-4) := by have h : Real.exp (-4) < Real.exp 0 := Real.exp_lt_exp.mpr (by norm_num) rw [Real.exp_zero] at h linarith have hc2 : (0 : ℝ) < 1 - Real.exp (-2) := by have h : Real.exp (-2) < Real.exp 0 := Real.exp_lt_exp.mpr (by norm_num) rw [Real.exp_zero] at h linarith have hstep : ��� s, 1 ≤ s → (1 - Real.exp (-4)) * (Real.exp (4 * s) * ‖b s‖ ^ 2) + (1 - Real.exp (-2)) * (Real.exp (2 * s) * ‖c s‖ ^ 2) ≤ J3 s (a s) (b s) (c s) - J3 (s - 1) (a (s - 1)) (b (s - 1)) (c (s - 1)) := by intro s hs have h := hself (s - 1) s (by linarith) (by linarith) have hexp4 : Real.exp (4 * (s - 1)) = Real.exp (-4) * Real.exp (4 * s) := by rw [← Real.exp_add]; congr 1; ring have hexp2 : Real.exp (2 * (s - 1)) = Real.exp (-2) * Real.exp (2 * s) := by rw [← Real.exp_add]; congr 1; ring unfold J3 at h ⊢ rw [hexp4, hexp2] at h ⊢ linarith have hsub : Tendsto (fun s : ℝ => s - 1) atTop atTop := by simpa [sub_eq_add_neg] using tendsto_atTop_add_const_right atTop (-1 : ℝ) tendsto_id have hdiff : Tendsto (fun s : ℝ => J3 s (a s) (b s) (c s) - J3 (s - 1) (a (s - 1)) (b (s - 1)) (c (s - 1))) atTop (𝓝 0) := by simpa using hlim.sub (hlim.comp hsub) have hBsq : Tendsto (fun s : ℝ => Real.exp (4 * s) * ‖b s‖ ^ 2) atTop (𝓝 0) := by have hupper : Tendsto (fun s : ℝ => (J3 s (a s) (b s) (c s) - J3 (s - 1) (a (s - 1)) (b (s - 1)) (c (s - 1))) / (1 - Real.exp (-4))) atTop (𝓝 0) := by simpa using hdiff.div_const (1 - Real.exp (-4)) refine tendsto_of_tendsto_of_tendsto_of_le_of_le' tendsto_const_nhds hupper ?_ ?_ · exact Eventually.of_forall fun s => by positivity · filter_upwards [eventually_ge_atTop (1 : ℝ)] with s hs rw [le_div_iff₀ hc4] have h1 := hstep s hs have h2 : 0 ≤ (1 - Real.exp (-2)) * (Real.exp (2 * s) * ‖c s‖ ^ 2) := by positivity linarith have hCsq : Tendsto (fun s : ℝ => Real.exp (2 * s) * ‖c s‖ ^ 2) atTop (𝓝 0) := by have hupper : Tendsto (fun s : ℝ => (J3 s (a s) (b s) (c s) - J3 (s - 1) (a (s - 1)) (b (s - 1)) (c (s - 1))) / (1 - Real.exp (-2))) atTop (𝓝 0) := by simpa using hdiff.div_const (1 - Real.exp (-2)) refine tendsto_of_tendsto_of_tendsto_of_le_of_le' tendsto_const_nhds hupper ?_ ?_ · exact Eventually.of_forall fun s => by positivity · filter_upwards [eventually_ge_atTop (1 : ℝ)] with s hs rw [le_div_iff₀ hc2] have h1 := hstep s hs have h2 : 0 ≤ (1 - Real.exp (-4)) * (Real.exp (4 * s) * ‖b s‖ ^ 2) := by positivity linarith have hB : Tendsto (fun s : ℝ => Real.exp (2 * s) * ‖b s‖) atTop (𝓝 0) := by have hsqrt := (Real.continuous_sqrt.tendsto 0).comp hBsq rw [Real.sqrt_zero] at hsqrt refine hsqrt.congr fun s => ?_ change Real.sqrt (Real.exp (4 * s) * ‖b s‖ ^ 2) = Real.exp (2 * s) * ‖b s‖ have h4 : Real.exp (4 * s) = Real.exp (2 * s) ^ 2 := by rw [sq, ← Real.exp_add]; congr 1; ring rw [h4, ← mul_pow, Real.sqrt_sq (by positivity)] have hC : Tendsto (fun s : ℝ => Real.exp s * ‖c s‖) atTop (𝓝 0) := by have hsqrt := (Real.continuous_sqrt.tendsto 0).comp hCsq rw [Real.sqrt_zero] at hsqrt refine hsqrt.congr fun s => ?_ change Real.sqrt (Real.exp (2 * s) * ‖c s‖ ^ 2) = Real.exp s * ‖c s‖ have h2 : Real.exp (2 * s) = Real.exp s ^ 2 := by rw [sq, ← Real.exp_add]; congr 1; ring rw [h2, ← mul_pow, Real.sqrt_sq (by positivity)] have hcauchy : ∀ t s u, 0 ≤ t → t ≤ s → t ≤ u → ‖a s - a u‖ ^ 2 ≤ 4 * (E - J3 t (a t) (b t) (c t)) := by intro t s u ht hs hu have hpar := J3_parallelogram t (a s) (a u) (b s) (b u) (c s) (c u) have hm := hmid t s u ht (ht.trans hs) (ht.trans hu) have h1 : J3 t (a s) (b s) (c s) ≤ E := (J3_le_J3_of_le hs _ _ _).trans (hle s (ht.trans hs)) have h2 : J3 t (a u) (b u) (c u) ≤ E := (J3_le_J3_of_le hu _ _ _).trans (hle u (ht.trans hu)) have h3 : ‖a s - a u‖ ^ 2 ≤ J3 t (a s - a u) (b s - b u) (c s - c u) := by unfold J3 have hb0 : 0 ≤ Real.exp (4 * t) * ‖b s - b u‖ ^ 2 := by positivity have hc0 : 0 ≤ Real.exp (2 * t) * ‖c s - c u‖ ^ 2 := by positivity linarith linarith have hCS : CauchySeq a := by rw [Metric.cauchySeq_iff'] intro ε hε have h0 : Tendsto (fun t : ℝ => E - J3 t (a t) (b t) (c t)) atTop (𝓝 0) := by simpa using (tendsto_const_nhds (x := E)).sub hlim have hev : ∀ᶠ t in atTop, E - J3 t (a t) (b t) (c t) < ε ^ 2 / 4 := h0.eventually (gt_mem_nhds (by positivity)) obtain ⟨t, ht0, htε⟩ := ((eventually_ge_atTop (0 : ℝ)).and hev).exists refine ⟨t, fun n hn => ?_⟩ rw [dist_eq_norm] have hsq := hcauchy t n t ht0 hn le_rfl by_contra hcon rw [not_lt] at hcon have := mul_self_le_mul_self hε.le hcon nlinarith obtain ⟨v, hv⟩ := cauchySeq_tendsto_of_complete hCS refine ⟨hB, hC, v, hv, ?_⟩ have hnorm : Tendsto (fun s : ℝ => ‖a s‖ ^ 2) atTop (𝓝 (‖v‖ ^ 2)) := hv.norm.pow 2 have hnorm' : Tendsto (fun s : ℝ => ‖a s‖ ^ 2) atTop (𝓝 E) := by have h := (hlim.sub hBsq).sub hCsq rw [sub_zero, sub_zero] at h refine h.congr fun s => ?_ unfold J3 ring exact tendsto_nhds_unique hnorm hnorm'
/-- 3-term Hilbert decay (`lem:ep-mixed` / `thm:ep-final`) with minimality over the convex hullof the triples `(a s, b s, c s)` for `s ≥ 0`. -/theorem ep_hilbert_decay [CompleteSpace H₁] (a b : ℝ → H₁) (c : ℝ → H₂) (E : ℝ) (hmono : ∀ s t, 0 ≤ s → s ≤ t → J3 s (a s) (b s) (c s) ≤ J3 t (a t) (b t) (c t)) (hlim : Tendsto (fun t => J3 t (a t) (b t) (c t)) atTop (𝓝 E)) (hmin : ∀ t, 0 ≤ t → ∀ p ∈ convexHull ℝ ((fun s : ℝ => ((a s, b s, c s) : H₁ × H₁ × H₂)) '' Set.Ici 0), J3 t (a t) (b t) (c t) ≤ J3 t p.1 p.2.1 p.2.2) : Tendsto (fun s => Real.exp (2 * s) * ‖b s‖) atTop (𝓝 0) ∧ Tendsto (fun s => Real.exp s * ‖c s‖) atTop (𝓝 0) ∧ ∃ v : H₁, Tendsto a atTop (𝓝 v) ∧ ‖v‖ ^ 2 = E := by refine ep_hilbert_decay_core a b c E hmono hlim fun t s u ht hs hu => ?_ have hs' : ((a s, b s, c s) : H₁ × H₁ × H₂) ∈ convexHull ℝ ((fun s : ℝ => ((a s, b s, c s) : H₁ × H₁ × H₂)) '' Set.Ici 0) := subset_convexHull ℝ _ ⟨s, hs, rfl⟩ have hu' : ((a u, b u, c u) : H₁ × H₁ × H₂) ∈ convexHull ℝ ((fun s : ℝ => ((a s, b s, c s) : H₁ × H₁ × H₂)) '' Set.Ici 0) := subset_convexHull ℝ _ ⟨u, hu, rfl⟩ have hmem := (convex_convexHull ℝ _) hs' hu' (by norm_num : (0 : ℝ) ≤ 1 / 2) (by norm_num : (0 : ℝ) ≤ 1 / 2) (by norm_num : (1 / 2 : ℝ) + 1 / 2 = 1) have h := hmin t ht _ hmem simpa using h
end ThreeTermHilbert
/-! ### Part 2: $L^2 \to L^1$ transport comparison (`l:transport`) -/
section TransportL1
/-- Pointwise complex norm bound for `F - v²` when `Re F = a² - B²` and `|Im F| ≤ 2 |a| |B|`. -/lemma norm_sub_sq_le (F : ℂ) (a B v : ℝ) (hre : F.re = a ^ 2 - B ^ 2) (him : |F.im| ≤ 2 * |a| * |B|) : ‖F - (v : ℂ) ^ 2‖ ≤ |(a - v) * (a + v)| + B ^ 2 + 2 * |a| * |B| := by have hnorm : ‖F - (v : ℂ) ^ 2‖ ≤ |(F - (v : ℂ) ^ 2).re| + |(F - (v : ℂ) ^ 2).im| := Complex.norm_le_abs_re_add_abs_im _ have hre' : (F - (v : ℂ) ^ 2).re = (a - v) * (a + v) - B ^ 2 := by simp only [Complex.sub_re, sq, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, mul_zero, sub_zero] linarith have him' : (F - (v : ℂ) ^ 2).im = F.im := by simp only [Complex.sub_im, sq, Complex.mul_im, Complex.ofReal_re, Complex.ofReal_im, mul_zero, zero_mul, add_zero, sub_zero] have hre_abs : |(F - (v : ℂ) ^ 2).re| ≤ |(a - v) * (a + v)| + B ^ 2 := by rw [hre'] calc |(a - v) * (a + v) - B ^ 2| ≤ |(a - v) * (a + v)| + |B ^ 2| := abs_sub _ _ _ = |(a - v) * (a + v)| + B ^ 2 := by rw [abs_of_nonneg (sq_nonneg B)] rw [him'] at hnorm linarith
private lemma integral_abs_mul_le_norm_mul_norm {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} (f g : Lp ℝ 2 μ) : ∫ y, |f y * g y| ∂μ ≤ ‖f‖ * ‖g‖ := by have hfa : MemLp (fun y => |f y|) 2 μ := (Lp.memLp f).abs have hga : MemLp (fun y => |g y|) 2 μ := (Lp.memLp g).abs let fa : Lp ℝ 2 μ := hfa.toLp (fun y => |f y|) let ga : Lp ℝ 2 μ := hga.toLp (fun y => |g y|) have hinner : ∫ y, |f y * g y| ∂μ = inner ℝ fa ga := by rw [L2.inner_def] refine integral_congr_ae ?_ filter_upwards [hfa.coeFn_toLp, hga.coeFn_toLp] with y hfy hgy rw [hfy, hgy, RCLike.inner_apply, conj_trivial, abs_mul, mul_comm] have hnf : ‖fa‖ = ‖f‖ := by rw [Lp.norm_def, Lp.norm_def] congr 1 rw [eLpNorm_congr_ae hfa.coeFn_toLp] simpa only [Real.norm_eq_abs] using eLpNorm_norm (f := (f : Y → ℝ)) (p := 2) (μ := μ) (Lp.memLp f).aestronglyMeasurable have hng : ‖ga‖ = ‖g‖ := by rw [Lp.norm_def, Lp.norm_def] congr 1 rw [eLpNorm_congr_ae hga.coeFn_toLp] simpa only [Real.norm_eq_abs] using eLpNorm_norm (f := (g : Y → ℝ)) (p := 2) (μ := μ) (Lp.memLp g).aestronglyMeasurable rw [hinner, ← hnf, ← hng] exact real_inner_le_norm fa ga
private lemma integral_sq_eq_norm_sq {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} (f : Lp ℝ 2 μ) : ∫ y, f y ^ 2 ∂μ = ‖f‖ ^ 2 := by rw [← real_inner_self_eq_norm_sq, L2.inner_def] refine integral_congr_ae (Eventually.of_forall fun y => ?_) simp [sq]
/-- Global $L^2 \to L^1$ comparison (`l:transport`):`∫ y, ‖F y - (v y : ℂ)²‖ ∂μ ≤ (‖a‖ + ‖v‖) * ‖a - v‖ + ‖B‖² + 2 * ‖a‖ * ‖B‖`. -/theorem transport_L1_error_le {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {F : Y → ℂ} {a B v : Lp ℝ 2 μ} (hF : AEStronglyMeasurable F μ) (hre : ∀ᵐ y ∂μ, (F y).re = a y ^ 2 - B y ^ 2) (him : ∀ᵐ y ∂μ, |(F y).im| ≤ 2 * |a y| * |B y|) : ∫ y, ‖F y - (v y : ℂ) ^ 2‖ ∂μ ≤ (‖a‖ + ‖v‖) * ‖a - v‖ + ‖B‖ ^ 2 + 2 * ‖a‖ * ‖B‖ := by have hint1 : Integrable (fun y => |(a - v) y * (a + v) y|) μ := ((Lp.memLp (a - v)).integrable_mul (Lp.memLp (a + v))).abs have hint2 : Integrable (fun y => B y ^ 2) μ := by have hmul : Integrable (fun y => B y * B y) μ := (Lp.memLp B).integrable_mul (Lp.memLp B) simpa only [sq] using hmul have hint3 : Integrable (fun y => 2 * |a y * B y|) μ := (((Lp.memLp a).integrable_mul (Lp.memLp B)).abs).const_mul 2 have hint12 : Integrable (fun y => |(a - v) y * (a + v) y| + B y ^ 2) μ := hint1.add hint2 have hrhs_int : Integrable (fun y => |(a - v) y * (a + v) y| + B y ^ 2 + 2 * |a y * B y|) μ := hint12.add hint3 have hle_ae : ∀ᵐ y ∂μ, ‖F y - (v y : ℂ) ^ 2‖ ≤ |(a - v) y * (a + v) y| + B y ^ 2 + 2 * |a y * B y| := by filter_upwards [hre, him, Lp.coeFn_sub a v, Lp.coeFn_add a v] with y hrey himy hsub hadd have hpt := norm_sub_sq_le (F y) (a y) (B y) (v y) hrey himy rw [Pi.sub_apply] at hsub rw [Pi.add_apply] at hadd rw [hsub, hadd, abs_mul (a y) (B y), ← mul_assoc] exact hpt have hv_meas : AEStronglyMeasurable (fun y => (v y : ℂ) ^ 2) μ := (Complex.continuous_ofReal.comp_aestronglyMeasurable (Lp.memLp v).aestronglyMeasurable).pow 2 have hlhs_int : Integrable (fun y => ‖F y - (v y : ℂ) ^ 2‖) μ := hrhs_int.mono' (hF.sub hv_meas).norm (hle_ae.mono fun y hy => by simpa [Real.norm_of_nonneg (norm_nonneg _)] using hy) have hmono := integral_mono_ae hlhs_int hrhs_int hle_ae have hsplit : ∫ y, (|(a - v) y * (a + v) y| + B y ^ 2 + 2 * |a y * B y|) ∂μ = (∫ y, |(a - v) y * (a + v) y| ∂μ) + (∫ y, B y ^ 2 ∂μ) + 2 * ∫ y, |a y * B y| ∂μ := by rw [integral_add hint12 hint3, integral_add hint1 hint2, integral_const_mul] have h1 := integral_abs_mul_le_norm_mul_norm (a - v) (a + v) have h2 := integral_sq_eq_norm_sq B have h3 := integral_abs_mul_le_norm_mul_norm a B have hadd_norm : ‖a + v‖ ≤ ‖a‖ + ‖v‖ := norm_add_le a v have hprod : ‖a - v‖ * ‖a + v‖ ≤ (‖a‖ + ‖v‖) * ‖a - v‖ := by rw [mul_comm (‖a‖ + ‖v‖)] exact mul_le_mul_of_nonneg_left hadd_norm (norm_nonneg _) linarith
/-- Convergence of the $L^1$ transport error to `0` when `a t → v` and `B t → 0` in `L²`. -/theorem transport_L1_tendsto_zero {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {ι : Type*} {l : Filter ι} {F : ι → Y → ℂ} {a B : ι → Lp ℝ 2 μ} {v : Lp ℝ 2 μ} (hF : ∀ᶠ t in l, AEStronglyMeasurable (F t) μ) (hre : ∀ᶠ t in l, ∀ᵐ y ∂μ, (F t y).re = a t y ^ 2 - B t y ^ 2) (him : ∀ᶠ t in l, ∀ᵐ y ∂μ, |(F t y).im| ≤ 2 * |a t y| * |B t y|) (ha : Tendsto a l (𝓝 v)) (hB : Tendsto B l (𝓝 0)) : Tendsto (fun t => ∫ y, ‖F t y - (v y : ℂ) ^ 2‖ ∂μ) l (𝓝 0) := by have hupper : Tendsto (fun t => (‖a t‖ + ‖v‖) * ‖a t - v‖ + ‖B t‖ ^ 2 + 2 * ‖a t‖ * ‖B t‖) l (𝓝 0) := by have hsub : Tendsto (fun t => ‖a t - v‖) l (𝓝 0) := by simpa using (ha.sub (tendsto_const_nhds (x := v))).norm have hBn : Tendsto (fun t => ‖B t‖) l (𝓝 0) := by simpa using hB.norm have h1 := ((ha.norm.add (tendsto_const_nhds (x := ‖v‖))).mul hsub).add (hBn.pow 2) have h2 := ((tendsto_const_nhds (x := (2 : ℝ))).mul ha.norm).mul hBn simpa using h1.add h2 refine tendsto_of_tendsto_of_tendsto_of_le_of_le' tendsto_const_nhds hupper ?_ ?_ · exact Eventually.of_forall fun t => integral_nonneg fun _ => norm_nonneg _ · filter_upwards [hF, hre, him] with t hFt hret himt exact transport_L1_error_le hFt hret himt
end TransportL1
/-! ### Part 3: Pushforward mass ratio (`l:transport`) -/
section PushforwardRatio
/-- If `E_t → E > 0` and `P t → E`, then `P t / E_t → 1`. -/theorem pushforward_ratio_tendsto_one {ι : Type*} {l : Filter ι} {P E_t : ι → ℝ} {E : ℝ} (hE : 0 < E) (hEt : Tendsto E_t l (𝓝 E)) (hP : Tendsto P l (𝓝 E)) : Tendsto (fun t => P t / E_t t) l (𝓝 1) := by have h : Tendsto (fun t => P t / E_t t) l (𝓝 (E / E)) := hP.div hEt hE.ne' rwa [div_self hE.ne'] at h
/-- Pushforward ratio convergence from an explicit error bound `|P t - E| ≤ err t → 0`. -/theorem pushforward_ratio_tendsto_one_of_error {ι : Type*} {l : Filter ι} {P E_t err : ι → ℝ} {E : ℝ} (hE : 0 < E) (hEt : Tendsto E_t l (𝓝 E)) (herr_bound : ∀ᶠ t in l, |P t - E| ≤ err t) (herr : Tendsto err l (𝓝 0)) : Tendsto (fun t => P t / E_t t) l (𝓝 1) := by have hP : Tendsto P l (𝓝 E) := by rw [← tendsto_sub_nhds_zero_iff] refine squeeze_zero_norm' ?_ herr simpa [Real.norm_eq_abs] using herr_bound exact pushforward_ratio_tendsto_one hE hEt hP
end PushforwardRatio
/-! ### Part 4: Uniform modulus of absolute continuity (`eq:omega`) -/
section AbsoluteContinuityModulus
/-- Uniform modulus of absolute continuity of the measure `S ∂μ`:`acModulus μ S δ = sup { ∫ y in V, S y ∂μ | MeasurableSet V ∧ μ V ≤ ENNReal.ofReal δ }`. -/noncomputable def acModulus {Y : Type*} [MeasurableSpace Y] (μ : Measure Y) (S : Y → ℝ) (δ : ℝ) : ℝ := sSup { r : ℝ | ∃ V : Set Y, MeasurableSet V ∧ μ V ≤ ENNReal.ofReal δ ∧ r = ∫ y in V, S y ∂μ }
/-- Truncation-plus-tail bound (`eq:omega`): for `S ≥ 0` integrable, `M ≥ 0`, `δ ≥ 0`, and`μ V ≤ ENNReal.ofReal δ`, `∫ y in V, S y ∂μ ≤ M * δ + ∫ y in {y | M < S y}, S y ∂μ`. -/theorem setIntegral_le_mul_add_tail {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {S : Y → ℝ} (hS : Integrable S μ) (hS_nn : 0 ≤ᵐ[μ] S) {M δ : ℝ} (hM : 0 ≤ M) (hδ : 0 ≤ δ) {V : Set Y} (hV : μ V ≤ ENNReal.ofReal δ) : ∫ y in V, S y ∂μ ≤ M * δ + ∫ y in {y | M < S y}, S y ∂μ := by let S' : Y → ℝ := hS.aestronglyMeasurable.mk S have hS'_meas : StronglyMeasurable S' := hS.aestronglyMeasurable.stronglyMeasurable_mk have hSS' : S =ᵐ[μ] S' := hS.aestronglyMeasurable.ae_eq_mk have hS'_int : Integrable S' μ := hS.congr hSS' have hS'_nn : 0 ≤ᵐ[μ] S' := by filter_upwards [hS_nn, hSS'] with y hy heq rwa [← heq] let T' : Set Y := {y | M < S' y} have hT'_meas : MeasurableSet T' := measurableSet_lt measurable_const hS'_meas.measurable have hT_ae : ({y | M < S y} : Set Y) =ᵐ[μ] T' := hSS'.mono fun y hy => propext (by simp [T', hy]) have hV_eq : ∫ y in V, S y ∂μ = ∫ y in V, S' y ∂μ := integral_congr_ae (ae_restrict_of_ae hSS') have hT_eq : ∫ y in {y | M < S y}, S y ∂μ = ∫ y in T', S' y ∂μ := by rw [Measure.restrict_congr_set hT_ae] exact integral_congr_ae (ae_restrict_of_ae hSS') rw [hV_eq, hT_eq] have hV_fin : μ V < ⊤ := hV.trans_lt ENNReal.ofReal_lt_top have hconst_int : IntegrableOn (fun _ : Y => M) V μ := integrableOn_const hV_fin.ne have hind_int : Integrable (T'.indicator S') μ := hS'_int.indicator hT'_meas have hpt : ∀ y : Y, S' y ≤ M + T'.indicator S' y := by intro y by_cases hy : y ∈ T' · rw [Set.indicator_of_mem hy]; linarith · rw [Set.indicator_of_notMem hy, add_zero] exact le_of_not_gt hy have h1 : ∫ y in V, S' y ∂μ ≤ ∫ y in V, (M + T'.indicator S' y) ∂μ := integral_mono hS'_int.integrableOn (hconst_int.add hind_int.integrableOn) hpt have h2 : ∫ y in V, (M + T'.indicator S' y) ∂μ = (∫ _ in V, M ∂μ) + ∫ y in V, T'.indicator S' y ∂μ := integral_add hconst_int hind_int.integrableOn have hconst_le : ∫ _ in V, M ∂μ ≤ M * δ := by rw [setIntegral_const, smul_eq_mul, mul_comm] have htoReal : (μ V).toReal ≤ δ := by calc (μ V).toReal ≤ (ENNReal.ofReal δ).toReal := ENNReal.toReal_mono ENNReal.ofReal_ne_top hV _ = δ := ENNReal.toReal_ofReal hδ exact mul_le_mul_of_nonneg_left htoReal hM have hind_nn : 0 ≤ᵐ[μ] T'.indicator S' := hS'_nn.mono fun y hy => Set.indicator_apply_nonneg fun _ => hy have htail_le : ∫ y in V, T'.indicator S' y ∂μ ≤ ∫ y in T', S' y ∂μ := by calc ∫ y in V, T'.indicator S' y ∂μ ≤ ∫ y, T'.indicator S' y ∂μ := setIntegral_le_integral hind_int hind_nn _ = ∫ y in T', S' y ∂μ := integral_indicator hT'_meas linarith
private lemma acModulus_bddAbove {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {S : Y → ℝ} (hS : Integrable S μ) (hS_nn : 0 ≤ᵐ[μ] S) (δ : ℝ) : BddAbove { r : ℝ | ∃ V : Set Y, MeasurableSet V ∧ μ V ≤ ENNReal.ofReal δ ∧ r = ∫ y in V, S y ∂μ } := by refine ⟨∫ y, S y ∂μ, ?_⟩ rintro r ⟨V, _, _, rfl⟩ exact setIntegral_le_integral hS hS_nn
private lemma acModulus_nonempty {Y : Type*} [MeasurableSpace Y] (μ : Measure Y) (S : Y → ℝ) (δ : ℝ) : ({ r : ℝ | ∃ V : Set Y, MeasurableSet V ∧ μ V ≤ ENNReal.ofReal δ ∧ r = ∫ y in V, S y ∂μ }).Nonempty := ⟨0, ∅, MeasurableSet.empty, by simp, by simp⟩
/-- Every measurable set `V` of `μ`-measure at most `ENNReal.ofReal δ` has `S`-integral boundedby `acModulus μ S δ`. -/theorem setIntegral_le_acModulus {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {S : Y → ℝ} (hS : Integrable S μ) (hS_nn : 0 ≤ᵐ[μ] S) {δ : ℝ} {V : Set Y} (hV_meas : MeasurableSet V) (hV : μ V ≤ ENNReal.ofReal δ) : ∫ y in V, S y ∂μ ≤ acModulus μ S δ := le_csSup (acModulus_bddAbove hS hS_nn δ) ⟨V, hV_meas, hV, rfl⟩
/-- `acModulus μ S δ` is nonnegative. -/lemma acModulus_nonneg {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {S : Y → ℝ} (hS : Integrable S μ) (hS_nn : 0 ≤ᵐ[μ] S) (δ : ℝ) : 0 ≤ acModulus μ S δ := le_csSup (acModulus_bddAbove hS hS_nn δ) ⟨∅, MeasurableSet.empty, by simp, by simp⟩
/-- Truncation-plus-tail upper bound on `acModulus μ S δ`. -/theorem acModulus_le_mul_add_tail {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {S : Y → ℝ} (hS : Integrable S μ) (hS_nn : 0 ≤ᵐ[μ] S) {M δ : ℝ} (hM : 0 ≤ M) (hδ : 0 ≤ δ) : acModulus μ S δ ≤ M * δ + ∫ y in {y | M < S y}, S y ∂μ := by refine csSup_le (acModulus_nonempty μ S δ) ?_ rintro r ⟨V, _, hV, rfl⟩ exact setIntegral_le_mul_add_tail hS hS_nn hM hδ hV
/-- The tail integral `∫ y in {y | n < S y}, S y ∂μ` tends to `0` as `n → ∞`. -/private lemma tail_integral_nat_tendsto_zero {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {S : Y → ℝ} (hS : Integrable S μ) : Tendsto (fun n : ℕ => ∫ y in {y | (n : ℝ) < S y}, S y ∂μ) atTop (𝓝 0) := by let S' : Y → ℝ := hS.aestronglyMeasurable.mk S have hS'_meas : StronglyMeasurable S' := hS.aestronglyMeasurable.stronglyMeasurable_mk have hSS' : S =ᵐ[μ] S' := hS.aestronglyMeasurable.ae_eq_mk have hS'_int : Integrable S' μ := hS.congr hSS' have hT_meas : ∀ n : ℕ, MeasurableSet {y | (n : ℝ) < S' y} := fun n => measurableSet_lt measurable_const hS'_meas.measurable have hlim : Tendsto (fun n : ℕ => ∫ y, ({y | (n : ℝ) < S' y}).indicator S' y ∂μ) atTop (𝓝 (∫ _ : Y, (0 : ℝ) ∂μ)) := by refine tendsto_integral_of_dominated_convergence (fun y => ‖S' y‖) ?_ hS'_int.norm ?_ ?_ · exact fun n => (hS'_meas.indicator (hT_meas n)).aestronglyMeasurable · exact fun n => Eventually.of_forall fun y => norm_indicator_le_norm_self _ _ · refine Eventually.of_forall fun y => ?_ obtain ⟨N, hN⟩ := exists_nat_ge (S' y) refine tendsto_const_nhds.congr' ?_ filter_upwards [eventually_ge_atTop N] with n hn have hnot : y ∉ {y | (n : ℝ) < S' y} := not_lt.mpr (hN.trans (Nat.cast_le.mpr hn)) simp [Set.indicator_of_notMem hnot] rw [integral_zero] at hlim refine hlim.congr fun n => ?_ rw [integral_indicator (hT_meas n)] have hT_ae : ({y | (n : ℝ) < S' y} : Set Y) =ᵐ[μ] {y | (n : ℝ) < S y} := hSS'.symm.mono fun y hy => propext (by simp [hy]) rw [Measure.restrict_congr_set hT_ae] exact integral_congr_ae (ae_restrict_of_ae hSS'.symm)
/-- Uniform modulus of absolute continuity tends to `0` as `δ ↓ 0` (`eq:omega`). -/theorem acModulus_tendsto_zero {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {S : Y → ℝ} (hS : Integrable S μ) (hS_nn : 0 ≤ᵐ[μ] S) : Tendsto (acModulus μ S) (𝓝[>] 0) (𝓝 0) := by rw [Metric.tendsto_nhds] intro ε hε have htail := (tail_integral_nat_tendsto_zero hS).eventually (gt_mem_nhds (half_pos hε)) obtain ⟨n, hn1, hntail⟩ := ((eventually_ge_atTop (1 : ℕ)).and htail).exists have hMpos : (0 : ℝ) < (n : ℝ) := Nat.cast_pos.mpr (Nat.pos_of_ne_zero (by omega)) have hδ0 : (0 : ℝ) < ε / (2 * (n : ℝ)) := by positivity have hmem : Set.Ioo (0 : ℝ) (ε / (2 * (n : ℝ))) ∈ 𝓝[>] (0 : ℝ) := Ioo_mem_nhdsGT hδ0 filter_upwards [hmem] with δ hδ rw [Real.dist_eq, sub_zero, abs_of_nonneg (acModulus_nonneg hS hS_nn δ)] have hle := acModulus_le_mul_add_tail hS hS_nn hMpos.le hδ.1.le have hmul : (n : ℝ) * δ < ε / 2 := by have hlt := mul_lt_mul_of_pos_left hδ.2 hMpos have heq : (n : ℝ) * (ε / (2 * (n : ℝ))) = ε / 2 := by field_simp linarith linarith
/-- Concrete `ε`-`δ` form of uniform absolute continuity (`eq:omega`). -/theorem exists_setIntegral_lt_of_measure_le {Y : Type*} [MeasurableSpace Y] {μ : Measure Y} {S : Y → ℝ} (hS : Integrable S μ) (hS_nn : 0 ≤ᵐ[μ] S) : ∀ ε > 0, ∃ δ > 0, ∀ V : Set Y, MeasurableSet V → μ V ≤ ENNReal.ofReal δ → ∫ y in V, S y ∂μ < ε := by intro ε hε have hev := (acModulus_tendsto_zero hS hS_nn).eventually (gt_mem_nhds hε) rw [eventually_nhdsWithin_iff] at hev obtain ⟨r, hr, hball⟩ := Metric.eventually_nhds_iff.mp hev refine ⟨r / 2, half_pos hr, fun V hV_meas hV => ?_⟩ have hlt : acModulus μ S (r / 2) < ε := by refine hball ?_ (half_pos hr) rw [Real.dist_eq, sub_zero, abs_of_pos (half_pos hr)] linarith exact (setIntegral_le_acModulus hS hS_nn hV_meas hV).trans_lt hlt
end AbsoluteContinuityModulus
end Thurston.Core123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397import Mathlib
/-!# Proposition 4.7 (`p:vertical-gen`) & Proposition 4.8 (`l:cylinder-levy`)
Formalization of Step 5 and the spectral radius conclusion of Proposition 4.7 (`p:vertical-gen`),together with Proposition 4.8 (`l:cylinder-levy`), from S. van Strien,*The Thurston algorithm for meromorphic and rational maps* (version 22, 3 December 2026):
> **Proposition 4.7 (`p:vertical-gen`):** Let `Λ` be the cylinder cores together with their> essential closed lifts at all depths, and `m ∈ ℝ^Λ` the vector of initial moduli, extended by> zero. Then for each core `γ` of width `w_γ`,> `∑_{λ ∈ Λ} (M_Λ^k m)_λ ≥ w_γ^2 / (4 C)` (`k ≥ 1`).> In particular `ρ(M_Λ) ≥ 1`, so `Λ` is a Thurston obstruction.>> **Proposition 4.8 (`l:cylinder-levy`):** By Proposition 4.7, `ρ(M_Λ) ≥ 1`. By the Matrix Lemma,> `f` has a Levy cycle.
The file is organized into three pure-Mathlib sections:
1. **Cauchy–Schwarz cylinder energy bound (`vertical_cylinder_modulus_sum_ge`, `vertical_cylinder_modulus_tsum_ge`, `vertical_cylinder_double_cover_sum_ge`, `vertical_cylinder_double_cover_tsum_ge`)**: Both finite (`Finset`) and summable (`tsum`) versions of Step 5's inequality `1 ≤ ‖θ‖_2^2 · ∑ Mod(C̃) ≤ (2 C / w^2) · ∑ Mod(C̃)`, including automatic absolute summability `summable_abs_of_sq_le_mul` and the double-cover halving step `w^2 / (4 C) ≤ S`.2. **Spectral radius and matrix powers (`tendsto_pow_zero_of_spectralRadius_lt_one`, `tendsto_pow_real_zero_of_spectralRadius_lt_one`, `tendsto_pow_mulVec_zero_of_spectralRadius_lt_one`, `spectralRadius_ge_one_of_pow_mulVec_sum_ge`)**: Using Gelfand's spectral radius formula on `Matrix Λ Λ ℂ` with the operator norm, `spectralRadius ℂ A < 1` implies `(A ^ k) i j → 0` for all `i, j : Λ`. Consequently, a uniform positive lower bound `c ≤ ∑ α, ((M ^ k).mulVec m) α` for all `k ≥ 1` forces `1 ≤ spectralRadius ℂ (M.map (algebraMap ℝ ℂ))`.3. **Combined Propositions 4.7 & 4.8 (`vertical_cylinder_obstruction`, `cylinder_gives_levy_cycle`)**: Combines the Step 5 modulus bound at every depth `k ≥ 1` with the spectral radius theorem, and deduces a Levy cycle from any Matrix Lemma implication `¬ HasLevy → ρ(M) < 1`.-/
open Finset Filter Topology Matrix
namespace Thurston.Core
/-! ## Part 1: Cauchy–Schwarz cylinder energy bound (Proposition 4.7, Step 5) -/
section CylinderEnergy
/-- Finite Cauchy–Schwarz inequality for cylinder periods `b i`, moduli `mod i ≥ 0`, and`L^2`-energies `E i ≥ 0` satisfying `b i ^ 2 ≤ mod i * E i`. -/theorem cauchy_schwarz_cylinder_sum {ι : Type*} (s : Finset ι) (b mod E : ι → ℝ) (hmod : ∀ i ∈ s, 0 ≤ mod i) (hE : ∀ i ∈ s, 0 ≤ E i) (hb : ∀ i ∈ s, b i ^ 2 ≤ mod i * E i) : (∑ i ∈ s, |b i|) ^ 2 ≤ (∑ i ∈ s, mod i) * (∑ i ∈ s, E i) := by have hstep : ∀ i ∈ s, |b i| ≤ Real.sqrt (mod i) * Real.sqrt (E i) := by intro i hi calc |b i| = Real.sqrt (b i ^ 2) := (Real.sqrt_sq_eq_abs (b i)).symm _ ≤ Real.sqrt (mod i * E i) := Real.sqrt_le_sqrt (hb i hi) _ = Real.sqrt (mod i) * Real.sqrt (E i) := Real.sqrt_mul (hmod i hi) (E i) have hsum_le : ∑ i ∈ s, |b i| ≤ ∑ i ∈ s, Real.sqrt (mod i) * Real.sqrt (E i) := Finset.sum_le_sum hstep have hsum_nonneg : 0 ≤ ∑ i ∈ s, |b i| := Finset.sum_nonneg fun i _ => abs_nonneg (b i) have hsq_le : (∑ i ∈ s, |b i|) ^ 2 ≤ (∑ i ∈ s, Real.sqrt (mod i) * Real.sqrt (E i)) ^ 2 := by nlinarith have hcs := Finset.sum_mul_sq_le_sq_mul_sq s (fun i => Real.sqrt (mod i)) (fun i => Real.sqrt (E i)) have hmod_sq : ∑ i ∈ s, Real.sqrt (mod i) ^ 2 = ∑ i ∈ s, mod i := Finset.sum_congr rfl fun i hi => Real.sq_sqrt (hmod i hi) have hE_sq : ∑ i ∈ s, Real.sqrt (E i) ^ 2 = ∑ i ∈ s, E i := Finset.sum_congr rfl fun i hi => Real.sq_sqrt (hE i hi) rw [hmod_sq, hE_sq] at hcs exact le_trans hsq_le hcs
/-- **Proposition 4.7, Step 5 (finite version)**:Summing `b i ^ 2 ≤ mod i * E i` over a finite family `s` of disjoint torus cylinders with`∑ |b i| ≥ 1` and total energy `∑ E i ≤ 2 C / w^2` gives `∑ mod i ≥ w^2 / (2 C)`. -/theorem vertical_cylinder_modulus_sum_ge {ι : Type*} (s : Finset ι) (b mod E : ι → ℝ) (C w : ℝ) (hC : 0 < C) (hw : 0 < w) (hmod : ∀ i ∈ s, 0 ≤ mod i) (hE : ∀ i ∈ s, 0 ≤ E i) (hb : ∀ i ∈ s, b i ^ 2 ≤ mod i * E i) (hsum_b : 1 ≤ ∑ i ∈ s, |b i|) (hsum_E : ∑ i ∈ s, E i ≤ 2 * C / w ^ 2) : w ^ 2 / (2 * C) ≤ ∑ i ∈ s, mod i := by have hcs := cauchy_schwarz_cylinder_sum s b mod E hmod hE hb have hmod_nonneg : 0 ≤ ∑ i ∈ s, mod i := Finset.sum_nonneg hmod have h1 : (1 : ℝ) ≤ (∑ i ∈ s, |b i|) ^ 2 := by nlinarith have h2 : (1 : ℝ) ≤ (∑ i ∈ s, mod i) * (2 * C / w ^ 2) := le_trans (le_trans h1 hcs) (mul_le_mul_of_nonneg_left hsum_E hmod_nonneg) have h2C : 0 < 2 * C := by positivity have hw2 : 0 < w ^ 2 := by positivity rw [div_le_iff₀ h2C] have h3 : w ^ 2 ≤ (∑ i ∈ s, mod i) * (2 * C) := by have hmul := mul_le_mul_of_nonneg_right h2 hw2.le have hsimp : (∑ i ∈ s, mod i) * (2 * C / w ^ 2) * w ^ 2 = (∑ i ∈ s, mod i) * (2 * C) := by field_simp linarith linarith
/-- **Proposition 4.7, Step 5 (finite double-cover halving)**:If each closed lift on the source sphere produces two torus cylinders of its modulus, so`∑ i ∈ s, mod i ≤ 2 * S`, then `w^2 / (4 C) ≤ S`. -/theorem vertical_cylinder_double_cover_sum_ge {ι : Type*} (s : Finset ι) (b mod E : ι → ℝ) (C w S : ℝ) (hC : 0 < C) (hw : 0 < w) (hmod : ∀ i ∈ s, 0 ≤ mod i) (hE : ∀ i ∈ s, 0 ≤ E i) (hb : ∀ i ∈ s, b i ^ 2 ≤ mod i * E i) (hsum_b : 1 ≤ ∑ i ∈ s, |b i|) (hsum_E : ∑ i ∈ s, E i ≤ 2 * C / w ^ 2) (hdouble : ∑ i ∈ s, mod i ≤ 2 * S) : w ^ 2 / (4 * C) ≤ S := by have hge := vertical_cylinder_modulus_sum_ge s b mod E C w hC hw hmod hE hb hsum_b hsum_E have h4C : 0 < 4 * C := by positivity have h2C : 0 < 2 * C := by positivity rw [div_le_iff₀ h4C] rw [div_le_iff₀ h2C] at hge nlinarith
/-- Absolute summability of the period contributions `|b i|` from `b i ^ 2 ≤ mod i * E i` andsummability of `mod` and `E`. -/theorem summable_abs_of_sq_le_mul {ι : Type*} (b mod E : ι → ℝ) (hmod : ∀ i, 0 ≤ mod i) (hE : ∀ i, 0 ≤ E i) (hb : ∀ i, b i ^ 2 ≤ mod i * E i) (hmod_sum : Summable mod) (hE_sum : Summable E) : Summable fun i => |b i| := by refine Summable.of_nonneg_of_le (fun i => abs_nonneg (b i)) (fun i => ?_) ((hmod_sum.add hE_sum).div_const 2) have hsq : |b i| ^ 2 ≤ ((mod i + E i) / 2) ^ 2 := by have h1 : |b i| ^ 2 = b i ^ 2 := sq_abs (b i) have h2 : mod i * E i ≤ ((mod i + E i) / 2) ^ 2 := by nlinarith [sq_nonneg (mod i - E i)] linarith [hb i] have hnn : 0 ≤ (mod i + E i) / 2 := by linarith [hmod i, hE i] nlinarith [abs_nonneg (b i)]
/-- Countable / summable Cauchy–Schwarz inequality for cylinder periods `b i`, moduli `mod i ≥ 0`,and `L^2`-energies `E i ≥ 0` satisfying `b i ^ 2 ≤ mod i * E i`. -/theorem cauchy_schwarz_cylinder_tsum {ι : Type*} (b mod E : ι → ℝ) (hmod : ∀ i, 0 ≤ mod i) (hE : ∀ i, 0 ≤ E i) (hb : ∀ i, b i ^ 2 ≤ mod i * E i) (hmod_sum : Summable mod) (hE_sum : Summable E) : (∑' i, |b i|) ^ 2 ≤ (∑' i, mod i) * (∑' i, E i) := by have hb_sum : Summable fun i => |b i| := summable_abs_of_sq_le_mul b mod E hmod hE hb hmod_sum hE_sum have hlim : Tendsto (fun s : Finset ι => (∑ i ∈ s, |b i|) ^ 2) atTop (𝓝 ((∑' i, |b i|) ^ 2)) := hb_sum.hasSum.pow 2 refine le_of_tendsto hlim (Eventually.of_forall fun s => ?_) have hcs := cauchy_schwarz_cylinder_sum s b mod E (fun i _ => hmod i) (fun i _ => hE i) (fun i _ => hb i) have hmod_le : ∑ i ∈ s, mod i ≤ ∑' i, mod i := hmod_sum.sum_le_tsum s (fun i _ => hmod i) have hE_le : ∑ i ∈ s, E i ≤ ∑' i, E i := hE_sum.sum_le_tsum s (fun i _ => hE i) have hmod_nn : 0 ≤ ∑ i ∈ s, mod i := Finset.sum_nonneg fun i _ => hmod i exact le_trans hcs (mul_le_mul hmod_le hE_le (Finset.sum_nonneg fun i _ => hE i) (le_trans hmod_nn hmod_le))
/-- **Proposition 4.7, Step 5 (`tsum` version)**:Summing `b i ^ 2 ≤ mod i * E i` over any summable family of disjoint torus cylinders with`∑' |b i| ≥ 1` and total energy `∑' E i ≤ 2 C / w^2` gives `∑' mod i ≥ w^2 / (2 C)`. -/theorem vertical_cylinder_modulus_tsum_ge {ι : Type*} (b mod E : ι → ℝ) (C w : ℝ) (hC : 0 < C) (hw : 0 < w) (hmod : ∀ i, 0 ≤ mod i) (hE : ∀ i, 0 ≤ E i) (hb : ∀ i, b i ^ 2 ≤ mod i * E i) (hmod_sum : Summable mod) (hE_sum : Summable E) (hsum_b : 1 ≤ ∑' i, |b i|) (hsum_E : ∑' i, E i ≤ 2 * C / w ^ 2) : w ^ 2 / (2 * C) ≤ ∑' i, mod i := by have hcs := cauchy_schwarz_cylinder_tsum b mod E hmod hE hb hmod_sum hE_sum have hmod_nonneg : 0 ≤ ∑' i, mod i := tsum_nonneg hmod have h1 : (1 : ℝ) ≤ (∑' i, |b i|) ^ 2 := by nlinarith have h2 : (1 : ℝ) ≤ (∑' i, mod i) * (2 * C / w ^ 2) := le_trans (le_trans h1 hcs) (mul_le_mul_of_nonneg_left hsum_E hmod_nonneg) have h2C : 0 < 2 * C := by positivity have hw2 : 0 < w ^ 2 := by positivity rw [div_le_iff₀ h2C] have h3 : w ^ 2 ≤ (∑' i, mod i) * (2 * C) := by have hmul := mul_le_mul_of_nonneg_right h2 hw2.le have hsimp : (∑' i, mod i) * (2 * C / w ^ 2) * w ^ 2 = (∑' i, mod i) * (2 * C) := by field_simp linarith linarith
/-- **Proposition 4.7, Step 5 (`tsum` double-cover halving)**:Combining `vertical_cylinder_modulus_tsum_ge` with the double-cover bound `∑' i, mod i ≤ 2 * S`yields `w^2 / (4 C) ≤ S`. -/theorem vertical_cylinder_double_cover_tsum_ge {ι : Type*} (b mod E : ι → ℝ) (C w S : ℝ) (hC : 0 < C) (hw : 0 < w) (hmod : ∀ i, 0 ≤ mod i) (hE : ∀ i, 0 ≤ E i) (hb : ∀ i, b i ^ 2 ≤ mod i * E i) (hmod_sum : Summable mod) (hE_sum : Summable E) (hsum_b : 1 ≤ ∑' i, |b i|) (hsum_E : ∑' i, E i ≤ 2 * C / w ^ 2) (hdouble : ∑' i, mod i ≤ 2 * S) : w ^ 2 / (4 * C) ≤ S := by have hge := vertical_cylinder_modulus_tsum_ge b mod E C w hC hw hmod hE hb hmod_sum hE_sum hsum_b hsum_E have h4C : 0 < 4 * C := by positivity have h2C : 0 < 2 * C := by positivity rw [div_le_iff₀ h4C] rw [div_le_iff₀ h2C] at hge nlinarith
end CylinderEnergy
/-! ## Part 2: Spectral radius `< 1` implies `M^k → 0`, and lower bound `ρ(M) ≥ 1` -/
section SpectralRadius
variable {Λ : Type*} [Fintype Λ] [DecidableEq Λ]
/-- If a complex square matrix `A` has `spectralRadius ℂ A < 1`, then every entry `(A ^ k) i j`tends to `0` as `k → ∞`. -/theorem tendsto_pow_zero_of_spectralRadius_lt_one (A : Matrix Λ Λ ℂ) (hρ : spectralRadius ℂ A < 1) (i j : Λ) : Tendsto (fun k : ℕ => (A ^ k) i j) atTop (𝓝 0) := by let _ : NormedRing (Matrix Λ Λ ℂ) := Matrix.linftyOpNormedRing let _ : NormedAlgebra ℂ (Matrix Λ Λ ℂ) := Matrix.linftyOpNormedAlgebra have hne_top : spectralRadius ℂ A ≠ ⊤ := ne_top_of_lt hρ set r : ℝ := (spectralRadius ℂ A).toReal have hr0 : 0 ≤ r := ENNReal.toReal_nonneg have hr1 : r < 1 := by have h := (ENNReal.toReal_lt_toReal hne_top ENNReal.one_ne_top).mpr hρ simpa [r] using h set q : ℝ := (r + 1) / 2 with hq have hq0 : 0 ≤ q := by linarith have hq_pos : 0 < q := by linarith have hrq : r < q := by linarith have hq1 : q < 1 := by linarith have hρq : spectralRadius ℂ A < ENNReal.ofReal q := by rw [← ENNReal.ofReal_toReal hne_top] exact (ENNReal.ofReal_lt_ofReal_iff hq_pos).mpr hrq have hgelfand : Tendsto (fun n : ℕ => (‖A ^ n‖₊ : ENNReal) ^ (1 / (n : ℝ))) atTop (𝓝 (spectralRadius ℂ A)) := spectrum.pow_nnnorm_pow_one_div_tendsto_nhds_spectralRadius A have hev_lt : ∀ᶠ n : ℕ in atTop, (‖A ^ n‖₊ : ENNReal) ^ (1 / (n : ℝ)) < ENNReal.ofReal q := hgelfand.eventually (Iio_mem_nhds hρq) have hev_norm : ∀ᶠ n : ℕ in atTop, ‖(A ^ n) i j‖ ≤ q ^ n := by filter_upwards [hev_lt, eventually_ge_atTop 1] with n hn hn1 have hn_pos : (0 : ℝ) < n := Nat.cast_pos.mpr (by omega) have hn_ne : (n : ℝ) ≠ 0 := hn_pos.ne' have hpow_le : ((‖A ^ n‖₊ : ENNReal) ^ (1 / (n : ℝ))) ^ (n : ℝ) ≤ (ENNReal.ofReal q) ^ (n : ℝ) := ENNReal.rpow_le_rpow hn.le hn_pos.le rw [← ENNReal.rpow_mul, one_div_mul_cancel hn_ne, ENNReal.rpow_one, ENNReal.rpow_natCast, ← ENNReal.ofReal_pow hq0] at hpow_le have hmat_le : ‖A ^ n‖ ≤ q ^ n := by have hreal := ENNReal.toReal_mono (ENNReal.ofReal_ne_top) hpow_le simpa [ENNReal.toReal_ofReal (pow_nonneg hq0 n)] using hreal have hentry_le : ‖(A ^ n) i j‖ ≤ ‖A ^ n‖ := by have hsum : ‖(A ^ n) i j‖ ≤ ∑ k, ‖(A ^ n) i k‖ := Finset.single_le_sum (fun k _ => norm_nonneg ((A ^ n) i k)) (Finset.mem_univ j) have hsup : ∑ k, ‖(A ^ n) i k‖ ≤ ‖A ^ n‖ := by rw [Matrix.linfty_opNorm_def] have hnn : (∑ k, ‖(A ^ n) i k‖₊) ≤ Finset.univ.sup fun a => ∑ k, ‖(A ^ n) a k‖₊ := Finset.le_sup (f := fun a => ∑ k, ‖(A ^ n) a k‖₊) (Finset.mem_univ i) simpa [NNReal.coe_sum] using NNReal.coe_le_coe.mpr hnn exact le_trans hsum hsup exact le_trans hentry_le hmat_le exact squeeze_zero_norm' hev_norm (tendsto_pow_atTop_nhds_zero_of_lt_one hq0 hq1)
/-- Real-matrix corollary: if `spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) < 1`, then every entry`(M ^ k) i j` tends to `0` as `k → ∞`. -/theorem tendsto_pow_real_zero_of_spectralRadius_lt_one (M : Matrix Λ Λ ℝ) (hρ : spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) < 1) (i j : Λ) : Tendsto (fun k : ℕ => (M ^ k) i j) atTop (𝓝 0) := by have hC := tendsto_pow_zero_of_spectralRadius_lt_one (M.map (algebraMap ℝ ℂ)) hρ i j have hnorm : Tendsto (fun k : ℕ => ‖(M ^ k) i j‖) atTop (𝓝 0) := by have hCnorm : Tendsto (fun k : ℕ => ‖((M.map (algebraMap ℝ ℂ)) ^ k) i j‖) atTop (𝓝 0) := by simpa using hC.norm refine hCnorm.congr fun k => ?_ have hpow_map : (M.map (algebraMap ℝ ℂ)) ^ k = (M ^ k).map (algebraMap ℝ ℂ) := by simpa [RingHom.mapMatrix_apply] using (map_pow (RingHom.mapMatrix (algebraMap ℝ ℂ)) M k).symm rw [hpow_map, Matrix.map_apply, Complex.coe_algebraMap, Complex.norm_real] exact tendsto_zero_iff_norm_tendsto_zero.mpr hnorm
private lemma tendsto_finset_sum_real {κ : Type*} (s : Finset κ) (f : κ → ℕ → ℝ) (a : κ → ℝ) (hf : ∀ i ∈ s, Tendsto (f i) atTop (𝓝 (a i))) : Tendsto (fun n => ∑ i ∈ s, f i n) atTop (𝓝 (∑ i ∈ s, a i)) := by classical induction s using Finset.induction_on with | empty => simp | @insert x s hx ih => have hfx : Tendsto (f x) atTop (𝓝 (a x)) := hf x (mem_insert_self x s) have hfs : Tendsto (fun n => ∑ i ∈ s, f i n) atTop (𝓝 (∑ i ∈ s, a i)) := ih fun i hi => hf i (mem_insert_of_mem hi) simpa [sum_insert hx] using hfx.add hfs
/-- If `spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) < 1`, then `((M ^ k).mulVec m) α → 0` for everyvector `m : Λ → ℝ` and coordinate `α : Λ`. -/theorem tendsto_pow_mulVec_zero_of_spectralRadius_lt_one (M : Matrix Λ Λ ℝ) (m : Λ → ℝ) (hρ : spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) < 1) (α : Λ) : Tendsto (fun k : ℕ => ((M ^ k).mulVec m) α) atTop (𝓝 0) := by have hterm : ∀ β ∈ (Finset.univ : Finset Λ), Tendsto (fun k : ℕ => (M ^ k) α β * m β) atTop (𝓝 0) := by intro β _ simpa using (tendsto_pow_real_zero_of_spectralRadius_lt_one M hρ α β).mul_const (m β) simpa [Matrix.mulVec, dotProduct] using tendsto_finset_sum_real Finset.univ (fun β k => (M ^ k) α β * m β) (fun _ => 0) hterm
/-- **Proposition 4.7, spectral radius conclusion**:If `M : Matrix Λ Λ ℝ`, `m : Λ → ℝ`, and `c > 0` satisfy `c ≤ ∑ α, ((M ^ k).mulVec m) α` for all`k ≥ 1`, then `1 ≤ spectralRadius ℂ (M.map (algebraMap ℝ ℂ))`. -/theorem spectralRadius_ge_one_of_pow_mulVec_sum_ge (M : Matrix Λ Λ ℝ) (m : Λ → ℝ) (c : ℝ) (hc : 0 < c) (hbound : ∀ k : ℕ, 1 ≤ k → c ≤ ∑ α, ((M ^ k).mulVec m) α) : 1 ≤ spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) := by by_contra hlt push Not at hlt have hlim : Tendsto (fun k : ℕ => ∑ α, ((M ^ k).mulVec m) α) atTop (𝓝 0) := by simpa using tendsto_finset_sum_real Finset.univ (fun α k => ((M ^ k).mulVec m) α) (fun _ => 0) fun α _ => tendsto_pow_mulVec_zero_of_spectralRadius_lt_one M m hlt α have hle0 : c ≤ 0 := ge_of_tendsto hlim (by filter_upwards [eventually_ge_atTop 1] with k hk exact hbound k hk) linarith
end SpectralRadius
/-! ## Part 3: Combined Propositions 4.7 (`p:vertical-gen`) and 4.8 (`l:cylinder-levy`) -/
section Propositions
variable {Λ : Type*} [Fintype Λ] [DecidableEq Λ]
/-- **Proposition 4.7 (`p:vertical-gen`, Step 5 & spectral radius lower bound)**:Given a finite multicurve matrix `M : Matrix Λ Λ ℝ`, initial modulus vector `m : Λ → ℝ`, corewidth `w > 0`, distortion constant `C > 0`, and at every depth `k ≥ 1` a summable family ofdisjoint torus cylinders satisfying the Step 5 period/energy bounds and the double-cover modulusbound `∑' i, mod k i ≤ 2 * ∑ α, ((M ^ k).mulVec m) α`, we conclude both:1. `w ^ 2 / (4 * C) ≤ ∑ α, ((M ^ k).mulVec m) α` for all `k ≥ 1`, and2. `1 ≤ spectralRadius ℂ (M.map (algebraMap ℝ ℂ))`. -/theorem vertical_cylinder_obstruction (M : Matrix Λ Λ ℝ) (m : Λ → ℝ) (C w : ℝ) (hC : 0 < C) (hw : 0 < w) (ι : ℕ → Type*) (b mod E : ∀ k, ι k → ℝ) (hmod : ∀ k, 1 ≤ k → ∀ i, 0 ≤ mod k i) (hE : ∀ k, 1 ≤ k → ∀ i, 0 ≤ E k i) (hb : ∀ k, 1 ≤ k → ∀ i, b k i ^ 2 ≤ mod k i * E k i) (hmod_sum : ∀ k, 1 ≤ k → Summable (mod k)) (hE_sum : ∀ k, 1 ≤ k → Summable (E k)) (hsum_b : ∀ k, 1 ≤ k → 1 ≤ ∑' i, |b k i|) (hsum_E : ∀ k, 1 ≤ k → ∑' i, E k i ≤ 2 * C / w ^ 2) (hdouble : ∀ k, 1 ≤ k → ∑' i, mod k i ≤ 2 * ∑ α, ((M ^ k).mulVec m) α) : (∀ k : ℕ, 1 ≤ k → w ^ 2 / (4 * C) ≤ ∑ α, ((M ^ k).mulVec m) α) ∧ 1 ≤ spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) := by have hbound : ∀ k : ℕ, 1 ≤ k → w ^ 2 / (4 * C) ≤ ∑ α, ((M ^ k).mulVec m) α := by intro k hk exact vertical_cylinder_double_cover_tsum_ge (b k) (mod k) (E k) C w (∑ α, ((M ^ k).mulVec m) α) hC hw (hmod k hk) (hE k hk) (hb k hk) (hmod_sum k hk) (hE_sum k hk) (hsum_b k hk) (hsum_E k hk) (hdouble k hk) have hpos : 0 < w ^ 2 / (4 * C) := by positivity exact ⟨hbound, spectralRadius_ge_one_of_pow_mulVec_sum_ge M m (w ^ 2 / (4 * C)) hpos hbound⟩
/-- **Proposition 4.8 (`l:cylinder-levy`)**:Combining Proposition 4.7 (`vertical_cylinder_obstruction`) with the Matrix Lemma(`¬ HasLevy → spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) < 1`), the existence of a positive-widthvertical cylinder implies `HasLevy`. -/theorem cylinder_gives_levy_cycle (M : Matrix Λ Λ ℝ) (m : Λ → ℝ) (C w : ℝ) (hC : 0 < C) (hw : 0 < w) (ι : ℕ → Type*) (b mod E : ∀ k, ι k → ℝ) (hmod : ∀ k, 1 ≤ k → ∀ i, 0 ≤ mod k i) (hE : ∀ k, 1 ≤ k → ∀ i, 0 ≤ E k i) (hb : ∀ k, 1 ≤ k → ∀ i, b k i ^ 2 ≤ mod k i * E k i) (hmod_sum : ∀ k, 1 ≤ k → Summable (mod k)) (hE_sum : ∀ k, 1 ≤ k → Summable (E k)) (hsum_b : ∀ k, 1 ≤ k → 1 ≤ ∑' i, |b k i|) (hsum_E : ∀ k, 1 ≤ k → ∑' i, E k i ≤ 2 * C / w ^ 2) (hdouble : ∀ k, 1 ≤ k → ∑' i, mod k i ≤ 2 * ∑ α, ((M ^ k).mulVec m) α) {HasLevy : Prop} (hMatrixLemma : ¬ HasLevy → spectralRadius ℂ (M.map (algebraMap ℝ ℂ)) < 1) : HasLevy := by by_contra hno have hge := (vertical_cylinder_obstruction M m C w hC hw ι b mod E hmod hE hb hmod_sum hE_sum hsum_b hsum_E hdouble).2 exact not_lt_of_ge hge (hMatrixLemma hno)
/-- Sanity check: for the `1 × 1` identity matrix `!![1]` with initial modulus `m = ![1]` and asingle torus cylinder at each depth with `b = 1`, `mod = 1`, `E = 1`, Proposition 4.7 yields boththe `1 / 4` lower bound and `1 ≤ spectralRadius ℂ (!![1].map (algebraMap ℝ ℂ))`. -/example : (∀ k : ℕ, 1 ≤ k → (1 : ℝ) ^ 2 / (4 * 1) ≤ ∑ α : Fin 1, (((!![(1 : ℝ)] ^ k).mulVec ![1]) α)) ∧ 1 ≤ spectralRadius ℂ ((!![(1 : ℝ)]).map (algebraMap ℝ ℂ)) := by refine vertical_cylinder_obstruction !![(1 : ℝ)] ![1] 1 1 one_pos one_pos (fun _ => Unit) (fun _ _ => 1) (fun _ _ => 1) (fun _ _ => 1) (fun _ _ _ => zero_le_one) (fun _ _ _ => zero_le_one) (fun _ _ _ => by norm_num) (fun _ _ => Summable.of_finite) (fun _ _ => Summable.of_finite) (fun _ _ => by simp) (fun _ _ => by norm_num) (fun k _ => ?_) have h1 : (!![(1 : ℝ)] : Matrix (Fin 1) (Fin 1) ℝ) = 1 := by ext i j fin_cases i; fin_cases j simp rw [h1, one_pow, Matrix.one_mulVec] norm_num
end Propositions
end Thurston.Core12345678910111213141516171819202122232425262728293031# `Thurston/`
`lake build` checks every Lean file in this directory and runs `Thurston/Audit.lean`.
## Structure
- **`Core/`** — 18 standalone pure-Mathlib modules (zero external interfaces, zero extra axioms): - `HilbertQuadraticDecay.lean` — Lemma 5.1 (`l:hilbert`) - `TransportL1Convergence.lean` — Prop 5.2 (`l:transport`), Lemma 12.6 (`lem:ep-mixed`), `eq:omega` - `LevyCycleChains.lean` — Lemma 4.3 (`lem:chain`) - `IterateMatrix.lean` — Lemma 4.1 (`lem:iterate`) - `LevyObstruction.lean` — Lemma 4.2 (`lem:levy-obstruction`) - `VerticalCylinderObstruction.lean` — Prop 4.7 (`p:vertical-gen`), Prop 4.8 (`l:cylinder-levy`) - `BoundedOrbitFixedPoint.lean` — Prop 2.9 (`prop:reduction`) - `RiemannHurwitzPoles.lean` — Lemma 7.8 (`cor:poles`), Lemma 2.5 (`lem:saturation`) - `RationalComponentTree.lean` — Theorem 7.9 (`thm:rat-components`, combinatorial core) - `FiniteCoverSelection.lean` — Lemma 6.1 (`l:finitecover`, core engines) - `AnnulusLaurentDecay.lean` — Prop 7.2 (`l:cylinder-mass`, analytic estimates) - `PersistenceContradiction.lean` — Section 8 (`sec:persistence`) & `eq:modulus` - `HyperbolicAnnulusArea.lean` — Lemma 9.1 (`l:hyparea`) - `PerronObstructionBounds.lean` — Prop 9.2 (`p:necessity-obstruction`), Prop 12.2 (`prop:ep-matrix`) - `PushforwardHolomorphic.lean` — Lemma 2.A (`l:pushforward`, holomorphy) - `CoveringAreaPushforward.lean` — Lemma 2.A (`l:pushforward`, area formula & `L¹` push-forward) - `HyperbolicCircumcenter.lean` — Theorem 12.1 (`thm:ep-qr` Part 2, circumcenter & measurability) - `Counterexamples.lean` — Remark 12.4 (`rem:ep-twist`), Remark 9.3 (`r:poly`)- **`Conditional/`** — theorems proved in Lean from explicitly stated classical interfaces: - `WolffDenjoy/` (`Interface/`, `Solved/`, `Generic.lean`, `Proof.lean`, `Reductions.lean`) — Theorem 2.1 (`l:record`) - `MatrixSpectralRadius.lean` — Matrix Lemma (`l:matrix`)- **`Audit.lean`** — 92 `#guard_msgs in #print axioms` checks verifying every main theorem across `Core/` and `Conditional/` uses only Lean's standard axioms (`propext`, `Classical.choice`, `Quot.sound`).123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{"key": "Ant", "tag": "Ant", "year": 2017, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "verified", "note": "Antonakoudis 2017 (arXiv:1510.07340) Thm 5.1 opened & verified", "primary_url": "https://arxiv.org/abs/1510.07340v1", "cited_by_nodes": ["l:record"], "cited_by_labels": ["Theorem 2.1"], "reference_text": "S. M. Antonakoudis. The complex geometry of Teichmüller spaces and bounded symmetric domains. In In the Tradition of Ahlfors–Bers, VII, Contemporary Mathematics 696 (2017), 1–16. arXiv version; page pinpoints refer to this version."}{"key": "AIM", "tag": "AIM", "year": 2009, "maturity": "classic_20y", "maturity_inferred": false, "checked": "cited_only", "note": "Standard textbook (2009)", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "K. Astala, T. Iwaniec and G. Martin. Elliptic Partial Differential Equations and Quasiconformal Mappings in the Plane. Princeton Mathematical Series, vol. 48. Princeton University Press, 2009."}{"key": "AstEp", "tag": "Ast", "year": null, "maturity": "unpublished_notes", "maturity_inferred": false, "checked": "verified", "note": "Opened hdrastorg.pdf Ch. 1 §3.1: v22 fixed Lemmas 3.1–3.3 citations and added a self-contained two-set descent bridge when u(B) is not contained in B.", "primary_url": "https://idpoisson.fr/astorg/papiers/hdrastorg.pdf", "cited_by_nodes": ["thm:ep-strict", "thm:ep-final"], "cited_by_labels": ["Theorem 12.4", "Theorem 12.7"], "reference_text": "M. Astorg, habilitation manuscript, Chapter 1, Finite type maps. Manuscript."}{"key": "Bea", "tag": "Bea", "year": 1997, "maturity": "classic_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": ["r:wolff"], "cited_by_labels": ["Remark 2.2"], "reference_text": "A. F. Beardon. The dynamics of contractions. Ergodic Theory Dynam. Systems 17 (1997), 1257–1266."}{"key": "BMW", "tag": "BMW", "year": 2023, "maturity": "recent_preprint", "maturity_inferred": false, "checked": "verified", "note": "Belk–Margalit–Winarski arXiv:2309.06993 Prop B.1 opened & verified", "primary_url": "https://arxiv.org/abs/2309.06993", "cited_by_nodes": ["thmA"], "cited_by_labels": ["Theorem A"], "reference_text": "J. Belk, D. Margalit and R. R. Winarski. Thurston's theorem and the Nielsen–Thurston classification via Teichmüller's theorem. arXiv:2309.06993 (2023). Preprint."}{"key": "Hex", "tag": "Hex", "year": 1973, "maturity": "recent_preprint", "maturity_inferred": false, "checked": "cited_only", "note": "Bogdanov–Drach–Prochorov–Rempe, Hexagon preprint 2612.00110v1 (exchanged with author after v20; builds on vS2).", "primary_url": "https://orcid.org/0000-0003-1973-0129", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "Bogdanov, Drach, Prochorov and Rempe. The transcendental Thurston theorem. Hexagon preprint 2612.00110v1. Builds on [vS2]."}{"key": "BCT", "tag": "BCT", "year": 2014, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "cited_only", "note": "Buff–Cui–Tan 2014 Handbook", "primary_url": "https://www.math.univ-toulouse.fr/~buff/Preprints/Teichmuller/Teichmuller.pdf", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "X. Buff, G. Cui and L. Tan. Teichmüller spaces and holomorphic dynamics. In A. Papadopoulos (ed.), Handbook of Teichmüller Theory, Vol. IV, IRMA Lectures in Mathematics and Theoretical Physics, vol. 19. European Mathematical Society, 2014, 717–756. Author version."}{"key": "CFPP", "tag": "CFPP", "year": 2012, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "verified", "note": "Cannon–Floyd–Parry–Pilgrim 2012 §4", "primary_url": "https://personal.math.vt.edu/floyd/research/papers/netmaps.pdf", "cited_by_nodes": ["thmE"], "cited_by_labels": ["Theorem E"], "reference_text": "J. W. Cannon, W. J. Floyd, W. R. Parry and K. M. Pilgrim. Nearly Euclidean Thurston maps. Conform. Geom. Dyn. 16 (2012), 209–255. Article."}{"key": "CEfinite", "tag": "CE", "year": null, "maturity": "unpublished_notes", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://wrap.warwick.ac.uk/id/eprint/113306/", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "A. Chéritat and A. L. Epstein. Bounded type Siegel disks of finite type maps, Section 1.1. Author manuscript."}{"key": "DeM", "tag": "DeM", "year": 2005, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "verified", "note": "Opened arXiv:math/0403078: §4 (Lemma 15) exact match for locally uniform convergence off the finite hole set.", "primary_url": "", "cited_by_nodes": ["lem:holes"], "cited_by_labels": ["Lemma 7.6"], "reference_text": "L. DeMarco. Iteration at the boundary of the space of rational maps. Duke Math. J. 130 (2005), 169–197."}{"key": "dMvS", "tag": "dMvS", "year": 1993, "maturity": "classic_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "W. de Melo and S. van Strien. One-Dimensional Dynamics. Ergebnisse der Mathematik und ihrer Grenzgebiete (3), vol. 25. Springer, 1993."}{"key": "DH", "tag": "DH", "year": 1993, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Douady–Hubbard 1993 Acta Math", "primary_url": "https://pi.math.cornell.edu/~hubbard/ThurstonRatMaps.pdf", "cited_by_nodes": ["thmB", "rem:DH", "prop:reduction", "r:poly", "r:parabolic"], "cited_by_labels": ["Theorem B", "Remark 2.4", "Proposition 2.9", "Remark 9.3", "Remark 9.4"], "reference_text": "A. Douady and J. H. Hubbard. A proof of Thurston's topological characterization of rational functions. Acta Math. 171 (1993), 263–297. Article."}{"key": "DHpl", "tag": "DHpl", "year": 1985, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Douady–Hubbard 1985 polynomial-like straightening", "primary_url": "", "cited_by_nodes": ["pl"], "cited_by_labels": ["Theorem 11.1"], "reference_text": "A. Douady and J. H. Hubbard. On the dynamics of polynomial-like mappings. Ann. Sci. École Norm. Sup. (4) 18 (1985), 287–343."}{"key": "Mer", "tag": "Dr", "year": 2026, "maturity": "unpublished_notes", "maturity_inferred": false, "checked": "cited_only", "note": "K. Drach unpublished manuscript (23 Nov 2026)", "primary_url": "", "cited_by_nodes": ["thmE", "lem:inessential", "lem:finitelifts", "r:transport-scope", "l:hyparea", "p:necessity-obstruction"], "cited_by_labels": ["Theorem E", "Lemma 4.1", "Lemma 4.2", "Remark 5.4", "Lemma 9.1", "Proposition 9.2"], "reference_text": "K. Drach. A Thurston theorem for meromorphic maps. Unpublished manuscript, 23 November 2026. Builds on [vS2]."}{"key": "DSou", "tag": "DS", "year": 2025, "maturity": "recent_preprint", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://arxiv.org/abs/2504.01273", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "S. D'Souza. A partial characterization of cosine Thurston maps. arXiv:2504.01273 (2025). Preprint."}{"key": "DLR", "tag": "DLR", "year": 2010, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "warning", "note": "Duchin–Leininger–Rafi 2010: in arXiv:0907.2082 the length-integral formula is Lemma 7 (manuscript cites Lemma 9; verify published Invent. Math. numbering).", "primary_url": "https://www.math.toronto.edu/~rafi/Papers/Flat-Metrics.pdf", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "M. Duchin, C. J. Leininger and K. Rafi. Length spectra and degeneration of flat metrics. Invent. Math. 182 (2010), 231–277. Article."}{"key": "DD", "tag": "DD", "year": 2026, "maturity": "unpublished_notes", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "D. Dudko and K. Drach. Near-degenerate regime in transcendental dynamics. Unpublished manuscript, 2026."}{"key": "Dur", "tag": "Dur", "year": 1983, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Duren 1983 Ch. 2 verified", "primary_url": "https://link.springer.com/book/9780387907956", "cited_by_nodes": ["lem:descent"], "cited_by_labels": ["Lemma 7.9"], "reference_text": "P. L. Duren. Univalent Functions. Grundlehren der mathematischen Wissenschaften, vol. 259. Springer, 1983. Publisher."}{"key": "Eps93", "tag": "Ep", "year": 1993, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Epstein 1993 CUNY PhD thesis (standard foundational reference for finite-type analytic maps)", "primary_url": "", "cited_by_nodes": ["thm:ep-strict"], "cited_by_labels": ["Theorem 12.4"], "reference_text": "A. L. Epstein. Towers of finite type complex analytic maps. Ph.D. thesis, City University of New York, 1993."}{"key": "FMar", "tag": "FMarg", "year": 2012, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Farb–Margalit textbook", "primary_url": "https://press.princeton.edu/books/ebook/9781400839049/a-primer-on-mapping-class-groups-pdf", "cited_by_nodes": ["lem:chain", "l:Lambda", "thm:rat-components"], "cited_by_labels": ["Lemma 4.5", "Lemma 4.8", "Theorem 7.11"], "reference_text": "B. Farb and D. Margalit. A Primer on Mapping Class Groups. Princeton Mathematical Series, vol. 49. Princeton University Press, 2012. Publisher."}{"key": "FM", "tag": "FMas", "year": 2010, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "verified", "note": "Farb–Masur 2010 (arXiv:0803.0141) Thm 2.2 & Lemma 2.3(1) opened & verified", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "B. Farb and H. Masur. Teichmüller geometry of moduli space, I: Distance minimizing rays and the Deligne–Mumford compactification. J. Differential Geom. 85 (2010), 187–227. arXiv:0803.0141."}{"key": "FLP", "tag": "FLP", "year": 1979, "maturity": "classic_20y", "maturity_inferred": false, "checked": "cited_only", "note": "Classic 1979 monograph", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "A. Fathi, F. Laudenbach and V. Poénaru. Travaux de Thurston sur les surfaces. Astérisque 66–67, Soc.\\ Math.\\ France, 1979."}{"key": "GM", "tag": "GM", "year": 1991, "maturity": "classic_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "F. P. Gardiner and H. Masur. Extremal length geometry of Teichmüller space. Complex Variables Theory Appl. 16 (1991), 209–237."}{"key": "Hat", "tag": "Hat", "year": 2002, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Hatcher 2002 verified; v22 added exact Props 1.31–1.32 pinpoint", "primary_url": "https://pi.math.cornell.edu/~hatcher/AT/AT.pdf", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "A. Hatcher. Algebraic Topology. Cambridge University Press, 2002. Author version."}{"key": "Hub", "tag": "Hub", "year": 2016, "maturity": "refereed_5_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "J. H. Hubbard. Teichmüller Theory and Applications to Geometry, Topology, and Dynamics, Vol. 2: Surface Homeomorphisms and Rational Functions. Matrix Editions, 2016."}{"key": "HM", "tag": "HM", "year": 1979, "maturity": "classic_20y", "maturity_inferred": false, "checked": "cited_only", "note": "Hubbard–Masur 1979", "primary_url": "https://pi.math.cornell.edu/~hubbard/HubbardMasurFol.pdf", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "J. Hubbard and H. Masur. Quadratic differentials and foliations. Acta Math. 142 (1979), 221–274. Article."}{"key": "HSS", "tag": "HSS", "year": 2009, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "verified", "note": "Opened JAMS 2009 PDF: §4 (Thm 4.1 & Prop 4.2) and all other HSS pinpoints verified exact.", "primary_url": "https://pi.math.cornell.edu/~hubbard/ExpoSpidersJAMS.pdf", "cited_by_nodes": ["l:cylinder-mass"], "cited_by_labels": ["Proposition 7.2"], "reference_text": "J. Hubbard, D. Schleicher and M. Shishikura. Exponential Thurston maps and limits of quadratic differentials. J. Amer. Math. Soc. 22 (2009), 77–117. Article."}{"key": "Kar", "tag": "Kar1", "year": 2001, "maturity": "classic_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": ["r:wolff"], "cited_by_labels": ["Remark 2.2"], "reference_text": "A. Karlsson. Non-expanding maps and Busemann functions. Ergodic Theory Dynam. Systems 21 (2001), 1447–1457."}{"key": "Kar14", "tag": "Kar2", "year": 2014, "maturity": "refereed_5_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": ["r:wolff"], "cited_by_labels": ["Remark 2.2"], "reference_text": "A. Karlsson. Two extensions of Thurston's spectral theorem for surface diffeomorphisms. Bull. Lond. Math. Soc. 46 (2014), 217–226. arXiv:1208.3735."}{"key": "Ker", "tag": "Ker", "year": 1980, "maturity": "classic_20y", "maturity_inferred": false, "checked": "cited_only", "note": "Kerckhoff 1980", "primary_url": "https://doi.org/10.1016/0040-9383(80)90029-4", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "S. P. Kerckhoff. The asymptotic geometry of Teichmüller space. Topology 19 (1980), 23–41. Article."}{"key": "Kin", "tag": "Kin", "year": 2026, "maturity": "unpublished_notes", "maturity_inferred": false, "checked": "verified", "note": "Opened 2026 Aalto PDF: Thm 2.36 & Remark 2.37(2), pp. 55–56 match Lemma 4.7 verbatim (paired with Ziemer [Zie] in v22).", "primary_url": "https://math.aalto.fi/~jkkinnun/files/sobolev_spaces.pdf", "cited_by_nodes": ["l:horizontal"], "cited_by_labels": ["Lemma 4.7"], "reference_text": "J. Kinnunen. Sobolev spaces. Aalto University lecture notes, 2026 version (accessed 19 November 2026). Notes."}{"key": "LS", "tag": "LS", "year": 2014, "maturity": "refereed_5_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://doi.org/10.4171/117-1/9", "cited_by_nodes": ["r:wolff"], "cited_by_labels": ["Remark 2.2"], "reference_text": "L. Liu and W. Su. The horofunction compactification of the Teichmüller metric. In A. Papadopoulos (ed.), Handbook of Teichmüller Theory, Vol. IV, IRMA Lectures in Mathematics and Theoretical Physics, vol. 19. European Mathematical Society, 2014, 355–374. Published chapter."}{"key": "Min", "tag": "Min", "year": 1993, "maturity": "classic_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "Y. N. Minsky. Teichmüller geodesics and ends of hyperbolic 3-manifolds. Topology 32 (1993), 625–647."}{"key": "Min99", "tag": "Min99", "year": 1999, "maturity": "classic_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://arxiv.org/abs/math/9807001", "cited_by_nodes": ["l:record"], "cited_by_labels": ["Theorem 2.1"], "reference_text": "Y. N. Minsky. The classification of punctured-torus groups. Ann. of Math. (2) 149 (1999), 559–626. Preprint."}{"key": "Miy", "tag": "Miy", "year": 2008, "maturity": "refereed_5_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": ["r:wolff"], "cited_by_labels": ["Remark 2.2"], "reference_text": "H. Miyachi. Teichmüller rays and the Gardiner–Masur boundary of Teichmüller space. Geom. Dedicata 137 (2008), 113–141."}{"key": "MPR", "tag": "MPR", "year": 2024, "maturity": "recent_preprint", "maturity_inferred": false, "checked": "verified", "note": "Mukundan–Prochorov–Reinke arXiv:2305.17793v2 opened & verified", "primary_url": "https://arxiv.org/abs/2305.17793v2", "cited_by_nodes": ["thmA", "thmB", "r:poly"], "cited_by_labels": ["Theorem A", "Theorem B", "Remark 9.3"], "reference_text": "M. Mukundan, N. Prochorov and B. Reinke. Dynamical approximations of postsingularly finite entire maps. To appear in Transactions of the American Mathematical Society. arXiv:2305.17793, version 2 (2024). Preprint."}{"key": "OP", "tag": "OP", "year": 2017, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "verified", "note": "Oliva–Prats 2017 (arXiv:1612.00689) Thm 2.7 opened & verified", "primary_url": "https://arxiv.org/abs/1612.00689", "cited_by_nodes": ["l:analyticprep"], "cited_by_labels": ["Lemma 4.B"], "reference_text": "M. Oliva and M. Prats. Sharp bounds for composition with quasiconformal mappings in Sobolev spaces. J. Math. Anal. Appl. 451 (2017), 1026–1044. Author version."}{"key": "Poirier", "tag": "Poi", "year": 2009, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "verified", "note": "Poirier 2009 Fund. Math. Thm 3.2 verified", "primary_url": "", "cited_by_nodes": ["pl"], "cited_by_labels": ["Theorem 11.1"], "reference_text": "A. Poirier. Critical portraits for postcritically finite polynomials. Fund. Math. 203 (2009), 107–163."}{"key": "ProSmall", "tag": "Pr1", "year": 2024, "maturity": "recent_preprint", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://arxiv.org/abs/2410.01146", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "N. Prochorov. Finite and infinite degree Thurston maps with a small postsingular set. To appear in the Journal of the London Mathematical Society. arXiv:2410.01146 (2024). Preprint."}{"key": "ProExtra", "tag": "Pr2", "year": 2024, "maturity": "recent_preprint", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://arxiv.org/abs/2410.06206", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "N. Prochorov. Finite and infinite degree Thurston maps with extra marked points. arXiv:2410.06206 (2024). Preprint."}{"key": "PR", "tag": "PR", "year": 2026, "maturity": "unpublished_notes", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "N. Prochorov and L. Rempe. Joint work on Thurston's theorem for transcendental Belyi maps, announced in L. Rempe's conference abstract, Geometry and Dynamics of Discrete Actions, June 2026. As cited in [Dr]."}{"key": "Ran", "tag": "Ran", "year": 1995, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Ransford 1995 Thm 5.3.2(a) verified", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "T. Ransford. Potential Theory in the Complex Plane. London Mathematical Society Student Texts, vol. 28. Cambridge University Press, 1995."}{"key": "Rees", "tag": "Rees", "year": 1981, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Rees 1981 Cor 1.11 (closed surfaces)", "primary_url": "https://doi.org/10.1017/S0143385700001383", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "M. Rees. An alternative approach to the ergodic theory of measured foliations on surfaces. Ergodic Theory Dynam. Systems 1 (1981), 461–488. Article."}{"key": "SchTalk", "tag": "Sch", "year": 2025, "maturity": "unpublished_notes", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://indico.math.cnrs.fr/event/12318/attachments/5832/10134/JHH80_Dierk%20Schleicher.pdf", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "D. Schleicher. Transcendental Thurston Theory in Toulouse. A topological characterization of postsingularly finite meromorphic functions. Talk, Toulouse, 13 June 2025, reporting joint work with S. Shemyakov. Conference slides."}{"key": "Shem", "tag": "Sh", "year": 2022, "maturity": "unpublished_notes", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://theses.fr/2022AIXM0017.pdf", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "S. Shemyakov. A topological characterization of certain postsingularly finite entire functions: transcendental dynamics and Thurston theory. PhD thesis, Aix-Marseille Université, 2022. theses.fr/2022AIXM0017."}{"key": "ShiTan", "tag": "ST", "year": 2000, "maturity": "classic_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://doi.org/10.1080/10586458.2000.10504634", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "M. Shishikura and Tan Lei. A family of cubic rational maps and matings of cubic polynomials. Experiment. Math. 9 (2000), 29–53. Article."}{"key": "Sma", "tag": "Sma", "year": 2005, "maturity": "classic_20y", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://doi.org/10.1007/s00574-005-0038-y", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "D. Smania. Phase space universality for multimodal maps. Bull. Braz. Math. Soc. (N.S.) 36 (2005), 225–274. Article."}{"key": "Str", "tag": "Str", "year": 1984, "maturity": "classic_20y", "maturity_inferred": false, "checked": "cited_only", "note": "Strebel 1984", "primary_url": "", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "K. Strebel. Quadratic Differentials. Ergebnisse der Mathematik und ihrer Grenzgebiete (3), vol. 5. Springer, 1984."}{"key": "Tappu", "tag": "Tap", "year": null, "maturity": "recent_preprint", "maturity_inferred": false, "checked": "verified", "note": "Opened PDF & verified exact match in v22 (Prop 4.1(1)--(2)); upgraded to arXiv:2311.01551.", "primary_url": "https://arxiv.org/abs/2311.01551", "cited_by_nodes": ["thm:ep-boundary"], "cited_by_labels": ["Theorem 12.5"], "reference_text": "C. Tappu, A moduli space of marked hyperbolic structures for big surfaces. arXiv:2311.01551."}{"key": "Tho", "tag": "Tho", "year": 1992, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Thomassen 1992 Thms 2.12 & 3.1 verified", "primary_url": "https://webhomes.maths.ed.ac.uk/~v1ranick/jordan/thomass.pdf", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "C. Thomassen. The Jordan–Schönflies theorem and the classification of surfaces. Amer. Math. Monthly 99 (1992), 116–130. Article."}{"key": "vS", "tag": "vS1", "year": 2026, "maturity": "recent_preprint", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://arxiv.org/abs/2611.07818", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "S. van Strien. Thurston algorithm for real entire maps: existence and uniqueness. arXiv:2611.07818 (2026). Preprint."}{"key": "vS2", "tag": "vS2", "year": 2026, "maturity": "recent_preprint", "maturity_inferred": true, "checked": "cited_only", "note": "", "primary_url": "https://arxiv.org/abs/2611.27925v1", "cited_by_nodes": [], "cited_by_labels": [], "reference_text": "S. van Strien. The Thurston algorithm for general entire maps on the complex plane: existence and uniqueness. arXiv:2611.27925v1 (20 November 2026). Preprint."}{"key": "Wal", "tag": "Wal", "year": 2019, "maturity": "refereed_5_20y", "maturity_inferred": false, "checked": "verified", "note": "Opened arXiv:1210.5565: Thm 1.3 & §6 exact; v22 fixed the §2 slip and removed the unused bib note.", "primary_url": "https://arxiv.org/abs/1210.5565", "cited_by_nodes": ["r:wolff"], "cited_by_labels": ["Remark 2.2"], "reference_text": "C. Walsh. The asymptotic geometry of the Teichmüller metric. Geom. Dedicata 200 (2019), 115–152. arXiv version."}{"key": "Zie", "tag": "Zie", "year": 1989, "maturity": "classic_20y", "maturity_inferred": false, "checked": "verified", "note": "Ziemer 1989 Springer GTM 120 (added in v22 as permanent textbook reference for Sobolev ACL / weak derivatives)", "primary_url": "", "cited_by_nodes": ["l:horizontal"], "cited_by_labels": ["Lemma 4.7"], "reference_text": "W. P. Ziemer. Weakly Differentiable Functions. Graduate Texts in Mathematics, vol. 120. Springer, 1989."}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{"id": "thmA", "label": "Theorem A", "env": "thmA", "title": "Levy criterion", "section_num": 1, "section_title": "Introduction", "start_line": 117, "end_line": 119, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Entire Levy criterion (Sections 2–9): all supporting lemmas, vertical-cylinder exclusion, component vanishing, and necessity verified solid in v22.", "confirmed_issues": [], "dep_nodes": ["l:cylinder-mass", "l:cylinder-levy", "p:necessity-obstruction", "lem:levy-obstruction", "l:pushforward", "l:record", "l:transport", "l:components"], "dependents": ["pl"], "cited_keys": ["BMW", "MPR"], "statement_tex": "\\begin{thmA}[Levy criterion]\nA marked entire Thurston map $(f,A)$ is Thurston equivalent relative to $A$ to a postsingularly finite entire function if and only if it has no Levy cycle relative to $A^+$.\n\\end{thmA}"}{"id": "thmB", "label": "Theorem B", "env": "thmB", "title": "Uniqueness and convergence", "section_num": 1, "section_title": "Introduction", "start_line": 120, "end_line": 122, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Uniqueness & convergence for entire maps (Section 9): strict contraction (N=1 transcendental, d^N>s-2 polynomial) and affine uniqueness verified solid.", "confirmed_issues": [], "dep_nodes": ["l:pushforward"], "dependents": ["pl"], "cited_keys": ["DH", "MPR"], "statement_tex": "\\begin{thmB}[Uniqueness and convergence]\nIf $(f,A)$ has a realization, it is unique up to complex affine conjugacy. In that case, the Thurston pullback map of $(f,A)$ has a unique fixed point, and every orbit converges to it.\n\\end{thmB}"}{"id": "thmC", "label": "Theorem C", "env": "thmC", "title": "Meromorphic maps", "section_num": 1, "section_title": "Introduction", "start_line": 133, "end_line": 135, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Meromorphic Thurston criterion (s>=2, Sections 8.1 & 9.1): all supporting results verified solid; v22 added the explicit holomorphy reference in Lemma 2.B.", "confirmed_issues": [], "dep_nodes": ["l:pushforward-gen", "l:record", "l:transport", "p:vertical-gen", "lem:levy-obstruction", "l:components", "l:cylinder-mass", "p:necessity-obstruction"], "dependents": ["thmE"], "cited_keys": [], "statement_tex": "\\begin{thmC}[Meromorphic maps]\nLet $(f,A)$ be a marked meromorphic Thurston map of infinite degree and stable parabolic type, with $s\\ge2$. Then $(f,A)$ is Thurston equivalent relative to $A^+$ to a meromorphic function if and only if it has no Thurston obstruction relative to $A^+$. In that case the realization is unique up to complex affine conjugacy, and every orbit of the Thurston pullback converges to its fixed point.\n\\end{thmC}"}{"id": "thmD", "label": "Theorem D", "env": "thmD", "title": "Branched coverings with hyperbolic orbifold", "section_num": 1, "section_title": "Introduction", "start_line": 136, "end_line": 138, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Branched coverings with hyperbolic orbifold (without DH compactness, Sections 8.1 & 9.1): saturation, continuity, reduction, and Section 7.3 rational components all verified solid.", "confirmed_issues": [], "dep_nodes": ["l:pushforward-gen", "lem:saturation", "prop:reduction", "l:record", "l:transport", "p:vertical-gen", "lem:levy-obstruction", "thm:rat-components", "l:cylinder-mass", "p:necessity-obstruction"], "dependents": [], "cited_keys": [], "statement_tex": "\\begin{thmD}[Branched coverings with hyperbolic orbifold]\nLet $f:S^2\\to S^2$ be a postcritically finite branched covering of degree $D\\ge2$ with hyperbolic orbifold, and let $A^+\\supseteq P_f$ be finite and forward invariant. Then $f$ is Thurston equivalent relative to $A^+$ to a rational map if and only if it has no Thurston obstruction relative to $A^+$. In that case the rational map is unique up to M\\\"obius conjugacy, the Thurston pullback has a unique fixed point, and every orbit converges to it.\n\\end{thmD}"}{"id": "thmE", "label": "Theorem E", "env": "thmE", "title": "An obstruction without a Levy cycle", "section_num": 1, "section_title": "Introduction", "start_line": 139, "end_line": 141, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Meromorphic obstruction without a Levy cycle (Section 10): stable parabolic type, infinitely many poles, Thurston matrix [1], and even-degree lifts verified solid.", "confirmed_issues": [], "dep_nodes": ["p:necessity-obstruction", "thmC"], "dependents": [], "cited_keys": ["CFPP", "Mer"], "statement_tex": "\\begin{thmE}[An obstruction without a Levy cycle]\nThere is a postsingularly finite topological meromorphic map of infinite degree and stable parabolic type, with four marked points and infinitely many poles, that has a Thurston obstruction with matrix $[1]$ and no Levy cycle. In particular it is not realized, and the Levy criterion of Theorem~A does not extend to meromorphic maps.\n\\end{thmE}"}{"id": "l:pushforward", "label": "Lemma 2.A", "env": "pushforwardlemma", "title": "Pushforward", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 396, "end_line": 432, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/CoveringAreaPushforward.lean", "Thurston/Core/PushforwardHolomorphic.lean"], "lean_declarations": ["Thurston.Core.areaFormula_of_isCoveringMapOn", "Thurston.Core.pushHolomorphic"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/CoveringAreaPushforward.lean", "https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/PushforwardHolomorphic.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Pushforward L1 bound, holomorphy, simple poles, equality case & Great Picard strictness verified solid; v22 fixed the h^* q typo to h_* q.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["thmA", "thmB", "l:pushforward-gen", "l:transport"], "cited_keys": [], "statement_tex": "\\begin{pushforwardlemma}[Pushforward]\\label{l:pushforward}\nLet $H:\\CC\\to\\CC$ be nonconstant and entire, and let $A_s,A_t\\subset\\CC$ be finite sets such that $H(A_s)\\subset A_t$ and\n$H:\\CC\\setminus H^{-1}(A_t)\\to\\CC\\setminus A_t$ is a covering. For every integrable measurable quadratic differential $\\eta=u(z)\\,\\dd z^2$, the inverse-branch sum\n\\[\n p=H_*\\eta,\\qquad\n p(w)=\\left(\\sum_{H(z)=w}\\frac{u(z)}{H'(z)^2}\\right)\\dd w^2\n\\]\nconverges absolutely for almost every $w$, defines an integrable measurable quadratic differential, and satisfies $\\|p\\|_1\\le\\|\\eta\\|_1$. For every measurable target set $W$,\n\\[\n \\int_W\\sum_{H(z)=w}\\frac{|u(z)|}{|H'(z)|^2}\\,\\dd A(w)\n =\\int_{H^{-1}(W)}|u(z)|\\,\\dd A(z).\n\\]\nThis area identity also holds for arbitrary measurable coefficients, with nonnegative integrals allowed to be infinite.\n\nIf in addition $\\eta\\in Q(A_s^+)$, the sum converges absolutely locally uniformly off $A_t$ and $p\\in Q(A_t^+)$. For a nonzero $\\eta\\in Q(A_s^+)$, equality of the norms forces $\\eta=cH^*p$ for a constant $c>0$. Consequently $\\|H_*\\eta\\|_1<\\|\\eta\\|_1$ for every nonzero $\\eta\\in Q(A_s^+)$ when $H$ is transcendental; when $H$ is a polynomial of degree $D$, equality for such $\\eta$ forces $c=1/D$.\n\\end{pushforwardlemma}"}{"id": "l:record", "label": "Theorem 2.1", "env": "theorem", "title": "", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 503, "end_line": 584, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "lean_from_interface", "lean_files": ["Thurston/Conditional/WolffDenjoy/Proof.lean"], "lean_declarations": ["Thurston.theorem_2_1_stated"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Conditional/WolffDenjoy/Proof.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Wolff–Denjoy extremal-length record theorem: quantifiers, basis sum, small surfaces, and invariance of dimension verified solid (also proved in Lean 4 from interface).", "confirmed_issues": [], "dep_nodes": [], "dependents": ["thmA", "thmC", "thmD", "prop:reduction", "l:Lambda", "thm:ep-final"], "cited_keys": ["Ant", "Min99"], "statement_tex": "\\begin{theorem}\\label{l:record}\nLet $S$ be a connected orientable surface of finite type without boundary, and let $\\T=\\mathrm{Teich}(S)$ be its Teichmüller space, with the ends of $S$ treated as punctures.\nSuppose that $\\sigma:\\T\\to\\T$ is $1$-Lipschitz for the Teichmüller metric and has an unbounded forward orbit.\nThen there are a nonzero measured foliation $G$ on $S$ and a constant $C\\ge1$ with\n\\begin{equation}\\label{eq:displacement}\n \\Ext_{\\sigma^k x}G\\le C\\Ext_xG\n \\qquad(x\\in\\T,\\ k\\ge0).\n\\end{equation}\n\\end{theorem}"}{"id": "r:wolff", "label": "Remark 2.2", "env": "remark", "title": "", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 612, "end_line": 616, "has_proof": false, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Boundary interpretation and examples (pseudo-Anosov, Dehn twist, Levy cycle C=p^2) all verified exact.", "confirmed_issues": [], "dep_nodes": [], "dependents": [], "cited_keys": ["Bea", "Kar", "Kar14", "LS", "Miy", "Wal"], "statement_tex": "\\begin{remark}\\label{r:wolff}\nFor the record subsequence, put $h_k(x)=\\lim_i(d_T(x,x_{n_i-k})-R_i)$. Step~3 and Hausdorff convergence give existence of the limit and $\\max_{K_k}\\Ext_x=e^{2h_k(x)}$. This is the horofunction normalization for $k=0$, and differs from it by a constant for fixed $k$. Liu--Su \\cite{LS} identify the horofunction and Gardiner--Masur compactifications; see also \\cite[Theorem~1.3 and \\S6]{Wal} and \\cite{Miy}. Nonexpansion gives $h_0\\circ\\sigma^k\\le h_k$, as in Beardon--Karlsson's Wolff--Denjoy approach \\cite{Bea,Kar}, applied to Teichmüller space in \\cite{Kar14}. The theorem adds $h_k\\le h_0+\\log(bB)$ uniformly in $k$, by representing the compatible limit sets through one foliation $G$.\n\nFor a mapping class $\\varphi$, $\\Ext_{\\varphi^kx}G=\\Ext_x(\\varphi^{-k}G)$. A pseudo-Anosov gives the expanding lamination, and a Dehn twist $T_\\gamma$ gives $G=\\gamma$, both with $C=1$. On $\\mathrm{Teich}(S_{0,4})\\cong\\mathbb H$, the theorem is a coarse analogue of Wolff's invariant-horoball lemma: $\\log\\Ext_xG$ increases by at most $\\log C$ under any iterate. For a Levy cycle of $p$ curves, the degree-one annular lifts and duality give \\eqref{eq:displacement} for their sum with $C=p^2$.\n\\end{remark}"}{"id": "l:pushforward-gen", "label": "Lemma 2.B", "env": "pushforwardlemma", "title": "Pushforward for meromorphic and rational representatives", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 665, "end_line": 670, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Meromorphic and rational pushforward + Picard contradiction verified solid; v22 resolved all 3 v21 items (Z_H subset Chat, connectedness of C \\ Z_H, and holomorphy of sigma).", "confirmed_issues": [], "dep_nodes": ["l:pushforward"], "dependents": ["thmC", "thmD", "lem:saturation", "lem:pushcont", "r:transport-scope"], "cited_keys": [], "statement_tex": "\\begin{pushforwardlemma}[Pushforward for meromorphic and rational representatives]\\label{l:pushforward-gen}\nLet $H$ be either a composition of $k\\ge1$ one-step meromorphic representatives, defined off a closed countable set $Z_H\\subset\\widehat\\CC$ containing $\\infty$, or a rational map of degree $D$ (in which case $Z_H=\\varnothing$). Let $A_s,A_t\\subset\\widehat\\CC$ be finite, with $\\infty\\in A_t$, $H(A_s\\setminus Z_H)\\subset A_t$, and suppose that $H$ is a covering from its domain minus $H^{-1}(A_t)$ onto $\\widehat\\CC\\setminus A_t$. Then the conclusions of Lemma~\\ref{l:pushforward} hold, with $Q(\\cdot)$ the integrable differentials holomorphic off the marks, including $\\infty$. If $H$ has infinite degree, $\\|H_*\\eta\\|_1<\\|\\eta\\|_1$ for every nonzero $\\eta\\in Q(A_s)$. If $H$ is rational of degree $D$, equality forces $\\eta=H^*p/D$ with $p=H_*\\eta$.\n\\end{pushforwardlemma}"}{"id": "lem:saturation", "label": "Lemma 2.3", "env": "lemma", "title": "Saturation and contraction", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 694, "end_line": 705, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/RiemannHurwitzPoles.lean"], "lean_declarations": ["Thurston.Core.lem_saturation_counting"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/RiemannHurwitzPoles.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Handles arbitrary extra marks A^+ supset P_f; Riemann–Hurwitz count forces |Y|=4 and chi>=0 contradicting hyperbolicity (v22 fixed N>=4 and >4 poles wording; counting core proved in Lean 4).", "confirmed_issues": [], "dep_nodes": ["l:pushforward-gen"], "dependents": ["thmD", "prop:reduction", "thm:rat-components", "r:parabolic"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Saturation and contraction]\\label{lem:saturation}\nSuppose that the orbifold of $f$ is hyperbolic. There is $N_0=N_0(f,A^+)$ such that no $4$-element set $P\\subset A^+$ is $m$-saturated for any $m\\ge N_0$. Consequently $\\|(\\dd\\sigma^{N_0}_x)^*\\|<1$ at every $x\\in\\T$.\n\\end{lemma}"}{"id": "rem:DH", "label": "Remark 2.4", "env": "remark", "title": "The Douady–Hubbard iterate", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 707, "end_line": 709, "has_proof": false, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Douady–Hubbard N_0=2 comparison remark verified solid.", "confirmed_issues": [], "dep_nodes": ["r:poly"], "dependents": ["r:parabolic"], "cited_keys": ["DH"], "statement_tex": "\\begin{remark}[The Douady--Hubbard iterate]\\label{rem:DH}\nFor $A^+=P_f$ one may take $N_0=2$: this is \\cite[Proposition~3.3(b)]{DH} (p.~271), proved with \\cite[\\S3, Lemma~2]{DH}, which is the count above for one step; by \\cite[\\S3, Lemma~2(b),(c)]{DH} no $4$-set is $2$-saturated in that case. \\cite[Corollary~3.4(a)]{DH} is the pointwise strict contraction of $\\sigma$. For enlarged markings $N_0$ must depend on $A^+$ (Remark~\\ref{r:poly}). The polynomial count of Section~\\ref{sec:necessity} (at least $D+2$ unramified preimages over three finite poles) does not extend to branched coverings: there the same count gives only $4D-2(2D-2)=4$, and flexible Latt\\`es maps attain this for every iterate.\n\\end{remark}"}{"id": "lem:repcont", "label": "Lemma 2.5", "env": "lemma", "title": "Representatives depend continuously on the point", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 713, "end_line": 718, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Continuous dependence of normalized rational representatives verified solid.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["prop:continuity"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Representatives depend continuously on the point]\\label{lem:repcont}\nLet $x_n\\to x$ in $\\T$ and $m\\ge1$. Then the marks of $x_n$ and of $\\sigma^mx_n$ converge to those of $x$ and $\\sigma^mx$, and $H^{(m)}_{x_n}\\to H^{(m)}_x$ uniformly on $\\widehat\\CC$ in the spherical metric.\n\\end{lemma}"}{"id": "lem:Qlimits", "label": "Lemma 2.6", "env": "lemma", "title": "$L^1$ limits in $Q$", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 720, "end_line": 725, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "L1 limits in Q with 4*pi*delta pole-disk bound and O(|w|^{-3}) tail verified solid.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["prop:continuity"], "cited_keys": [], "statement_tex": "\\begin{lemma}[$L^1$ limits in $Q$]\\label{lem:Qlimits}\nLet $z^{(n)}=(z^{(n)}_a)_{a\\in A}$ be configurations of distinct points of $\\CC$ converging to a configuration $z$ of distinct points, and write $Q(z^{(n)})$, $Q(z)$ as in \\eqref{eq:Qx}. (i) If $q_n\\in Q(z^{(n)})$ and $\\|q_n\\|_1\\le1$, a subsequence converges in $L^1(\\CC)$ and locally uniformly off $\\{z_a\\}$ to some $q\\in Q(z)$. (ii) Every $q\\in Q(z)$ is the $L^1$ limit of some $q_n\\in Q(z^{(n)})$.\n\\end{lemma}"}{"id": "lem:pushcont", "label": "Lemma 2.7", "env": "lemma", "title": "Continuity of pushforward", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 727, "end_line": 732, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Continuity of pushforward on integrable quadratic differentials verified solid.", "confirmed_issues": [], "dep_nodes": ["l:pushforward-gen"], "dependents": ["prop:continuity"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Continuity of pushforward]\\label{lem:pushcont}\nLet $H_n\\to H$ uniformly on $\\widehat\\CC$, all rational of degree $D'$. Let finite sets $Z_n\\ni\\infty$ converge to a finite set $Z\\ni\\infty$ with $|Z_n|=|Z|$; suppose the critical values of $H_n$ lie in $Z_n$, those of $H$ lie in $Z$, and $H$ maps a finite set $Z'\\ni\\infty$ into $Z$. If $q_n\\to q$ in $L^1$, where $q$ is meromorphic, integrable and holomorphic off $Z'$, then $(H_n)_*q_n\\to H_*q$ in $L^1$.\n\\end{lemma}"}{"id": "prop:continuity", "label": "Proposition 2.8", "env": "prop", "title": "Continuity of the cotangent norm", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 734, "end_line": 739, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Continuity of the cotangent operator norm verified solid (N>=4 assumption clarified in v22).", "confirmed_issues": [], "dep_nodes": ["lem:repcont", "lem:pushcont", "lem:Qlimits"], "dependents": ["prop:reduction"], "cited_keys": [], "statement_tex": "\\begin{prop}[Continuity of the cotangent norm]\\label{prop:continuity}\nFor every $m\\ge1$ the function $\\nu_m$ is continuous on $\\T$.\n\\end{prop}"}{"id": "prop:reduction", "label": "Proposition 2.9", "env": "prop", "title": "Reduction to an unbounded orbit", "section_num": 2, "section_title": "A measured foliation with uniformly bounded extremal-length growth", "start_line": 741, "end_line": 750, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/BoundedOrbitFixedPoint.lean"], "lean_declarations": ["Thurston.Core.prop_reduction_bounded_orbit"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/BoundedOrbitFixedPoint.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Reduction to unbounded orbit (closed ball of radius 3R+1) verified solid.", "confirmed_issues": [], "dep_nodes": ["l:record", "lem:saturation", "prop:continuity"], "dependents": ["thmD"], "cited_keys": ["DH"], "statement_tex": "\\begin{prop}[Reduction to an unbounded orbit]\\label{prop:reduction}\nLet $f$ be a branched covering with hyperbolic orbifold. If some orbit of $\\sigma$ is bounded, then $\\sigma$ has a fixed point $x_*$; it is unique and every orbit converges to it. In particular, if $\\sigma$ has no fixed point, every orbit is unbounded and Theorem~\\ref{l:record} applies.\n\\end{prop}"}{"id": "lem:inessential", "label": "Lemma 4.1", "env": "lemma", "title": "Lifts of inessential curves, [Dr, §3]", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 801, "end_line": 806, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Inessentiality of lifts across all three classes verified solid; v22 tightened the essential-singularity wording via Casorati–Weierstrass / Picard density.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["lem:iterate", "l:Lambda", "l:components", "lem:lift", "thm:ep-final"], "cited_keys": ["Mer"], "statement_tex": "\\begin{lemma}[Lifts of inessential curves, {\\cite[\\S3]{Mer}}]\\label{lem:inessential}\nLet $\\beta$ be a Jordan curve in the target avoiding the marks and bounding a disk $\\Delta$ with at most one mark. Then every closed component $\\alpha$ of $F^{-1}(\\beta)$ bounds a disk $W$ with at most one mark, on the side that $F$ maps into $\\Delta$, and $F:W\\to\\Delta$ is proper. In particular every closed lift of an inessential curve is inessential, and all intermediate images of an essential closed lift are essential.\n\\end{lemma}"}{"id": "lem:finitelifts", "label": "Lemma 4.2", "env": "lemma", "title": "Finitely many essential lifts, [Dr, §3]", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 808, "end_line": 813, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Finiteness of bounded-degree lifts via SO(3) rotation avoiding closed countable Z_F + compactness verified solid.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["lem:levy-obstruction", "p:vertical-gen"], "cited_keys": ["Mer"], "statement_tex": "\\begin{lemma}[Finitely many essential lifts, {\\cite[\\S3]{Mer}}]\\label{lem:finitelifts}\nAt a fixed depth $k$, a smooth Jordan curve $\\beta$ avoiding the target marks has only finitely many essential closed lifts under the $k$-step representative $F$.\n\\end{lemma}"}{"id": "lem:iterate", "label": "Lemma 4.3", "env": "lemma", "title": "Matrices of iterates", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 817, "end_line": 822, "has_proof": true, "trust_bucket": "proved_lean", "lean_status": "proved_lean", "lean_files": ["Thurston/Core/IterateMatrix.lean"], "lean_declarations": ["Thurston.Core.iterate_matrix_eq_sum_lifts"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/IterateMatrix.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Thurston matrix of iterate equals M^n verified solid.", "confirmed_issues": [], "dep_nodes": ["lem:inessential"], "dependents": ["l:matrix", "p:vertical-gen", "p:necessity-obstruction", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Matrices of iterates]\\label{lem:iterate}\nLet $\\Lambda$ be an $f$-stable multicurve with matrix $M$. For $m\\ge1$ and $\\delta,\\lambda\\in\\Lambda$, $(M^m)_{\\delta\\lambda}=\\sum_\\alpha1/\\deg(f^m:\\alpha\\to\\lambda)$, the sum over the closed components $\\alpha$ of $f^{-m}(\\lambda)$ isotopic to $\\delta$.\n\\end{lemma}"}{"id": "lem:levy-obstruction", "label": "Lemma 4.4", "env": "lemma", "title": "Levy cycles give obstructions", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 824, "end_line": 829, "has_proof": true, "trust_bucket": "proved_lean", "lean_status": "proved_lean", "lean_files": ["Thurston/Core/LevyObstruction.lean"], "lean_declarations": ["Thurston.Core.levy_obstruction"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/LevyObstruction.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Levy cycles generate Thurston obstructions verified solid.", "confirmed_issues": [], "dep_nodes": ["lem:finitelifts"], "dependents": ["thmA", "thmC", "thmD", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Levy cycles give obstructions]\\label{lem:levy-obstruction}\nFor all three classes of maps, a Levy cycle generates a Thurston obstruction.\n\\end{lemma}"}{"id": "lem:chain", "label": "Lemma 4.5", "env": "lemma", "title": "Chains of lifts", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 831, "end_line": 836, "has_proof": true, "trust_bucket": "proved_lean", "lean_status": "proved_lean", "lean_files": ["Thurston/Core/LevyCycleChains.lean"], "lean_declarations": ["Thurston.Core.chain_prod_deg_ge_two_pow"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/LevyCycleChains.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Block pigeonhole bound d_1...d_K >= 2^b and Levy-cycle extraction proved outright in Lean 4 + Mathlib (zero extra axioms).", "confirmed_issues": [], "dep_nodes": [], "dependents": ["l:matrix", "l:components", "thm:rat-components", "thm:ep-final"], "cited_keys": ["FMar"], "statement_tex": "\\begin{lemma}[Chains of lifts]\\label{lem:chain}\nLet $\\alpha_0,\\alpha_1,\\dots,\\alpha_K$ be essential classes with pairwise zero intersection, such that each $\\alpha_{j+1}$ is the class of a closed component of degree $d_{j+1}$ of the preimage under $f$ of a representative of $\\alpha_j$. If $d_{a+1}=\\dots=d_{a+r}=1$ for some $a$ with $a+r\\le K$, then $f$ has a Levy cycle. In particular, if $f$ has no Levy cycle and $K\\ge rb$, then $d_1\\cdots d_K\\ge2^b$.\n\\end{lemma}"}{"id": "l:matrix", "label": "Lemma 4.A", "env": "matrixlemma", "title": "Matrix lemma", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 844, "end_line": 853, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "lean_from_interface", "lean_files": ["Thurston/Conditional/MatrixSpectralRadius.lean"], "lean_declarations": ["Thurston.Conditional.matrix_lemma"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Conditional/MatrixSpectralRadius.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Matrix Lemma spectral radius < 1 without Levy cycle verified solid (also proved in Lean 4 from covering/isotopy interface).", "confirmed_issues": [], "dep_nodes": ["lem:iterate", "lem:chain"], "dependents": ["l:cylinder-levy"], "cited_keys": [], "statement_tex": "\\begin{matrixlemma}[Matrix lemma]\\label{l:matrix}\nLet $(f,A)$ be a marked entire Thurston map of the plane and let $\\Lambda$ be a finite multicurve relative to $A^+=A\\cup\\{\\infty\\}$. Form the matrix $M=(M_{\\alpha\\beta})_{\\alpha,\\beta\\in\\Lambda}$ with entries\n\\[\n M_{\\alpha\\beta}=\\sum_{\\delta}\\frac{1}{\\deg(f:\\delta\\to\\beta)},\n\\]\nwhere $\\delta$ ranges over the closed components of the preimage of a representative of $\\beta$ that are isotopic to $\\alpha$ relative to $A^+$. If $f$ has no Levy cycle relative to $A^+$, then $\\rho(M)<1$.\n\\end{matrixlemma}"}{"id": "l:analyticprep", "label": "Lemma 4.B", "env": "analyticprep", "title": "Closed forms and periods on a torus", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 910, "end_line": 935, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Torus W^{1,2} closed forms, Fourier decomposition, and quasiconformal invariance ([OP] Thm 2.7 verified) all solid.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["l:transport-forms", "l:horizontal", "p:vertical-gen"], "cited_keys": ["OP"], "statement_tex": "\\begin{analyticprep}[Closed forms and periods on a torus]\\label{l:analyticprep}\nOn a compact marked conformal torus, every distributionally closed real $L^2$ one-form has the representation\n\\[\n \\eta=c_1\\,\\dd u+c_2\\,\\dd v+\\dd F,\n \\qquad F\\in W^{1,2}(\\RR^2/\\mathbb Z^2).\n\\]\nThe constants $c_1,c_2$ are its marked periods. They are continuous linear functionals of $\\eta$, and there are smooth closed forms with exactly these periods converging to $\\eta$ in $L^2$. Marking-preserving quasiconformal homeomorphisms identify these spaces of closed forms and preserve the periods.\n\\end{analyticprep}"}{"id": "l:transport-forms", "label": "Lemma 4.6", "env": "lemma", "title": "Closed forms along the ray", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 937, "end_line": 970, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Energy identity along the Teichmüller ray verified solid across all three classes; v22 clarified the covering domain and marking-preserving lift Phi.", "confirmed_issues": [], "dep_nodes": ["l:analyticprep"], "dependents": ["p:vertical-gen", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Closed forms along the ray]\\label{l:transport-forms}\nWrite $\\mathcal E=\\mathcal E_0$ and $\\pi:\\mathcal E\\to\\widehat\\CC$ for its projection to the source sphere. There is a closed countable set $Z\\subset\\mathcal E$ of area zero, containing the ramification points of $\\pi$, the points where $h\\circ\\pi$ is undefined and the inverse images of the target marks and of the zeros of $q$, such that $h\\circ\\pi$ is a covering from $\\mathcal E\\setminus Z$ onto the target minus its marks and the zeros of $q$, and $(h\\circ\\pi)^*q$ has regular coordinates $x+iy$ on $\\mathcal E\\setminus Z$ with transitions $\\pm\\mathrm{id}+c$. The source marking $\\psi_t$ lifts to a quasiconformal map $\\Phi:\\mathcal E\\to\\mathcal E_t$ of the form $\\Phi(x,y)=(\\varepsilon e^tx+c_0,\\varepsilon e^{-t}y+d_0)$, $\\varepsilon\\in\\{1,-1\\}$, in corresponding regular coordinates. Pullback by $\\Phi$ identifies the closed $L^2$ forms on $\\mathcal E_t$ and $\\mathcal E$ and preserves their marked periods, and for $\\eta=\\Phi^*\\zeta$,\n\\[\n \\|\\zeta\\|_{L^2(\\mathcal E_t)}^2=e^{-2t}\\|P_x\\eta\\|_2^2+e^{2t}\\|P_y\\eta\\|_2^2,\n\\]\nwhere $P_x\\eta=\\eta_x\\,\\dd x$ and $P_y\\eta=\\eta_y\\,\\dd y$ for $\\eta=\\eta_x\\,\\dd x+\\eta_y\\,\\dd y$.\n\\end{lemma}"}{"id": "l:horizontal", "label": "Lemma 4.7", "env": "lemma", "title": "Horizontal closed forms", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 972, "end_line": 984, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Continuous circle-valued potential constant on regular vertical leaves verified solid; v22 added permanent Ziemer [Zie] reference alongside [Kin].", "confirmed_issues": [], "dep_nodes": ["l:analyticprep"], "dependents": ["p:vertical-gen", "thm:ep-final"], "cited_keys": ["Kin", "Zie"], "statement_tex": "\\begin{lemma}[Horizontal closed forms]\\label{l:horizontal}\nLet $\\theta$ be a closed $L^2$ form on $\\mathcal E$ with integral periods and $P_y\\theta=0$. Then $\\theta$ has a circle-valued potential $U$ with a continuous version on $\\mathcal E\\setminus Z$ that is constant on every regular vertical leaf, and locally $\\theta=\\kappa'(x)\\,\\dd x$ with $\\kappa$ absolutely continuous.\n\\end{lemma}"}{"id": "l:Lambda", "label": "Lemma 4.8", "env": "lemma", "title": "Cylinder cores and their lifts", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 989, "end_line": 1004, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Construction of the f-stable multicurve Lambda of vertical cylinder cores verified solid.", "confirmed_issues": [], "dep_nodes": ["l:record", "lem:inessential"], "dependents": ["p:vertical-gen", "l:cylinder-levy", "thm:ep-final"], "cited_keys": ["FMar"], "statement_tex": "\\begin{lemma}[Cylinder cores and their lifts]\\label{l:Lambda}\nAssume $s\\ge3$. Let $G$ be a measured foliation with $\\Ext_oG=1$ satisfying \\eqref{eq:displacement}, and let $q$ be its Hubbard--Masur differential at $o$. Suppose that $q$ has positive-width vertical cylinders, and let $\\Gamma$ be the set of their core classes. For $\\gamma\\in\\Gamma$ of transverse width $w_\\gamma$,\n\\begin{equation}\\label{eq:cgamma}\n 1/\\Ext_{\\sigma^k g(t)}\\gamma\\ \\ge\\\n c_\\gamma e^{2t},\\qquad c_\\gamma=w_\\gamma^2/C>0\n \\quad(t\\ge0,\\ k\\ge0).\n\\end{equation}\nThe classes of $\\Gamma$ together with the essential closed lifts of its members at all depths form an $f$-stable multicurve $\\Lambda$ with at most $r$ classes.\n\\end{lemma}"}{"id": "p:vertical-gen", "label": "Proposition 4.9", "env": "prop", "title": "", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 1006, "end_line": 1031, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/VerticalCylinderObstruction.lean"], "lean_declarations": ["Thurston.Core.vertical_cylinder_obstruction"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/VerticalCylinderObstruction.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Streamlined vertical-cylinder exclusion (Steps 1–5: Poincaré recurrence on orientation double cover, Fubini, Cauchy–Schwarz -> w^2/(4C)) verified solid for entire, meromorphic, and rational maps.", "confirmed_issues": [], "dep_nodes": ["l:Lambda", "lem:finitelifts", "l:transport-forms", "l:analyticprep", "l:horizontal", "lem:iterate"], "dependents": ["thmC", "thmD", "l:cylinder-levy", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{prop}\\label{p:vertical-gen}\nLet $(f,A)$ be a marked entire or meromorphic Thurston map of infinite degree and stable parabolic type, or a branched covering of the sphere with forward-invariant marking $A^+\\supseteq P_f$, with $s\\ge3$. Let $G$ satisfy \\eqref{eq:displacement} with $\\Ext_oG=1$, and suppose that its Hubbard--Masur differential $q$ at $o$ has a positive-width vertical cylinder. Let $\\Lambda$ be the cylinder cores together with their essential closed lifts at all depths, and $m\\in\\RR^\\Lambda$ the vector of initial moduli, extended by zero. Then $\\Lambda$ is an $f$-stable multicurve, and for each core $\\gamma$ of width $w_\\gamma$\n\\[\n \\sum_{\\lambda\\in\\Lambda}(M_\\Lambda^km)_\\lambda\\ \\ge\\ \\frac{w_\\gamma^2}{4C}\\qquad(k\\ge1).\n\\]\nIn particular $\\rho(M_\\Lambda)\\ge1$, so $\\Lambda$ is a Thurston obstruction.\n\\end{prop}"}{"id": "l:cylinder-levy", "label": "Proposition 4.10", "env": "prop", "title": "Levy cycles for entire maps", "section_num": 4, "section_title": "Vertical cylinders and the Thurston matrix", "start_line": 1033, "end_line": 1038, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "lean_from_interface", "lean_files": ["Thurston/Core/VerticalCylinderObstruction.lean"], "lean_declarations": ["Thurston.Core.cylinder_gives_levy_cycle"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/VerticalCylinderObstruction.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Entire-map specialization combining Proposition 4.9 and the Matrix Lemma to produce a Levy cycle verified solid.", "confirmed_issues": [], "dep_nodes": ["l:Lambda", "p:vertical-gen", "l:matrix"], "dependents": ["thmA"], "cited_keys": [], "statement_tex": "\\begin{prop}[Levy cycles for entire maps]\\label{l:cylinder-levy}\nLet $(f,A)$ be a transcendental marked entire Thurston map with $s\\ge3$, and let $G$ and $q$ be as in Lemma~\\ref{l:Lambda}. If $q$ has a positive-width vertical cylinder, then $f$ has a Levy cycle relative to $A^+$.\n\\end{prop}"}{"id": "l:hilbert", "label": "Lemma 5.1", "env": "lemma", "title": "", "section_num": 5, "section_title": "A finite measure on the initial flat surface", "start_line": 1062, "end_line": 1077, "has_proof": true, "trust_bucket": "proved_lean", "lean_status": "proved_lean", "lean_files": ["Thurston/Core/HilbertQuadraticDecay.lean"], "lean_declarations": ["Thurston.Core.lemma_5_1"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/HilbertQuadraticDecay.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "DeepSeek-V4.1-Flash"], "audit_summary": "Hilbert-space quadratic decay proved outright in Lean 4 + Mathlib (zero extra axioms).", "confirmed_issues": [], "dep_nodes": [], "dependents": ["l:transport", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{lemma}\\label{l:hilbert}\nLet $\\mathcal H$ be a real Hilbert space, put $J_t(a,b)=\\|a\\|^2+e^{4t}\\|b\\|^2$ on $\\mathcal H\\times\\mathcal H$, and let $(a_s,b_s)\\in\\mathcal H\\times\\mathcal H$ for $s\\ge0$. Suppose that $E_t=J_t(a_t,b_t)$ increases to a finite limit $E$, and that $E_t\\le J_t(a,b)$ for every $t\\ge0$ and every finite convex combination $(a,b)$ of the pairs $(a_s,b_s)$ (each taken at an arbitrary $s\\ge0$). Then $e^{2s}\\|b_s\\|\\to0$, and $a_s$ converges to some $v\\in\\mathcal H$ with $\\|v\\|^2=E$.\n\\end{lemma}"}{"id": "l:transport", "label": "Proposition 5.2", "env": "prop", "title": "", "section_num": 5, "section_title": "A finite measure on the initial flat surface", "start_line": 1079, "end_line": 1135, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/TransportL1Convergence.lean"], "lean_declarations": ["Thurston.Core.transport_L1_tendsto_zero"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/TransportL1Convergence.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Total-variation limit measure mu and fiber sum S verified solid across all three classes; v22 updated 'closed countable exceptional set' to match Remark 5.4.", "confirmed_issues": [], "dep_nodes": ["l:hilbert", "l:pushforward"], "dependents": ["thmA", "thmC", "thmD", "remark_L1137", "r:transport-scope", "l:depthj", "thm:rat-components"], "cited_keys": [], "statement_tex": "\\begin{prop}\\label{l:transport}\nThere is $v\\ge0$ in $L^2(Y,|Q|)$ with\n\\[\n \\|e^{2t}r_t-(v^2\\circ\\psi_t^{-1})Q_t\\|_1\\longrightarrow0,\\qquad\n \\int_Yv^2|Q|=E .\n\\]\nThe fiber sum $S(w)=\\sum_{H(z)=w}v(z)^2$, defined as a measurable nonnegative sum off the target marks, belongs to $L^1(|q|)$ and is finite for $|q|$-almost every $w$, even when the fibers are infinite. With $P_t=e^{2t}(H_t)_*r_t$, we have\n\\begin{equation}\\label{eq:pushforward}\n \\|P_t-(S\\circ\\phi_t^{-1})q_t\\|_1\\to0,\\qquad\n \\mu=S|q|,\\qquad \\mu(\\widehat{\\CC})=E.\n\\end{equation}\nHere $\\psi_t$ and $\\phi_t$ are the Teichmüller markings from time zero on the source and target: they are affine in the natural charts of $Q$ and $q$, respectively, rather than in global plane coordinates. Set $v_t=v\\circ\\psi_t^{-1}$ and $S_t=S\\circ\\phi_t^{-1}$. The comparison differentials $v_t^2Q_t$ and $S_tq_t$ are measurable. Since $\\phi_t^*(S_t|q_t|)=\\mu$, for every measurable $U$ on the initial target the difference between $\\int_{\\phi_t(U)}|P_t|$ and $\\mu(U)$ is bounded by $\\|P_t-S_tq_t\\|_1$, uniformly over $U$.\n\\end{prop}"}{"id": "remark_L1137", "label": "Remark 5.3", "env": "remark", "title": "", "section_num": 5, "section_title": "A finite measure on the initial flat surface", "start_line": 1137, "end_line": 1139, "has_proof": false, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Contextual remark comparing near-equality of pushforward with [HSS] verified solid.", "confirmed_issues": [], "dep_nodes": ["l:transport", "l:finitecover", "lem:descent"], "dependents": [], "cited_keys": [], "statement_tex": "\\begin{remark}\nProposition~\\ref{l:transport} has two consequences: near-equality $\\|(H_t)_*r_t\\|_1/\\|r_t\\|_1\\to1$, used on an inverse branch in Lemmas~\\ref{l:finitecover} and~\\ref{lem:descent}, and one limiting measure $\\mu$ at fixed depth. Total variation lets us select a cylinder on a late surface and compare its mass at different times using this same measure (Sections~\\ref{sec:mass}--\\ref{sec:persistence}). Section~\\ref{sec:toHSS} compares this conclusion with the near-equality method of HSS.\n\\end{remark}"}{"id": "r:transport-scope", "label": "Remark 5.4", "env": "remark", "title": "Meromorphic maps and branched coverings", "section_num": 5, "section_title": "A finite measure on the initial flat surface", "start_line": 1141, "end_line": 1143, "has_proof": false, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Scope remark extending Proposition 5.2 to meromorphic and rational maps verified solid.", "confirmed_issues": [], "dep_nodes": ["l:transport", "l:pushforward-gen"], "dependents": [], "cited_keys": ["Mer"], "statement_tex": "\\begin{remark}[Meromorphic maps and branched coverings]\\label{r:transport-scope}\nProposition~\\ref{l:transport}, \\eqref{eq:omega} and \\eqref{eq:flat} hold verbatim for meromorphic maps of infinite degree and for branched coverings of the sphere. The proof of Proposition~\\ref{l:transport} uses only that $H$ is a covering over the complement of the target marks and zeros of $q$, the identity $H_t=\\phi_tH\\psi_t^{-1}$ with $\\psi_t$ affine in natural coordinates of $Q$, the measurable case of the pushforward lemma (Lemma~\\ref{l:pushforward-gen}), Kerckhoff's formula, nonexpansion and duality. For a meromorphic composition the exceptional set is closed and countable instead of locally finite; for a branched covering it is finite and $|Q|$ has finite area, which is not needed. Estimate \\eqref{eq:flat} concerns only $q$ and \\eqref{eq:ray}. A different proof of Proposition~\\ref{l:transport}, comparing the vertical foliation at time $s$ with the horizontal foliation at time $t$ through the inequality $i(G,\\mathcal H_t)\\le\\int|\\alpha_s\\wedge\\beta_t|$, is given in \\cite[Proposition~4.1]{Mer}.\n\\end{remark}"}{"id": "l:depthj", "label": "Lemma 5.5", "env": "lemma", "title": "Intermediate depths and bounded fibers", "section_num": 5, "section_title": "A finite measure on the initial flat surface", "start_line": 1147, "end_line": 1152, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Intermediate-depth probability measures and uniform fiber bound M verified solid; v22 explicitly defined the regular set Y_j at depth j.", "confirmed_issues": [], "dep_nodes": ["l:transport"], "dependents": ["l:components", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Intermediate depths and bounded fibers]\\label{l:depthj}\nFor $0\\le j\\le k$ there is a probability measure $\\nu_j$ on the depth-$j$ surface at time $0$, absolutely continuous and carried by its regular points, with $\\||\\eta_{j,t}|-(\\chi_{j,t})_*\\nu_j\\|_{\\rm TV}\\to0$; in particular $\\|\\eta_{j,t}\\|_1\\to1$. For $0\\le i<j\\le k$ and $\\epsilon>0$ there are $M<\\infty$ and a compact set $K$ of regular points at depth $j$ such that, for all large $t$, $\\int_{\\chi_{j,t}(K)^c}|\\eta_{j,t}|<\\epsilon$ and $\\chi_{j,t}(K)$ meets every fiber of the map from depth $j$ to depth $i$ at time $t$ in at most $M$ points.\n\\end{lemma}"}{"id": "l:finitecover", "label": "Lemma 6.1", "env": "lemma", "title": "Finite covering over a fixed subsurface", "section_num": 6, "section_title": "A finite covering over a fixed subsurface", "start_line": 1181, "end_line": 1200, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/FiniteCoverSelection.lean"], "lean_declarations": ["Thurston.Core.orbit_finite_and_card_le_of_mass_bound"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/FiniteCoverSelection.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "27-line finite covering lemma over a fixed subsurface verified airtight by both models; v22 explicitly allows disconnected Y_n for Section 12 reuse.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["remark_L1137", "l:components", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Finite covering over a fixed subsurface]\\label{l:finitecover}\nLet $H_n:Y_n\\to S_n$ be holomorphic coverings of Riemann surfaces, with $Y_n$ possibly disconnected, and let $\\eta_n$ be integrable holomorphic quadratic differentials on $Y_n$ of norm one with $\\|(H_n)_*\\eta_n\\|_1\\to1$. Suppose that for each $\\epsilon>0$ there are measurable $K_n\\subset Y_n$ and $M<\\infty$ with, for all large $n$,\n\\begin{equation}\\label{eq:boundedfiber}\n \\int_{Y_n\\setminus K_n}|\\eta_n|<\\epsilon,\\qquad \\#(K_n\\cap H_n^{-1}(w))\\le M\\quad(w\\in S_n).\n\\end{equation}\nLet $W$ be a connected Riemann surface with finitely generated fundamental group and $\\iota_n:W\\hookrightarrow S_n$ conformal embeddings with $p_n=\\iota_n^*(H_n)_*\\eta_n\\to p\\ne0$ locally uniformly on $W$. After passing to a subsequence there are a connected finite covering $\\pi:C\\to W$, conformal embeddings $j_n:C\\hookrightarrow Y_n$ and $c>0$ with\n\\[\n H_n\\circ j_n=\\iota_n\\circ\\pi,\\qquad j_n^*\\eta_n\\to c\\,\\pi^*p\\quad\\text{locally uniformly on }C.\n\\]\nIf moreover $Y_n$ is connected and $H_n$ has infinite degree, then $(\\iota_n)_*\\pi_1(W)$ is a proper subgroup of $\\pi_1(S_n)$ on this subsequence.\n\\end{lemma}"}{"id": "l:components", "label": "Lemma 7.1", "env": "lemma", "title": "Components for maps of infinite degree", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1289, "end_line": 1306, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Infinite-degree component vanishing via Lemma 6.1, winding formula, and Lemma 4.5 verified solid.", "confirmed_issues": [], "dep_nodes": ["l:depthj", "l:finitecover", "lem:inessential", "lem:chain"], "dependents": ["thmA", "thmC", "l:cylinder-mass", "r:cylinder-mass-scope", "thm:rat-components", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Components for maps of infinite degree]\\label{l:components}\nLet $(f,A)$ be a marked entire or meromorphic Thurston map of infinite degree and stable parabolic type with $s\\ge3$ and no Levy cycle relative to $A^+$, whose pullback has no fixed point. Use $G$, $C$ and the depth-$k$ objects of Section~\\ref{sec:transport}, with $b$ and $k=rb+1$ as above. For every sequence $t_n\\to\\infty$ and every sequence of affine coordinates on $g(t_n)$ in which the marks converge, every locally uniform limit of $P_n$ off the limiting positions vanishes.\n\\end{lemma}"}{"id": "l:cylinder-mass", "label": "Proposition 7.2", "env": "prop", "title": "Mass carried by flat cylinders", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1321, "end_line": 1394, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/AnnulusLaurentDecay.lean"], "lean_declarations": ["Thurston.Core.middle_third_const_mode_bounds"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/AnnulusLaurentDecay.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Laurent estimates and embedded flat cylinders carrying almost all of mu verified solid.", "confirmed_issues": [], "dep_nodes": ["l:components"], "dependents": ["thmA", "thmC", "thmD", "r:cylinder-mass-scope", "thm:ep-final"], "cited_keys": ["HSS"], "statement_tex": "\\begin{prop}[Mass carried by flat cylinders]\\label{l:cylinder-mass}\nUnder the assumptions of Section~\\ref{sec:mass}, let $t_n\\to\\infty$. After passing to a subsequence, each edge annulus $\\mathcal A_{e,n}$ has limiting $\\mu_n$-mass $m_e\\ge0$, and $\\sum_e m_e=E$. For each fixed $0<\\epsilon<1/4$ and all sufficiently large $n$, the annulus for each edge with $m_e>0$ contains an embedded $q_n$-flat cylinder $C_{e,n}$ such that\n\\[\n \\Mod(C_{e,n})\\longrightarrow\\infty,\n \\qquad \\mu_n(C_{e,n})\\longrightarrow(1-4\\epsilon)m_e.\n\\]\nThe cylinders belonging to different edges are disjoint.\n\\end{prop}"}{"id": "r:cylinder-mass-scope", "label": "Remark 7.3", "env": "remark", "title": "Scope of Proposition 7.2", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1396, "end_line": 1398, "has_proof": false, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Scope remark connecting cluster charts to Theorem 7.11 verified solid.", "confirmed_issues": [], "dep_nodes": ["l:cylinder-mass", "l:components", "thm:rat-components"], "dependents": [], "cited_keys": [], "statement_tex": "\\begin{remark}[Scope of Proposition~\\ref{l:cylinder-mass}]\\label{r:cylinder-mass-scope}\nThe proof of Proposition~\\ref{l:cylinder-mass} uses Lemma~\\ref{l:components} only through the vanishing of every component limit of $P_n$ in every cluster chart, and otherwise only \\eqref{eq:tv}, the simple poles of $P_n$ at the marks (including $\\infty$), and the unit area of $q_n$. So it holds, with the same proof, for meromorphic maps of infinite degree, and for branched coverings with Theorem~\\ref{thm:rat-components} in place of Lemma~\\ref{l:components}. For branched coverings the point $\\infty$ is an ordinary mark; at the root it is treated by the same simple-pole estimate in the coordinate $1/z$.\n\\end{remark}"}{"id": "def:chart", "label": "Definition 7.4", "env": "definition", "title": "", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1409, "end_line": 1411, "has_proof": false, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Component chart definition verified solid.", "confirmed_issues": [], "dep_nodes": [], "dependents": [], "cited_keys": [], "statement_tex": "\\begin{definition}\\label{def:chart}\nA \\emph{component chart at depth $j$} is a sequence of affine coordinates $\\zeta=\\lambda_n(z)$ on $X_{j,n}$ such that, after passing to a subsequence, the $\\zeta$-positions of the $s$ finite marks converge in $\\widehat\\CC$ and at least two distinct finite limits occur. Its \\emph{special points} $\\Spec$ are the finite limits together with $\\infty$. For $u\\in\\Spec$ let $M_u$ be the set of labels whose positions converge to $u$; for $u=\\infty$ it contains $\\infty$. Call $u$ a \\emph{mark point} if $|M_u|=1$ and a \\emph{node point} if $|M_u|\\ge2$. For $u\\notin\\Spec$ put $M_u=\\varnothing$.\n\\end{definition}"}{"id": "lem:nodecurve", "label": "Lemma 7.5", "env": "lemma", "title": "Node curves", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1417, "end_line": 1422, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Node curves and intersection vanishing verified solid including u=infinity.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["lem:lift", "thm:rat-components"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Node curves]\\label{lem:nodecurve}\nFor large $n$, $\\beta_u$ is essential if and only if $u$ is a node point. If $u$ is a node point, then $\\Ext_{X_{j,n}}(\\beta_u)\\to0$ and $\\ell_{q_n}(\\beta_u)\\to0$.\n\\end{lemma}"}{"id": "lem:holes", "label": "Lemma 7.6", "env": "lemma", "title": "Limits of rational maps", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1427, "end_line": 1432, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Rational map limits off the finite hole set verified solid ([DeM, §4] verified).", "confirmed_issues": [], "dep_nodes": [], "dependents": ["lem:descent"], "cited_keys": ["DeM"], "statement_tex": "\\begin{lemma}[Limits of rational maps]\\label{lem:holes}\nAfter passing to a subsequence there are a rational map $R$, possibly constant, and a finite set $\\mathcal X\\subset\\widehat\\CC$ of \\emph{holes} such that $G_n\\to R$ uniformly in the spherical metric on compact subsets of $\\widehat\\CC\\setminus\\mathcal X$, and no point of $\\mathcal X$ has a neighborhood of uniform convergence.\n\\end{lemma}"}{"id": "lem:lift", "label": "Lemma 7.7", "env": "lemma", "title": "Lifting small circles", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1434, "end_line": 1439, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Small-circle lifting and normality off node points verified solid.", "confirmed_issues": [], "dep_nodes": ["lem:nodecurve", "lem:inessential"], "dependents": ["lem:nondeg", "thm:rat-components"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Lifting small circles]\\label{lem:lift}\nAssume $R$ is nonconstant. Let $z\\in\\widehat\\CC$ (in $\\zeta_w$), $e=\\deg_zR$, $y=R(z)$. For all large $n$, $\\beta_z$ at depth $j+1$ is represented by a component of $F_{j+1,n}^{-1}(\\gamma)$ of degree $e$, where $\\gamma$ is a small circle about $y$ in $\\zeta_v$. Consequently: (i) if $z$ is a node point of $w$, then $y$ is a node point of $v$ and $\\beta_z$ is a component of $f^{-1}(\\beta_y)$ of degree $e$; (ii) if $y$ is not a node point of $v$, then $z\\notin\\mathcal X$.\n\\end{lemma}"}{"id": "lem:nondeg", "label": "Lemma 7.8", "env": "lemma", "title": "Nondegenerate target", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1441, "end_line": 1446, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Nondegenerate target and Riemann–Hurwitz disk cover verified solid.", "confirmed_issues": [], "dep_nodes": ["lem:lift"], "dependents": ["thm:rat-components"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Nondegenerate target]\\label{lem:nondeg}\nAssume $R$ is nonconstant and $v$ has no node point. Then: (a) $w$ has no node point, $\\mathcal X=\\varnothing$, $G_n\\to R$ uniformly on $\\widehat\\CC$, and $\\deg R=D$; (b) for every label $a$ with limit $x_a$ in $v$ and every $z\\in R^{-1}(x_a)$, $e=\\deg_zR$, for large $n$ there is exactly one $F_{j+1,n}$-preimage of the mark $a$ near $z$, and its local degree is $e$; (c) if $L\\subset A^+$ and every unramified $R$-preimage of $\\{x_a:a\\in L\\}$ is a special point of $w$, with labels $L'$, then the unramified $f$-preimages of $L$ are exactly the labels in $L'$; in particular they lie in $A^+$.\n\\end{lemma}"}{"id": "lem:descent", "label": "Lemma 7.9", "env": "lemma", "title": "Descent", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1450, "end_line": 1468, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Descent of nonzero component limits verified solid.", "confirmed_issues": [], "dep_nodes": ["lem:holes"], "dependents": ["remark_L1137", "cor:poles", "thm:rat-components"], "cited_keys": ["Dur"], "statement_tex": "\\begin{lemma}[Descent]\\label{lem:descent}\nLet $0\\le j<k$ and let $v$ be a component chart at depth $j$ with component limit $p_v\\ne0$. After passing to a subsequence there is a component chart $w$ at depth $j+1$ such that the limit $R$ of Lemma~\\ref{lem:holes} is nonconstant and the component limit of $\\eta_{j+1,n}$ in $w$ is $p_w=c\\,R^*p_v$ with $c>0$.\n\\end{lemma}"}{"id": "cor:poles", "label": "Lemma 7.10", "env": "lemma", "title": "Pole bookkeeping", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1470, "end_line": 1475, "has_proof": true, "trust_bucket": "proved_lean", "lean_status": "proved_lean", "lean_files": ["Thurston/Core/RiemannHurwitzPoles.lean"], "lean_declarations": ["Thurston.Core.cor_poles_equality_rigidity"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/RiemannHurwitzPoles.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Pole bookkeeping |P_w| >= d(m-4)+4 >= m and equality rigidity proved outright in Lean 4 + Mathlib.", "confirmed_issues": [], "dep_nodes": ["lem:descent"], "dependents": ["thm:rat-components"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Pole bookkeeping]\\label{cor:poles}\nIn Lemma~\\ref{lem:descent} let $d=\\deg R$ and $m=|\\mathcal P_v|$. Then (i) $\\mathcal P_w=\\{z:R(z)\\in\\mathcal P_v,\\ \\deg_zR=1\\}\\subset\\Spec(w)$; (ii) $4\\le m\\le|\\mathcal P_w|\\le N$; (iii) if $|\\mathcal P_w|=m$ and $d\\ge2$, then $m=4$, every critical value of $R$ lies in $\\mathcal P_v$, and every critical point of $R$ is simple.\n\\end{lemma}"}{"id": "thm:rat-components", "label": "Theorem 7.11", "env": "theorem", "title": "Component lemma for branched coverings", "section_num": 7, "section_title": "Accounting for the whole measure", "start_line": 1477, "end_line": 1494, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/RationalComponentTree.lean"], "lean_declarations": ["Thurston.Core.thm_rat_components_combinatorial"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/RationalComponentTree.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Rational component vanishing theorem (Steps 0–5, arithmetic j_* <= (N-2)(N-3) < N^2) verified airtight by both models.", "confirmed_issues": [], "dep_nodes": ["l:components", "lem:descent", "cor:poles", "lem:lift", "l:transport", "lem:nodecurve", "lem:chain", "lem:nondeg", "lem:saturation"], "dependents": ["thmD", "r:cylinder-mass-scope"], "cited_keys": ["FMar"], "statement_tex": "\\begin{theorem}[Component lemma for branched coverings]\\label{thm:rat-components}\nLet $f$ be as at the start of this subsection and $k\\ge N^2+N_0$. For any $t_n\\to\\infty$, on every subsequence on which a component chart $w_0$ at depth $0$ and the component limit of $P_n=P_{t_n}$ in it exist, this limit vanishes. In particular the conclusion of Lemma~\\ref{l:components} holds.\n\\end{theorem}"}{"id": "l:hyparea", "label": "Lemma 9.1", "env": "lemma", "title": "Hyperbolic area, [Dr, Lemma 2.1]", "section_num": 9, "section_title": "Necessity, uniqueness and convergence", "start_line": 1543, "end_line": 1551, "has_proof": true, "trust_bucket": "proved_lean", "lean_status": "proved_lean", "lean_files": ["Thurston/Core/HyperbolicAnnulusArea.lean"], "lean_declarations": ["Thurston.Core.annulus_mod_mul_sq_le_area"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/HyperbolicAnnulusArea.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Hyperbolic area bound Mod(D_j)*l_X(alpha_j)^2 <= area_X(D_j) proved outright in Lean 4 + Mathlib.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["p:necessity-obstruction"], "cited_keys": ["Mer"], "statement_tex": "\\begin{lemma}[Hyperbolic area, {\\cite[Lemma~2.1]{Mer}}]\\label{l:hyparea}\nLet $X$ be a marked sphere with $N=s+1\\ge4$ marks, with the complete hyperbolic metric of curvature $-1$ on the complement of the marks, and write $\\ell_X(\\alpha)$ for the length of the geodesic in an essential class $\\alpha$. If $D_j$ are disjoint embedded annuli with essential core classes $\\alpha_j$, then\n\\begin{equation}\\label{eq:hyparea}\n \\sum_j\\Mod(D_j)\\,\\ell_X(\\alpha_j)^2\\le\\area_X\\Bigl(\\bigcup_jD_j\\Bigr)\\le2\\pi(N-2).\n\\end{equation}\n\\end{lemma}"}{"id": "p:necessity-obstruction", "label": "Proposition 9.2", "env": "prop", "title": "Necessity, [Dr, §8]", "section_num": 9, "section_title": "Necessity, uniqueness and convergence", "start_line": 1553, "end_line": 1562, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "lean_from_interface", "lean_files": ["Thurston/Core/PerronObstructionBounds.lean"], "lean_declarations": ["Thurston.Core.necessity_no_obstruction"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/PerronObstructionBounds.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Hyperbolic-area necessity excluding obstructions with rho>=1 verified solid (v22 clarified inserting cylinders only for v_alpha>0; Perron bound proved in Lean 4).", "confirmed_issues": [], "dep_nodes": ["lem:iterate", "l:hyparea"], "dependents": ["thmA", "thmC", "thmD", "thmE"], "cited_keys": ["Mer"], "statement_tex": "\\begin{prop}[Necessity, {\\cite[\\S8]{Mer}}]\\label{p:necessity-obstruction}\nLet $(f,A)$ be entire or meromorphic of infinite degree and stable parabolic type, or a branched covering of the sphere (this includes topological polynomials), with $s\\ge3$. Suppose that the pullback has a fixed point $x_*$ and that every orbit converges to it. Then $f$ has no Thurston obstruction relative to $A^+$.\n\\end{prop}"}{"id": "r:poly", "label": "Remark 9.3", "env": "remark", "title": "", "section_num": 9, "section_title": "Necessity, uniqueness and convergence", "start_line": 1580, "end_line": 1588, "has_proof": false, "trust_bucket": "proved_lean", "lean_status": "proved_lean", "lean_files": ["Thurston/Core/Counterexamples.lean"], "lean_declarations": ["Thurston.Core.polyPullback_exact_cancellation"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/Counterexamples.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Algebraic counterexample f(z)=z^2+i (s=7) to [MPR, Prop 2.22(3)] verified exact by both models.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["rem:DH"], "cited_keys": ["DH", "MPR"], "statement_tex": "\\begin{remark}\\label{r:poly}\nFor the postcritical marking and hyperbolic orbifold, strict contraction of the second iterate is classical \\cite[Proposition~3.3(b)]{DH}. The extension in \\cite[Proposition~2.22(3)]{MPR} to arbitrary extra marks fails; our proof instead uses an iterate depending on $s$. For example, take $f(z)=z^2+i$, with critical orbit $0\\mapsto i\\mapsto-1+i\\mapsto-i\\mapsto-1+i$, and the forward-invariant set\n\\[\n A=\\{0,\\ i,\\ -i,\\ -1+i,\\ 1-i,\\ \\pm\\sqrt{1-2i}\\},\\qquad s=7.\n\\]\nPut $p=\\dd z^2/\\big((z-i)(z+i)(z+1-i)\\big)$, whose poles are $i,-i,-1+i,\\infty$. The fibers of $f^2$ over these finite poles are, respectively, $\\{\\pm\\sqrt{-i}\\}$, $\\{\\pm i,\\pm\\sqrt{1-2i}\\}$, and $\\{0,\\pm(1-i)\\}$. The points $\\pm\\sqrt{-i}$ and $0$ have local degree two; infinity has local degree four. The pullback order rule \\eqref{eq:order} therefore makes $(f^2)^*p$ regular at those finite ramified points, with a double zero at infinity and exactly six simple poles $\\pm i,\\pm\\sqrt{1-2i},\\pm(1-i)$, all in $A$. Consequently $q=(f^2)^*p/4$ is integrable relative to $A^+$ and\n$\\|(f^2)_*q\\|_1=\\|p\\|_1=\\|q\\|_1$.\nThus the cotangent map of $\\sigma^2$ has norm one at the fixed point.\n\\end{remark}"}{"id": "r:parabolic", "label": "Remark 9.4", "env": "remark", "title": "Parabolic orbifold", "section_num": 9, "section_title": "Necessity, uniqueness and convergence", "start_line": 1593, "end_line": 1595, "has_proof": false, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Parabolic orbifold remark (flexible Lattès maps) verified solid.", "confirmed_issues": [], "dep_nodes": ["lem:saturation", "rem:DH"], "dependents": [], "cited_keys": ["DH"], "statement_tex": "\\begin{remark}[Parabolic orbifold]\\label{r:parabolic}\nTheorem~D assumes that the orbifold of $f$ is hyperbolic, and this is used only through Lemma~\\ref{lem:saturation}. For branched coverings with parabolic orbifold the saturation count can be an equality for every iterate (flexible Latt\\`es maps, Remark~\\ref{rem:DH}), and realizability is decided differently. We do not treat this case; see \\cite[\\S9]{DH}.\n\\end{remark}"}{"id": "pl", "label": "Theorem 11.1", "env": "theorem", "title": "", "section_num": 11, "section_title": "Postcritically finite polynomial-like maps", "start_line": 1642, "end_line": 1737, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Polynomial-like capping, Levy correspondence, equipotential isotopy, straightening, and affine uniqueness verified solid; v22 resolved all 3 v21 items (half-open exterior annuli, unbranched collar, and explicit germ formulation).", "confirmed_issues": [], "dep_nodes": ["thmA", "thmB"], "dependents": [], "cited_keys": ["DHpl", "Poirier"], "statement_tex": "\\begin{theorem}\\label{pl}\nThe disk map has a marked polynomial-like realization if and only if it\nhas no Levy cycle. In that case it has a realization by an equipotential\nrestriction of a degree-$d$ polynomial $P$. All holomorphic realizations\nhave connected filled Julia set and straighten to the same polynomial up to\naffine conjugacy.\n\\end{theorem}"}{"id": "thm:ep-qr", "label": "Theorem 12.1", "env": "theorem", "title": "", "section_num": 12, "section_title": "Finite-type maps on arbitrary sphere domains", "start_line": 1766, "end_line": 1820, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/HyperbolicCircumcenter.lean"], "lean_declarations": ["Thurston.Core.measurable_tailCircumcenter"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/HyperbolicCircumcenter.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro", "DeepSeek-V4.1-Flash", "GLM-5.3"], "audit_summary": "Beltrami integration and hyperbolic circumcenter straightening verified solid; v22 clarified marked-equivalence scope for Part 2, circumcenter ball containment, measurable first-index selection, and countable union of null sets.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{theorem}\\label{thm:ep-qr}\nLet $f$ have a quasiregular model as above.\n\\begin{enumerate}\n\\item If $|B|\\le3$, the marked class has a holomorphic finite-type\nrealization.\n\\item For arbitrary finite $B$, suppose that a constant $K$ bounds\nthe maximal dilatation of every iterate $f^n$ on its domain of definition,\nindependently of $n$. Then a single quasiconformal sphere homeomorphism\nconjugates the model on $W$ to a holomorphic finite-type map.\n\\end{enumerate}\n\\end{theorem}"}{"id": "prop:ep-matrix", "label": "Proposition 12.2", "env": "prop", "title": "", "section_num": 12, "section_title": "Finite-type maps on arbitrary sphere domains", "start_line": 1827, "end_line": 1854, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "lean_from_interface", "lean_files": ["Thurston/Core/PerronObstructionBounds.lean"], "lean_declarations": ["Thurston.Core.ep_matrix_eig_le_one"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/PerronObstructionBounds.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro", "DeepSeek-V4.1-Flash"], "audit_summary": "Hyperbolic area bound and spectral radius <= 1 (including countably infinite parallel lifts) verified solid and proved in Lean 4 from the area interface.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["thm:ep-strict", "thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{prop}\\label{prop:ep-matrix}\nIf the marked class admits a holomorphic realization and $|B|\\ge4$,\nthen every stable multicurve has $\\rho(M)\\le1$, with parallel closed\nlifts counted with multiplicity.\n\\end{prop}"}{"id": "remark_L1856", "label": "Remark 12.3", "env": "remark", "title": "Failure of marked rigidity", "section_num": 12, "section_title": "Finite-type maps on arbitrary sphere domains", "start_line": 1856, "end_line": 1868, "has_proof": false, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini"], "audit_summary": "Failure of marked rigidity example (rotation R_theta on disk universal cover) verified airtight.", "confirmed_issues": [], "dep_nodes": [], "dependents": [], "cited_keys": [], "statement_tex": "\\begin{remark}[Failure of marked rigidity]\nTake $W=\\mathbb D$, $B=\\{2,3,\\infty\\}$ and a holomorphic universal\ncover $F:\\mathbb D\\to S\\setminus B$. The omitted values are exactly the\nsingular values; their marked orbits all terminate. For $R_\\theta(z)=\ne^{i\\theta}z$ set $F_\\theta=F\\circ R_{-\\theta}$. Taper the rotation to\nthe identity in $1<|z|<3/2$. This gives a source homeomorphism isotopic\nto the identity rel $B$ and hence a marked equivalence with target marking\nthe identity. The maps are distinct for distinct angles modulo $2\\pi$:\na deck transformation fixing $0$ is the identity. A M\\\"obius map fixing\nall three labeled values is also the identity. Thus even with the same\nround source disk and exactly three marks the realization need not be\nunique up to marked M\\\"obius conjugacy.\n\\end{remark}"}{"id": "thm:ep-strict", "label": "Theorem 12.4", "env": "theorem", "title": "", "section_num": 12, "section_title": "Finite-type maps on arbitrary sphere domains", "start_line": 1872, "end_line": 1923, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro", "DeepSeek-V4.1-Flash"], "audit_summary": "Strict pushforward contraction and Perron–Frobenius necessity (rho<1) verified solid; v22 explicitly restricted cylinder insertion to v_alpha>0 and added [Eps93] alongside [AstEp, Lemmas 3.1–3.3].", "confirmed_issues": [], "dep_nodes": ["prop:ep-matrix"], "dependents": ["thm:ep-final"], "cited_keys": ["AstEp", "Eps93"], "statement_tex": "\\begin{theorem}\\label{thm:ep-strict}\nLet $f:W\\to S$ be a realized Epstein finite-type map of infinite degree\non a connected sphere domain, with marking $B$ as above. Every stable\nmulticurve relative to $B$ satisfies $\\rho(M)<1$.\n\\end{theorem}"}{"id": "thm:ep-boundary", "label": "Theorem 12.5", "env": "theorem", "title": "", "section_num": 12, "section_title": "Finite-type maps on arbitrary sphere domains", "start_line": 1925, "end_line": 1961, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Disk boundary-extension criterion verified solid; v22 updated the citation to [Tappu, Prop 4.1(1)–(2)].", "confirmed_issues": [], "dep_nodes": [], "dependents": ["rem:ep-twist"], "cited_keys": ["Tappu"], "statement_tex": "\\begin{theorem}\\label{thm:ep-boundary}\nLet $B\\subset S\\setminus\\overline{\\mathbb D}$ be finite with $|B|\\ge3$.\nFix a holomorphic universal covering $\\pi:\\mathbb D\\to S\\setminus B$.\nFor an orientation-preserving homeomorphism $H$ of the open disk set\n$f_H=\\pi\\circ H$. Then $f_H$ has a marked holomorphic realization by\nambient sphere markings if and only if $H$ extends to a homeomorphism of\nthe closed disk. For every $H$, all Thurston matrices relative to $B$\nare zero.\n\\end{theorem}"}{"id": "rem:ep-twist", "label": "Remark 12.6", "env": "remark", "title": "A four-marked counterexample", "section_num": 12, "section_title": "Finite-type maps on arbitrary sphere domains", "start_line": 1963, "end_line": 1974, "has_proof": false, "trust_bucket": "proved_lean", "lean_status": "proved_lean", "lean_files": ["Thurston/Core/Counterexamples.lean"], "lean_declarations": ["Thurston.Core.radialTwist_no_continuous_extension"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/Counterexamples.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Four-marked non-extending radial twist counterexample verified exact.", "confirmed_issues": [], "dep_nodes": ["thm:ep-boundary", "thm:ep-final"], "dependents": [], "cited_keys": [], "statement_tex": "\\begin{remark}[A four-marked counterexample]\\label{rem:ep-twist}\nTake $B=\\{2,3,4,\\infty\\}$ and\n$H(re^{it})=r\\exp(i[t+r/(1-r)])$. This is a homeomorphism of the open\ndisk, with inverse given by the opposite radial twist. Along the positive\nradius take $r_n=2\\pi n/(1+2\\pi n)$ and\n$s_n=(2n+1)\\pi/(1+(2n+1)\\pi)$. Both tend to $1$, whereas $H(r_n)\\to1$\nand $H(s_n)\\to-1$. Theorem~\\ref{thm:ep-boundary} therefore gives an\nunrealizable marked topological model. It has the same omitted values,\nmarked orbit data and curve pullbacks as the realized map $\\pi$. Thus\neven vanishing of every matrix is insufficient in the unrestricted\ntopological category. Theorem~\\ref{thm:ep-final} identifies the additional hypothesis that restores sufficiency.\n\\end{remark}"}{"id": "thm:ep-final", "label": "Theorem 12.7", "env": "theorem", "title": "", "section_num": 12, "section_title": "Finite-type maps on arbitrary sphere domains", "start_line": 1978, "end_line": 1986, "has_proof": true, "trust_bucket": "audited_solid", "lean_status": "none", "lean_files": [], "lean_declarations": [], "lean_urls": [], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro", "DeepSeek-V4.1-Flash"], "audit_summary": "Epstein finite-type quasiregular obstruction criterion verified solid; v22 resolved all 4 v21 bridges (self-contained two-set descent when u(B) is not in B, explicit intermediate markings F_{j,t} and D_k subset Y_0^{(2)}, disconnected Y_n in Lemma 6.1 + |B|<=3 case + infinity normalization, and prescribed values in isotopy rel b(B)).", "confirmed_issues": [], "dep_nodes": ["thm:ep-strict", "thm:ep-qr", "l:record", "lem:ep-mixed", "l:hilbert", "l:depthj", "lem:inessential", "prop:ep-matrix", "lem:iterate", "lem:levy-obstruction", "l:Lambda", "p:vertical-gen", "l:transport-forms", "l:horizontal", "l:components", "l:finitecover", "lem:chain", "l:cylinder-mass"], "dependents": ["rem:ep-twist"], "cited_keys": ["AstEp"], "statement_tex": "\\begin{theorem}\\label{thm:ep-final}\nLet $f:W\\to S$ have infinite degree, with $W$ a connected sphere domain\nand $B$ a finite marking as in Section~\\ref{sec:epstein}. Suppose there\nexist independent orientation-preserving sphere homeomorphisms $a,b$\nsuch that $b f a^{-1}:a(W)\\to S$ is holomorphic. Then $f$ admits a\nholomorphic realization by ambient markings isotopic relative to $B$\nif and only if every stable multicurve $\\Gamma$ relative to $B$ satisfies\n$\\rho(M_\\Gamma)<1$. The domain of the realization may move.\n\\end{theorem}"}{"id": "lem:ep-mixed", "label": "Lemma 12.8", "env": "lemma", "title": "Transverse length across the exit set", "section_num": 12, "section_title": "Finite-type maps on arbitrary sphere domains", "start_line": 2065, "end_line": 2114, "has_proof": true, "trust_bucket": "lean_interface", "lean_status": "partial_lean", "lean_files": ["Thurston/Core/TransportL1Convergence.lean"], "lean_declarations": ["Thurston.Core.ep_hilbert_decay"], "lean_urls": ["https://huggingface.co/datasets/van-strien/thurston-lean/blob/main/Thurston/Core/TransportL1Convergence.lean"], "audit_verdict": "SOLID", "audit_models": ["Gemini", "Kimi-K3.1-Pro"], "audit_summary": "Transverse length across arbitrary / fat-Cantor exit set L verified solid; v22 expanded the AC-to-chord subdivision step cleanly.", "confirmed_issues": [], "dep_nodes": [], "dependents": ["thm:ep-final"], "cited_keys": [], "statement_tex": "\\begin{lemma}[Transverse length across the exit set]\\label{lem:ep-mixed}\nLet $r_s$ be the Hubbard--Masur differential for $G$ on $X_s$.\nOn $D$ take the absolute coefficients $a_s,b_s$ of\n$\\psi_s^*\\Re\\sqrt{r_s}$ in $\\dd x,\\dd y$. Choose a smooth conformal\nmetric $\\dd l_0$ on $X_0$, with area $\\dd A_0$. On $L$ set\n$c_s^2\\dd A_0=\\psi_s^*|r_s|$. For every finite convex combination\n$(a,b,c)$ of these triples and every $t\\ge0$,\n\\[\n E_t=e^{2t}\\|r_t\\|_1\\le\n J_t(a,b,c)=\\|a\\|_D^2+e^{4t}\\|b\\|_D^2+e^{2t}\\|c\\|_L^2 ,\n\\]\nwith equality for the triple at $t$. The squared norms use $|Q|$ on\n$D$ and $\\dd A_0$ on $L$.\n\\end{lemma}"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596{"version": "1.3.0", "packagesDir": ".lake/packages", "packages": [{"url": "https://github.com/leanprover-community/mathlib4", "type": "git", "subDir": null, "scope": "leanprover-community", "rev": "9d581dfff2e41de989072ea63abf3daf69311520", "name": "mathlib", "manifestFile": "lake-manifest.json", "inputRev": "v4.36.0-rc2", "inherited": false, "configFile": "lakefile.lean"}, {"url": "https://github.com/leanprover-community/plausible", "type": "git", "subDir": null, "scope": "leanprover-community", "rev": "129d1ba9a16bc0660f46c79e9fb041ef5d5d80de", "name": "plausible", "manifestFile": "lake-manifest.json", "inputRev": "main", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/LeanSearchClient", "type": "git", "subDir": null, "scope": "leanprover-community", "rev": "c61286b7b63cbfd563b28e11e81d0a18233a044a", "name": "LeanSearchClient", "manifestFile": "lake-manifest.json", "inputRev": "main", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/import-graph", "type": "git", "subDir": null, "scope": "leanprover-community", "rev": "b8cc5dd0a36233b88a6ed5a7dbf1207d09338c60", "name": "importGraph", "manifestFile": "lake-manifest.json", "inputRev": "main", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/ProofWidgets4", "type": "git", "subDir": null, "scope": "leanprover-community", "rev": "16259c0d07d61ee37d999d05b5cf96338b8daa11", "name": "proofwidgets", "manifestFile": "lake-manifest.json", "inputRev": "main", "inherited": true, "configFile": "lakefile.lean"}, {"url": "https://github.com/leanprover-community/aesop", "type": "git", "subDir": null, "scope": "leanprover-community", "rev": "7d11bfa88558f8d3d90afdf6bd877ed70001498d", "name": "aesop", "manifestFile": "lake-manifest.json", "inputRev": "master", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/quote4", "type": "git", "subDir": null, "scope": "leanprover-community", "rev": "b0256621cb88178e9ad932a53633077b3029e621", "name": "Qq", "manifestFile": "lake-manifest.json", "inputRev": "master", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/batteries", "type": "git", "subDir": null, "scope": "leanprover-community", "rev": "d4c39b228d4a06f3b00748c2c445a7b9f056a6e3", "name": "batteries", "manifestFile": "lake-manifest.json", "inputRev": "main", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover/lean4-cli", "type": "git", "subDir": null, "scope": "leanprover", "rev": "c09cb1e4f1e6e1c231a1175a12b681b075054a1b", "name": "Cli", "manifestFile": "lake-manifest.json", "inputRev": "v4.36.0-rc2", "inherited": true, "configFile": "lakefile.toml"}], "name": "thurston", "lakeDir": ".lake", "fixedToolchain": false}12345678910111213141516171819name = "thurston"version = "0.1.0"keywords = ["math"]defaultTargets = ["Thurston"]
[leanOptions]pp.unicode.fun = true # pretty-prints `fun a ↦ b`relaxedAutoImplicit = falseweak.linter.mathlibStandardSet = trueweak.linter.style.header = false # personal project: no Mathlib copyright headermaxSynthPendingDepth = 3
[[require]]name = "mathlib"scope = "leanprover-community"rev = "v4.36.0-rc2"
[[lean_lib]]name = "Thurston"1leanprover/lean4:v4.36.0-rc2123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859{ "meta": { "visibility": "private", "arxiv_url": "", "lean_repo_url": "https://huggingface.co/datasets/van-strien/thurston-lean/blob/main", "paper_version": "v22 (3 December 2026, unpublished draft)", "note": "Full multi-model audit across all 58 results of v22 (all 22 referee items from v21 resolved), combined with pure-Mathlib Lean 4 proofs and explicit-interface Lean 4 proofs." }, "lean_coverage": { "l:hilbert": { "status": "proved_lean", "files": [ { "path": "Thurston/Core/HilbertQuadraticDecay.lean", "decl": "Thurston.Core.lemma_5_1", "note": "Proved outright in Lean 4 + Mathlib (zero extra axioms)" } ] }, "lem:chain": { "status": "proved_lean", "files": [ { "path": "Thurston/Core/LevyCycleChains.lean", "decl": "Thurston.Core.chain_prod_deg_ge_two_pow", "note": "Both parts of Lemma 4.5 (minimal degree-1 repeat / Levy cycle and 2^b <= prod d_j) proved outright in Lean 4 + Mathlib (zero extra axioms)" } ] }, "cor:poles": { "status": "proved_lean", "files": [ { "path": "Thurston/Core/RiemannHurwitzPoles.lean", "decl": "Thurston.Core.cor_poles_equality_rigidity", "note": "Riemann-Hurwitz unramified preimage bound (ii) and equality rigidity m=4, rho=2d-2, simple critical points (iii) proved outright in Lean 4 + Mathlib" } ] }, "lem:saturation": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/RiemannHurwitzPoles.lean", "decl": "Thurston.Core.lem_saturation_counting", "note": "Core counting contradiction (Y=P, simple critical points, chi>=0) and uniform N_0 bound proved in Lean 4 + Mathlib; cotangent-norm pullback step audited solid" } ] }, "l:hyparea": { "status": "proved_lean", "files": [ { "path": "Thurston/Core/HyperbolicAnnulusArea.lean", "decl": "Thurston.Core.annulus_mod_mul_sq_le_area", "note": "Circle Cauchy-Schwarz, annulus integral bound M*l^2 <= area, and finite sum bound proved outright in Lean 4 + Mathlib" } ] }, "p:necessity-obstruction": { "status": "lean_from_interface", "files": [ { "path": "Thurston/Core/PerronObstructionBounds.lean", "decl": "Thurston.Core.necessity_no_obstruction", "note": "Iterated Perron bound and limiting contradiction (excluding rho=1 as well as rho>1) proved in Lean 4 + Mathlib given lifted annuli & Perron vector" } ] }, "prop:ep-matrix": { "status": "lean_from_interface", "files": [ { "path": "Thurston/Core/PerronObstructionBounds.lean", "decl": "Thurston.Core.ep_matrix_eig_le_one", "note": "Uniform entry bound on M^n and spectral radius <= 1 proved in Lean 4 + Mathlib from the hyperbolic area inequality" } ] }, "l:pushforward": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/CoveringAreaPushforward.lean", "decl": "Thurston.Core.areaFormula_of_isCoveringMapOn", "note": "Area formula + pushforward L1 inequality proved in Lean 4 + Mathlib" }, { "path": "Thurston/Core/PushforwardHolomorphic.lean", "decl": "Thurston.Core.pushHolomorphic", "note": "Holomorphy of pushforward proved in Lean 4 + Mathlib; Great Picard strictness audited solid" } ] }, "l:record": { "status": "lean_from_interface", "files": [ { "path": "Thurston/Conditional/WolffDenjoy/Proof.lean", "decl": "Thurston.theorem_2_1_stated", "note": "Proved in Lean 4 from 14 explicit Teichmüller / measured-foliation interface facts (C >= 1 uniform form)" } ] }, "l:matrix": { "status": "lean_from_interface", "files": [ { "path": "Thurston/Conditional/MatrixSpectralRadius.lean", "decl": "Thurston.Conditional.matrix_lemma", "note": "Proved in Lean 4 from stated covering / isotopy inputs" } ] }, "lem:iterate": { "status": "proved_lean", "files": [ { "path": "Thurston/Core/IterateMatrix.lean", "decl": "Thurston.Core.iterate_matrix_eq_sum_lifts", "note": "Matrix of m-th iterate equals M^m from lift chains and inductive covering-lift factorization with multiplicative degrees (pure Mathlib, zero extra axioms)" } ] }, "lem:levy-obstruction": { "status": "proved_lean", "files": [ { "path": "Thurston/Core/LevyObstruction.lean", "decl": "Thurston.Core.levy_obstruction", "note": "Monotone stabilization of P(Gamma) at an f-stable multicurve Gamma* >= L, (M^p)_{gg} >= 1, and pure-Mathlib spectral radius bound rho(M) >= 1 (zero extra axioms)" } ] }, "prop:reduction": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/BoundedOrbitFixedPoint.lean", "decl": "Thurston.Core.prop_reduction_bounded_orbit", "note": "Complete metric core (Cauchy convergence from delta_{n+N_0} <= lambda*delta_n, unique fixed point, global convergence of every orbit, contrapositive reduction to unbounded orbits) proved in Lean 4 + Mathlib; Teichmüller length-metric ball contraction audited solid" } ] }, "thm:rat-components": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/RationalComponentTree.lean", "decl": "Thurston.Core.thm_rat_components_combinatorial", "note": "Combinatorial descent-tree core (Steps 0, 2, 3, 4, 5: <= N-4 non-flat steps, unramified flat steps at nodes, j_* <= (N-2)(N-3) < N^2) proved in Lean 4 + Mathlib reusing RiemannHurwitzPoles and LevyCycleChains; holomorphic descent and multicurve compatibility audited solid" } ] }, "l:finitecover": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/FiniteCoverSelection.lean", "decl": "Thurston.Core.orbit_finite_and_card_le_of_mass_bound", "note": "Bounded-fiber sheet selection, finite/tsum alignment-defect bounds, Cayley word-length orbit growth & mass exhaustion, and proper-subgroup corollary proved in Lean 4 + Mathlib; Montel normal-family extraction and analytic continuation audited solid" } ] }, "thm:ep-qr": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/HyperbolicCircumcenter.lean", "decl": "Thurston.Core.measurable_tailCircumcenter", "note": "Part 2 CAT(0)/strict-midpoint-convex circumcenter existence, uniqueness, isometry/tail equivariance, and measurable first-index selection from a countable dense subset proved in Lean 4 + Mathlib; Beltrami integration and Part 1 audited solid" } ] }, "l:transport": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/TransportL1Convergence.lean", "decl": "Thurston.Core.transport_L1_tendsto_zero", "note": "L^2 -> L^1 comparison error bound, pushforward norm ratio -> 1, and uniform absolute-continuity modulus omega(delta) -> 0 proved in Lean 4 + Mathlib; Hubbard-Masur area identity and Teichmüller marking lift audited solid" } ] }, "lem:ep-mixed": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/TransportL1Convergence.lean", "decl": "Thurston.Core.ep_hilbert_decay", "note": "Three-term Hilbert quadratic decay (e^{2s}||b_s|| -> 0, e^s||c_s|| -> 0, a_s -> v with ||v||^2 = E) for the exit-set functional J_t(a,b,c) proved in Lean 4 + Mathlib; quasiconformal ACL / extremal-length inequality audited solid" } ] }, "p:vertical-gen": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/VerticalCylinderObstruction.lean", "decl": "Thurston.Core.vertical_cylinder_obstruction", "note": "Step 5 Cauchy-Schwarz cylinder energy bound (finite and tsum), Gelfand spectral-radius decay (rho(M) < 1 => M^k -> 0), and rho(M) >= 1 deduction proved in Lean 4 + Mathlib; torus test form, weak limit, and Poincare recurrence audited solid" } ] }, "l:cylinder-levy": { "status": "lean_from_interface", "files": [ { "path": "Thurston/Core/VerticalCylinderObstruction.lean", "decl": "Thurston.Core.cylinder_gives_levy_cycle", "note": "Directly combines Proposition 4.7 (rho(M_Lambda) >= 1) with the Matrix Lemma (rho(M_Lambda) < 1 without a Levy cycle) in Lean 4 + Mathlib" } ] }, "l:cylinder-mass": { "status": "partial_lean", "files": [ { "path": "Thurston/Core/AnnulusLaurentDecay.lean", "decl": "Thurston.Core.middle_third_const_mode_bounds", "note": "Moving simple-pole disk integral (<= 4*pi*r_D*M_chi), sharp Laurent tail decay eq:laurent, uniform L^1 annulus/band error bound, and middle-third constant-mode bounds proved in Lean 4 + Mathlib; cluster tree and flat-cylinder coordinate construction audited solid" } ] }, "r:poly": { "status": "proved_lean", "files": [ { "path": "Thurston/Core/Counterexamples.lean", "decl": "Thurston.Core.polyPullback_exact_cancellation", "note": "Unconditional verification of f(z) = z^2 + i on the 7-point forward-invariant set A: exact fibers and local degrees of f^2, rational cancellation of q = (f^2)^*p / 4 with all 6 simple poles in A, and zero-cancellation pushforward equality (pure Mathlib, zero interfaces)" } ] }, "rem:ep-twist": { "status": "proved_lean", "files": [ { "path": "Thurston/Core/Counterexamples.lean", "decl": "Thurston.Core.radialTwist_no_continuous_extension", "note": "Unconditional verification that H(r e^{it}) = r exp(i(t + r/(1-r))) is a homeomorphism of the open unit disk with explicit sequences r_n, s_n -> 1 satisfying H(r_n) -> 1 and H(s_n) -> -1, hence no continuous extension to the closed disk (pure Mathlib, zero interfaces)" } ] } }, "audits": { "thmA": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Entire Levy criterion (Sections 2–9): all supporting lemmas, vertical-cylinder exclusion, component vanishing, and necessity verified solid in v22." }, "thmB": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Uniqueness & convergence for entire maps (Section 9): strict contraction (N=1 transcendental, d^N>s-2 polynomial) and affine uniqueness verified solid." }, "thmC": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Meromorphic Thurston criterion (s>=2, Sections 8.1 & 9.1): all supporting results verified solid; v22 added the explicit holomorphy reference in Lemma 2.B." }, "thmD": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Branched coverings with hyperbolic orbifold (without DH compactness, Sections 8.1 & 9.1): saturation, continuity, reduction, and Section 7.3 rational components all verified solid." }, "thmE": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Meromorphic obstruction without a Levy cycle (Section 10): stable parabolic type, infinitely many poles, Thurston matrix [1], and even-degree lifts verified solid." }, "l:pushforward": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Pushforward L1 bound, holomorphy, simple poles, equality case & Great Picard strictness verified solid; v22 fixed the h^* q typo to h_* q." }, "l:record": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Wolff–Denjoy extremal-length record theorem: quantifiers, basis sum, small surfaces, and invariance of dimension verified solid (also proved in Lean 4 from interface)." }, "r:wolff": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Boundary interpretation and examples (pseudo-Anosov, Dehn twist, Levy cycle C=p^2) all verified exact." }, "l:pushforward-gen": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Meromorphic and rational pushforward + Picard contradiction verified solid; v22 resolved all 3 v21 items (Z_H subset Chat, connectedness of C \\ Z_H, and holomorphy of sigma)." }, "lem:saturation": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Handles arbitrary extra marks A^+ supset P_f; Riemann–Hurwitz count forces |Y|=4 and chi>=0 contradicting hyperbolicity (v22 fixed N>=4 and >4 poles wording; counting core proved in Lean 4)." }, "rem:DH": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Douady–Hubbard N_0=2 comparison remark verified solid." }, "lem:repcont": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Continuous dependence of normalized rational representatives verified solid." }, "lem:Qlimits": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "L1 limits in Q with 4*pi*delta pole-disk bound and O(|w|^{-3}) tail verified solid." }, "lem:pushcont": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Continuity of pushforward on integrable quadratic differentials verified solid." }, "prop:continuity": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Continuity of the cotangent operator norm verified solid (N>=4 assumption clarified in v22)." }, "prop:reduction": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Reduction to unbounded orbit (closed ball of radius 3R+1) verified solid." }, "lem:inessential": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Inessentiality of lifts across all three classes verified solid; v22 tightened the essential-singularity wording via Casorati–Weierstrass / Picard density." }, "lem:finitelifts": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Finiteness of bounded-degree lifts via SO(3) rotation avoiding closed countable Z_F + compactness verified solid." }, "lem:iterate": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Thurston matrix of iterate equals M^n verified solid." }, "lem:levy-obstruction": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Levy cycles generate Thurston obstructions verified solid." }, "lem:chain": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Block pigeonhole bound d_1...d_K >= 2^b and Levy-cycle extraction proved outright in Lean 4 + Mathlib (zero extra axioms)." }, "l:matrix": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Matrix Lemma spectral radius < 1 without Levy cycle verified solid (also proved in Lean 4 from covering/isotopy interface)." }, "l:analyticprep": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Torus W^{1,2} closed forms, Fourier decomposition, and quasiconformal invariance ([OP] Thm 2.7 verified) all solid." }, "l:transport-forms": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Energy identity along the Teichmüller ray verified solid across all three classes; v22 clarified the covering domain and marking-preserving lift Phi." }, "l:horizontal": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Continuous circle-valued potential constant on regular vertical leaves verified solid; v22 added permanent Ziemer [Zie] reference alongside [Kin]." }, "l:Lambda": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Construction of the f-stable multicurve Lambda of vertical cylinder cores verified solid." }, "p:vertical-gen": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Streamlined vertical-cylinder exclusion (Steps 1–5: Poincaré recurrence on orientation double cover, Fubini, Cauchy–Schwarz -> w^2/(4C)) verified solid for entire, meromorphic, and rational maps." }, "l:cylinder-levy": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Entire-map specialization combining Proposition 4.9 and the Matrix Lemma to produce a Levy cycle verified solid." }, "l:hilbert": { "verdict": "SOLID", "models": [ "Gemini", "DeepSeek-V4.1-Flash" ], "summary": "Hilbert-space quadratic decay proved outright in Lean 4 + Mathlib (zero extra axioms)." }, "l:transport": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Total-variation limit measure mu and fiber sum S verified solid across all three classes; v22 updated 'closed countable exceptional set' to match Remark 5.4." }, "remark_L1137": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Contextual remark comparing near-equality of pushforward with [HSS] verified solid." }, "r:transport-scope": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Scope remark extending Proposition 5.2 to meromorphic and rational maps verified solid." }, "l:depthj": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Intermediate-depth probability measures and uniform fiber bound M verified solid; v22 explicitly defined the regular set Y_j at depth j." }, "l:finitecover": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "27-line finite covering lemma over a fixed subsurface verified airtight by both models; v22 explicitly allows disconnected Y_n for Section 12 reuse." }, "l:components": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Infinite-degree component vanishing via Lemma 6.1, winding formula, and Lemma 4.5 verified solid." }, "l:cylinder-mass": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Laurent estimates and embedded flat cylinders carrying almost all of mu verified solid." }, "r:cylinder-mass-scope": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Scope remark connecting cluster charts to Theorem 7.11 verified solid." }, "def:chart": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Component chart definition verified solid." }, "lem:nodecurve": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Node curves and intersection vanishing verified solid including u=infinity." }, "lem:holes": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Rational map limits off the finite hole set verified solid ([DeM, §4] verified)." }, "lem:lift": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Small-circle lifting and normality off node points verified solid." }, "lem:nondeg": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Nondegenerate target and Riemann–Hurwitz disk cover verified solid." }, "lem:descent": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Descent of nonzero component limits verified solid." }, "cor:poles": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Pole bookkeeping |P_w| >= d(m-4)+4 >= m and equality rigidity proved outright in Lean 4 + Mathlib." }, "thm:rat-components": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Rational component vanishing theorem (Steps 0–5, arithmetic j_* <= (N-2)(N-3) < N^2) verified airtight by both models." }, "l:hyparea": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Hyperbolic area bound Mod(D_j)*l_X(alpha_j)^2 <= area_X(D_j) proved outright in Lean 4 + Mathlib." }, "p:necessity-obstruction": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Hyperbolic-area necessity excluding obstructions with rho>=1 verified solid (v22 clarified inserting cylinders only for v_alpha>0; Perron bound proved in Lean 4)." }, "r:poly": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Algebraic counterexample f(z)=z^2+i (s=7) to [MPR, Prop 2.22(3)] verified exact by both models." }, "r:parabolic": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Parabolic orbifold remark (flexible Lattès maps) verified solid." }, "pl": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Polynomial-like capping, Levy correspondence, equipotential isotopy, straightening, and affine uniqueness verified solid; v22 resolved all 3 v21 items (half-open exterior annuli, unbranched collar, and explicit germ formulation)." }, "thm:ep-qr": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro", "DeepSeek-V4.1-Flash", "GLM-5.3" ], "summary": "Beltrami integration and hyperbolic circumcenter straightening verified solid; v22 clarified marked-equivalence scope for Part 2, circumcenter ball containment, measurable first-index selection, and countable union of null sets." }, "prop:ep-matrix": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro", "DeepSeek-V4.1-Flash" ], "summary": "Hyperbolic area bound and spectral radius <= 1 (including countably infinite parallel lifts) verified solid and proved in Lean 4 from the area interface." }, "remark_L1856": { "verdict": "SOLID", "models": [ "Gemini" ], "summary": "Failure of marked rigidity example (rotation R_theta on disk universal cover) verified airtight." }, "thm:ep-strict": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro", "DeepSeek-V4.1-Flash" ], "summary": "Strict pushforward contraction and Perron–Frobenius necessity (rho<1) verified solid; v22 explicitly restricted cylinder insertion to v_alpha>0 and added [Eps93] alongside [AstEp, Lemmas 3.1–3.3]." }, "thm:ep-boundary": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Disk boundary-extension criterion verified solid; v22 updated the citation to [Tappu, Prop 4.1(1)–(2)]." }, "rem:ep-twist": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Four-marked non-extending radial twist counterexample verified exact." }, "lem:ep-mixed": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro" ], "summary": "Transverse length across arbitrary / fat-Cantor exit set L verified solid; v22 expanded the AC-to-chord subdivision step cleanly." }, "thm:ep-final": { "verdict": "SOLID", "models": [ "Gemini", "Kimi-K3.1-Pro", "DeepSeek-V4.1-Flash" ], "summary": "Epstein finite-type quasiregular obstruction criterion verified solid; v22 resolved all 4 v21 bridges (self-contained two-set descent when u(B) is not in B, explicit intermediate markings F_{j,t} and D_k subset Y_0^{(2)}, disconnected Y_n in Lemma 6.1 + |B|<=3 case + infinity normalization, and prescribed values in isotopy rel b(B))." } }, "citation_grades": { "AIM": { "maturity": "classic_20y", "checked": "cited_only", "note": "Standard textbook (2009)" }, "Dur": { "maturity": "classic_20y", "checked": "verified", "note": "Duren 1983 Ch. 2 verified" }, "DH": { "maturity": "classic_20y", "checked": "verified", "note": "Douady–Hubbard 1993 Acta Math" }, "DHpl": { "maturity": "classic_20y", "checked": "verified", "note": "Douady–Hubbard 1985 polynomial-like straightening" }, "Eps93": { "maturity": "classic_20y", "checked": "verified", "note": "Epstein 1993 CUNY PhD thesis (standard foundational reference for finite-type analytic maps)" }, "FMar": { "maturity": "classic_20y", "checked": "verified", "note": "Farb–Margalit textbook" }, "FLP": { "maturity": "classic_20y", "checked": "cited_only", "note": "Classic 1979 monograph" }, "Hat": { "maturity": "classic_20y", "checked": "verified", "note": "Hatcher 2002 verified; v22 added exact Props 1.31–1.32 pinpoint" }, "HM": { "maturity": "classic_20y", "checked": "cited_only", "note": "Hubbard–Masur 1979" }, "Ker": { "maturity": "classic_20y", "checked": "cited_only", "note": "Kerckhoff 1980" }, "Ran": { "maturity": "classic_20y", "checked": "verified", "note": "Ransford 1995 Thm 5.3.2(a) verified" }, "Rees": { "maturity": "classic_20y", "checked": "verified", "note": "Rees 1981 Cor 1.11 (closed surfaces)" }, "Str": { "maturity": "classic_20y", "checked": "cited_only", "note": "Strebel 1984" }, "Tho": { "maturity": "classic_20y", "checked": "verified", "note": "Thomassen 1992 Thms 2.12 & 3.1 verified" }, "Zie": { "maturity": "classic_20y", "checked": "verified", "note": "Ziemer 1989 Springer GTM 120 (added in v22 as permanent textbook reference for Sobolev ACL / weak derivatives)" }, "Ant": { "maturity": "refereed_5_20y", "checked": "verified", "note": "Antonakoudis 2017 (arXiv:1510.07340) Thm 5.1 opened & verified" }, "BCT": { "maturity": "refereed_5_20y", "checked": "cited_only", "note": "Buff–Cui–Tan 2014 Handbook" }, "CFPP": { "maturity": "refereed_5_20y", "checked": "verified", "note": "Cannon–Floyd–Parry–Pilgrim 2012 §4" }, "DeM": { "maturity": "refereed_5_20y", "checked": "verified", "note": "Opened arXiv:math/0403078: §4 (Lemma 15) exact match for locally uniform convergence off the finite hole set." }, "DLR": { "maturity": "refereed_5_20y", "checked": "warning", "note": "Duchin–Leininger–Rafi 2010: in arXiv:0907.2082 the length-integral formula is Lemma 7 (manuscript cites Lemma 9; verify published Invent. Math. numbering)." }, "FM": { "maturity": "refereed_5_20y", "checked": "verified", "note": "Farb–Masur 2010 (arXiv:0803.0141) Thm 2.2 & Lemma 2.3(1) opened & verified" }, "HSS": { "maturity": "refereed_5_20y", "checked": "verified", "note": "Opened JAMS 2009 PDF: §4 (Thm 4.1 & Prop 4.2) and all other HSS pinpoints verified exact." }, "OP": { "maturity": "refereed_5_20y", "checked": "verified", "note": "Oliva–Prats 2017 (arXiv:1612.00689) Thm 2.7 opened & verified" }, "Poirier": { "maturity": "refereed_5_20y", "checked": "verified", "note": "Poirier 2009 Fund. Math. Thm 3.2 verified" }, "Wal": { "maturity": "refereed_5_20y", "checked": "verified", "note": "Opened arXiv:1210.5565: Thm 1.3 & §6 exact; v22 fixed the §2 slip and removed the unused bib note." }, "BMW": { "maturity": "recent_preprint", "checked": "verified", "note": "Belk–Margalit–Winarski arXiv:2309.06993 Prop B.1 opened & verified" }, "MPR": { "maturity": "recent_preprint", "checked": "verified", "note": "Mukundan–Prochorov–Reinke arXiv:2305.17793v2 opened & verified" }, "Kin": { "maturity": "unpublished_notes", "checked": "verified", "note": "Opened 2026 Aalto PDF: Thm 2.36 & Remark 2.37(2), pp. 55–56 match Lemma 4.7 verbatim (paired with Ziemer [Zie] in v22)." }, "AstEp": { "maturity": "unpublished_notes", "checked": "verified", "note": "Opened hdrastorg.pdf Ch. 1 §3.1: v22 fixed Lemmas 3.1–3.3 citations and added a self-contained two-set descent bridge when u(B) is not contained in B." }, "Tappu": { "maturity": "recent_preprint", "checked": "verified", "note": "Opened PDF & verified exact match in v22 (Prop 4.1(1)--(2)); upgraded to arXiv:2311.01551." }, "Mer": { "maturity": "unpublished_notes", "checked": "cited_only", "note": "K. Drach unpublished manuscript (23 Nov 2026)" }, "Hex": { "maturity": "recent_preprint", "checked": "cited_only", "note": "Bogdanov–Drach–Prochorov–Rempe, Hexagon preprint 2612.00110v1 (exchanged with author after v20; builds on vS2)." } }}README.mdAdded+33
Thurston.leanAdded+28
Thurston/Audit.leanAdded+587
Thurston/Conditional/MatrixSpectralRadius.leanAdded+902
Thurston/Conditional/WolffDenjoy/Generic.leanAdded+171
Thurston/Conditional/WolffDenjoy/Interface/BoundedOrbit.leanAdded+68
Thurston/Conditional/WolffDenjoy/Interface/Lemma21.leanAdded+28
Thurston/Conditional/WolffDenjoy/Interface/SanityModel.leanAdded+239
Thurston/Conditional/WolffDenjoy/Interface/Section2.leanAdded+137
Thurston/Conditional/WolffDenjoy/Interface/Theorem21.leanAdded+49
Thurston/Conditional/WolffDenjoy/Proof.leanAdded+465
Thurston/Conditional/WolffDenjoy/Reductions.leanAdded+129
Thurston/Conditional/WolffDenjoy/Solved/DistortionLower.leanAdded+26
Thurston/Conditional/WolffDenjoy/Solved/ExtLeOfInterLe.leanAdded+48
Thurston/Conditional/WolffDenjoy/Solved/InterEqZeroOfShort.leanAdded+46
Thurston/Conditional/WolffDenjoy/Solved/InterLeOfSimple.leanAdded+41
Thurston/Conditional/WolffDenjoy/Solved/OrbitDistLe.leanAdded+48
Thurston/Conditional/WolffDenjoy/Solved/RecordTimes.leanAdded+64
Thurston/Conditional/WolffDenjoy/Solved/SqrtExtSumLe.leanAdded+39
Thurston/Core/AnnulusLaurentDecay.leanAdded+622
Thurston/Core/BoundedOrbitFixedPoint.leanAdded+370
Thurston/Core/Counterexamples.leanAdded+656
Thurston/Core/CoveringAreaPushforward.leanAdded+1091
Thurston/Core/FiniteCoverSelection.leanAdded+367
Thurston/Core/HilbertQuadraticDecay.leanAdded+187
Thurston/Core/HyperbolicAnnulusArea.leanAdded+86
Thurston/Core/HyperbolicCircumcenter.leanAdded+447
Thurston/Core/IterateMatrix.leanAdded+264
Thurston/Core/LevyCycleChains.leanAdded+172
Thurston/Core/LevyObstruction.leanAdded+363
Thurston/Core/PerronObstructionBounds.leanAdded+203
Thurston/Core/PersistenceContradiction.leanAdded+327
Thurston/Core/PushforwardHolomorphic.leanAdded+554
Thurston/Core/RationalComponentTree.leanAdded+422
Thurston/Core/RiemannHurwitzPoles.leanAdded+240
Thurston/Core/TransportL1Convergence.leanAdded+550
Thurston/Core/VerticalCylinderObstruction.leanAdded+397
Thurston/README.mdAdded+31
data/citations.jsonlAdded+54
data/nodes.jsonlAdded+58
lake-manifest.jsonAdded+96
lakefile.tomlAdded+19
lean-toolchainAdded+1
ledger/audit_overlay_v22.jsonAdded+859