Metamath Proof Explorer


Theorem equncomVD

Description: If a class equals the union of two other classes, then it equals the union of those two classes commuted. The following User's Proof is a Virtual Deduction proof completed automatically by the tools program completeusersproof.cmd, which invokes Mel L. O'Cat's mmj2 and Norm Megill's Metamath Proof Assistant. equncom is equncomVD without virtual deductions and was automatically derived from equncomVD .

1:: |- (. A = ( B u. C ) ->. A = ( B u. C ) ).
2:: |- ( B u. C ) = ( C u. B )
3:1,2: |- (. A = ( B u. C ) ->. A = ( C u. B ) ).
4:3: |- ( A = ( B u. C ) -> A = ( C u. B ) )
5:: |- (. A = ( C u. B ) ->. A = ( C u. B ) ).
6:5,2: |- (. A = ( C u. B ) ->. A = ( B u. C ) ).
7:6: |- ( A = ( C u. B ) -> A = ( B u. C ) )
8:4,7: |- ( A = ( B u. C ) <-> A = ( C u. B ) )
(Contributed by Alan Sare, 17-Feb-2012) (Proof modification is discouraged.) (New usage is discouraged.)

Ref Expression
Assertion equncomVD A = B C A = C B

Proof

Step Hyp Ref Expression
1 idn1 A = B C A = B C
2 uncom B C = C B
3 eqeq1 A = B C A = C B B C = C B
4 3 biimprd A = B C B C = C B A = C B
5 1 2 4 e10 A = B C A = C B
6 5 in1 A = B C A = C B
7 idn1 A = C B A = C B
8 eqeq2 B C = C B A = B C A = C B
9 8 biimprcd A = C B B C = C B A = B C
10 7 2 9 e10 A = C B A = B C
11 10 in1 A = C B A = B C
12 6 11 impbii A = B C A = C B