HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem opthwiener 3554
Description: Justification theorem for the ordered pair definition in Norbert Wiener, "A simplification of the logic of relations," Proc. of the Cambridge Philos. Soc., 1914, vol. 17, pp.387-390. It is also shown as a definition in [Enderton] p. 36 and as Exercise 4.8(b) of [Mendelson] p. 230. It is meaningful only for classes that exist as sets (i.e. are not proper classes). See df-op 3053 for other ordered pair definitions.
Hypotheses
Ref Expression
opthw.1 |- A e. _V
opthw.2 |- B e. _V
Assertion
Ref Expression
opthwiener |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} <-> (A = C /\ B = D))

Proof of Theorem opthwiener
StepHypRef Expression
1 id 73 . . . . . . 7 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> {{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}})
2 snex 3492 . . . . . . . . . . . 12 |- {{B}} e. _V
32prid2 3107 . . . . . . . . . . 11 |- {{B}} e. {{{A}, (/)}, {{B}}}
4 eleq2 1958 . . . . . . . . . . 11 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> ({{B}} e. {{{A}, (/)}, {{B}}} <-> {{B}} e. {{{C}, (/)}, {{D}}}))
53, 4mpbii 210 . . . . . . . . . 10 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> {{B}} e. {{{C}, (/)}, {{D}}})
62elpr 3061 . . . . . . . . . 10 |- ({{B}} e. {{{C}, (/)}, {{D}}} <-> ({{B}} = {{C}, (/)} \/ {{B}} = {{D}}))
75, 6sylib 215 . . . . . . . . 9 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> ({{B}} = {{C}, (/)} \/ {{B}} = {{D}}))
8 0ex 3446 . . . . . . . . . . . . 13 |- (/) e. _V
98prid2 3107 . . . . . . . . . . . 12 |- (/) e. {{C}, (/)}
10 opthw.2 . . . . . . . . . . . . . 14 |- B e. _V
1110snnz 3119 . . . . . . . . . . . . 13 |- {B} =/= (/)
128elsnc 3065 . . . . . . . . . . . . . 14 |- ((/) e. {{B}} <-> (/) = {B})
13 eqcom 1886 . . . . . . . . . . . . . 14 |- ((/) = {B} <-> {B} = (/))
1412, 13bitri 190 . . . . . . . . . . . . 13 |- ((/) e. {{B}} <-> {B} = (/))
1511, 14nemtbir 2099 . . . . . . . . . . . 12 |- -. (/) e. {{B}}
16 nelneq2 1986 . . . . . . . . . . . 12 |- (((/) e. {{C}, (/)} /\ -. (/) e. {{B}}) -> -. {{C}, (/)} = {{B}})
179, 15, 16mp2an 761 . . . . . . . . . . 11 |- -. {{C}, (/)} = {{B}}
18 eqcom 1886 . . . . . . . . . . 11 |- ({{C}, (/)} = {{B}} <-> {{B}} = {{C}, (/)})
1917, 18mtbi 208 . . . . . . . . . 10 |- -. {{B}} = {{C}, (/)}
20 biorf 807 . . . . . . . . . 10 |- (-. {{B}} = {{C}, (/)} -> ({{B}} = {{D}} <-> ({{B}} = {{C}, (/)} \/ {{B}} = {{D}})))
2119, 20ax-mp 7 . . . . . . . . 9 |- ({{B}} = {{D}} <-> ({{B}} = {{C}, (/)} \/ {{B}} = {{D}}))
227, 21sylibr 217 . . . . . . . 8 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> {{B}} = {{D}})
23 preq2 3099 . . . . . . . 8 |- ({{B}} = {{D}} -> {{{C}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}})
2422, 23syl 12 . . . . . . 7 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> {{{C}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}})
251, 24eqtr4d 1928 . . . . . 6 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> {{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{B}}})
26 prex 3526 . . . . . . 7 |- {{A}, (/)} e. _V
27 prex 3526 . . . . . . 7 |- {{C}, (/)} e. _V
2826, 27preqr1 3152 . . . . . 6 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{B}}} -> {{A}, (/)} = {{C}, (/)})
2925, 28syl 12 . . . . 5 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> {{A}, (/)} = {{C}, (/)})
30 snex 3492 . . . . . 6 |- {A} e. _V
31 snex 3492 . . . . . 6 |- {C} e. _V
3230, 31preqr1 3152 . . . . 5 |- ({{A}, (/)} = {{C}, (/)} -> {A} = {C})
3329, 32syl 12 . . . 4 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> {A} = {C})
34 opthw.1 . . . . 5 |- A e. _V
3534sneqr 3147 . . . 4 |- ({A} = {C} -> A = C)
3633, 35syl 12 . . 3 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> A = C)
37 snex 3492 . . . . 5 |- {B} e. _V
3837sneqr 3147 . . . 4 |- ({{B}} = {{D}} -> {B} = {D})
3910sneqr 3147 . . . 4 |- ({B} = {D} -> B = D)
4022, 38, 393syl 24 . . 3 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> B = D)
4136, 40jca 310 . 2 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} -> (A = C /\ B = D))
42 sneq 3054 . . . 4 |- (A = C -> {A} = {C})
43 preq1 3098 . . . 4 |- ({A} = {C} -> {{A}, (/)} = {{C}, (/)})
44 preq1 3098 . . . 4 |- ({{A}, (/)} = {{C}, (/)} -> {{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{B}}})
4542, 43, 443syl 24 . . 3 |- (A = C -> {{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{B}}})
46 sneq 3054 . . . 4 |- (B = D -> {B} = {D})
47 sneq 3054 . . . 4 |- ({B} = {D} -> {{B}} = {{D}})
4846, 47, 233syl 24 . . 3 |- (B = D -> {{{C}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}})
4945, 48sylan9eq 1948 . 2 |- ((A = C /\ B = D) -> {{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}})
5041, 49impbii 174 1 |- ({{{A}, (/)}, {{B}}} = {{{C}, (/)}, {{D}}} <-> (A = C /\ B = D))
Colors of variables: wff set class
Syntax hints:  -. wn 2   <-> wb 163   \/ wo 239   /\ wa 240   = wceq 1298   e. wcel 1300  _Vcvv 2292  (/)c0 2875  {csn 3044  {cpr 3045
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 1304  ax-gen 1305  ax-8 1306  ax-9 1307  ax-10 1308  ax-11 1309  ax-12 1310  ax-14 1312  ax-17 1317  ax-4 1319  ax-5o 1321  ax-6o 1324  ax-9o 1481  ax-10o 1500  ax-16 1580  ax-11o 1588  ax-ext 1865  ax-sep 3438  ax-nul 3445  ax-pow 3481  ax-pr 3524
This theorem depends on definitions:  df-bi 164  df-or 241  df-an 242  df-ex 1327  df-sb 1536  df-clab 1872  df-cleq 1877  df-clel 1880  df-ne 2019  df-v 2294  df-dif 2597  df-un 2600  df-in 2603  df-ss 2605  df-nul 2876  df-pw 3035  df-sn 3049  df-pr 3050
Copyright terms: Public domain