Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions data/problems/wireless-network-transport-capacity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Copyright 2026 The Capacity Atlas Authors
# SPDX-License-Identifier: CC-BY-4.0
id: wireless-network-transport-capacity
title: Wireless network transport capacity
status: partially-solved
updated: '2026-10-12'
summary: Optimally placed nodes under guard-zone interference have transport capacity of square-root order in the number of nodes.
tags:
model: [interference, relay]
features: [multiple-unicast]
quantity: [capacity]
knowledge: [bounds]
model:
input: Unicast packets originate at fixed nodes in a planar disk of radius \(R>0\). The budget of n nodes counts sources, destinations, and relays; unused nodes are idle.
output: Each packet reaches its source's chosen destination without error.
law: A transmission from x to y succeeds on a subchannel if every other simultaneous transmitter z on that subchannel satisfies \(\|z-y\|\ge(1+\Delta)\|x-y\|\), where \(\Delta>0\).
assumptions:
- The node budget n is a nonnegative integer and the total link rate satisfies \(W\ge0\).
- Node locations, each source's destination, traffic volumes, routes, transmission ranges, and schedules are optimized. Nodes do not move.
- A finite set of orthogonal subchannels has fixed nonnegative rates summing to at most W bits per second. A node sends to at most one receiver per subchannel at a time.
- Packets are routed without network coding, may wait at intermediate nodes, and traverse their hops in strictly increasing slots. Per-link bit counts obey the slot duration and subchannel rate.
- Finite executions start with the packets at their sources and count only fully delivered packets. Repetition gives a sustained transport rate. Schedules carry no information and multicast is not credited.
quantity:
name: Transport capacity
symbol: T_n(W,R,\Delta)
units: bit-meters per second
criterion: Supremum of the sum of delivered packet bit counts times source-to-destination Euclidean distance, divided by elapsed time, over all permitted placements and finite executions.
capacity:
kind: bounds
display: T_n(W,R,\Delta)=\Theta_\Delta(WR\sqrt n)
lower: c_\Delta WR\sqrt n
upper: C_\Delta WR\sqrt n
notes: Main Result 1 gives matching order bounds for fixed positive guard parameter. The disk has area \(\pi R^2\); unit area means \(R=1/\sqrt\pi\). The exact finite-n optimum is not determined by these bounds.
bounds:
- id: grid-achievability
direction: lower
relation: T_n(W,R,\Delta)=\Omega_\Delta(WR\sqrt n)
method: Place transmitter–receiver pairs on a separated grid and transmit directly and simultaneously; leave unused nodes idle. Gupta–Kumar, Main Result 1 and Section III.
year: 2000
references: [gupta-kumar-2000]
- id: packing-converse
direction: upper
relation: T_n(W,R,\Delta)=O_\Delta(WR\sqrt n)
method: Protocol inequalities separate receiver guard disks. Area packing and Cauchy–Schwarz bound simultaneous hop distance; route triangle inequalities bound delivered distance. Gupta–Kumar, Theorem 2.1.
year: 2000
references: [gupta-kumar-2000]
frontier:
question: Determine the finite-n transport capacity or sharpen its leading constant.
bottleneck: The packing converse and explicit grid construction have different constants.
progress:
- The order in n is settled for this arbitrary-placement protocol model. Random placement and physical interference require separate models.
formalization:
status: stated
claims:
- id: square-root-bounds
kind: capacity-bounds
category: solved
formal_status: proved
version: 1
description: For n at least 4, R and Delta positive, and W nonnegative, transport capacity lies between W R sqrt(n)/(32(1+Delta)) and 2(1+Delta) W R sqrt(n)/Delta.
bound_ids: [grid-achievability, packing-converse]
notes: The local proof gives explicit nonsharp constants for the published order result, including nonsquare node counts. These constants are from the local construction and enclosing-disk proof, not the paper's displayed constants. The model accounts for integer packet bits, causal routes, subchannels, and delivered endpoint distance.
files:
- path: lean/CapacityAtlasForMathlib/Network/WirelessTransport/Basic.lean
declaration: CapacityAtlas.WirelessTransport.Execution
role: definition
description: Finite store-and-forward executions with protocol interference and per-link service constraints.
- path: lean/CapacityAtlasForMathlib/Network/WirelessTransport/Basic.lean
declaration: CapacityAtlas.WirelessTransport.capacity
role: definition
description: Supremum of delivered bit-distance per unit time over node placements and executions.
- path: lean/CapacityAtlas/Claims/WirelessTransport.lean
declaration: CapacityAtlas.Claims.wirelessTransportBounds
role: claim
claim_id: square-root-bounds
description: Full local proof of the matching square-root transport-capacity bounds.
proofs: []
references: [gupta-kumar-2000]
8 changes: 8 additions & 0 deletions data/references.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -570,3 +570,11 @@ weingarten-steinberg-shamai-2006:
venue: IEEE Transactions on Information Theory 52(9), 3936–3964
doi: 10.1109/TIT.2006.880064
url: https://web.stanford.edu/class/ee360/previous/suppRead/read1/WeingartenSteinbergShamai2006.pdf
gupta-kumar-2000:
title: The Capacity of Wireless Networks
authors:
- Piyush Gupta
- P. R. Kumar
year: 2000
venue: IEEE Transactions on Information Theory 46(2), 388–404
url: https://pdos.csail.mit.edu/archive/decouto/papers/gupta00.pdf
6 changes: 6 additions & 0 deletions docs/lean.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ capacities and every sufficiently large blocklength. The converse bounds the
number of successfully decoded message tuples across each cut. Locality is
expressed through observation factorization, including sources located at sinks.

