Metamath Proof Explorer


Theorem rankssb

Description: The subset relation is inherited by the rank function. Exercise 1 of TakeutiZaring p. 80. (Contributed by NM, 25-Nov-2003) (Revised by Mario Carneiro, 17-Nov-2014)

Ref Expression
Assertion rankssb B R1 On A B rank A rank B

Proof

Step Hyp Ref Expression
1 simpr B R1 On A B A B
2 r1rankidb B R1 On B R1 rank B
3 2 adantr B R1 On A B B R1 rank B
4 1 3 sstrd B R1 On A B A R1 rank B
5 sswf B R1 On A B A R1 On
6 rankdmr1 rank B dom R1
7 rankr1bg A R1 On rank B dom R1 A R1 rank B rank A rank B
8 5 6 7 sylancl B R1 On A B A R1 rank B rank A rank B
9 4 8 mpbid B R1 On A B rank A rank B
10 9 ex B R1 On A B rank A rank B