<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ChantalFitzGibb</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ChantalFitzGibb"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/ChantalFitzGibb"/>
	<updated>2026-08-03T04:04:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.7</generator>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Main_Page&amp;diff=50220</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Main_Page&amp;diff=50220"/>
		<updated>2014-08-13T10:46:53Z</updated>

		<summary type="html">&lt;p&gt;ChantalFitzGibb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In the branch of [[mathematical logic]] called [[model theory]], an &#039;&#039;&#039;elementary class&#039;&#039;&#039; (or &#039;&#039;&#039;axiomatizable class&#039;&#039;&#039;) is a [[class (set theory)|class]] consisting of all [[structure (mathematical logic)|structures]] satisfying a fixed [[first-order logic|first-order]] [[theory (mathematical logic)|theory]].&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
A [[class (set theory)|class]] &#039;&#039;K&#039;&#039; of [[structure (mathematical logic)|structures]] of a [[signature (logic)|signature]] σ is called an &#039;&#039;&#039;elementary class&#039;&#039;&#039; if there is a [[first-order logic|first-order]] [[theory (mathematical logic)|theory]] &#039;&#039;T&#039;&#039; of signature σ, such that &#039;&#039;K&#039;&#039; consists of all models of &#039;&#039;T&#039;&#039;, i.e., of all σ-structures that satisfy &#039;&#039;T&#039;&#039;. If &#039;&#039;T&#039;&#039; can be chosen as a theory consisting of a single first-order sentence, then &#039;&#039;K&#039;&#039; is called a &#039;&#039;&#039;basic elementary class&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
More generally, &#039;&#039;K&#039;&#039; is a [[pseudoelementary class|pseudo-elementary class]] if there is a first-order theory &#039;&#039;T&#039;&#039; of a signature that extends σ, such that &#039;&#039;K&#039;&#039; consists of all σ-structures that are [[reduct]]s to σ of models of &#039;&#039;T&#039;&#039;. In other words, a class &#039;&#039;K&#039;&#039; of σ-structures is pseudo-elementary [[iff]] there is an elementary class &#039;&#039;K&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;&#039;&#039; such that &#039;&#039;K&#039;&#039; consists of precisely the reducts to σ of the structures in &#039;&#039;K&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For obvious reasons, elementary classes are also called &#039;&#039;&#039;axiomatizable in first-order logic&#039;&#039;&#039;, and basic elementary classes are called &#039;&#039;&#039;finitely axiomatizable in first-order logic&#039;&#039;&#039;. These definitions extend to other logics in the obvious way, but since the first-order case is by far the most important, &#039;&#039;&#039;axiomatizable&#039;&#039;&#039; implicitly refers to this case when no other logic is specified.&lt;br /&gt;
&lt;br /&gt;
== Conflicting and alternative terminology ==&lt;br /&gt;
&lt;br /&gt;
While the above is nowadays standard terminology in [[model theory|&amp;quot;infinite&amp;quot; model theory]], the slightly different earlier definitions are still in use in [[finite model theory]], where an elementary class may be called a &#039;&#039;&#039;Δ-elementary class&#039;&#039;&#039;, and the terms &#039;&#039;&#039;elementary class&#039;&#039;&#039; and &#039;&#039;&#039;first-order axiomatizable class&#039;&#039;&#039; are reserved for basic elementary classes (Ebbinghaus et al. 1994, Ebbinghaus and Flum 2005). Hodges calls elementary classes [[axiomatizable class]]es, and he refers to basic elementary classes as &#039;&#039;&#039;definable classes&#039;&#039;&#039;. He also uses the respective synonyms &#039;&#039;&#039;EC class&#039;&#039;&#039; and &#039;&#039;&#039;EC&amp;lt;math&amp;gt;_\Delta&amp;lt;/math&amp;gt; class&#039;&#039;&#039; (Hodges, 1993).&lt;br /&gt;
&lt;br /&gt;
There are good reasons for this diverging terminology. The [[signature (logic)|signature]]s that are considered in general model theory are often infinite, while a single [[first-order logic|first-order]] [[sentence (mathematical logic)|sentence]] contains only finitely many symbols. Therefore basic elementary classes are atypical in infinite model theory. Finite model theory, on the other hand, deals almost exclusively with finite signatures. It is easy to see that for every finite signature σ and for every class &#039;&#039;K&#039;&#039; of σ-structures closed under isomorphism there is an elementary class &amp;lt;math&amp;gt;K&#039;&amp;lt;/math&amp;gt; of σ-structures such that &#039;&#039;K&#039;&#039; and &amp;lt;math&amp;gt;K&#039;&amp;lt;/math&amp;gt; contain precisely the same finite structures. Hence elementary classes are not very interesting for finite model theorists.&lt;br /&gt;
&lt;br /&gt;
== Easy relations between the notions ==&lt;br /&gt;
&lt;br /&gt;
Clearly every basic elementary class is an elementary class, and every elementary class is a pseudo-elementary class. Moreover, as an easy consequence of the [[compactness theorem]], a class of σ-structures is basic elementary if and only if it is elementary and its complement is also elementary.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== A basic elementary class ===&lt;br /&gt;
Let σ be a signature consisting only of a [[unary function]] symbol &#039;&#039;f&#039;&#039;.  The class &#039;&#039;K&#039;&#039; of σ-structures in which &#039;&#039;f&#039;&#039; is [[injection (mathematics)|one-to-one]] is a basic elementary class. This is witnessed by the theory &#039;&#039;T&#039;&#039;, which consists only of the single sentence &lt;br /&gt;
:&amp;lt;math&amp;gt;\forall x\forall y( (f(x)=f(y)) \to (x=y) )&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== An elementary, basic pseudoelementary class that is not basic elementary ===&lt;br /&gt;
Let σ be an arbitrary signature. The class &#039;&#039;K&#039;&#039; of all infinite σ-structures is elementary. To see this, consider the sentences&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\rho_2={}&amp;lt;/math&amp;gt; &amp;quot;&amp;lt;math&amp;gt;\exist x_1\exist x_2(x_1 \not =x_2)&amp;lt;/math&amp;gt;&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\rho_3={}&amp;lt;/math&amp;gt; &amp;quot;&amp;lt;math&amp;gt;\exist x_1\exist x_2\exist x_3((x_1 \not =x_2) \and (x_1 \not =x_3) \and (x_2 \not =x_3))&amp;lt;/math&amp;gt;&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
and so on. (So the sentence &amp;lt;math&amp;gt;\rho_n&amp;lt;/math&amp;gt; says that there are at least &#039;&#039;n&#039;&#039; elements.) The infinite σ-structures are precisely the models of the theory&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;T_\infty=\{\rho_2, \rho_3, \rho_4, \dots\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
But &#039;&#039;K&#039;&#039; is not a basic elementary class. Otherwise the infinite σ-structures would be precisely those that satisfy a certain first-order sentence τ. But then the set&lt;br /&gt;
&amp;lt;math&amp;gt;\{\neg\tau, \rho_2, \rho_3, \rho_4, \dots\}&amp;lt;/math&amp;gt; would be inconsistent. By the [[compactness theorem]], for some natural number &#039;&#039;n&#039;&#039; the set &amp;lt;math&amp;gt;\{\neg\tau, \rho_2, \rho_3, \rho_4, \dots, \rho_n\}&amp;lt;/math&amp;gt; would be inconsistent. But this is absurd, because this theory is satisfied by any σ-structure with &amp;lt;math&amp;gt;n+1&amp;lt;/math&amp;gt; or more elements.&lt;br /&gt;
&lt;br /&gt;
However, there is a basic elementary class &#039;&#039;K&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;&#039;&#039; in the signature σ&#039; = σ &amp;lt;math&amp;gt;\cup&amp;lt;/math&amp;gt; {&#039;&#039;f&#039;&#039;}, where &#039;&#039;f&#039;&#039; is a unary function symbol, such that &#039;&#039;K&#039;&#039; consists exactly of the reducts to σ of σ&#039;-structures in &#039;&#039;K&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;&#039;&#039;. &#039;&#039;K&amp;lt;nowiki&amp;gt;&#039;&amp;lt;/nowiki&amp;gt;&#039;&#039; is axiomatised by the single sentence &amp;lt;math&amp;gt;(\forall x\forall y(f(x) = f(y) \rightarrow x=y) \land \exists y\neg\exists x(y = f(x))),&amp;lt;/math&amp;gt;, which expresses that &#039;&#039;f&#039;&#039; is injective but not surjective. Therefore &#039;&#039;K&#039;&#039; is elementary and what could be called basic pseudo-elementary, but not basic elementary.&lt;br /&gt;
&lt;br /&gt;
=== Pseudo-elementary class that is non-elementary ===&lt;br /&gt;
Finally, consider the signature σ consisting of a single unary relation symbol &#039;&#039;P&#039;&#039;. Every σ-structure is [[partition of a set|partitioned]] into two subsets: Those elements for which &#039;&#039;P&#039;&#039; holds, and the rest. Let &#039;&#039;K&#039;&#039; be the class of all σ-structures for which these two subsets have the same [[cardinality]], i.e., there is a bijection between them. This class is not elementary, because a σ-structure in which both the set of realisations of &#039;&#039;P&#039;&#039; and its complement are countably infinite satisfies precisely the same first-order sentences as a σ-structure in which one of the sets is countably infinite and the other is uncountable.&lt;br /&gt;
&lt;br /&gt;
Now consider the signature &amp;lt;math&amp;gt;\sigma&#039;&amp;lt;/math&amp;gt;, which consists of &#039;&#039;P&#039;&#039; along with a unary function symbol &#039;&#039;f&#039;&#039;. Let &amp;lt;math&amp;gt;K&#039;&amp;lt;/math&amp;gt; be the class of all &amp;lt;math&amp;gt;\sigma&#039;&amp;lt;/math&amp;gt;-structures such that &#039;&#039;f&#039;&#039; is a bijection and &#039;&#039;P&#039;&#039; holds for &#039;&#039;x&#039;&#039; [[iff]] &#039;&#039;P&#039;&#039; does not hold for &#039;&#039;f(x)&#039;&#039;. &amp;lt;math&amp;gt;K&#039;&amp;lt;/math&amp;gt; is clearly an elementary class, and therefore &#039;&#039;K&#039;&#039; is an example of a pseudo-elementary class that is not elementary.&lt;br /&gt;
&lt;br /&gt;
=== Non-pseudo-elementary class===&lt;br /&gt;
Let σ be an arbitrary signature. The class &#039;&#039;K&#039;&#039; of all finite σ-structures is not elementary, because (as shown above) its complement is elementary but not basic elementary. Since this is also true for every signature extending σ, &#039;&#039;K&#039;&#039; is not even a pseudo-elementary class.&lt;br /&gt;
&lt;br /&gt;
This example demonstrates the limits of expressive power inherent in [[first-order logic]] as opposed to the far more expressive [[second-order logic]]. Second-order logic, however, fails to retain many desirable properties of first-order logic, such as the compactness theorem.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* {{Citation | last1=Chang | first1=Chen Chung | last2=Keisler | first2=H. Jerome | author2-link=Howard Jerome Keisler | title=Model Theory | origyear=1973 | publisher=[[Elsevier]] | edition=3rd | series=Studies in Logic and the Foundations of Mathematics | isbn=978-0-444-88054-3 | year=1990}}&lt;br /&gt;
* {{Citation | last1=Ebbinghaus | first1=Heinz-Dieter | last2=Flum | first2=Jörg | title=Finite model theory | origyear=1995 | publisher=[[Springer-Verlag]] | location=Berlin, New York | isbn=978-3-540-28787-2 | year=2005 | pages=360}}&lt;br /&gt;
* {{Citation | last1=Ebbinghaus | first1=Heinz-Dieter | last2=Flum | first2=Jörg | last3=Thomas | first3=Wolfgang | title=Mathematical Logic | publisher=[[Springer-Verlag]] | location=Berlin, New York | edition=2nd | isbn=978-0-387-94258-2 | year=1994}}&lt;br /&gt;
* {{Citation | last1=Hodges | first1=Wilfrid | author1-link=Wilfrid Hodges | title=A shorter model theory | publisher=[[Cambridge University Press]] | isbn=978-0-521-58713-6 | year=1997}}&lt;br /&gt;
* {{Citation | last1=Poizat | first1=Bruno | title=A Course in Model Theory: An Introduction to Contemporary Mathematical Logic | publisher=[[Springer-Verlag]] | location=Berlin, New York | isbn=978-0-387-98655-5 | year=2000}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Elementary Class}}&lt;br /&gt;
[[Category:Model theory]]&lt;br /&gt;
&lt;br /&gt;
[[de:Elementare Klasse]]&lt;br /&gt;
[[nl:Elementaire klasse]]&lt;/div&gt;</summary>
		<author><name>ChantalFitzGibb</name></author>
	</entry>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Main_Page&amp;diff=50216</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Main_Page&amp;diff=50216"/>
		<updated>2014-08-13T10:45:47Z</updated>

		<summary type="html">&lt;p&gt;ChantalFitzGibb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[mathematics]], the term &#039;&#039;&#039;&#039;&#039;hyperbolic triangle&#039;&#039;&#039;&#039;&#039; has more than one meaning.&lt;br /&gt;