`Network/WirelessTransport` proves matching square-root bounds for arbitrary
placements under protocol interference. Finite executions account for integer
packet bits, causal routes, subchannel service, and delivered endpoint distance.
Receiver-disk packing supplies the converse; a separated grid supplies the lower
bound for every node count at least four. The constants are nonsharp.

### `CapacityAtlas`

This layer contains concrete channel definitions, problem claims, proofs, and
Expand Down
1 change: 1 addition & 0 deletions lean/CapacityAtlas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ import CapacityAtlas.Tests.ConfidentialBroadcast
import CapacityAtlas.Tests.MultisourceMulticast
import CapacityAtlas.Tests.GaussianMIMOBroadcast
import CapacityAtlas.Tests.GaussianMIMOBroadcastRegion
import CapacityAtlas.Tests.WirelessTransport
1 change: 1 addition & 0 deletions lean/CapacityAtlas/Claims.lean
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ import CapacityAtlas.Claims.Pentagon
import CapacityAtlas.Claims.SevenCycleOperational
import CapacityAtlas.Claims.DirectedIndexCycle
import CapacityAtlas.Claims.FiveIndexCycle
import CapacityAtlas.Claims.WirelessTransport
21 changes: 21 additions & 0 deletions lean/CapacityAtlas/Claims/WirelessTransport.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/-
Copyright 2026 The Capacity Atlas Authors
Licensed under the Apache License, Version 2.0 (the "License").
See https://www.apache.org/licenses/LICENSE-2.0
-/

import CapacityAtlasUtil
import CapacityAtlasForMathlib.Network.WirelessTransport.Capacity

namespace CapacityAtlas.Claims

@[capacity_problem "wireless-network-transport-capacity", capacity_statement,
capacity_formal_proof, capacity_solved, capacity_claim "square-root-bounds" 1]
theorem wirelessTransportBounds {n : ℕ} {R Δ W : ℝ}
(hn : 4 ≤ n) (hR : 0 < R) (hΔ : 0 < Δ) (hW : 0 ≤ W) :
W * R * Real.sqrt n / (32 * (1 + Δ)) ≤ WirelessTransport.capacity n R Δ W ∧
WirelessTransport.capacity n R Δ W ≤
W * (2 * (1 + Δ) * R / Δ) * Real.sqrt n :=
WirelessTransport.capacity_bounds hn hR hΔ hW

