Threshold certificates for monotone integer edge penalties
ProvedSensitivityTournamentRanks.integer_penalty_certificateblock-sensitivityboolean-functionstournaments
Consider a finite regular tournament with vertices and two natural-number input levels at each vertex. Give each directed edge a nonnegative integer cost that is nondecreasing in both levels of its destination and is at least one whenever its designated socket reaches the guard threshold. Each vertex adds the costs of its outgoing edges. It wins if this total is at most and its two levels meet the nondecreasing target cutoffs at that total.
At every input there is a certificate of at most threshold queries determining whether any vertex wins. The bound is independent of the largest possible edge cost.
Preamble
import Definitions.Def_SensitivityTournamentRankRules open SensitivityTournamentRanks open scoped Classical
Formal statement
theorem SensitivityTournamentRanks.integer_penalty_certificate {V : Type} [Fintype V] (G : Gate V)
(cost : V → V → (Bool → ℕ) → ℕ)
(mono : ∀ v w a b, (∀ c, a c ≤ b c) → cost v w a ≤ cost v w b)
(primary : ∀ v w a, G.g ≤ a (G.label v w) → 1 ≤ cost v w a)
(loop : ∀ v, ¬G.arc v v) (orient : ∀ v w, v ≠ w → (G.arc v w ↔ ¬G.arc w v))
(d : ℕ) (degree : ∀ v, (Finset.univ.filter (G.arc v)).card ≤ d)
(regular : 2*d+1 ≤ Fintype.card V) (x : Input V) :
let totalCost := fun (y : Input V) (v : V) =>
∑ w ∈ Finset.univ.filter (G.arc v), cost v w (y w)
let accepts := fun (y : Input V) => ∃ v,
totalCost y v ≤ G.q ∧ target G y v (totalCost y v)
∃ U : Finset (Query V), U.card ≤ Fintype.card V+2*((G.q+1)*(G.q+2)) ∧
∀ y, agrees x y U → (accepts x ↔ accepts y) := by sorrySource
Original tournament certificate analysis for the Reach 2.15 mission. Uses the two-child guarded tournament model of the published 22-rank family, with the edge predicates specified here. https://prove2.me/theorems/735f6c78-5b75-4a99-ac8d-7de72c3b0046