&lt;br /&gt;
[[Image:Uniform tiling 73-t2.png|thumb|right|200px|A tiling of the hyperbolic plane with hyperbolic triangles &amp;amp;ndash; the [[order-7 triangular tiling]].]]&lt;br /&gt;
&lt;br /&gt;
==Hyperbolic geometry==&lt;br /&gt;
In [[hyperbolic geometry]], a &#039;&#039;&#039;hyperbolic triangle&#039;&#039;&#039; is a figure in the hyperbolic plane, analogous to a triangle in Euclidean geometry, consisting of three sides and three angles.  The relations among the angles and sides are analogous to those of [[spherical trigonometry]]; they are most conveniently stated if the lengths are measured in terms of a special unit of length analogous to a [[radian]]. In terms of the  [[Gaussian curvature]] &#039;&#039;K&#039;&#039; of the plane this unit is given by&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R=\frac{1}{\sqrt{-K}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In all the trig formulas stated below the sides &#039;&#039;a&#039;&#039;, &#039;&#039;b&#039;&#039;, and &#039;&#039;c&#039;&#039; must be measured in this unit.  In a hyperbolic triangle the sum of the angles &#039;&#039;A&#039;&#039;, &#039;&#039;B&#039;&#039;, &#039;&#039;C&#039;&#039; (respectively opposite to the side with the corresponding letter) is strictly less than a [[straight angle]].  The difference is often called the [[defect (geometry)|defect]] of the triangle.  The area of a hyperbolic triangle is equal to its defect multiplied by the square of&amp;amp;nbsp;&#039;&#039;R&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;(\pi-A-B-C) R^2{}{}.\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The corresponding theorem in [[spherical geometry]] is [[Girard&#039;s theorem]] first  proven by [[Johann Heinrich Lambert]].&lt;br /&gt;
&lt;br /&gt;
===Right triangles===&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;C&#039;&#039; is a right angle then:&lt;br /&gt;
&lt;br /&gt;
*The &#039;&#039;&#039;sine&#039;&#039;&#039; of angle A is the ratio of the &#039;&#039;&#039;hyperbolic sine&#039;&#039;&#039; of the side opposite the angle to the &#039;&#039;&#039;hyperbolic sine&#039;&#039;&#039; of the [[hypotenuse]].&lt;br /&gt;
:: &amp;lt;math&amp;gt;\sin A=\frac{\textrm{sinh(opposite)}}{\textrm{sinh(hypotenuse)}}=\frac{\sinh a}{\,\sinh c\,}.\,&amp;lt;/math&amp;gt;&lt;br /&gt;
*The &#039;&#039;&#039;cosine&#039;&#039;&#039; of angle A is the ratio of the &#039;&#039;&#039;hyperbolic tangent&#039;&#039;&#039; of the adjacent leg to the &#039;&#039;&#039;hyperbolic tangent&#039;&#039;&#039; of the hypotenuse.&lt;br /&gt;
:: &amp;lt;math&amp;gt;\cos A=\frac{\textrm{tanh(adjacent)}}{\textrm{tanh(hypotenuse)}}=\frac{\tanh b}{\,\tanh c\,}.\,&amp;lt;/math&amp;gt;&lt;br /&gt;
*The &#039;&#039;&#039;tangent&#039;&#039;&#039; of angle A is the ratio of the &#039;&#039;&#039;hyperbolic tangent&#039;&#039;&#039; of the opposite leg to the &#039;&#039;&#039;hyperbolic sine&#039;&#039;&#039; of the adjacent leg.&lt;br /&gt;
:: &amp;lt;math&amp;gt;\tan A=\frac{\textrm{tanh(opposite)}}{\textrm{sinh(adjacent)}}=\frac{\tanh a}{\,\sinh b\,}.\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hyperbolic sine, cosine, and tangent are [[hyperbolic functions]] which are analogous to the standard trigonometric functions.&lt;br /&gt;
&lt;br /&gt;
===Oblique triangles===&lt;br /&gt;
&lt;br /&gt;
Whether &#039;&#039;C&#039;&#039; is a right angle or not, the following relationships hold.&lt;br /&gt;
&lt;br /&gt;
There is a [[hyperbolic law of cosines|law of cosines]]:&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt;\cosh c=\cosh a\cosh b-\sinh a\sinh b \cos C,\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
its dual:&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt;\cos C= -\cos A\cos B+\sin A\sin B \cosh c,\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
a law of sines:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{\sin A}{\sinh a} = \frac{\sin B}{\sinh b} = \frac{\sin C}{\sinh c},&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and a four-parts formula:&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt;\cos C\cosh a=\sinh a\coth b-\sin C\cot B.\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Ideal triangles===&lt;br /&gt;
&lt;br /&gt;
If a pair of sides is asymptotic they may be said to form an angle of zero.  In [[projective geometry]], they meet at an &#039;&#039;&#039;ideal vertex&#039;&#039;&#039; on the circle at infinity.  If all three are vertices are ideal, then the resulting figure is called an &#039;&#039;&#039;[[ideal triangle]]&#039;&#039;&#039;. An ideal hyperbolic triangle has an angle sum of 0°, a property it has in common with the triangular area in the Euclidean plane bounded by three tangent circles.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
[[Image:Hyperbolic sector.svg|200px|right]]&lt;br /&gt;
In the foundations of the [[hyperbolic function]]s sinh, cosh and tanh, a &#039;&#039;&#039;hyperbolic triangle&#039;&#039;&#039; is a [[right triangle]] in the [[first quadrant of the Cartesian plane]] &lt;br /&gt;
:&amp;lt;math&amp;gt;\{(x,y):x,y \in \mathbb R\},&amp;lt;/math&amp;gt;&lt;br /&gt;
with one [[vertex (geometry)|vertex]] at the origin, base on the diagonal ray &#039;&#039;y&#039;&#039;&amp;amp;nbsp;=&amp;amp;nbsp;&#039;&#039;x&#039;&#039;, and third vertex on the [[hyperbola]] &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;xy=1.\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The length of the base of such a triangle is &lt;br /&gt;
:&amp;lt;math&amp;gt;\sqrt 2 \cosh u,\,&amp;lt;/math&amp;gt;&lt;br /&gt;
and the [[altitude (triangle)|altitude]] is &lt;br /&gt;
:&amp;lt;math&amp;gt;\sqrt 2 \sinh u,\,&amp;lt;/math&amp;gt; &lt;br /&gt;
where &#039;&#039;u&#039;&#039; is the appropriate [[hyperbolic angle]].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Hyperbolic law of cosines]]&lt;br /&gt;
* [[Pair of pants]]&lt;br /&gt;
* [[Triangle group]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{inline|date=November 2011}}&lt;br /&gt;
* [[Augustus De Morgan]] (1849) [http://books.google.com/books?id=7UwEAAAAQAAJ Trigonometry and Double Algebra], Chapter VI: &amp;quot;On the connection of common and hyperbolic trigonometry&amp;quot;.&lt;br /&gt;
*{{citation|first=Wilson|last=Stothers|title=Hyperbolic geometry|url=http://www.maths.gla.ac.uk/~wws/cabripages/hyperbolic/hyperbolic0.html|publisher=[[University of Glasgow]]|year=2000}}, interactive instructional website.&lt;br /&gt;
* Svetlana Katok, &#039;&#039;Fuchsian Groups&#039;&#039; (1992), University of Chicago Press, Chicago ISBN 0-226-42583-5 &#039;&#039;(Provides a brief but simple, easily readable review in chapter 1.)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Hyperbolic Triangle}}&lt;br /&gt;
[[Category:Hyperbolic geometry]]&lt;br /&gt;
&lt;br /&gt;
[[it:Triangolo iperbolico]]&lt;br /&gt;
[[pl:Trójkąt asymptotyczny]]&lt;br /&gt;
[[pt:Triângulo hiperbólico]]&lt;br /&gt;
[[sv:Hyperbolisk triangel]]&lt;/div&gt;</summary>
		<author><name>ChantalFitzGibb</name></author>
	</entry>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Main_Page&amp;diff=47529</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Main_Page&amp;diff=47529"/>
		<updated>2014-08-12T21:09:12Z</updated>

		<summary type="html">&lt;p&gt;ChantalFitzGibb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;set covering problem&#039;&#039;&#039; (&#039;&#039;&#039;SCP&#039;&#039;&#039;) is a classical question in [[combinatorics]], [[computer science]] and [[Computational complexity theory|complexity theory]].&lt;br /&gt;
&lt;br /&gt;
It is a problem &amp;quot;whose study has led to the development of fundamental techniques for the entire field&amp;quot; of [[approximation algorithms]].&amp;lt;ref&amp;gt;{{harvtxt|Vazirani|2001|p=15}}&amp;lt;/ref&amp;gt; It was also one of [[Karp&#039;s 21 NP-complete problems]] shown to be [[NP-complete]] in 1972.&lt;br /&gt;
&lt;br /&gt;
Given a set of elements &amp;lt;math&amp;gt;\{1,2,...,m\}&amp;lt;/math&amp;gt; (called the universe) and a set &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; sets whose union equals the universe, the set cover problem is to identify the smallest subset of &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; whose union equals the universe.  For example, consider the universe &amp;lt;math&amp;gt;U = \{1, 2, 3, 4, 5\}&amp;lt;/math&amp;gt; and the set of sets &amp;lt;math&amp;gt;S = \{\{1, 2, 3\}, \{2, 4\}, \{3, 4\}, \{4, 5\}\}&amp;lt;/math&amp;gt;. Clearly the union of &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;. However, we can cover all of the elements with the following, smaller number of sets: &amp;lt;math&amp;gt;\{\{1, 2, 3\}, \{4, 5\}\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More formally, given a universe &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; and a family &amp;lt;math&amp;gt;\mathcal{S}&amp;lt;/math&amp;gt; of subsets of &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt;,&lt;br /&gt;
a &#039;&#039;cover&#039;&#039; is a subfamily &amp;lt;math&amp;gt;\mathcal{C}\subseteq\mathcal{S}&amp;lt;/math&amp;gt; of sets whose union is &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt;. In the set covering [[decision problem]], the input is a pair &amp;lt;math&amp;gt;(\mathcal{U},\mathcal{S})&amp;lt;/math&amp;gt; and an integer &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;; the question is whether&lt;br /&gt;
there is a set covering of size &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; or less. In the set covering [[optimization problem]], the input is a pair &amp;lt;math&amp;gt;(\mathcal{U},\mathcal{S})&amp;lt;/math&amp;gt;, and the task is to find a set covering that uses the fewest sets.&lt;br /&gt;
&lt;br /&gt;
The decision version of set covering is [[NP-complete]], and the optimization version of set cover is [[NP-hard]] .{{sfn |Korte|Vygen|2012|p=414}}&lt;br /&gt;
&lt;br /&gt;
If additionally, you want to minimize the cost of the sets, it becomes Weighted Set Cover Problem. Otherwise, its an Un-weighted Set Cover Problem with all costs equal to one.&lt;br /&gt;
&lt;br /&gt;
{{Covering-Packing Problem Pairs}}&lt;br /&gt;
&lt;br /&gt;
==Integer linear program formulation==&lt;br /&gt;
The minimum set cover problem can be formulated as the following [[integer linear program]] (ILP).&amp;lt;ref&amp;gt;{{harvtxt|Vazirani|2001|p=108}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| minimize&lt;br /&gt;
| &amp;lt;math&amp;gt;\sum_{S \in \mathcal S} x_S&amp;lt;/math&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
| (minimize the number of sets)&lt;br /&gt;
|-&lt;br /&gt;
| subject to&lt;br /&gt;
| &amp;lt;math&amp;gt;\sum_{S\colon e \in S} x_S \geqslant 1 &amp;lt;/math&amp;gt;&lt;br /&gt;
| for all &amp;lt;math&amp;gt;e\in \mathcal U&amp;lt;/math&amp;gt;&lt;br /&gt;
| (cover every element of the universe)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| &amp;lt;math&amp;gt;x_S \in \{0,1\}&amp;lt;/math&amp;gt;&lt;br /&gt;
| for all &amp;lt;math&amp;gt;S\in \mathcal S&amp;lt;/math&amp;gt;.&lt;br /&gt;
| (every set is either in the set cover or not)&lt;br /&gt;
|}&lt;br /&gt;
This ILP belongs to the more general class of ILPs for [[covering problem]]s.&lt;br /&gt;
The [[Linear programming relaxation#Approximation and integrality gap|integrality gap]] of this ILP is at most &amp;lt;math&amp;gt;\scriptstyle \log n&amp;lt;/math&amp;gt;, so its [[Linear programming relaxation|relaxation]] gives a factor-&amp;lt;math&amp;gt;\scriptstyle \log n&amp;lt;/math&amp;gt; [[approximation algorithm]] for the minimum set cover problem (where &amp;lt;math&amp;gt;\scriptstyle n&amp;lt;/math&amp;gt; is the size of the universe).&amp;lt;ref&amp;gt;{{harvtxt|Vazirani|2001|pp=110–112}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hitting set formulation ==&lt;br /&gt;
Set covering is equivalent to the &#039;&#039;&#039;hitting set problem&#039;&#039;&#039;. It is easy to see this by observing that an instance of set covering can&lt;br /&gt;
be viewed as an arbitrary [[bipartite graph]], with sets represented by vertices on the left, the universe represented by vertices on the&lt;br /&gt;
right, and edges representing the inclusion of elements in sets. The task is then to find a minimum cardinality subset of left-vertices which covers all of the right-vertices. In the Hitting set problem, the objective is to cover the left-vertices using a minimum subset of the right vertices. Converting from one problem to the other is therefore achieved by interchanging the two sets of vertices.&lt;br /&gt;
&lt;br /&gt;
== Greedy algorithm ==&lt;br /&gt;
&lt;br /&gt;
The [[greedy algorithm]] for set covering chooses sets according to one rule: at each stage, choose the set that contains the largest number of uncovered elements. It can be shown&amp;lt;ref&amp;gt;Chvatal, V. [http://www.jstor.org/stable/3689577 A Greedy Heuristic for the Set-Covering Problem]. Mathematics of Operations Research&lt;br /&gt;
Vol. 4, No. 3 (Aug., 1979), pp. 233-235&amp;lt;/ref&amp;gt; that this algorithm achieves an approximation ratio of &amp;lt;math&amp;gt;H(s)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is the size of the set to be covered, &amp;lt;math&amp;gt;H(n)&amp;lt;/math&amp;gt; is the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-th [[harmonic number]]:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; H(n) = \sum_{k=1}^{n} \frac{1}{k} \le \ln{n} +1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This greedy algorithm actually achieves an approximation ratio of &amp;lt;math&amp;gt;H(s^\prime)&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;s^\prime&amp;lt;/math&amp;gt; is the maximum cardinality set of &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:SetCoverGreedy.gif|frame|Tight example for the greedy algorithm with k=3]]&lt;br /&gt;
There is a standard example on which the greedy algorithm achieves an approximation ratio of &amp;lt;math&amp;gt;\log_2(n)/2&amp;lt;/math&amp;gt;.&lt;br /&gt;
The universe consists of &amp;lt;math&amp;gt;n=2^{(k+1)}-2&amp;lt;/math&amp;gt; elements. The set system consists of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; pairwise disjoint sets &lt;br /&gt;
&amp;lt;math&amp;gt;S_1,\ldots,S_k&amp;lt;/math&amp;gt; with sizes &amp;lt;math&amp;gt;2,4,8,\ldots,2^k&amp;lt;/math&amp;gt; respectively, as well as two additional disjoint sets &amp;lt;math&amp;gt;T_0,T_1&amp;lt;/math&amp;gt;,&lt;br /&gt;
each of which contains half of the elements from each &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt;. On this input, the greedy algorithm takes the sets&lt;br /&gt;
&amp;lt;math&amp;gt;S_k,\ldots,S_1&amp;lt;/math&amp;gt;, in that order, while the optimal solution consists only of &amp;lt;math&amp;gt;T_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
An example of such an input for &amp;lt;math&amp;gt;k=3&amp;lt;/math&amp;gt; is pictured on the right.&lt;br /&gt;
&lt;br /&gt;
Inapproximability results show that the greedy algorithm is essentially the best-possible polynomial time approximation algorithm for set cover&lt;br /&gt;
(see [[Set cover problem#Inapproximability results|Inapproximability results]] below), under plausible complexity assumptions.&lt;br /&gt;
&lt;br /&gt;
== Low-frequency systems ==&lt;br /&gt;
&lt;br /&gt;
If each element occurs in at most &#039;&#039;f&#039;&#039; sets, then a solution can be found in polynomial time that approximates the optimum to within a factor of &#039;&#039;f&#039;&#039; using [[Linear programming relaxation|LP relaxation]].&amp;lt;ref&amp;gt;{{harvtxt|Vazirani|2001|pp=118–119}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Inapproximability results ==&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt; n&amp;lt;/math&amp;gt; refers to the size of the universe, {{harvtxt |Lund|Yannakakis|1994}} showed that set covering cannot be approximated in polynomial time to within a factor of &amp;lt;math&amp;gt;\tfrac{1}{2}\log_2{n} \approx 0.72\ln{n}&amp;lt;/math&amp;gt;, unless &#039;&#039;&#039;NP&#039;&#039;&#039; has [[quasi-polynomial time]] algorithms. Feige (1998) improved this lower bound to &amp;lt;math&amp;gt;\bigl(1-o(1)\bigr)\cdot\ln{n}&amp;lt;/math&amp;gt; under the same assumptions, which essentially matches the approximation ratio achieved by the greedy algorithm. {{harvtxt |Raz|Safra|1997}} established a lower bound&lt;br /&gt;
of &amp;lt;math&amp;gt;c\cdot\ln{n}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is a constant, under the weaker assumption that &#039;&#039;&#039;P&#039;&#039;&#039;&amp;lt;math&amp;gt;\not=&amp;lt;/math&amp;gt;&#039;&#039;&#039;NP&#039;&#039;&#039;.&lt;br /&gt;
A similar result with a higher value of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; was recently proved by {{harvtxt |Alon|Moshkovitz|Safra|2006}}.&lt;br /&gt;
&lt;br /&gt;
== Related problems ==&lt;br /&gt;
* Hitting set is an equivalent reformulation of Set Cover.&lt;br /&gt;
* [[Vertex cover problem|Vertex cover]] is a special case of Hitting Set.&lt;br /&gt;
* [[Edge cover problem|Edge cover]] is a special case of Set Cover.&lt;br /&gt;
* [[Set packing]] is the dual problem of Set Cover.&lt;br /&gt;
* [[Maximum coverage problem]] is to choose at most k sets to cover as many elements as possible.&lt;br /&gt;
* [[Dominating set]] is the problem of selecting a set of vertices (the dominating set) in a graph such that all other vertices are adjacent to at least one vertex in the dominating set. The Dominating set problem was shown to be NP complete through a reduction from Set cover.&lt;br /&gt;
* [[Exact cover problem]] is to choose a set cover with no element included in more than one covering set.&lt;br /&gt;
* [[Closest pair of points problem]]&lt;br /&gt;
* [[Nearest neighbor search]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[MinHash]]&lt;br /&gt;
*[[Sequence assembly]]&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* {{Citation | last1=Alon | first1=Noga | author1-link=Noga Alon | last2=Moshkovitz | first2=Dana | last3=Safra | first3=Shmuel | author3-link=Shmuel Safra | title=Algorithmic construction of sets for k-restrictions | publisher=ACM | year=2006 | journal=ACM Trans. Algorithms | issn=1549-6325 | volume=2 | issue=2 | pages=153–177 | doi=10.1145/1150334.1150336}}.&lt;br /&gt;
* {{Citation&lt;br /&gt;
 | last=Cormen     | first=Thomas H.   | authorlink=Thomas H. Cormen&lt;br /&gt;
 | last2=Leiserson | first2=Charles E. | authorlink2=Charles E. Leiserson&lt;br /&gt;
 | last3=Rivest    | first3=Ronald L.  | authorlink3=Ronald L. Rivest&lt;br /&gt;
 | last4=Stein     | first4=Clifford   | authorlink4=Clifford Stein&lt;br /&gt;
 | title=Introduction to Algorithms | year=2001 | publisher=MIT Press and McGraw-Hill | location=Cambridge, Mass.&lt;br /&gt;
 | isbn=0-262-03293-7 | pages=1033–1038}}&lt;br /&gt;
* {{Citation | last1=Feige | first1=Uriel | author1-link=Uriel Feige | title=A threshold of ln n for approximating set cover | publisher=ACM | year=1998 | journal=[[Journal of the ACM]] | issn=0004-5411 | volume=45 | issue=4 | pages=634–652 | doi=10.1145/285055.285059}}.&lt;br /&gt;
* {{Citation | last1=Lund | first1=Carsten | author1-link=Carsten Lund | last2=Yannakakis | first2=Mihalis | author2-link=Mihalis Yannakakis | title=On the hardness of approximating minimization problems | publisher=ACM | year=1994 | journal=[[Journal of the ACM]] | issn=0004-5411 | volume=41 | issue=5 | pages=960–981 | doi=10.1145/185675.306789}}.&lt;br /&gt;
* {{Citation | last1=Raz | first1=Ran | author1-link=Ran Raz | last2=Safra | first2=Shmuel | author2-link=Shmuel Safra | title=STOC &#039;97: Proceedings of the twenty-ninth annual ACM symposium on Theory of computing | publisher=ACM | isbn=978-0-89791-888-6 | year=1997 | chapter=A sub-constant error-probability low-degree test, and a sub-constant error-probability PCP characterization of NP | pages=475–484}}.&lt;br /&gt;
* {{cite book&lt;br /&gt;
 | last = Vazirani | first = Vijay V.&lt;br /&gt;
 | authorlink = Vijay Vazirani&lt;br /&gt;
 | title = Approximation Algorithms&lt;br /&gt;
 | year = 2001&lt;br /&gt;
 | publisher = Springer-Verlag&lt;br /&gt;
 | isbn = 3-540-65367-8&lt;br /&gt;
 | url = http://www.cc.gatech.edu/fac/Vijay.Vazirani/book.pdf&lt;br /&gt;
 | ref = harv&lt;br /&gt;
}}&lt;br /&gt;
* {{cite book&lt;br /&gt;
 | last1 = Korte | first1 = Bernhard&lt;br /&gt;
 | last2 = Vygen | first2 = Jens&lt;br /&gt;
 | title = Combinatorial Optimization: Theory and Algorithms&lt;br /&gt;
 | year = 2012&lt;br /&gt;
 | isbn = 978-3-642-24487-2&lt;br /&gt;
 | edition = 5&lt;br /&gt;
 | publisher = Springer&lt;br /&gt;
 | ref = harv&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.nlsde.buaa.edu.cn/~kexu/benchmarks/set-benchmarks.htm Benchmarks with Hidden Optimum Solutions for Set Covering, Set Packing and Winner Determination]&lt;br /&gt;
* [http://www.csc.kth.se/~viggo/wwwcompendium/node146.html A compendium of NP optimization problems - Minimum Set Cover]&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Set Cover Problem}}&lt;br /&gt;
[[Category:Set families]]&lt;br /&gt;
[[Category:NP-complete problems]]&lt;/div&gt;</summary>
		<author><name>ChantalFitzGibb</name></author>
	</entry>
</feed>