A bounded satisfying assignment
Lax429075.FiniteWitness · concepts/Lax429075/FiniteWitness.lean · lax-429075
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
A satisfiable formula has a certificate whose length is at most the length of its binary encoding. Only variables occurring in the formula matter.
Concept map
In the paper
- page 2 of this submission's paper
Lean source view on GitHub
| 1 | import Lax429075.Satisfiability |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: A bounded satisfying assignment |
| 6 | type: lemma |
| 7 | --- |
| 8 | A satisfiable formula has a certificate whose length is at most the length |
| 9 | of its binary encoding. Only variables occurring in the formula matter. |
| 10 | -/ |
| 11 | |
| 12 | namespace Lax429075.FiniteWitness |
| 13 | |
| 14 | open CNF Encoding Satisfiability Lax434930.PolynomialTime |
| 15 | |
| 16 | axiom bounded (F : Formula) : |
| 17 | Satisfiable F ↔ ∃ y : Word, y.length ≤ (encodeCNF F).length ∧ eval F (assignment y) = true |
| 18 | |
| 19 | end Lax429075.FiniteWitness |
| 20 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments