File:3SAT 17.pdf
Summary
Description |
English: Boolean satisfiability problem with 17 variables.
It has exactly one satisfying solution. |
Date | |
Source | Own work |
Author | Jochen Burghardt |
Other versions | File:3SAT 17.pdf * File:3SAT 17 svg.svg |
LaTeX source code |
---|
\documentclass[12pt]{article}
\setlength{\unitlength}{1mm}
\usepackage[pdftex]{color}
\usepackage[paperwidth=100\unitlength,paperheight=40\unitlength]{geometry}
\setlength{\topmargin}{-36mm}
\setlength{\textwidth}{100\unitlength}
\setlength{\textheight}{40\unitlength}
\setlength{\oddsidemargin}{-23mm}
\setlength{\parindent}{0cm}
\pagestyle{empty}
\definecolor{cAnd} {rgb}{0.70,0.00,0.00}
\newcommand{\AND}[0]{\mathop{\textcolor{cAnd}{\land}}}
\newcommand{\OR}[0]{\lor}
\newcommand{\NOT}[1]{\overline{#1}}
\begin{document}
$\begin{array}{@{}*{8}{c@{}}}
& (\NOT a \OR m \OR u)
& \AND & (a \OR n \OR u)
& \AND & (\NOT a \OR r \OR x)
& \AND & (\NOT c \OR \NOT e \OR s)
\\
\AND & (c \OR \NOT m \OR \NOT w)
& \AND & (\NOT c \OR p \OR x)
& \AND & (c \OR q \OR s)
& \AND & (e \OR p \OR s)
\\
\AND & (e \OR q \OR \NOT y)
& \AND & (e \OR r \OR y)
& \AND & (\NOT e \OR r \OR z)
& \AND & (\NOT g \OR r \OR x)
\\
\AND & (g \OR v \OR \NOT y)
& \AND & (m \OR \NOT n \OR u)
& \AND & (m \OR \NOT o \OR \NOT u)
& \AND & (m \OR o \OR v)
\\
\AND & (\NOT m \OR \NOT q \OR s)
& \AND & (\NOT m \OR \NOT r \OR \NOT s)
& \AND & (m \OR \NOT u \OR \NOT v)
& \AND & (\NOT m \OR x \OR \NOT z)
\\
\AND & (\NOT n \OR r \OR \NOT y)
& \AND & (o \OR r \OR \NOT w)
& \AND & (\NOT p \OR q \OR s)
& \AND & (r \OR \NOT w \OR \NOT x)
\\
\AND & (r \OR w \OR \NOT y)
& \AND & (r \OR w \OR \NOT z)
\\
\end{array}$
% Add clause
% (a, -c, e, g, -m, n, -o, -p, -q, r, -s, -u, -v, -w, x, -y, z)
% to render the problem unsatisifable.
\end{document}
|
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.