MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  rankopb Unicode version

Theorem rankopb 7614
Description: The rank of an ordered pair. Part of Exercise 4 of [Kunen] p. 107. (Contributed by Mario Carneiro, 10-Jun-2013.)
Assertion
Ref Expression
rankopb  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  ( rank `  <. A ,  B >. )  =  suc  suc  ( ( rank `  A )  u.  ( rank `  B
) ) )

Proof of Theorem rankopb
StepHypRef Expression
1 dfopg 3875 . . 3  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  <. A ,  B >.  =  { { A } ,  { A ,  B } } )
21fveq2d 5612 . 2  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  ( rank `  <. A ,  B >. )  =  ( rank `  { { A } ,  { A ,  B } } ) )
3 snwf 7571 . . . 4  |-  ( A  e.  U. ( R1
" On )  ->  { A }  e.  U. ( R1 " On ) )
43adantr 451 . . 3  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  { A }  e.  U. ( R1 " On ) )
5 prwf 7573 . . 3  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  { A ,  B }  e.  U. ( R1 " On ) )
6 rankprb 7613 . . 3  |-  ( ( { A }  e.  U. ( R1 " On )  /\  { A ,  B }  e.  U. ( R1 " On ) )  ->  ( rank `  { { A } ,  { A ,  B } } )  =  suc  ( ( rank `  { A } )  u.  ( rank `  { A ,  B } ) ) )
74, 5, 6syl2anc 642 . 2  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  ( rank `  { { A } ,  { A ,  B } } )  =  suc  ( ( rank `  { A } )  u.  ( rank `  { A ,  B } ) ) )
8 snsspr1 3843 . . . . . 6  |-  { A }  C_  { A ,  B }
9 ssequn1 3421 . . . . . 6  |-  ( { A }  C_  { A ,  B }  <->  ( { A }  u.  { A ,  B } )  =  { A ,  B } )
108, 9mpbi 199 . . . . 5  |-  ( { A }  u.  { A ,  B }
)  =  { A ,  B }
1110fveq2i 5611 . . . 4  |-  ( rank `  ( { A }  u.  { A ,  B } ) )  =  ( rank `  { A ,  B }
)
12 rankunb 7612 . . . . 5  |-  ( ( { A }  e.  U. ( R1 " On )  /\  { A ,  B }  e.  U. ( R1 " On ) )  ->  ( rank `  ( { A }  u.  { A ,  B }
) )  =  ( ( rank `  { A } )  u.  ( rank `  { A ,  B } ) ) )
134, 5, 12syl2anc 642 . . . 4  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  ( rank `  ( { A }  u.  { A ,  B }
) )  =  ( ( rank `  { A } )  u.  ( rank `  { A ,  B } ) ) )
14 rankprb 7613 . . . 4  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  ( rank `  { A ,  B }
)  =  suc  (
( rank `  A )  u.  ( rank `  B
) ) )
1511, 13, 143eqtr3a 2414 . . 3  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  ( ( rank `  { A } )  u.  ( rank `  { A ,  B }
) )  =  suc  ( ( rank `  A
)  u.  ( rank `  B ) ) )
16 suceq 4539 . . 3  |-  ( ( ( rank `  { A } )  u.  ( rank `  { A ,  B } ) )  =  suc  ( ( rank `  A )  u.  ( rank `  B ) )  ->  suc  ( ( rank `  { A }
)  u.  ( rank `  { A ,  B } ) )  =  suc  suc  ( ( rank `  A )  u.  ( rank `  B
) ) )
1715, 16syl 15 . 2  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  suc  ( ( rank `  { A }
)  u.  ( rank `  { A ,  B } ) )  =  suc  suc  ( ( rank `  A )  u.  ( rank `  B
) ) )
182, 7, 173eqtrd 2394 1  |-  ( ( A  e.  U. ( R1 " On )  /\  B  e.  U. ( R1 " On ) )  ->  ( rank `  <. A ,  B >. )  =  suc  suc  ( ( rank `  A )  u.  ( rank `  B
) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1642    e. wcel 1710    u. cun 3226    C_ wss 3228   {csn 3716   {cpr 3717   <.cop 3719   U.cuni 3908   Oncon0 4474   suc csuc 4476   "cima 4774   ` cfv 5337   R1cr1 7524   rankcrnk 7525
This theorem is referenced by:  rankop  7620
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-13 1712  ax-14 1714  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1930  ax-ext 2339  ax-sep 4222  ax-nul 4230  ax-pow 4269  ax-pr 4295  ax-un 4594
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-eu 2213  df-mo 2214  df-clab 2345  df-cleq 2351  df-clel 2354  df-nfc 2483  df-ne 2523  df-ral 2624  df-rex 2625  df-reu 2626  df-rab 2628  df-v 2866  df-sbc 3068  df-csb 3158  df-dif 3231  df-un 3233  df-in 3235  df-ss 3242  df-pss 3244  df-nul 3532  df-if 3642  df-pw 3703  df-sn 3722  df-pr 3723  df-tp 3724  df-op 3725  df-uni 3909  df-int 3944  df-iun 3988  df-br 4105  df-opab 4159  df-mpt 4160  df-tr 4195  df-eprel 4387  df-id 4391  df-po 4396  df-so 4397  df-fr 4434  df-we 4436  df-ord 4477  df-on 4478  df-lim 4479  df-suc 4480  df-om 4739  df-xp 4777  df-rel 4778  df-cnv 4779  df-co 4780  df-dm 4781  df-rn 4782  df-res 4783  df-ima 4784  df-iota 5301  df-fun 5339  df-fn 5340  df-f 5341  df-f1 5342  df-fo 5343  df-f1o 5344  df-fv 5345  df-recs 6475  df-rdg 6510  df-r1 7526  df-rank 7527
  Copyright terms: Public domain W3C validator