Partially ordered set: Difference between revisions

Content deleted Content added
kind of confusing to have a quantifier without a symbol, use neg
Alternative definitions: rm unnecessary verbiage
Line 52:
== Alternative definitions ==
 
Another way of defining a partial order, found in [[computer science]], is via a notion of [[Comparability|comparison]]. Specifically, given <math>\leq, <, \geq, \text{ and } ></math> as defined previously, it can be observed that two elements ''x'' and ''y'' may stand in any of four [[mutually exclusive]] relationships to each other: either {{nowrap|''x'' < ''y''}}, or {{nowrap|1=''x'' = ''y''}}, or {{nowrap|''x'' > ''y''}}, or ''x'' and ''y'' are ''incomparable''. This can be represented by a function <math>\text{compare}: P \times P \to \{<,>,=,\vert \}</math> that returns one of four codes when given two elements.<ref>{{cite web |title=Finite posets |url=http://match.stanford.edu/reference/combinat/sage/combinat/posets/posets.html#sage.combinat.posets.posets.FinitePoset.compare_elements |website=Sage 9.2.beta2 Reference Manual: Combinatorics |access-date=5 January 2022|quote=compare_elements(''x'', ''y''): Compare ''x'' and ''y'' in the poset. If {{nowrap|''x'' < ''y''}}, return −1. If {{nowrap|1=''x'' = ''y''}}, return 0. If {{nowrap|''x'' > ''y''}}, return 1. If ''x'' and ''y'' are not comparable, return None.}}</ref><ref>{{cite tech report |last1=Chen |first1=Peter |last2=Ding |first2=Guoli |last3=Seiden |first3=Steve |title=On Poset Merging |page=2 |url=https://www.math.lsu.edu/~ding/poset.pdf |access-date=5 January 2022 |quote=A comparison between two elements s, t in S returns one of three distinct values, namely s≤t, s>t or s<nowiki>|</nowiki>t.}}</ref> This definition is equivalent to a ''partial order on a [[setoid]]'', where equality is taken to be a defined [[equivalence relation]] rather than the primitive notion of set equality.<ref>{{cite conference |conference=CALCULEMUS-2003 – 11th Symposium on the Integration of Symbolic Computation and Mechanized Reasoning|___location=Roma, Italy |date=11 September 2003 |url=https://hal.science/hal-02549766/document#page=98 |publisher=Aracne |language=en|title=Making proofs in a hierarchy of mathematical structures|first1=Virgile|last1=Prevosto|first2=Mathieu|last2=Jaume|pages=89–100}}</ref>
 
Wallis defines a more general notion of a ''partial order relation'' as any [[homogeneous relation]] that is [[Transitive relation|transitive]] and [[Antisymmetric relation|antisymmetric]]. This includes both reflexive and irreflexive partial orders as subtypes.<ref name=Wallis>{{cite book |last1=Wallis |first1=W. D. |title=A Beginner's Guide to Discrete Mathematics |date=14 March 2013 |publisher=Springer Science & Business Media |isbn=978-1-4757-3826-1 |page=100 |url=https://books.google.com/books?id=ONgRBwAAQBAJ&dq=%22partial%20order%20relation%22&pg=PA100 |language=en}}</ref>