end CapacityAtlas.Claims
121 changes: 121 additions & 0 deletions lean/CapacityAtlas/Tests/WirelessTransport.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
/-
Copyright 2026 The Capacity Atlas Authors
Licensed under the Apache License, Version 2.0 (the "License").
See https://www.apache.org/licenses/LICENSE-2.0
-/

import CapacityAtlasForMathlib.Network.WirelessTransport.Operations
import CapacityAtlasUtil.Metadata

open scoped BigOperators

namespace CapacityAtlas.Tests

open WirelessTransport

noncomputable section

private def linePoint (x : ℝ) : Point := WithLp.toLp 2 ![x, 0]

private theorem linePoint_dist (x y : ℝ) : dist (linePoint x) (linePoint y) = |x - y| := by
simp [linePoint, EuclideanSpace.dist_eq, Fin.sum_univ_two, Real.dist_eq,
Real.sqrt_sq_eq_abs]

private def detourPosition (v : Fin 3) : Point := linePoint (![0, 1, 1 / 2] v)

private def detourPattern (s : Fin 2) : Pattern (Fin 3) detourPosition 1 where
Link := Fin 1
finiteLink := inferInstance
sender := fun _ => if s = 0 then 0 else 1
receiver := fun _ => if s = 0 then 1 else 2
sender_injective := fun _ _ _ => Subsingleton.elim _ _
protocol := fun _ _ h => (h (Subsingleton.elim _ _)).elim

private def detourSchedule : Schedule (Fin 3) detourPosition 1 1 where
slots := 2
bands := 1
duration := fun _ => 1 / 2
duration_nonneg := fun _ => by norm_num
duration_sum := by norm_num
bandRate := fun _ => 1
bandRate_nonneg := fun _ => zero_le_one
bandRate_sum := by norm_num
pattern := fun s _ => detourPattern s

private def detourExecution : Execution (Fin 3) detourPosition 1 1 where
schedule := detourSchedule
Packet := Fin 1
finitePacket := inferInstance
amount := fun _ => 1 / 2
amount_nonneg := fun _ => by norm_num
integralAmounts := ⟨2, by norm_num, fun _ => ⟨1, by norm_num⟩⟩
destination := fun _ => 2
hops := fun _ => 2
route := fun _ k => if k = 0 then 0 else if k = 1 then 1 else 2
delivered := fun _ => by norm_num
resource := fun _ h => ⟨h, (0 : Fin 1), (0 : Fin 1)⟩
causal := fun _ _ _ h => h
hop_sender := by
intro p h
change (if h = 0 then (0 : Fin 3) else 1) =
(if h.val = 0 then 0 else if h.val = 1 then 1 else 2)
fin_cases h <;> decide
hop_receiver := by
intro p h
change (if h = 0 then (1 : Fin 3) else 2) =
(if h.val + 1 = 0 then 0 else if h.val + 1 = 1 then 1 else 2)
fin_cases h <;> decide
load_le := by
classical
dsimp only [detourSchedule, detourPattern, Schedule.Resource, Schedule.available]
intro r
change _ ≤ (1 / 2 : ℝ) * 1
rcases r with ⟨s, b, l⟩
fin_cases s <;> fin_cases b <;> fin_cases l <;>
norm_num [Fin.sum_univ_succ]

/-- A detour earns endpoint distance once, not the sum of its hop lengths. -/
@[capacity_test]
theorem wireless_detour_transport : detourExecution.transportRate = 1 / 4 := by
dsimp only [Execution.transportRate, detourExecution, detourPosition]
norm_num [linePoint_dist, Matrix.cons_val_two]

