Hitting Set Is in W[2]
Lax496464.WH_E1_HittingSetInW2 · concepts/Lax496464/WH_E1_HittingSetInW2.lean · lax-496464
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
-Hitting-Set is in W[2] [FG06, Example 5.2]. A hypergraph becomes the structure whose universe has one element per vertex and one per hyperedge, with unary relations and distinguishing them and the incidence relation , where states that vertex lies in hyperedge . A set of elements is a hitting set exactly when the structure satisfies the -sentence
whose second conjunct makes the elements of vertices [FG06, Example 4.42].
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax496464.WH_B4_Hierarchies |
| 2 | import Lax496464.WH_C2_HittingSet |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Hitting Set Is in W[2] |
| 7 | type: theorem |
| 8 | --- |
| 9 | -Hitting-Set is in W[2] [FG06, Example 5.2]. A hypergraph becomes the structure whose universe |
| 10 | has one element per vertex and one per hyperedge, with unary relations and |
| 11 | distinguishing them and the incidence relation , where states that vertex |
| 12 | lies in hyperedge . A set of elements is a hitting set exactly when the structure |
| 13 | satisfies the -sentence |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | whose second conjunct makes the elements of vertices [FG06, Example 4.42]. |
| 19 | |
| 20 | # Formalization Notes |
| 21 | |
| 22 | In `hsFormula` the variables are , and the relation symbols |
| 23 | are . Since the universe size is written in binary, the reduction first |
| 24 | restricts the universe to the elements occurring in the sets and maps instances with larger |
| 25 | than the universe to a fixed no-instance. |
| 26 | -/ |
| 27 | |
| 28 | namespace Lax496464.WH_E1_HittingSetInW2 |
| 29 | |
| 30 | open Lax496464.WH_B2_FirstOrder Lax496464.WH_B3_LogicProblems Lax496464.WH_B4_Hierarchies |
| 31 | open Lax496464.WH_A2_FptReductions Lax496464.WH_C2_HittingSet |
| 32 | |
| 33 | /-- `hs(X) = ∀x ∀z ∃y ((EDGE x → (Xy ∧ VERT y ∧ I y x)) ∧ (Xz → VERT z))`. -/ |
| 34 | def hsFormula : Formula := |
| 35 | .all 0 (.all 2 (.ex 1 (.and |
| 36 | (Formula.imp (.rel 1 [0]) (.and (.setVar [1]) (.and (.rel 0 [1]) (.rel 2 [1, 0])))) |
| 37 | (Formula.imp (.setVar [2]) (.rel 0 [2]))))) |
| 38 | |
| 39 | /-- `hs(X)` is a `Π_2`-formula. -/ |
| 40 | axiom hsFormula_isPi : IsPi 2 hsFormula |
| 41 | |
| 42 | /-- `hs(X)` is a sentence. -/ |
| 43 | axiom hsFormula_isSentence : IsSentence hsFormula |
| 44 | |
| 45 | /-- The parameter of `p-Hitting-Set` is computable in polynomial time. -/ |
| 46 | axiom hittingSet_isParameterized : IsParameterized HittingSet |
| 47 | |
| 48 | /-- **The reduction:** `p-Hitting-Set ≤fpt p-WD_hs`. -/ |
| 49 | axiom hittingSet_le_pWD : HittingSet ≤ᶠᵖᵗ pWD hsFormula 1 |
| 50 | |
| 51 | /-- **`p-Hitting-Set ∈ W[2]`.** -/ |
| 52 | axiom hittingSet_mem_W2 : HittingSet ∈ W 2 |
| 53 | |
| 54 | end Lax496464.WH_E1_HittingSetInW2 |
| 55 |
Formalization Notes
In the variables are , and the relation symbols are . Since the universe size is written in binary, the reduction first restricts the universe to the elements occurring in the sets and maps instances with larger than the universe to a fixed no-instance.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments