Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  hfun Structured version   Visualization version   GIF version

Theorem hfun 34521
Description: The union of two HF sets is an HF set. (Contributed by Scott Fenton, 15-Jul-2015.)
Assertion
Ref Expression
hfun ((𝐴 ∈ Hf ∧ 𝐵 ∈ Hf ) → (𝐴𝐵) ∈ Hf )

Proof of Theorem hfun
StepHypRef Expression
1 rankung 34509 . . 3 ((𝐴 ∈ Hf ∧ 𝐵 ∈ Hf ) → (rank‘(𝐴𝐵)) = ((rank‘𝐴) ∪ (rank‘𝐵)))
2 elhf2g 34519 . . . . 5 (𝐴 ∈ Hf → (𝐴 ∈ Hf ↔ (rank‘𝐴) ∈ ω))
32ibi 268 . . . 4 (𝐴 ∈ Hf → (rank‘𝐴) ∈ ω)
4 elhf2g 34519 . . . . 5 (𝐵 ∈ Hf → (𝐵 ∈ Hf ↔ (rank‘𝐵) ∈ ω))
54ibi 268 . . . 4 (𝐵 ∈ Hf → (rank‘𝐵) ∈ ω)
6 eleq1a 2832 . . . . . 6 ((rank‘𝐵) ∈ ω → (((rank‘𝐴) ∪ (rank‘𝐵)) = (rank‘𝐵) → ((rank‘𝐴) ∪ (rank‘𝐵)) ∈ ω))
76adantl 483 . . . . 5 (((rank‘𝐴) ∈ ω ∧ (rank‘𝐵) ∈ ω) → (((rank‘𝐴) ∪ (rank‘𝐵)) = (rank‘𝐵) → ((rank‘𝐴) ∪ (rank‘𝐵)) ∈ ω))
8 uncom 4093 . . . . . . . . . 10 ((rank‘𝐵) ∪ (rank‘𝐴)) = ((rank‘𝐴) ∪ (rank‘𝐵))
98eqeq1i 2741 . . . . . . . . 9 (((rank‘𝐵) ∪ (rank‘𝐴)) = (rank‘𝐴) ↔ ((rank‘𝐴) ∪ (rank‘𝐵)) = (rank‘𝐴))
109biimpi 215 . . . . . . . 8 (((rank‘𝐵) ∪ (rank‘𝐴)) = (rank‘𝐴) → ((rank‘𝐴) ∪ (rank‘𝐵)) = (rank‘𝐴))
1110eleq1d 2821 . . . . . . 7 (((rank‘𝐵) ∪ (rank‘𝐴)) = (rank‘𝐴) → (((rank‘𝐴) ∪ (rank‘𝐵)) ∈ ω ↔ (rank‘𝐴) ∈ ω))
1211biimprcd 251 . . . . . 6 ((rank‘𝐴) ∈ ω → (((rank‘𝐵) ∪ (rank‘𝐴)) = (rank‘𝐴) → ((rank‘𝐴) ∪ (rank‘𝐵)) ∈ ω))
1312adantr 482 . . . . 5 (((rank‘𝐴) ∈ ω ∧ (rank‘𝐵) ∈ ω) → (((rank‘𝐵) ∪ (rank‘𝐴)) = (rank‘𝐴) → ((rank‘𝐴) ∪ (rank‘𝐵)) ∈ ω))
14 nnord 7748 . . . . . . 7 ((rank‘𝐴) ∈ ω → Ord (rank‘𝐴))
15 nnord 7748 . . . . . . 7 ((rank‘𝐵) ∈ ω → Ord (rank‘𝐵))
16 ordtri2or2 6375 . . . . . . 7 ((Ord (rank‘𝐴) ∧ Ord (rank‘𝐵)) → ((rank‘𝐴) ⊆ (rank‘𝐵) ∨ (rank‘𝐵) ⊆ (rank‘𝐴)))
1714, 15, 16syl2an 597 . . . . . 6 (((rank‘𝐴) ∈ ω ∧ (rank‘𝐵) ∈ ω) → ((rank‘𝐴) ⊆ (rank‘𝐵) ∨ (rank‘𝐵) ⊆ (rank‘𝐴)))
18 ssequn1 4120 . . . . . . 7 ((rank‘𝐴) ⊆ (rank‘𝐵) ↔ ((rank‘𝐴) ∪ (rank‘𝐵)) = (rank‘𝐵))
19 ssequn1 4120 . . . . . . 7 ((rank‘𝐵) ⊆ (rank‘𝐴) ↔ ((rank‘𝐵) ∪ (rank‘𝐴)) = (rank‘𝐴))
2018, 19orbi12i 913 . . . . . 6 (((rank‘𝐴) ⊆ (rank‘𝐵) ∨ (rank‘𝐵) ⊆ (rank‘𝐴)) ↔ (((rank‘𝐴) ∪ (rank‘𝐵)) = (rank‘𝐵) ∨ ((rank‘𝐵) ∪ (rank‘𝐴)) = (rank‘𝐴)))
2117, 20sylib 217 . . . . 5 (((rank‘𝐴) ∈ ω ∧ (rank‘𝐵) ∈ ω) → (((rank‘𝐴) ∪ (rank‘𝐵)) = (rank‘𝐵) ∨ ((rank‘𝐵) ∪ (rank‘𝐴)) = (rank‘𝐴)))
227, 13, 21mpjaod 858 . . . 4 (((rank‘𝐴) ∈ ω ∧ (rank‘𝐵) ∈ ω) → ((rank‘𝐴) ∪ (rank‘𝐵)) ∈ ω)
233, 5, 22syl2an 597 . . 3 ((𝐴 ∈ Hf ∧ 𝐵 ∈ Hf ) → ((rank‘𝐴) ∪ (rank‘𝐵)) ∈ ω)
241, 23eqeltrd 2837 . 2 ((𝐴 ∈ Hf ∧ 𝐵 ∈ Hf ) → (rank‘(𝐴𝐵)) ∈ ω)
25 unexg 7627 . . 3 ((𝐴 ∈ Hf ∧ 𝐵 ∈ Hf ) → (𝐴𝐵) ∈ V)
26 elhf2g 34519 . . 3 ((𝐴𝐵) ∈ V → ((𝐴𝐵) ∈ Hf ↔ (rank‘(𝐴𝐵)) ∈ ω))
2725, 26syl 17 . 2 ((𝐴 ∈ Hf ∧ 𝐵 ∈ Hf ) → ((𝐴𝐵) ∈ Hf ↔ (rank‘(𝐴𝐵)) ∈ ω))
2824, 27mpbird 258 1 ((𝐴 ∈ Hf ∧ 𝐵 ∈ Hf ) → (𝐴𝐵) ∈ Hf )
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397  wo 845   = wceq 1539  wcel 2104  Vcvv 3437  cun 3890  wss 3892  Ord word 6276  cfv 6454  ωcom 7740  rankcrnk 9561   Hf chf 34515
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361  ax-un 7616  ax-reg 9391  ax-inf2 9439
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3or 1088  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3286  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-int 4887  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-tr 5199  df-id 5496  df-eprel 5502  df-po 5510  df-so 5511  df-fr 5551  df-we 5553  df-xp 5602  df-rel 5603  df-cnv 5604  df-co 5605  df-dm 5606  df-rn 5607  df-res 5608  df-ima 5609  df-pred 6213  df-ord 6280  df-on 6281  df-lim 6282  df-suc 6283  df-iota 6406  df-fun 6456  df-fn 6457  df-f 6458  df-f1 6459  df-fo 6460  df-f1o 6461  df-fv 6462  df-ov 7306  df-om 7741  df-2nd 7860  df-frecs 8124  df-wrecs 8155  df-recs 8229  df-rdg 8268  df-er 8525  df-en 8761  df-dom 8762  df-sdom 8763  df-r1 9562  df-rank 9563  df-hf 34516
This theorem is referenced by:  hfadj  34523
  Copyright terms: Public domain W3C validator