Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Satisfiability

From Wikipedia, the free encyclopedia
(Redirected fromSatisfiable theory)
Concept in mathematical logic

Inmathematical logic, aformula issatisfiable if it is true under some assignment of values to itsvariables. For example, the formulax+3=y{\displaystyle x+3=y} is satisfiable because it is true whenx=3{\displaystyle x=3} andy=6{\displaystyle y=6}, while the formulax+1=x{\displaystyle x+1=x} is not satisfiable over the integers. The dual concept to satisfiability isvalidity; a formula isvalid if every assignment of values to its variables makes the formula true. For example,x+3=3+x{\displaystyle x+3=3+x} is valid over the integers, butx+3=y{\displaystyle x+3=y} is not.

Formally, satisfiability is studied with respect to a fixed logic defining thesyntax of allowed symbols, such asfirst-order logic,second-order logic orpropositional logic. Rather than being syntactic, however, satisfiability is asemantic property because it relates to themeaning of the symbols, for example, the meaning of+{\displaystyle +} in a formula such asx+1=x{\displaystyle x+1=x}. Formally, we define aninterpretation (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+{\displaystyle +}, one can restrict their meaning by providing additionalaxioms. Thesatisfiability modulo theories problem considers satisfiability of a formula with respect to aformal 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 asPeano arithmetic are satisfiable because they are true in the natural numbers. This concept is closely related to theconsistency of a theory, and in fact is equivalent to consistency for first-order logic, a result known asGö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 toAristotle'ssquare of opposition.

Theproblem of determining whether a formula inpropositional logic is satisfiable isdecidable, and is known as theBoolean satisfiability problem, or SAT. In general, the problem of determining whether a sentence offirst-order logic is satisfiable is not decidable. Inuniversal algebra,equational theory, andautomated theorem proving, the methods ofterm rewriting,congruence closure andunification are used to attempt to decide satisfiability. Whether a particulartheory is decidable or not depends whether the theory isvariable-free and on other conditions.[2]

Reduction of validity to satisfiability

[edit]

Forclassical 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 thepositive propositional calculus, the questions of validity and satisfiability may be unrelated. In the case of thepositive propositional calculus, the satisfiability problem is trivial, as every formula is satisfiable, while the validity problem isco-NP complete.

Propositional satisfiability for classical logic

[edit]
Main article:Propositional satisfiability

In the case ofclassical propositional logic, satisfiability is decidable for propositional formulae. In particular, satisfiability is anNP-complete problem, and is one of the most intensively studied problems incomputational complexity theory.

Satisfiability in first-order logic

[edit]

Forfirst-order logic (FOL), satisfiability isundecidable. More specifically, it is aco-RE-complete problem and therefore notsemidecidable.[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 byDavid Hilbert, as the so-calledEntscheidungsproblem. The universal validity of a formula is a semi-decidable problem byGö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 theChurch–Turing theorem, a result stating the negative answer for the Entscheidungsproblem.

Satisfiability in model theory

[edit]

Inmodel theory, anatomic formula is satisfiable if there is a collection of elements of astructure that render the formula true.[4] IfA is a structure, φ is a formula, anda 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 anatomic sentence, and it is satisfied byA, then one writes

A ⊧ φ

In this case, one may also say thatA is a model for φ, or that φ istrue inA. IfT is a collection of atomic sentences (a theory) satisfied byA, one writes

AT

Finite satisfiability

[edit]

A problem related to satisfiability is that offinite satisfiability, which is the question of determining whether a formula admits afinite model that makes it true. For a logic that has thefinite 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 offinite model theory.

Finite satisfiability and satisfiability need not coincide in general. For instance, consider thefirst-order logic formula obtained as theconjunction of the following sentences, wherea0{\displaystyle a_{0}} anda1{\displaystyle a_{1}} areconstants:


The resulting formula has the infinite modelR(a0,a1),R(a1,a2),{\displaystyle R(a_{0},a_{1}),R(a_{1},a_{2}),\ldots }, but it can be shown that it has no finite model (starting at the factR(a0,a1){\displaystyle R(a_{0},a_{1})} and following the chain ofR{\displaystyle R}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 ona0{\displaystyle a_{0}} or on a different element).

Thecomputational 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 isdecidable.

For classicalfirst-order logic, finite satisfiability isrecursively enumerable (in classRE) andundecidable byTrakhtenbrot's theorem applied to the negation of the formula.

Numerical constraints

[edit]
Further information:Satisfiability modulo theories andConstraint satisfaction problem

Numerical constraints[clarify] often appear in the field ofmathematical 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.

Constraintsover realsover integers
LinearPTIME (seelinear programming)NP-complete (seeinteger programming)
Polynomialdecidable through e.g.Cylindrical algebraic decompositionundecidable (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:rationalsintegersnatural numbers
Linear equationsPTIMEPTIMENP-complete
Linear inequalitiesPTIMENP-completeNP-complete

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

See also

[edit]

Notes

[edit]
  1. ^Boolos, Burgess & Jeffrey 2007, p. 120: "A set of sentences [...] issatisfiable if some interpretation [makes it true].".
  2. ^Franz Baader;Tobias Nipkow (1998).Term Rewriting and All That. Cambridge University Press. pp. 58–92.ISBN 0-521-77920-0.
  3. ^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 fromthe original(PDF) on 14 October 2020. Retrieved21 July 2012.
  4. ^Wilifrid Hodges (1997).A Shorter Model Theory. Cambridge University Press. p. 12.ISBN 0-521-58713-1.
  5. ^abAlexander 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]
  • Boolos, George; Burgess, John; Jeffrey, Richard (2007).Computability and Logic (5th ed.). Cambridge University Press.

Further reading

[edit]
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Satisfiability&oldid=1123975948"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp