Equivalence is defined as two regular expressions describing or producing the same language.
Assume the regular expressions
We can use regular expressions to show whether two languages produce the same strings.
Equivalence
Here, the theorem of substitution can also be applied.
Let's assume two substrings,
Let's check the equivalency for the following equation:
These proofs are subjective and follow no set logic. We can solve them based on propositional logic. For this example, we will prove that the right-hand side is equal to the left-hand side using axioms.
Let's take the
Use the identity property for concatenation:
Apply the left distributive property:
Use the associative property for concatenation:
Apply the right distributive property:
Use the identity property of concatenation:
Use the substitution property:
This is equal to the right-hand side of the equation. It is to be noted that
Free Resources