The setting
In the uniform triangle-removal process started from , whose terminal triangle-free graph has edges, deciding whether a given edge survives past a priority threshold reduces to a recursive exposure of incident triangles with priorities discretized onto a finite grid . When two recursive exploration branches share a vertex or edge in the underlying graph, their traces assemble into an embedded witness pattern. Controlling the expected number of such collisions requires upper bounds on the probability that a traced grid query visits a prescribed query path or pair of query paths, together with a combinatorial bound on the resulting factorial weight of an embedded witness.
Traced grid queries and row quality
An exposure decision tree over a key set , a value set , and an output set is a finite-depth decision tree that either terminates at a leaf with an output or queries a key and branches to a subtree indexed by the observed value .✦ Given a family of discrete probability mass functions on indexed by , the independent unfolding law of an exposure decision tree is the discrete probability mass function on obtained by returning a point mass at at each leaf and, at each query of , sampling an independent value from and continuing in the corresponding branch.✦ For a Boolean probability mass function , its probability of true is the real mass assigned to true.✦
Fix an edge set , a finite hyperedge set , a hypergraph assigning to each hyperedge a finite subset , and a positive integer grid size . The uniform grid priorities assign to every hyperedge the uniform probability mass function on .✦ A recursive query call on is a triple consisting of a finite list of pairs in giving its address, a finite subset giving its focus, and an optional parent hyperedge in .✦ For a finite focus and an optional parent in , the finite set of candidate pairs consists of all pairs such that , , and whenever is present.
The depth- grid query tree for , grid size , depth , threshold , focus , and optional parent is a Boolean-valued exposure decision tree with keys and values . At depth , it exposes the hyperedge coordinates of the candidate pairs in and terminates with true. At depth , it exposes those candidate pairs, sorts the resulting pairs with their observed priorities in nondecreasing priority order, and runs a short-circuit none check over the subtrees that recurse to depth , threshold , focus , and parent whenever a pair has priority , and terminate with false whenever .
The traced grid query tree at depth , threshold , and recursive query call follows the same recursion while recording a list of visited recursive query calls alongside the Boolean output. At depth , it exposes the candidate pairs in and terminates with true and the singleton trace . At depth , it sorts the exposed candidate pairs by priority, runs a short-circuit none check with trace over the recursive subcalls with address prepended by , focus , and parent whenever the priority satisfies (and false with empty trace when ), and prepends to the returned trace.
The grid query success probability is the probability of true under the independent unfolding law with uniform grid priorities applied to the depth- grid query tree at threshold , focus , and optional parent .✦ For an edge , the grid query message is the singleton-focus success probability (1)✦ Given , , and , the grid candidate failure factor is defined from the messages (1) at depth by (2)✦ A real-valued function satisfies the grid row quality condition for if, for every integer with , every , and every with , the failure factor (2) and the depth- success probability obey (3)✦
Query paths and factorial weights
A finite list of pairs in is a legal query path for from focus and optional parent if either is empty, or begins with a pair whose tail is a legal query path from focus and parent .✦ Write for the reversal of a finite list .
For depth , threshold , focus , optional parent , and a finite list in , the path visit probability is the probability, under the independent unfolding law with uniform grid priorities applied to the traced grid query tree at root call , that the returned trace contains a recursive query call whose address equals .✦ For two finite lists in , the pair visit probability is the probability under the same unfolding law that the returned trace contains both a call with address and a call with address .✦
For a weight function and an integer , the prefix weight sum is (4)✦ Given a set and two finite lists in , their split query path decomposition consists of the longest common prefix of and together with the remaining suffixes and obtained by removing from the front of and .✦
For a real number and two finite lists in with split query path decomposition of lengths , , and , the pair factorial weight is (5)✦ with the standard conventions and .
Bounded embedded witnesses
For a natural number , a graph on vertices is a finite set of finite subsets of .✦ Given natural numbers and , a witness dimension pair is a pair of natural numbers satisfying , , and .✦ Associated with are the witness birth index map defined by , and the suffix index projection on sending to when and to an undefined value when . The initial vertex set for is ✦, the root edge universe is the graph consisting of all two-element subsets of ✦, and the seed pattern choices are the subgraphs of the root edge universe with ✦.
A path forest on vertices is a partial parent map on such that whenever , one has .✦ A forest parent step from to holds when ✦, and is a forest ancestor of if is reachable from by zero or more forest parent steps✦. A vertex lies on the forest path of an optional vertex in if is a defined vertex and is a forest ancestor of .✦ Given any key map from to a set , the forest vertex address is defined recursively by (6)✦ where denotes prepending an element to a finite list.
Fix a graph on vertices, a map , and a path forest on vertices. A map is a valid indexed attachment for if for every and, for each , either is undefined and , or and there exists such that .✦ The indexed attachment family for is the finite set of all valid indexed attachments for .✦
Given , , and a partial mark map from to , an indexed witness code consists of an ordered pair , a path forest on vertices such that every lies on the forest path of or on the forest path of , and a map in the indexed attachment family for .✦ The indexed pattern edges of form the graph ✦, and the decoded witness pattern of consists of the pair together with the graph on vertices defined by (7)✦
For a graph on vertices and a graph on vertices, the set of graph embeddings of into is the set of injective maps such that .✦ A bounded embedded witness in with parameters consists of a witness dimension pair for , a seed pattern choice for , an indexed witness code for , and a graph embedding of the decoded witness pattern graph from (7) into .✦
The indexed triangle key of maps each to the pair of subsets of given by (8)✦ The embedded witness paths of are the pair of finite lists of pairs of subsets of , where for each , the list is empty if is undefined, and equals the reversal of the forest vertex address from (6) and (8) when .✦
The claim
Lemma 6.2. Let be a finite set of hyperedges, let assign to each hyperedge in a finite subset of , let be an integer, and let be a nonnegative function satisfying the grid row quality condition (3) for . Let satisfy and , and set for . For every and with , and every legal query path for from focus and parent with length , the path visit probability satisfies (9)✦ If in addition is a real constant such that for every integer with , then for every finite focus , every optional parent in , and all finite lists in , the pair visit probability satisfies (10)✦ Finally, for all natural numbers , every graph on vertices, every bounded embedded witness in with parameters and witness dimension pair , and every real number , the pair factorial weight (5) of the embedded witness paths satisfies (11)✦
What is checked
Lemma 6.2 is stated in the Lean library over traced grid query trees unfolded under uniform grid priorities on , hypergraphs satisfying the grid row quality condition (3), prefix weight sums (4), pair factorial weights (5), and bounded embedded witnesses decoded from path forests and valid indexed attachments, establishing the single-path bound (9), the paired-path bound (10), and the witness weight bound (11).