1,542 views

1 Answer

Best answer
1 1 vote

You have a small misunderstanding.

~$(\forall x,P(x)) \neq (\forall x,$~$P(x)) $ instead

  1. ~$(\forall x,P(x)) = (\exists   x,$~$P(x)) $
  2. $(\forall x,$~$P(x)) =$~$(\exists   x,$$P(x)) $

Above 3 lines in English  :

Complement of $a$ always followed by $bb$ is not $a$ never followed by $bb$ instead

  1. Complement of $a$ always followed by $bb$ is at least one $a$ is not followed by $bb$.
  2. $a$ never followed by $bb$ is complement of at least one $a$ is followed by $bb$.

Now about the DFA,

Let $D$ is DFA for language $L$ then $\bar D$ is DFA for language $\bar L$ where 

$\bar D$ is obtained my making all Final states in $D$ Non Final states and all Non Final states in $D$ becomes Final states in $\bar D$ ( Reversing the DFA as you said )

This sould have resolved any confusion, still here are all four diagrams for reference :

 

 

selected by
Position:
Show:

Related questions

0 0 votes
2 2 answers
6.2k
6.2k views
Sambhrant Maurya asked Sep 27, 2018
6,216 views
Construct a DFA over Σ=(a,b) so that it accepts all strings where 1) 2nd symbol from the right is 'a'2) 3rd symbol from the right is 'a'
1 1 vote
1 answers 1 answer
1.1k
1.1k views
suraj patel asked May 30, 2018
1,061 views
find the DFA which accept strings such that 2nd symbol from RHS is $'a'$ .$w=\{a,b\}^*$
1 1 vote
2 2 answers
1.7k
1.7k views
0 0 votes
1 1 answer
879
879 views
rohankrishan asked Jun 30, 2022
879 views
Examples that work: 100, 0000000101,110101010101 This DFA requires at least 8 states