@[capacity_test]
theorem wireless_detour_hop_work :
(∑ h : Fin 2, (1 / 2 : ℝ) *
detourSchedule.length (detourExecution.resource (0 : Fin 1) h)) =
3 / 4 := by
dsimp only [Schedule.length, Schedule.sender, Schedule.receiver, detourExecution,
detourSchedule, detourPattern, detourPosition]
norm_num [Fin.sum_univ_succ, linePoint_dist, Matrix.cons_val_two]

@[capacity_test]
theorem wireless_no_instantaneous_relay {V : Type} {position : V → Point} {Δ W : ℝ}
(E : Execution V position Δ W) (hslot : E.schedule.slots = 1) (p : E.Packet) :
E.hops p ≤ 1 := by
have h := Fintype.card_le_of_injective _ (E.causal p).injective
simpa [hslot] using h

@[capacity_test]
theorem wireless_receiver_cannot_transmit {V : Type} {position : V → Point} {Δ : ℝ}
(hΔ : 0 < Δ) (P : Pattern V position Δ) {i j : P.Link} (hij : i ≠ j)
(hpositive : 0 < dist (position (P.sender i)) (position (P.receiver i))) :
P.sender j ≠ P.receiver i := by
intro hsame
have h := P.protocol i j hij
rw [hsame, dist_self] at h
nlinarith

@[capacity_test]
theorem wireless_zero_bandwidth_delivers_zero {V : Type} {position : V → Point} {Δ : ℝ}
(E : Execution V position Δ 0) : E.transportRate = 0 := by
have hband (b : Fin E.schedule.bands) : E.schedule.bandRate b = 0 := by
apply le_antisymm _ (E.schedule.bandRate_nonneg b)
exact (Finset.single_le_sum (fun b _ => E.schedule.bandRate_nonneg b)
(Finset.mem_univ b)).trans E.schedule.bandRate_sum
apply le_antisymm _ E.transportRate_nonneg
simpa [Schedule.available, hband] using E.transportRate_le_hopWork

end

end CapacityAtlas.Tests
1 change: 1 addition & 0 deletions lean/CapacityAtlasForMathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ import CapacityAtlasForMathlib.InformationTheory.MeasureRandomBinning.SequenceDe
import CapacityAtlasForMathlib.InformationTheory.GaussianMIMOBroadcast.BlockEntropy
import CapacityAtlasForMathlib.InformationTheory.GaussianMIMOBroadcast.Converse
import CapacityAtlasForMathlib.InformationTheory.GaussianMIMOBroadcast.Achievability
import CapacityAtlasForMathlib.Network.WirelessTransport.Capacity
115 changes: 115 additions & 0 deletions lean/CapacityAtlasForMathlib/Network/WirelessTransport/Basic.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
/-
Copyright 2026 The Capacity Atlas Authors
Licensed under the Apache License, Version 2.0 (the "License").
See https://www.apache.org/licenses/LICENSE-2.0
-/

import CapacityAtlasForMathlib.Network.WirelessTransport.Geometry
import CapacityAtlasUtil

open scoped BigOperators

namespace CapacityAtlas.WirelessTransport

noncomputable section

attribute [local instance] Classical.propDecidable

/-- Simultaneous unicast links on one frequency band. -/
structure Pattern (V : Type) (position : V → Point) (Δ : ℝ) where
Link : Type
finiteLink : Fintype Link
sender : Link → V
receiver : Link → V
sender_injective : Function.Injective sender
protocol : ∀ i j, i ≠ j →
(1 + Δ) * dist (position (sender i)) (position (receiver i)) ≤
dist (position (sender j)) (position (receiver i))

attribute [instance] Pattern.finiteLink

