Bounded execution of join-node witness reconstruction
ProvedLax689794Proofs.Fun.E6b.realJoin_atalgorithmsgraph-theorytreewidth
For a good join node, valid partial decompositions of both children and a target in the parent table, the reconstruction program returns the encoding of the functional join-node reconstruction. Its number of functional-machine steps is at most under the stated size and value bounds.
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 set_option linter.unusedSimpArgs false set_option maxRecDepth 100000 set_option maxHeartbeats 1000000 open Lax689794Proofs Lax689794Proofs.Fun open Lax689794Proofs Lax689794Proofs.Fun Lax689794Proofs.Fun.E6b open ToVal Lax689794Proofs.Seq Lax689794Proofs.Chars Lax689794Proofs.Trees CT E5D
Formal statement
theorem Lax689794Proofs.Fun.E6b.realJoin_at {Δ' : ℕ → Option Tm} (hΔ : Ext6 Δ') (B : ℕ) {adj : Adj} {k M : ℕ} {a b : NT}
(hg : (NT.join a b).Good adj) (hw : (NT.join a b).toRT.Width (k + 1))
{ta tb : RT} (hta : PTD adj a k ta) (htb : PTD adj b k tb) {target : CT}
(htg : target ∈ tables adj k (NT.join a b))
(hsza : sz ta ≤ (2 * k + 8) * (2 * k + 6) * a.size) (hszb : sz tb ≤ (2 * k + 8) * (2 * k + 6) * b.size)
(haM : a.size ≤ M) (hbM : b.size ≤ M) (hB : (Zc M k ^ pRJ + 2) ^ 2 < B) :
Runs Δ' B E5D.fRealJoin [toVal (k + 1), toVal a.bag, toVal ta, toVal tb, toVal target]
(toVal (realJoin (k + 1) a.bag ta tb target)) (Zc M k ^ pRJ) := by sorrySource