The setting
In the uniform triangle-removal process started from the complete graph , an early prefix leaves a pseudorandom graph with common-neighbor scale . Controlling the second moment of the terminal edge count requires comparing the joint survival probability of two uniformly sampled edges of against the square of the reference edge-survival probability at priority threshold .
To carry out this comparison, the process on is coupled with an independent unfolding of recursive queries on a discretized priority grid. The coupling breaks only if the unfolding repeats a triangle key across its exposed candidate lists or if two sampled root edges share a vertex. Proposition 6.3 controls the averaged collision probabilities for singletons and disjoint edge pairs on good prefix graphs, bounds the averaged pair survival error in terms of the asymptotic collision cost, the root overlap, and the cavity approximation error, and records two polynomial decay estimates for the witness bounds.
Graphs, prefix parameters, and good prefix graphs
For a finite set , a probability mass function on , and a function , the expectation of under is the finite sum .✦ When is a probability mass function on , its probability of true is .✦
For a natural number , a graph on vertices is a finite set of finite subsets of .✦ The complete graph consists of all -element subsets of .✦ The set of triangles of consists of all -element subsets whose three -element subsets all belong to .✦ The triangle hypergraph of maps each subset to the set of all -element subsets of if , and to otherwise.✦ The active triangle hypergraph maps each triangle to the set of edges that are -element subsets of .✦
Starting from a graph on vertices, the law after steps of the triangle-removal process is defined recursively for : at it is the point mass at , and at it applies one triangle-removal transition step to the law after steps.✦ The terminal law from is the law after steps.✦ For graphs and on vertices, the focus survival probability is the probability under the terminal law from that the terminal graph satisfies .✦ For a nonempty graph , the root overlap is the probability that two independently sampled uniform edges of share a vertex.✦
For a graph on vertices and vertices , the neighborhood is ✦, the vertex degree is ✦, the set of common neighbors is ✦, and the codegree is ✦. For , the link cycle count is the number of injections such that and for every .✦
A rooted template on vertices consists of a graph on whose edges all have cardinality and a root set containing no edge of .✦ Given an injection , a rooted embedding of extending is an injection satisfying for all ✦, with embedded edge set ✦. For graphs and on vertices, the subgraph indicator equals if and otherwise✦; the copy count of a finite family of graphs in sums their subgraph indicators✦, and the rooted copy count is the copy count of in summed over all rooted embeddings extending ✦. For and , the rooted scaling of is .✦ The template has large template eligibility at if the first inequality of (1) holds for every with and every subgraph whose edges all lie in , and small template eligibility at if the second inequality of (1) holds for every with , where denotes the set of edges of contained in : (1)
The early-prefix parameters are built from the prefix exponent .✦ For , the target prefix density , target prefix time , prefix stopping time , prefix edge density , prefix edge count , and prefix codegree scale are given by (2): (2) The prefix cycle length cap is ✦, the prefix template size cap is ✦, and for the prefix polylogarithmic factor is ✦. For , a graph on vertices is a good prefix graph with parameters and if , , the degree, codegree, and link-cycle bounds (3) hold for all vertices , all distinct , and all with , and for every , every rooted template on vertices, and every injection , we have whenever has large template eligibility at and whenever has small template eligibility at : (3)✦
Exposure trees, grid queries, and collisions
An exposure decision tree over a key set , a value set , and an output set either terminates with an output or queries a key and branches to a subtree indexed by the observed value .✦ Given a family of probability mass functions on indexed by , the independent unfolding law on places a point mass at at a leaf and, at a query of key , samples independently and continues in the corresponding subtree.✦ The fresh exposure tree log law produces a distribution on pairs of an output and a list of queried keys by returning at a leaf and prepending to the recursively sampled key list at each query of .✦ Given a finite set of already observed keys, the query log repeat predicate on is false on the empty list and otherwise checks whether the head key belongs to or whether a repeat occurs in the tail after inserting into .✦ Similarly, the exposure tree repeat law starting from returns a distribution on : a leaf yields , and a query of draws , recurses on the subtree, and sets the collision flag to true if while otherwise inserting into .✦
Let be a hypergraph mapping each hyperedge in to a finite set of edges in , and let denote an optional parent hyperedge, where indicates the absence of a parent. For a positive integer , the uniform grid priorities assign to each the uniform probability mass function on .✦ For , a finite focus set , and an optional parent , the depth- grid query tree is a Boolean exposure decision tree over keys and values . At depth , it exposes the priorities of the candidate pairs for and terminates with true. At depth , it exposes those candidate pairs, sorts them in increasing priority order, and performs a short-circuiting none check over the recursive depth- subtrees: each candidate pair with priority launches the recursive query at threshold , focus , and parent , while any pair with priority at least terminates with false.
The grid query success probability is the probability of true under the independent unfolding law of the depth- grid query tree with uniform grid priorities on .✦ The grid query message is the singleton specialization .✦ For , , and , the grid candidate failure factor is defined by (4): (4)✦ For a sequence , the hypergraph satisfies the grid row quality condition for if, for every , every , and every with , both inequalities in (5) hold: (5)✦
A recursive query call on records an address (a list of pairs in ), a finite focus , and an optional parent .✦ The traced grid query tree at depth , threshold , and call mirrors the depth- grid query tree while outputting both its Boolean answer and a trace of recursive query calls: at depth it exposes the candidate pairs and outputs , and at depth it exposes and sorts the candidate pairs by priority, runs the traced short-circuiting none check on the recursive subcalls for pairs with priority (prepending to the address, with focus and parent ) and otherwise, and prepends to the resulting trace.✦
The traced collision probability measures the chance that a triangle is queried more than once across all candidate lists exposed during the independent unfolding.
The traced collision probability is the probability that the query log repeat predicate (starting from ) holds for the queried-key list produced by the fresh exposure tree log law under uniform grid priorities on for the traced grid query tree started from the call with empty address, focus , and parent .✦ For a sequence and , the prefix weight sum is .✦ For , the grid query collision probability is the probability that the collision flag is true under the exposure tree repeat law (with uniform grid priorities on and empty initial seen set) applied to the depth- grid query tree at threshold .✦ The asymptotic collision cost is the limit inferior in (6): (6)✦
Cavity iterates and the reference function
For a hypergraph mapping to finite subsets of , the cavity function space consists of all maps assigning to each and each optional parent a bounded continuous function .✦ The depth- cavity iterate is defined recursively for : it is identically at depth and is obtained by applying the cavity operator at depth .✦ Each depth- cavity iterate is continuous in the time parameter and takes values in , so it defines a bounded continuous cavity iterate in the cavity function space. These iterates form a Cauchy sequence in the cavity function space; its chosen limit is the bounded continuous cavity limit✦, and its evaluation at is the limiting cavity function ✦. For real numbers and , the cavity reference function is given by (7): (7)✦
The claim
Proposition 6.3. Let with . For all sufficiently large , every nonempty good prefix graph on vertices with parameters and , every positive integer , every nonnegative sequence such that the triangle hypergraph satisfies the grid row quality condition for , every real satisfying for all , and all natural numbers and with and , setting , the averaged traced collision probabilities satisfy (8) and (9): (8)✦ (9)✦
Furthermore, let , let be a nonempty graph on vertices, and let and be real numbers. If every edge satisfies , then the averaged pair survival probability satisfies (10): (10)✦
Finally, the scaled polynomial witness bound vanishes as as in (11), and for every real the power estimate (12) holds: (11)✦ (12)✦
In the paper, the result reads: for independently sampled uniform oriented edges of a good prefix graph , the independent collision probability satisfies uniformly over good prefix graphs, and the probabilities that all root queries return true in the finite and independent experiments differ by at most the same bound. The Lean library handles singletons in (8) and disjoint edge pairs in (9) separately, combines the asymptotic collision cost with the root overlap in (10) to control the averaged pair survival error, and states the polynomial witness decay bounds in (11) and (12).
What is checked
The Lean library states Proposition 6.3 over nonempty good prefix graphs on vertices, their triangle hypergraphs and active triangle hypergraphs , grid row quality sequences, traced and asymptotic grid collision probabilities, root overlap , focus survival probabilities , limiting cavity functions , and the cavity reference function . Beyond Proposition 6.3, the Lean library proves that every depth- cavity iterate is continuous in the time parameter.✦