Order Theory, Galois Connections and Abstract Interpretation

Order Theory, Galois Connections and Abstract Interpretation

Order theory Galois Connections GC and Abstract Interpretation Examples Order Theory, Galois Connections and Abstract Interpretation David Henriques Carnegie Mellon University November 7th 2011 fsu-logo David Henriques Order Theory 1/ 40 Order theory Galois Connections GC and Abstract Interpretation Examples Order Theory fsu-logo David Henriques Order Theory 2/ 40 It's not easy, we need a formal treatment of order! Actually, there is an intruder in this list. Can you spot it? Order theory Galois Connections GC and Abstract Interpretation Examples Orders are everywhere 23 I 0 ≤ 1 and 1 ≤ 10 I Two cousins have a common grandfather I 22=7 is a worse approximation of π than 3:141592654 I aardvark comes before zyzzyva I a seraphim ranks above an angel I rock beats scissors I neither f1; 2; 4g or f2; 3; 5g are subsets of one another, but both are subsets of f1; 2; 3; 4; 5g fsu-logo David Henriques Order Theory 3/ 40 It's not easy, we need a formal treatment of order! Order theory Galois Connections GC and Abstract Interpretation Examples Orders are everywhere 23 I 0 ≤ 1 and 1 ≤ 10 I Two cousins have a common grandfather I 22=7 is a worse approximation of π than 3:141592654 I aardvark comes before zyzzyva I a seraphim ranks above an angel I rock beats scissors I neither f1; 2; 4g or f2; 3; 5g are subsets of one another, but both are subsets of f1; 2; 3; 4; 5g Actually, there is an intruder in this list. Can you spot it? fsu-logo David Henriques Order Theory 3/ 40 Order theory Galois Connections GC and Abstract Interpretation Examples Orders are everywhere 23 I 0 ≤ 1 and 1 ≤ 10 I Two cousins have a common grandfather I 22=7 is a worse approximation of π than 3:141592654 I aardvark comes before zyzzyva I a seraphim ranks above an angel I rock beats scissors I neither f1; 2; 4g or f2; 3; 5g are subsets of one another, but both are subsets of f1; 2; 3; 4; 5g Actually, there is an intruder in this list. Can you spot it? It's not easy, we need a formal treatment of order! fsu-logo David Henriques Order Theory 3/ 40 I they correspond to intuitive notions of order I structures that share these properties have a lot of common behavior Why these properties? Order theory Galois Connections GC and Abstract Interpretation Examples What should we require from an order? Partial Order Let S be a set. A relation v in S is said to be a partial order relation if it has the following properties I if a v b and b v a then b = a (anti-symmetry) I if a v b and b v c then a v c (transitivity) I a v a (reflexivity) The pair (S; v) is said to be a partial order. fsu-logo David Henriques Order Theory 4/ 40 I they correspond to intuitive notions of order I structures that share these properties have a lot of common behavior Order theory Galois Connections GC and Abstract Interpretation Examples What should we require from an order? Partial Order Let S be a set. A relation v in S is said to be a partial order relation if it has the following properties I if a v b and b v a then b = a (anti-symmetry) I if a v b and b v c then a v c (transitivity) I a v a (reflexivity) The pair (S; v) is said to be a partial order. Why these properties? fsu-logo David Henriques Order Theory 4/ 40 Order theory Galois Connections GC and Abstract Interpretation Examples What should we require from an order? Partial Order Let S be a set. A relation v in S is said to be a partial order relation if it has the following properties I if a v b and b v a then b = a (anti-symmetry) I if a v b and b v c then a v c (transitivity) I a v a (reflexivity) The pair (S; v) is said to be a partial order. Why these properties? I they correspond to intuitive notions of order I structures that share these properties have a lot of common fsu-logo behavior David Henriques Order Theory 4/ 40 I a ≤ a I if a ≤ b and b ≤ c then a ≤ c I if a ≤ b and b ≤ a then a = b Well... this was not very informative Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Natural Numbers (N; ≤) fsu-logo David Henriques Order Theory 5/ 40 I a ≤ a I if a ≤ b and b ≤ c then a ≤ c Well... this was not very informative Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Natural Numbers (N; ≤) I if a ≤ b and b ≤ a then a = b fsu-logo David Henriques Order Theory 5/ 40 I a ≤ a Well... this was not very informative Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Natural Numbers (N; ≤) I if a ≤ b and b ≤ a then a = b I if a ≤ b and b ≤ c then a ≤ c fsu-logo David Henriques Order Theory 5/ 40 Well... this was not very informative Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Natural Numbers (N; ≤) I if a ≤ b and b ≤ a then a = b I if a ≤ b and b ≤ c then a ≤ c I a ≤ a fsu-logo David Henriques Order Theory 5/ 40 Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Natural Numbers (N; ≤) I if a ≤ b and b ≤ a then a = b I if a ≤ b and b ≤ c then a ≤ c I a ≤ a Well... this was not very informative fsu-logo David Henriques Order Theory 5/ 40 I We don't have that beats Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Rock, paper, scissors (f, ¤, g, \beats") fsu-logo David Henriques Order Theory 6/ 40 Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Rock, paper, scissors (f, ¤, g, \beats") I We don't have that beats fsu-logo David Henriques Order Theory 6/ 40 I It's NOT transitive ( is not beaten by ¤ is not beaten by . But We don't have that is not beaten by ) I It's antisymmetric (e.g. is not beaten by ¤ means we can't heave ¤ is not beaten by ) I It's reflexive (e.g. is not beaten by ) Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Rock, paper, scissors Let's try again (f, ¤, g, \is not beaten by") fsu-logo David Henriques Order Theory 7/ 40 I It's NOT transitive ( is not beaten by ¤ is not beaten by . But We don't have that is not beaten by ) I It's antisymmetric (e.g. is not beaten by ¤ means we can't heave ¤ is not beaten by ) Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Rock, paper, scissors Let's try again (f, ¤, g, \is not beaten by") I It's reflexive (e.g. is not beaten by ) fsu-logo David Henriques Order Theory 7/ 40 I It's NOT transitive ( is not beaten by ¤ is not beaten by . But We don't have that is not beaten by ) Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Rock, paper, scissors Let's try again (f, ¤, g, \is not beaten by") I It's reflexive (e.g. is not beaten by ) I It's antisymmetric (e.g. is not beaten by ¤ means we can't heave ¤ is not beaten by ) fsu-logo David Henriques Order Theory 7/ 40 Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Rock, paper, scissors Let's try again (f, ¤, g, \is not beaten by") I It's reflexive (e.g. is not beaten by ) I It's antisymmetric (e.g. is not beaten by ¤ means we can't heave ¤ is not beaten by ) I It's NOT transitive ( is not beaten by ¤ is not beaten by . But We don't have that is not beaten by ) fsu-logo David Henriques Order Theory 7/ 40 I P ⊆ P I if P ⊆ Q and Q ⊆ R then P ⊆ R I if P ⊆ Q and P ⊆ Q then P = Q Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Subset inclusion (P(S); ⊆) fsu-logo David Henriques Order Theory 8/ 40 I P ⊆ P I if P ⊆ Q and Q ⊆ R then P ⊆ R Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Subset inclusion (P(S); ⊆) I if P ⊆ Q and P ⊆ Q then P = Q fsu-logo David Henriques Order Theory 8/ 40 I P ⊆ P Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Subset inclusion (P(S); ⊆) I if P ⊆ Q and P ⊆ Q then P = Q I if P ⊆ Q and Q ⊆ R then P ⊆ R fsu-logo David Henriques Order Theory 8/ 40 Order theory Galois Connections GC and Abstract Interpretation Examples Examples - Subset inclusion (P(S); ⊆) I if P ⊆ Q and P ⊆ Q then P = Q I if P ⊆ Q and Q ⊆ R then P ⊆ R I P ⊆ P fsu-logo David Henriques Order Theory 8/ 40 Total Order Let (S; v) be a partial order. Then (S; v) is called a total order if I for all a; b 2 S, a v b or b v a (totality) Well... none In general, we don't require all elements to be comparable amongst themselves.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    81 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us