/-- Slot durations are fractions of the observation interval; unused time is idle. -/
structure Schedule (V : Type) (position : V → Point) (Δ W : ℝ) where
slots : ℕ
bands : ℕ
duration : Fin slots → ℝ
duration_nonneg : ∀ s, 0 ≤ duration s
duration_sum : ∑ s, duration s ≤ 1
bandRate : Fin bands → ℝ
bandRate_nonneg : ∀ b, 0 ≤ bandRate b
bandRate_sum : ∑ b, bandRate b ≤ W
pattern : Fin slots → Fin bands → Pattern V position Δ

namespace Schedule

variable {V : Type} {position : V → Point} {Δ W : ℝ}

abbrev Resource (S : Schedule V position Δ W) :=
(s : Fin S.slots) × (b : Fin S.bands) × (S.pattern s b).Link

instance (S : Schedule V position Δ W) : Fintype S.Resource :=
inferInstanceAs (Fintype ((s : Fin S.slots) × (b : Fin S.bands) × (S.pattern s b).Link))

def sender (S : Schedule V position Δ W) (r : S.Resource) : V :=
(S.pattern r.1 r.2.1).sender r.2.2

def receiver (S : Schedule V position Δ W) (r : S.Resource) : V :=
(S.pattern r.1 r.2.1).receiver r.2.2

def length (S : Schedule V position Δ W) (r : S.Resource) : ℝ :=
dist (position (S.sender r)) (position (S.receiver r))

def available (S : Schedule V position Δ W) (r : S.Resource) : ℝ :=
S.duration r.1 * S.bandRate r.2.1

end Schedule

/-- A finite collection of delivered packets with causal store-and-forward routes.
Amounts are bit counts divided by a common positive observation time. -/
@[capacity_problem "wireless-network-transport-capacity", capacity_definition]
structure Execution (V : Type) (position : V → Point) (Δ W : ℝ) where
schedule : Schedule V position Δ W
Packet : Type
finitePacket : Fintype Packet
amount : Packet → ℝ
amount_nonneg : ∀ p, 0 ≤ amount p
integralAmounts : ∃ T : ℝ, 0 < T ∧ ∀ p, ∃ k : ℕ, amount p * T = k
destination : V → V
hops : Packet → ℕ
route : Packet → ℕ → V
delivered : ∀ p, route p (hops p) = destination (route p 0)
resource : (p : Packet) → Fin (hops p) → schedule.Resource
causal : ∀ p, StrictMono fun h => (resource p h).1
hop_sender : ∀ p h, schedule.sender (resource p h) = route p h.val
hop_receiver : ∀ p h, schedule.receiver (resource p h) = route p (h.val + 1)
load_le : ∀ r : schedule.Resource,
(∑ p, ∑ h : Fin (hops p), if resource p h = r then amount p else 0) ≤
schedule.available r

attribute [instance] Execution.finitePacket

namespace Execution

variable {V : Type} {position : V → Point} {Δ W : ℝ}

/-- Each packet is credited once, using its endpoints rather than its route length. -/
def transportRate (E : Execution V position Δ W) : ℝ :=
∑ p, E.amount p * dist (position (E.route p 0)) (position (E.route p (E.hops p)))

theorem transportRate_nonneg (E : Execution V position Δ W) : 0 ≤ E.transportRate := by
exact Finset.sum_nonneg fun p _ => mul_nonneg (E.amount_nonneg p) dist_nonneg

end Execution

/-- The node budget includes unused nodes, which may be added without changing a schedule. -/
def Achievable (n : ℕ) (R Δ W t : ℝ) : Prop :=
∃ (V : Type) (_ : Fintype V), Fintype.card V ≤ n ∧
∃ position : V → Point, (∀ v, ‖position v‖ ≤ R) ∧
∃ E : Execution V position Δ W, E.transportRate = t

@[capacity_problem "wireless-network-transport-capacity", capacity_definition]
def capacity (n : ℕ) (R Δ W : ℝ) : ℝ := sSup {t | Achievable n R Δ W t}

end

end CapacityAtlas.WirelessTransport
Loading
Loading