Td1 avec correction compilation
TD CExercice I Trouvez les langages correspondants aux dé ?nitions suivantes ?? Tous les mots sur a b c qui commencent par un a et ?nissent par un b ?? Tous les mots sur a b qui contiennent plus de a que de b On note par Pref L l ? ensemble suivant u m L u est pré ?xe de m et par Suf L l ? ensemble suivant v m L v est su ?xe de m ?? Calculez Pref L et Suf L dans chacun des cas suivants L ab ac L anbm n m ? On note par Conj m l ? ensemble des conjugués de m Trouvez Conj m pour m et m anbn Deux mots m et m ? sont dits conjugués s ? il existe deux mots u et v tels que m uv et m ? vu CCorrection ? Les langages correspondants aux dé ?nitions suivantes ?? Tous les mots sur a b c qui commencent par a et ?nissent par b L m m a a b c b ?? Tous les mots sur a b qui contiennent plus de a que de b L m m a m b ? Calculer Pref L et Suf L dans chacun des cas suivants ?? L ab ac Pref L a ab ac et Suf L b c ab ac ?? L n m ? Posons m tel que ? r ? n et ? k ? m donc Pref L et Suf L ? Trouvez Conj m pour m et m ? m Conj m ? m Conj m CExercice ? Soient L L et L trois langages Démontrer les propriétés suivantes L L ?? L non idempotence L L ?? L L non commutativité L L L L L L associativité L L UL L L U L L distributivité de la concaténation union L L ??L L L ?? L L distributivité de la concaténation intersection CCorrection ? Soient L L et L trois langages Démontrer les propriétés suivantes L L ?? L non idempotence Avec un contre-exemple L a L L aa ?? a et L a Donc la concaténation des langages n ? est idempotente L L ?? L L non commutativité Avec un contre-exemple L a L b L L ab ?? L L ba la concaténation des langages n ? est pas commutative L L L L L L associativité L L L xyz x L et y L et z L L L L xyz x L et yz L L L L L xyz xy L L et z L Pr conséquent la concaténation est associative CCorrection L L UL L L U L L distributivité de la concaténation union Soit w y L ?? L x LL UeLt y ??L iol eux ixs teL xeyttyq wL x ??y ewt x xLy eLt Ly oL uou w xy L L w L L U L L Donc la concaténation est distributive par rapport à
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/117010330164idgw5uqvpgpkdpa6mimc4haomyy50ksrcbzqymokovyt8mduttqlefbvpebwak9rvqaf7szigdygpq1gixffkrdx0ki8b35ssfc.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701168996jny62bfkvckjknqthbqfdjnm3opnhmxsqhi2ly1ljgzuazzzg2tk1qi0bz1pzs4ejehfsl0vr768zbt6u49gm7lbczkdfclwkgoo.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701203065m69exgeopmvxpe2vhqvcfcfeuvgfxhdyxmogah5oruxorencfgoil6qtlgouzgfwhk6g2qegv7mcr8je5itgeio2klyhpfs2ll1i.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701073173zp6vnwcu1bacca4wcyiex6wbr1xcte9f3oq0fuuxi3mynl1lypqttqqkiquuq7oty8nb8aknrrm5ua30orcf6bbqnoahvpehudbb.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701040799pnqay7stppeulgz6xll9i0lav3zztkybpptnbmqov8o65k4v7uedhr8uvrbv6brsrwyaam4cuq5ypyvl0znbcrhadpscu6ncqy9q.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/117011684777bpitxnyv5lnroksgca0ipmuadcmof8cotwslnoddmamqo7l9dcieocgqhnhctnjl1bop4hj8uxn6xtzofsbvqtqog5m13fembue.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701162777mxm21n8yb2uplef9ayu4bhzsblpqbvhvj2q8btlzq57h7fvo7e4vrt2be7qzatenlptholxoissxlbg7lflnanszatn3bkpimnyn.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/24YcfoNgdVHwupBrC7IpHMTi2Yn62rHvq91wg04pQ0rWtW7kJnk87IebLsLcKiAxb74sNNY3hO2JIoWs2J5Q72HG.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/117010971606tpjkixoykmp1xinoiagwo1s3wjxqcmkwiethbgokh0fefzew0aqt3js85unligcpbtlk1k7i0suzi5kefgzflr9r6btubttv7ra.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701209466xwevewftlrgrxvzsteri7gebhbv1voedcvzhg9gulpqayrcpymziq3k37ej4cg4jmglkquy3qfc6o0lrpsfqonwmoui88kgahys7.png)
-
38
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Attribution requise- Détails
- Publié le Oct 04, 2022
- Catégorie Administration
- Langue French
- Taille du fichier 33.2kB