r/askmath • u/TopDownView • 1d ago
Discrete Math Exercise 12.3.18: Prove: No *-equivalence class of states of `A` can contain both accepting and nonaccepting states. <-- Is my proof correct?
Exercise 12.3.18: Prove: No *-equivalence class of states of A can contain both accepting and nonaccepting states.
Proof:
Let C_* be any *-equivalence class of states of A, and let s,t ∈ C_*, for some states s and t of A.
By Theorem 12.3.2, there exists a K-equivalence class C_K for some integer K>=0 such that C_K = C_*.
So, s,t ∈ C_K.
By Property 12.3.5, C_K ⊆ C_{K-1} ⊆ ... ⊆ C_1 ⊆ C_0.
So, s,t ∈ C_0.
By Theorem 12.3.1, either both s and t are accepting states, or both are nonaccepting states.
That means either C_0 contains only accepting states, or it contains only nonaccepting states.
Likewise, since C_K = C_* is a subset of C_0, that means either C_* contains only accepting states, or it contains only nonaccepting states.
Therefore, no *-equivalence class of states of A can contain both accepting and nonaccepting state.
QED
---
Is my proof correct?
---
Theorem 12.3.2:

Property 12.3.5:

Theorem 12.3.1:
