Execution bound for enumerating attachment plans
ProvedLax689794Proofs.Fun.E3B.attachPlans_runsalgorithmsgraph-theorytreewidth
For a characteristic root with label set , let be the prescribed neighbours. Under the stated node, vertex, program-table and value bounds, the attachment routine returns its functional list of plans. If is the size bound and bounds the cost parameter for candidate chains, its step count is at most
Preamble
import Definitions.Def_BodlaenderKloks_CharacteristicTables
import Definitions.Def_BodlaenderKloks_FunctionalMachine
import Definitions.Def_BodlaenderKloks_TreeDecompositionPrograms
import Definitions.Def_EdgeSublinearMWIS_Main_NativeSchemeInterfaces
import Definitions.Def_EdgeSublinearMWIS_Main_NativeWordRAM
import Definitions.Def_Lax228581_Treewidth
import Definitions.Def_Lax689794_GraphWords
import Mathlib.Algebra.BigOperators.Group.Finset.Sigma
import Mathlib.Algebra.BigOperators.Intervals
import Mathlib.Combinatorics.Enumerative.DoubleCounting
import Mathlib.Combinatorics.SimpleGraph.Acyclic
import Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
import Mathlib.Combinatorics.SimpleGraph.Maps
import Mathlib.Combinatorics.SimpleGraph.Metric
import Mathlib.Data.Finset.Card
import Mathlib.Data.Finset.Image
import Mathlib.Data.Finset.Option
import Mathlib.Data.Finset.Powerset
import Mathlib.Data.Finset.Sigma
import Mathlib.Data.Finset.Sort
import Mathlib.Data.Finset.Sum
import Mathlib.Data.Finset.Union
import Mathlib.Data.List.Basic
import Mathlib.Data.List.Dedup
import Mathlib.Data.List.Forall2
import Mathlib.Data.List.GetD
import Mathlib.Data.List.Induction
import Mathlib.Data.List.Sort
import Mathlib.Data.List.Sublists
import Mathlib.Data.Nat.Lattice
import Mathlib.Data.Set.Basic
import Mathlib.Data.Set.Card
import Mathlib.Logic.Relation
import Mathlib.Order.Interval.Finset.Nat
import Mathlib.Tactic
set_option linter.unusedSectionVars false
set_option linter.unusedTactic false
set_option linter.unreachableTactic false
open Lax689794Proofs Lax689794Proofs.Fun
open Lax689794Proofs Lax689794Proofs.Fun Lax689794Proofs.Fun.E3B
open ToVal Lib1 Lax689794Proofs.Chars CT
variable {Δ' : ℕ → Option Tm} (hΔ : Δ ⊑ Δ') (B : ℕ)
include hΔFormal statement
theorem Lax689794Proofs.Fun.E3B.attachPlans_runs (U Qc v : ℕ) (N S : Finset ℕ) (y : List ℕ) (ks : List CT) (hNS : N ⊆ S)
(hU : sz (CT.node S y ks) ≤ U) (hM : mx (CT.node S y ks) ≤ U) (hv : v ≤ U)
(hQc : 1000 * ((U + 1) * ((chainCands S N).length + 1)) ≤ Qc) (hB : 10 * U + 400 < B) :
Runs Δ' B fAttachPlans [toVal v, toVal N, toVal (CT.node S y ks)] (toVal (attachPlans v N (CT.node S y ks)))
(2 * (Qc * (U + 1) * (2 * (allChains S N).length + 2))) := by sorrySource