Metamath Proof Explorer


Theorem omsmolem

Description: Lemma for omsmo . (Contributed by NM, 30-Nov-2003) (Revised by David Abernethy, 1-Jan-2014)

Ref Expression
Assertion omsmolem yωAOnF:ωAxωFxFsucxzyFzFy

Proof

Step Hyp Ref Expression
1 eleq2 y=zyz
2 fveq2 y=Fy=F
3 2 eleq2d y=FzFyFzF
4 1 3 imbi12d y=zyFzFyzFzF
5 eleq2 y=wzyzw
6 fveq2 y=wFy=Fw
7 6 eleq2d y=wFzFyFzFw
8 5 7 imbi12d y=wzyFzFyzwFzFw
9 eleq2 y=sucwzyzsucw
10 fveq2 y=sucwFy=Fsucw
11 10 eleq2d y=sucwFzFyFzFsucw
12 9 11 imbi12d y=sucwzyFzFyzsucwFzFsucw
13 noel ¬z
14 13 pm2.21i zFzF
15 14 a1i AOnF:ωAxωFxFsucxzFzF
16 vex zV
17 16 elsuc zsucwzwz=w
18 fveq2 x=wFx=Fw
19 suceq x=wsucx=sucw
20 19 fveq2d x=wFsucx=Fsucw
21 18 20 eleq12d x=wFxFsucxFwFsucw
22 21 rspccva xωFxFsucxwωFwFsucw
23 22 adantll AOnF:ωAxωFxFsucxwωFwFsucw
24 peano2b wωsucwω
25 ffvelcdm F:ωAsucwωFsucwA
26 24 25 sylan2b F:ωAwωFsucwA
27 ssel AOnFsucwAFsucwOn
28 ontr1 FsucwOnFzFwFwFsucwFzFsucw
29 28 expcomd FsucwOnFwFsucwFzFwFzFsucw
30 26 27 29 syl56 AOnF:ωAwωFwFsucwFzFwFzFsucw
31 30 impl AOnF:ωAwωFwFsucwFzFwFzFsucw
32 31 adantlr AOnF:ωAxωFxFsucxwωFwFsucwFzFwFzFsucw
33 23 32 mpd AOnF:ωAxωFxFsucxwωFzFwFzFsucw
34 33 imim2d AOnF:ωAxωFxFsucxwωzwFzFwzwFzFsucw
35 34 imp AOnF:ωAxωFxFsucxwωzwFzFwzwFzFsucw
36 fveq2 z=wFz=Fw
37 36 eleq1d z=wFzFsucwFwFsucw
38 22 37 syl5ibrcom xωFxFsucxwωz=wFzFsucw
39 38 ad4ant23 AOnF:ωAxωFxFsucxwωzwFzFwz=wFzFsucw
40 35 39 jaod AOnF:ωAxωFxFsucxwωzwFzFwzwz=wFzFsucw
41 17 40 biimtrid AOnF:ωAxωFxFsucxwωzwFzFwzsucwFzFsucw
42 41 exp31 AOnF:ωAxωFxFsucxwωzwFzFwzsucwFzFsucw
43 42 com12 wωAOnF:ωAxωFxFsucxzwFzFwzsucwFzFsucw
44 4 8 12 15 43 finds2 yωAOnF:ωAxωFxFsucxzyFzFy