|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Set Theory Question...
I've been thinking about this problem for awhile and I cannot seem to come up with anything...
two languages X and Y where X* = Y* but X is not a subset of Y and Y is not a subset of X. ![]() |
|
#2
|
||||
|
||||
|
Moved from the Lounge...
What does X* mean in terms of set operations? What does it do to the set?
__________________
~~ Peter ~~ ( My Blog: It's exactly like normal nerdiness, but completely different. ) :: ( Supporter of the EFF & FSF ) :: ( I'm a GNU/Linux addict and Free Software Advocate. ) :: ( How to Ask Questions the Smart Way ) :: ( The Fedora Project, sponsored by Red Hat ) :: ( GNOME: The Free Software Desktop Project ) :: ( GnuPG Public Key ) |
|
#3
|
|||
|
|||
|
X* is an alphabet with infinitely many strings in it.
An example would be, if X = {a, b} then, X* = {a, b, aa, bb, ab, ba, aab, ...} So, I am looking for two such alphabets in the case that they aren't subsets of each other, and their *'s = each other... |
|
#4
|
||||
|
||||
|
Quote:
Would the empty set count? |
|
#5
|
|||
|
|||
|
He wants the generating sets not to be equal but the generated languages to be equal. If I understand, {a, b, ab} and {a, b, ba} works. Or, even more simply, {a, aa} and {a, aaa}.
|
|
#6
|
|||
|
|||
|
I think I've figured out that the two languages
e = empty string A = {e, x} B = {x, xx} These are not subsets of each other...but A* = {e, x, xx, xxx,...} and B* = {e, x, xx, xxx,...} so A* = B*. (under the rule that any alphabet using the Kleene star contains e, unless otherwise stated.) Does this look correct to you guys? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Software Design > Set Theory Question... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|