ontolog-forum
[Top] [All Lists]

Re: [ontolog-forum] Intensional relation

To: Hassan Aït-Kaci <hak@xxxxxxx>
Cc: "[ontolog-forum]" <ontolog-forum@xxxxxxxxxxxxxxxx>
From: Juan de Nadie <juandenavas@xxxxxxxxx>
Date: Thu, 3 Jan 2013 19:26:28 -0200
Message-id: <CAFZD8G44tXss2f+mh1a7KPjzXku-3RWfpq9AL+FT9U885HNuag@xxxxxxxxxxxxxx>
Thanks for the answer, Hassan.
Now, this is making sense!


Thanks!
Best regards.


2013/1/3 Hassan Aït-Kaci <hassanaitkaci@xxxxxxxxx>
On 1/3/2013 8:38 AM, Juan de Nadie wrote:
Hi Hassan. Thanks for the answer.

This is one of the ways in that I thought. But, if we consider
that "2^D" denotes the set of all subsets of D, I don't undertand
what  "2^D^n" means (considering D the domain or universe, and n the
arity of the relation). Which (and how much) tuples I have when I
consider the set 2^D^n, let D = {a,b,c} and n=2, for example?

The notation D^n is the n-th Cartesian power of the set D; i.e., the set of n-tuples of elements of D. Hence, the notation 2^(D^n) is the powerset of the set of n-tuples of D (or if you prefer, the set of subsets of n-tuples of D). For example, if D = {a,b}, and n=2, then:
D^2 =
{{},
 {<a,a>},
 {<a,b>},
 {<b,a>},
 {<b,b>},
 {<a,a>, <a,b>},
 {<a,a>, <b,a>},
 {<a,a>, <b,b>},
 {<a,b>, <b,a>},
 {<a,b>, <b,b>},
 {<b,a>, <b,b>},
 {<a,a>, <a,b>, <b,a>},
 {<a,a>, <a,b>, <b,b>},
 {<a,a>, <b,a>, <b,b>},
 {<a,b>, <b,a>, <b,b>},
 {<a,a>, <a,b>, <b,a>, <b,b>}
}.

So,  |2^(D^2)| = 2^|D^2| = 2^(2^2) = 2^4 = 2x2x2x2 = 16 elements.

-hak

--
http://www.hassan-ait-kaci.net/contactme.html


_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/ontolog-forum/  
Config Subscr: http://ontolog.cim3.net/mailman/listinfo/ontolog-forum/  
Unsubscribe: mailto:ontolog-forum-leave@xxxxxxxxxxxxxxxx
Shared Files: http://ontolog.cim3.net/file/
Community Wiki: http://ontolog.cim3.net/wiki/ 
To join: http://ontolog.cim3.net/cgi-bin/wiki.pl?WikiHomePage#nid1J    (01)

<Prev in Thread] Current Thread [Next in Thread>