Deterministic analysis of the depth-first search (EPI-3) #
The deterministic half of the proofs of Krivelevich–Sudakov, Theorem 1, part 2, and Theorem 2
(The phase transition in random graphs: a simple proof, Random Structures & Algorithms 43
(2013), arXiv:1201.6529): consequences of the properties of the search (Epidemics.GiantDFS) for
an arbitrary sequence of answers l, with X = l.count true positive answers.
card_mul_card_le: if all pairs between disjoint setsAandBhave been queried, then|A| |B|is at most the number of queries.three_mul_explored_lt: "|S| < n/3at timeN₀" (proof of Theorem 1): if|S ∪ U|reachedn / 3, then at the first such time|S| |T|would exceed the number of queries.le_length_stack: "|U| ≥ ε² n / 5" (proof of Theorem 1): otherwise|S| |T|would exceed the number of queries.exists_epoch_start: the current epoch started at a timeτwhenUwas empty, so the explored setDhad all its pairs withV ∖ Dqueried (proof of Theorem 2).exists_path_of_stack,card_comp_le_ncard: on the edge coinsω, the stack is a path ofperc ⊤ ωand the current epoch lies in one connected component.
|S ∪ U| after the answers l: the explored vertices.
Equations
- Epidemics.DFS.explored V l = ((Epidemics.DFS.ofAnswers V l).done ∪ (Epidemics.DFS.ofAnswers V l).stack.toFinset).card
Instances For
|S ∪ U| < n/3 at time |l| (Krivelevich–Sudakov, proof of Theorem 1): at the first time
when 3 |S ∪ U| ≥ n, we have |S ∪ U| ≤ (n + 5)/3 (it grows by at most 2 per query), so
|S| ≥ n/3 - 1 - X and |T| ≥ (2n - 5)/3, and all the pairs between S and T have been
queried.
A long stack (Krivelevich–Sudakov, proof of Theorem 1): if 3 |S ∪ U| < n, the number of
positive answers is at least Xlo ≥ L, and both (Xlo - L)(n - Xlo) and (n/3 - L)(2n/3)
exceed the number of queries, then |U| ≥ L. (Otherwise |S| ≥ |S ∪ U| - L with
Xlo ≤ |S ∪ U| < n/3, and by concavity |S| |T| would exceed the number of queries.)
The start of the current epoch (Krivelevich–Sudakov, proof of Theorem 2): there is a time
τ ≤ |l| such that the positive answers after τ all lie in the current epoch and, unless
τ = 0, at time τ an explored set D with |D| ≥ ∑_{i<τ} Xᵢ, |D| ≤ |S ∪ U| had all its pairs
with V ∖ D queried, so that |D| (n - |D|) ≤ τ.
A large epoch (Krivelevich–Sudakov, proof of Theorem 2): suppose 3 |S ∪ U| < n, at
least (1 - δ) t p of the first t answers are positive for every t₁ ≤ t ≤ |l|, and
(1 - δ) p (n - |l| p) > 1. Then the current epoch started by time t₁ (an earlier start at time
τ > t₁ would give an explored set D with (1 - δ) τ p ≤ |D| < n/3 and
|D| (n - |D|) ≤ τ < (1 - δ) τ p (n - |l| p)), so it contains all the positive answers after
t₁.
On the edge coins #
A chain of adjacent vertices is the support of a walk.
The stack is a path of perc ⊤ ω with |U| - 1 edges.
The current epoch lies in one connected component of perc ⊤ ω.