Documentation

CslibFrontier.Foundations.Analysis.RateExponent

Rate exponents #

Fine-grained complexity measures a task by the least rate at which it can be done within a family of resource bounds indexed by a rate δ: the exponent s_k of k-SAT is the infimum of the δ ≥ 0 for which k-SAT is decidable within time 2 ^ (δ * n) times a polynomial [IP01]. Cslib.rateExponent P is this infimum sInf {δ | 0 ≤ δ ∧ P δ} for a predicate P : ℝ → Prop. The characterizations below need only that P is monotone (a larger rate allows more) and holds at 1 (exhaustive search, in the applications), so every exponent defined through rateExponent inherits them.

Main definitions #

Main results #

References #

noncomputable def Cslib.rateExponent (P : ℝ → Prop) :

The rate exponent of P: the infimum of the rates δ ≥ 0 satisfying P. In the applications P δ says that a task can be done within a resource bound at rate δ.

theorem Cslib.rateExponent_def (P : ℝ → Prop) :
rateExponent P = sInf {δ : ℝ | 0 ≤ δ ∧ P δ}

The defining infimum of rateExponent, for clients that do not see its body.

theorem Cslib.rateExponent_le {P : ℝ → Prop} {δ : ℝ} (hδ : 0 ≤ δ) (h : P δ) :

The exponent is at most every attained rate.

theorem Cslib.rateExponent_le_one {P : ℝ → Prop} (h1 : P 1) :
theorem Cslib.not_of_lt_rateExponent {P : ℝ → Prop} {δ : ℝ} (hδ : 0 ≤ δ) (h : δ < rateExponent P) :
¬P δ

Below the exponent no rate is attained.

theorem Cslib.le_rateExponent {P : ℝ → Prop} {δ : ℝ} (hP : Monotone P) (h1 : P 1) (h : ¬P δ) :

An unattained rate bounds the exponent from below.

theorem Cslib.of_rateExponent_lt {P : ℝ → Prop} {δ : ℝ} (hP : Monotone P) (h1 : P 1) (h : rateExponent P < δ) :
P δ

Above the exponent every rate is attained.

theorem Cslib.rateExponent_le_rateExponent {P Q : ℝ → Prop} (h1 : Q 1) (h : ∀ (δ : ℝ), 0 ≤ δ → Q δ → P δ) :

A weaker requirement has a smaller exponent.

theorem Cslib.rateExponent_pos_iff {P : ℝ → Prop} (hP : Monotone P) (h1 : P 1) :
0 < rateExponent P ↔ ∃ (δ : ℝ), 0 < δ ∧ ¬P δ

The exponent is positive iff some positive rate is not attained.

theorem Cslib.rateExponent_eq_zero_iff {P : ℝ → Prop} (hP : Monotone P) (h1 : P 1) :
rateExponent P = 0 ↔ ∀ (δ : ℝ), 0 < δ → P δ

The exponent is zero iff every positive rate is attained.

theorem Cslib.rateExponent_eq_sInf_pos {P : ℝ → Prop} (hP : Monotone P) (h1 : P 1) :
rateExponent P = sInf {δ : ℝ | 0 < δ ∧ P δ}

The infimum defining the exponent may equally range over the rates δ > 0.

theorem Cslib.tendsto_rateExponent_iff {P : ℕ → ℝ → Prop} (hP : ∀ (k : ℕ), Monotone (P k)) (h1 : ∀ (k : ℕ), P k 1) (hmono : Monotone fun (k : ℕ) => rateExponent (P k)) :
Filter.Tendsto (fun (k : ℕ) => rateExponent (P k)) Filter.atTop (nhds 1) ↔ ∀ (ε : ℝ), 0 < ε → ∃ (k : ℕ), ¬P k (1 - ε)

Exponents tending to 1. For a family of monotone predicates holding at 1 whose exponents are monotone in the index, the exponents tend to 1 iff for every ε > 0 some member of the family is not attained at rate 1 - ε.