Clique Is in W[1]
Lax496464.WH_D01_CliqueInW1 · concepts/Lax496464/WH_D01_CliqueInW1.lean · lax-496464
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
-Clique is in W[1] [FG06, Example 5.2]. A set of vertices is a clique exactly when the graph satisfies the -sentence [FG06, Example 4.39]
so -Clique fpt-reduces to : the graph becomes the structure whose universe is its vertex set and whose one relation is its edge relation, and is unchanged.
Concept map
Evidence
This concept declares 5 statements. Each proof establishes one of them relative to its assumptions.
1 clique_isParameterized proven
2 clique_le_pWD proven
3 clique_mem_W1 proven
4 cliqueFormula_isPi proven
5 cliqueFormula_isSentence proven
Lean source view on GitHub
| 1 | import Lax496464.WH_B4_Hierarchies |
| 2 | import Lax496464.WH_C1_GraphProblems |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Clique Is in W[1] |
| 7 | type: theorem |
| 8 | --- |
| 9 | -Clique is in W[1] [FG06, Example 5.2]. A set of vertices is a clique exactly when the graph |
| 10 | satisfies the -sentence [FG06, Example 4.39] |
| 11 | |
| 12 | |
| 13 | |
| 14 | so -Clique fpt-reduces to : the graph becomes the structure whose |
| 15 | universe is its vertex set and whose one relation is its edge relation, and is unchanged. |
| 16 | |
| 17 | # Formalization Notes |
| 18 | |
| 19 | In `cliqueFormula` the variables are , the edge relation is the binary symbol , |
| 20 | and is unary. The edge relation contains both and for every edge . |
| 21 | -/ |
| 22 | |
| 23 | namespace Lax496464.WH_D01_CliqueInW1 |
| 24 | |
| 25 | open Lax496464.WH_B2_FirstOrder Lax496464.WH_B3_LogicProblems Lax496464.WH_B4_Hierarchies |
| 26 | open Lax496464.WH_A2_FptReductions Lax496464.WH_C1_GraphProblems |
| 27 | |
| 28 | /-- `clique(X) = ∀y ∀z ((Xy ∧ Xz ∧ ¬ y = z) → E y z)`. -/ |
| 29 | def cliqueFormula : Formula := |
| 30 | .all 0 (.all 1 (Formula.imp |
| 31 | (.and (.setVar [0]) (.and (.setVar [1]) (.neg (.eq 0 1)))) |
| 32 | (.rel 0 [0, 1]))) |
| 33 | |
| 34 | /-- `clique(X)` is a `Π_1`-formula. -/ |
| 35 | axiom cliqueFormula_isPi : IsPi 1 cliqueFormula |
| 36 | |
| 37 | /-- `clique(X)` is a sentence. -/ |
| 38 | axiom cliqueFormula_isSentence : IsSentence cliqueFormula |
| 39 | |
| 40 | /-- The parameter of `p-Clique` is computable in polynomial time. -/ |
| 41 | axiom clique_isParameterized : IsParameterized Clique |
| 42 | |
| 43 | /-- **The reduction:** `p-Clique ≤fpt p-WD_clique`. -/ |
| 44 | axiom clique_le_pWD : Clique ≤ᶠᵖᵗ pWD cliqueFormula 1 |
| 45 | |
| 46 | /-- **`p-Clique ∈ W[1]`.** -/ |
| 47 | axiom clique_mem_W1 : Clique ∈ W 1 |
| 48 | |
| 49 | end Lax496464.WH_D01_CliqueInW1 |
| 50 |
Formalization Notes
In the variables are , the edge relation is the binary symbol , and is unary. The edge relation contains both and for every edge .
Used by
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments