Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Reduction of validity to satisfiability  





2 Propositional satisfiability for classical logic  





3 Satisfiability in first-order logic  





4 Satisfiability in model theory  





5 Finite satisfiability  





6 Numerical constraints  





7 See also  





8 Notes  





9 References  





10 Further reading  














Satisfiability






العربية
Čeština
Deutsch
Eesti
Español
Français
Nederlands
Português
Suomi
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Inmathematical logic, a formulaissatisfiable if it is true under some assignment of values to its variables. For example, the formula is satisfiable because it is true when and , while the formula is not satisfiable over the integers. The dual concept to satisfiability is validity; a formula is valid if every assignment of values to its variables makes the formula true. For example, is valid over the integers, but is not.

Formally, satisfiability is studied with respect to a fixed logic defining the syntax of allowed symbols, such as first-order logic, second-order logicorpropositional logic. Rather than being syntactic, however, satisfiability is a semantic property because it relates to the meaning of the symbols, for example, the meaning of in a formula such as . Formally, we define an interpretation (ormodel) to be an assignment of values to the variables and an assignment of meaning to all other non-logical symbols, and a formula is said to be satisfiable if there is some interpretation which makes it true.[1] While this allows non-standard interpretations of symbols such as , one can restrict their meaning by providing additional axioms. The satisfiability modulo theories problem considers satisfiability of a formula with respect to a formal theory, which is a (finite or infinite) set of axioms.

Satisfiability and validity are defined for a single formula, but can be generalized to an arbitrary theory or set of formulas: a theory is satisfiable if at least one interpretation makes every formula in the theory true, and valid if every formula is true in every interpretation. For example, theories of arithmetic such as Peano arithmetic are satisfiable because they are true in the natural numbers. This concept is closely related to the consistency of a theory, and in fact is equivalent to consistency for first-order logic, a result known as Gödel's completeness theorem. The negation of satisfiability is unsatisfiability, and the negation of validity is invalidity. These four concepts are related to each other in a manner exactly analogous to Aristotle's square of opposition.

The problem of determining whether a formula in propositional logic is satisfiable is decidable, and is known as the Boolean satisfiability problem, or SAT. In general, the problem of determining whether a sentence of first-order logic is satisfiable is not decidable. In universal algebra, equational theory, and automated theorem proving, the methods of term rewriting, congruence closure and unification are used to attempt to decide satisfiability. Whether a particular theory is decidable or not depends whether the theory is variable-free and on other conditions.[2]

Reduction of validity to satisfiability[edit]

For classical logics with negation, it is generally possible to re-express the question of the validity of a formula to one involving satisfiability, because of the relationships between the concepts expressed in the above square of opposition. In particular φ is valid if and only if ¬φ is unsatisfiable, which is to say it is false that ¬φ is satisfiable. Put another way, φ is satisfiable if and only if ¬φ is invalid.

For logics without negation, such as the positive propositional calculus, the questions of validity and satisfiability may be unrelated. In the case of the positive propositional calculus, the satisfiability problem is trivial, as every formula is satisfiable, while the validity problem is co-NP complete.

Propositional satisfiability for classical logic[edit]

In the case of classical propositional logic, satisfiability is decidable for propositional formulae. In particular, satisfiability is an NP-complete problem, and is one of the most intensively studied problems in computational complexity theory.

Satisfiability in first-order logic[edit]

For first-order logic (FOL), satisfiability is undecidable. More specifically, it is a co-RE-complete problem and therefore not semidecidable.[3] This fact has to do with the undecidability of the validity problem for FOL. The question of the status of the validity problem was posed firstly by David Hilbert, as the so-called Entscheidungsproblem. The universal validity of a formula is a semi-decidable problem by Gödel's completeness theorem. If satisfiability were also a semi-decidable problem, then the problem of the existence of counter-models would be too (a formula has counter-models iff its negation is satisfiable). So the problem of logical validity would be decidable, which contradicts the Church–Turing theorem, a result stating the negative answer for the Entscheidungsproblem.

Satisfiability in model theory[edit]

Inmodel theory, an atomic formula is satisfiable if there is a collection of elements of a structure that render the formula true.[4]IfA is a structure, φ is a formula, and a is a collection of elements, taken from the structure, that satisfy φ, then it is commonly written that

A ⊧ φ [a]

If φ has no free variables, that is, if φ is an atomic sentence, and it is satisfied by A, then one writes

A ⊧ φ

In this case, one may also say that A is a model for φ, or that φ is trueinA. If T is a collection of atomic sentences (a theory) satisfied by A, one writes

AT

Finite satisfiability[edit]

A problem related to satisfiability is that of finite satisfiability, which is the question of determining whether a formula admits a finite model that makes it true. For a logic that has the finite model property, the problems of satisfiability and finite satisfiability coincide, as a formula of that logic has a model if and only if it has a finite model. This question is important in the mathematical field of finite model theory.

Finite satisfiability and satisfiability need not coincide in general. For instance, consider the first-order logic formula obtained as the conjunction of the following sentences, where and are constants:


The resulting formula has the infinite model , but it can be shown that it has no finite model (starting at the fact and following the chain of atoms that must exist by the second axiom, the finiteness of a model would require the existence of a loop, which would violate the third and fourth axioms, whether it loops back on or on a different element).

The computational complexity of deciding satisfiability for an input formula in a given logic may differ from that of deciding finite satisfiability; in fact, for some logics, only one of them is decidable.

For classical first-order logic, finite satisfiability is recursively enumerable (in class RE) and undecidablebyTrakhtenbrot's theorem applied to the negation of the formula.

Numerical constraints[edit]

Numerical constraints[clarify] often appear in the field of mathematical optimization, where one usually wants to maximize (or minimize) an objective function subject to some constraints. However, leaving aside the objective function, the basic issue of simply deciding whether the constraints are satisfiable can be challenging or undecidable in some settings. The following table summarizes the main cases.

Constraints

over reals

over integers

Linear

PTIME (see linear programming)

NP-complete (see integer programming)

Polynomial

decidable through e.g. Cylindrical algebraic decomposition

undecidable (Hilbert's tenth problem)

Table source: Bockmayr and Weispfenning.[5]: 754 

For linear constraints, a fuller picture is provided by the following table.

Constraints over:

rationals

integers

natural numbers

Linear equations

PTIME

PTIME

NP-complete

Linear inequalities

PTIME

NP-complete

NP-complete

Table source: Bockmayr and Weispfenning.[5]: 755 

See also[edit]

Notes[edit]

  1. ^ Boolos, Burgess & Jeffrey 2007, p. 120: "A set of sentences [...] is satisfiable if some interpretation [makes it true].".
  • ^ Franz Baader; Tobias Nipkow (1998). Term Rewriting and All That. Cambridge University Press. pp. 58–92. ISBN 0-521-77920-0.
  • ^ Baier, Christel (2012). "Chapter 1.3 Undecidability of FOL". Lecture Notes — Advanced Logics. Technische Universität Dresden — Institute for Technical Computer Science. pp. 28–32. Archived from the original (PDF) on 14 October 2020. Retrieved 21 July 2012.
  • ^ Wilifrid Hodges (1997). A Shorter Model Theory. Cambridge University Press. p. 12. ISBN 0-521-58713-1.
  • ^ a b Alexander Bockmayr; Volker Weispfenning (2001). "Solving Numerical Constraints". In John Alan Robinson; Andrei Voronkov (eds.). Handbook of Automated Reasoning Volume I. Elsevier and MIT Press. ISBN 0-444-82949-0. (Elsevier) (MIT Press).
  • References[edit]

    Further reading[edit]

    General

  • Cardinality
  • First-order logic
  • Formal proof
  • Formal semantics
  • Foundations of mathematics
  • Information theory
  • Lemma
  • Logical consequence
  • Model
  • Theorem
  • Theory
  • Type theory
  • Theorems (list)
     and paradoxes

  • Tarski's undefinability
  • Banach–Tarski paradox
  • Cantor's theorem, paradox and diagonal argument
  • Compactness
  • Halting problem
  • Lindström's
  • Löwenheim–Skolem
  • Russell's paradox
  • Logics

    Traditional

  • Logical truth
  • Tautology
  • Proposition
  • Inference
  • Logical equivalence
  • Consistency
  • Argument
  • Soundness
  • Validity
  • Syllogism
  • Square of opposition
  • Venn diagram
  • Propositional

  • Boolean functions
  • Logical connectives
  • Propositional calculus
  • Propositional formula
  • Truth tables
  • Many-valued logic
  • Predicate

  • Second-order
  • Higher-order
  • Fixed-point
  • Free
  • Quantifiers
  • Predicate
  • Monadic predicate calculus
  • Set theory

  • Class
  • (Ur-)Element
  • Ordinal number
  • Extensionality
  • Forcing
  • Relation
  • Set operations:
  • Types of sets

  • Uncountable
  • Empty
  • Inhabited
  • Singleton
  • Finite
  • Infinite
  • Transitive
  • Ultrafilter
  • Recursive
  • Fuzzy
  • Universal
  • Universe
  • Maps and cardinality

  • codomain
  • image
  • In/Sur/Bi-jection
  • Schröder–Bernstein theorem
  • Isomorphism
  • Gödel numbering
  • Enumeration
  • Large cardinal
  • Aleph number
  • Operation
  • Set theories

  • continuum hypothesis
  • General
  • Kripke–Platek
  • Morse–Kelley
  • Naive
  • New Foundations
  • Tarski–Grothendieck
  • Von Neumann–Bernays–Gödel
  • Ackermann
  • Constructive
  • Formal systems (list),
    language and syntax

  • Arity
  • Automata
  • Axiom schema
  • Expression
  • Extension
  • Relation
  • Formation rule
  • Grammar
  • Formula
  • Free/bound variable
  • Language
  • Metalanguage
  • Logical connective
  • Predicate
  • Proof
  • Quantifier
  • Sentence
  • Signature
  • String
  • Substitution
  • Symbol
  • Term
  • Theory
  • Example axiomatic
    systems
     (list)

  • second-order
  • elementary function
  • primitive recursive
  • Robinson
  • Skolem
  • of the real numbers
  • ofBoolean algebras
  • ofgeometry:
  • Proof theory

  • Natural deduction
  • Logical consequence
  • Rule of inference
  • Sequent calculus
  • Theorem
  • Systems
  • Complete theory
  • Independence (from ZFC)
  • Proof of impossibility
  • Ordinal analysis
  • Reverse mathematics
  • Self-verifying theories
  • Model theory

  • of models
  • Model
  • Non-standard model
  • Diagram
  • Categorical theory
  • Model complete theory
  • Satisfiability
  • Semantics of logic
  • Strength
  • Theories of truth
  • T-schema
  • Transfer principle
  • Truth predicate
  • Truth value
  • Type
  • Ultraproduct
  • Validity
  • Computability theory

  • Church–Turing thesis
  • Computably enumerable
  • Computable function
  • Computable set
  • Decision problem
  • Kolmogorov complexity
  • Lambda calculus
  • Primitive recursive function
  • Recursion
  • Recursive set
  • Turing machine
  • Type theory
  • Related

  • Algebraic logic
  • Automated theorem proving
  • Category theory
  • Concrete/Abstract category
  • Category of sets
  • History of logic
  • History of mathematical logic
  • Logicism
  • Mathematical object
  • Philosophy of mathematics
  • Supertask
  • icon Mathematics portal

  • Entscheidungsproblem
  • Church–Turing thesis
  • Consistency
  • Effective method
  • Foundations of mathematics
  • Gödel's completeness theorem
  • Gödel's incompleteness theorems
  • Soundness
  • Completeness
  • Decidability
  • Interpretation
  • Löwenheim–Skolem theorem
  • Metatheorem
  • Satisfiability
  • Independence
  • Type–token distinction
  • Use–mention distinction

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Satisfiability&oldid=1123975948"

    Categories: 
    Concepts in logic
    Logical truth
    Model theory
    Philosophy of logic
    Hidden categories: 
    Articles with short description
    Short description is different from Wikidata
    All Wikipedia articles needing clarification
    Wikipedia articles needing clarification from July 2021
     



    This page was last edited on 26 November 2022, at 18:45 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki