Metamath Proof Explorer


Theorem sb5ALTVD

Description: The following User's Proof is a Natural Deduction Sequent Calculus transcription of the Fitch-style Natural Deduction proof of Unit 20 Excercise 3.a., which is sb5 , found in the "Answers to Starred Exercises" on page 457 of "Understanding Symbolic Logic", Fifth Edition (2008), by Virginia Klenk. The same proof may also be interpreted as a Virtual Deduction Hilbert-style axiomatic proof. It was completed automatically by the tools program completeusersproof.cmd, which invokes Mel L. O'Cat's mmj2 and Norm Megill's Metamath Proof Assistant. sb5ALT is sb5ALTVD without virtual deductions and was automatically derived from sb5ALTVD .

1:: |- (. [ y / x ] ph ->. [ y / x ] ph ).
2:: |- [ y / x ] x = y
3:1,2: |- (. [ y / x ] ph ->. [ y / x ] ( x = y /\ ph ) ).
4:3: |- (. [ y / x ] ph ->. E. x ( x = y /\ ph ) ).
5:4: |- ( [ y / x ] ph -> E. x ( x = y /\ ph ) )
6:: |- (. E. x ( x = y /\ ph ) ->. E. x ( x = y /\ ph ) ).
7:: |- (. E. x ( x = y /\ ph ) ,. ( x = y /\ ph ) ->. ( x = y /\ ph ) ).
8:7: |- (. E. x ( x = y /\ ph ) ,. ( x = y /\ ph ) ->. ph ).
9:7: |- (. E. x ( x = y /\ ph ) ,. ( x = y /\ ph ) ->. x = y ).
10:8,9: |- (. E. x ( x = y /\ ph ) ,. ( x = y /\ ph ) ->. [ y / x ] ph ).
101:: |- ( [ y / x ] ph -> A. x [ y / x ] ph )
11:101,10: |- ( E. x ( x = y /\ ph ) -> [ y / x ] ph )
12:5,11: |- ( ( [ y / x ] ph -> E. x ( x = y /\ ph ) ) /\ ( E. x ( x = y /\ ph ) -> [ y / x ] ph ) )
qed:12: |- ( [ y / x ] ph <-> E. x ( x = y /\ ph ) )
(Contributed by Alan Sare, 21-Apr-2013) (Proof modification is discouraged.) (New usage is discouraged.)

Ref Expression
Assertion sb5ALTVD yxφxx=yφ

Proof

Step Hyp Ref Expression
1 idn1 yxφyxφ
2 equsb1 yxx=y
3 sban yxx=yφyxx=yyxφ
4 3 simplbi2com yxφyxx=yyxx=yφ
5 1 2 4 e10 yxφyxx=yφ
6 spsbe yxx=yφxx=yφ
7 5 6 e1a yxφxx=yφ
8 7 in1 yxφxx=yφ
9 hbs1 yxφxyxφ
10 idn2 xx=yφ,x=yφx=yφ
11 simpr x=yφφ
12 10 11 e2 xx=yφ,x=yφφ
13 simpl x=yφx=y
14 10 13 e2 xx=yφ,x=yφx=y
15 sbequ1 x=yφyxφ
16 15 com12 φx=yyxφ
17 12 14 16 e22 xx=yφ,x=yφyxφ
18 9 17 exinst xx=yφyxφ
19 8 18 pm3.2i yxφxx=yφxx=yφyxφ
20 impbi yxφxx=yφxx=yφyxφyxφxx=yφ
21 20 imp yxφxx=yφxx=yφyxφyxφxx=yφ
22 19 21 e0a yxφxx=yφ