Budget-pruned edge orientation enumeration is exhaustive
ProvedSensitivity213981Formal.ThreeBoundQ2.orientations_completeboolean-functionssensitivitysensitivity-213981-formal
Let be a finite list of vertex pairs, let be a Boolean list with , and let be a natural-number outdegree budget. Interpret a false bit as the first-to-second orientation and a true bit as the reverse. If the resulting outgoing count satisfies
then occurs in the recursive budget-pruned enumeration . Thus the executable search omits no orientation satisfying its stated budgets.
Preamble
import Definitions.Def_Sensitivity213981Formal_Namespaces import Definitions.Def_Sensitivity213981Formal_Supplement_Q2Enumeration import Definitions.Def_SensitivityCampaign import Definitions.Def_SensitivitySeparation import Lean.Elab.Tactic.Omega import Mathlib.Data.Finset.Sort import Mathlib.Data.List.FinRange import Mathlib.Data.List.Sort set_option autoImplicit false set_option maxHeartbeats 0 set_option maxRecDepth 200000
Formal statement
theorem Sensitivity213981Formal.ThreeBoundQ2.orientations_complete :
∀ {V : Type} [inst : DecidableEq.{1} V] (es : List.{0} (Prod.{0, 0} V V)) (ds : List.{0} Bool) (b : V → Nat)
(hlen : @Eq.{1} Nat (@List.length.{0} Bool ds) (@List.length.{0} (Prod.{0, 0} V V) es))
(hb : ∀ (v : V), @LE.le.{0} Nat instLENat (@Sensitivity213981Formal.ThreeBoundQ2.outCount V inst es ds v) (b v)),
@Membership.mem.{0, 0} (List.{0} Bool) (List.{0} (List.{0} Bool)) (@List.instMembership.{0} (List.{0} Bool))
(@Sensitivity213981Formal.ThreeBoundQ2.orientations V inst b es) ds := by sorrySource