Dominating Set reductions and orthogonal-vector lower bounds
DefinitionBackreferenceMatching_HardnessA parameterized many-one reduction from Dominating Set takes a graph and and outputs a matching instance with the same answer. It runs in fixed-parameter time and bounds by a computable function of .
For sets of distinct Boolean vectors, an orthogonal choice picks one vector from every set so that every coordinate has a zero among the chosen vectors. The -OV hypothesis excludes exponent for every positive and every dimension function growing faster than . Fixed-expression algorithms take only the word as input.
import Definitions.Def_BackreferenceMatching_Algorithms
import Mathlib.Computability.Partrec
import Mathlib.Analysis.SpecialFunctions.Pow.Real
namespace BackreferenceMatching
structure InputGraph where
vertices : ℕ
edges : List (Fin vertices × Fin vertices)
increasing : ∀ e ∈ edges, e.1 < e.2
distinct : edges.Nodup
def InputGraph.adjacent (g : InputGraph) (u v : Fin g.vertices) : Prop :=
(u, v) ∈ g.edges ∨ (v, u) ∈ g.edges
def InputGraph.code (g : InputGraph) : List ℕ :=
g.vertices :: g.edges.length :: g.edges.flatMap (fun e => [e.1.val, e.2.val])
def InputGraph.hasTriangle (g : InputGraph) : Prop :=
∃ u v z, g.adjacent u v ∧ g.adjacent v z ∧ g.adjacent z u
def InputGraph.dominatedBy (g : InputGraph) (k : ℕ) : Prop :=
∃ s : Finset (Fin g.vertices), s.card = k ∧
∀ v, v ∈ s ∨ ∃ u ∈ s, g.adjacent u v
def dominatingInput (k : ℕ) (g : InputGraph) : List ℕ :=
List.replicate k 1 ++ [0] ++ g.code ++ List.range g.vertices
def DominatingSetReduction : Prop :=
∃ (q : ℕ) (p : Program) (a d : ℕ) (f : ℕ → ℕ), Computable f ∧
∀ (k : ℕ) (g : InputGraph),
let input := dominatingInput k g
∃ (e : Expr q) (w : Word q) (t : ℕ),
Lax808846.Ram.RunsTo (wordBits a (input.length + q + 8)) p input (regexInput e w) t ∧
t ≤ f k * (input.length + 1)^d ∧ e.size ≤ f k ∧ (g.dominatedBy k ↔ Matches e w)
abbrev VectorInstance (h n d : ℕ) := Fin h → Fin n → Fin d → Bool
def vectorCode {h n d : ℕ} (v : VectorInstance h n d) : List ℕ :=
[h, n, d] ++ (List.finRange h).flatMap (fun i =>
(List.finRange n).flatMap (fun j =>
(List.finRange d).map (fun l => if v i j l then 1 else 0)))
def OrthogonalChoice {h n d : ℕ} (v : VectorInstance h n d) : Prop :=
∃ pick : Fin h → Fin n, ∀ l, ∃ i, v i (pick i) l = false
def Superlogarithmic (dim : ℕ → ℕ) : Prop :=
∀ c : ℕ, ∃ n₀, ∀ n ≥ n₀, c * logFactor n ≤ dim n
def DecidesInPower (p : Program) (a scale : ℕ) (input : List ℕ)
(claim : Prop) (c n : ℕ) (exponent : ℝ) : Prop :=
∃ t out, Lax808846.Ram.RunsTo (wordBits a scale) p input out t ∧
CorrectBit claim out ∧ (t : ℝ) ≤ c * ((n : ℝ) + 2)^exponent
def OVAlgorithm (h : ℕ) (dim : ℕ → ℕ) (exponent : ℝ) : Prop :=
∃ (p : Program) (a c : ℕ), ∀ (n : ℕ) (v : VectorInstance h n (dim n)),
(∀ i, Function.Injective (v i)) →
let input := vectorCode v
DecidesInPower p a (input.length + h + n + dim n + 8) input
(OrthogonalChoice v) c n exponent
def OVHypothesis (h : ℕ) : Prop :=
∀ dim, Superlogarithmic dim → ∀ ε : ℝ, 0 < ε → ¬ OVAlgorithm h dim ((h : ℝ) - ε)
def FixedAlgorithm {q : ℕ} (e : Expr q) (exponent : ℝ) : Prop :=
∃ (p : Program) (a c : ℕ), ∀ w : Word q,
DecidesInPower p a (w.length + q + 8) (wordCode w) (Matches e w) c w.length exponent
end BackreferenceMatchingRead-back
What the Lean code literally says, in plain math · GPT-6
Graphs and adjacency
An input graph has vertices labeled and a list of distinct edges with . Two vertices are adjacent if the list contains their pair in either order. The graph code is , the number of edges, and the two endpoints of each edge in list order.
Triangles and domination
A triangle exists if there are vertices with adjacent to , to , and to . Domination by means a set of exactly vertices exists such that every vertex lies in or has a neighbor in . For this holds exactly when , and for it fails. The domination input consists of ones, a zero, the graph code, and the successive indices .
Decision at a power bound
Write . For a program , natural parameters , a list of naturals, a proposition , and an exponent , this means halts on after some instructions with . Its entire output is if holds and otherwise. The deterministic word RAM uses -bit words, with sequential and indexed read-only input, zero-initialized working memory and append-only output. A fetched terminating instruction counts once. Reaching an out-of-range instruction address adds zero cost.
Domination reduction
There exist , a program , and a total computable such that for every and every input graph there are an expression and word over letters and a halting time . At scale with width parameter , transforms into the prefix encoding of followed by the raw letter indices of . Names are indexed in the expression’s duplicate-free variable list. The bounds are and at most syntax-tree nodes in . The graph admits a dominating set of size if and only if consumes all of in some run from initially empty variables. Captures store matched substrings and reads consume current values.
Vector families and choices
For , a vector instance consists of indexed families of indexed Boolean vectors of length . Its code lists , then the bits as zeros and ones in increasing family, vector, and coordinate order. An orthogonal choice selects one index in each family so that at every coordinate at least one selected vector has a zero. With this holds exactly when . With and no selection exists. When every available selection qualifies.
Dimension growth
A dimension function is superlogarithmic if for every there is such that for every .
Orthogonal-vectors algorithms and hypothesis
For fixed , an algorithm consists of one program and . For every and every instance of dimension whose vectors are distinct within each family, it decides orthogonal choice on at scale and exponent . Different families may share vectors. For and the distinctness hypothesis is impossible. The hypothesis for says that for every superlogarithmic and every real , no such algorithm exists at exponent .
Fixed-expression algorithms
For fixed , an expression over letters, and a real exponent , there must exist one program and such that for every word , the program decides whether matches all of . The input consists of the letter indices of . Writing , the scale is and the time bound is , including at .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.