MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  refun0 Structured version   Visualization version   GIF version

Theorem refun0 23839
Description: Adding the empty set preserves refinements. (Contributed by Thierry Arnoux, 31-Jan-2020.)
Assertion
Ref Expression
refun0 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → (𝐴 ∪ {∅})Ref𝐵)

Proof of Theorem refun0
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2760 . . . 4 ∪ 𝐴 = ∪ 𝐴
2 eqid 2760 . . . 4 ∪ 𝐵 = ∪ 𝐵
31, 2refbas 23834 . . 3 (𝐴Ref𝐵 → ∪ 𝐵 = ∪ 𝐴)
43adantr 486 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∪ 𝐵 = ∪ 𝐴)
5 elun 4152 . . . 4 (𝑥 ∈ (𝐴 ∪ {∅}) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ {∅}))
6 refssex 23835 . . . . . 6 ((𝐴Ref𝐵 ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
76adantlr 728 . . . . 5 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
8 0ss 4349 . . . . . . . . 9 ∅ ⊆ 𝑦
98a1i 11 . . . . . . . 8 ((𝐴Ref𝐵 ∧ 𝑦 ∈ 𝐵) → ∅ ⊆ 𝑦)
109reximdva0 4302 . . . . . . 7 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦)
1110adantr 486 . . . . . 6 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦)
12 elsni 4597 . . . . . . . 8 (𝑥 ∈ {∅} → 𝑥 = ∅)
13 sseq1 3933 . . . . . . . . 9 (𝑥 = ∅ → (𝑥 ⊆ 𝑦 ↔ ∅ ⊆ 𝑦))
1413rexbidv 3186 . . . . . . . 8 (𝑥 = ∅ → (∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦 ↔ ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦))
1512, 14syl 18 . . . . . . 7 (𝑥 ∈ {∅} → (∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦 ↔ ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦))
1615adantl 487 . . . . . 6 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → (∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦 ↔ ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦))
1711, 16mpbird 260 . . . . 5 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
187, 17jaodan 972 . . . 4 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ {∅})) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
195, 18sylan2b 606 . . 3 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ (𝐴 ∪ {∅})) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
2019ralrimiva 3154 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
21 refrel 23832 . . . . . 6 Rel Ref
2221brrelex1i 5706 . . . . 5 (𝐴Ref𝐵 → 𝐴 ∈ V)
23 p0ex 5345 . . . . 5 {∅} ∈ V
24 unexg 7760 . . . . 5 ((𝐴 ∈ V ∧ {∅} ∈ V) → (𝐴 ∪ {∅}) ∈ V)
2522, 23, 24sylancl 598 . . . 4 (𝐴Ref𝐵 → (𝐴 ∪ {∅}) ∈ V)
26 uniun 4889 . . . . . 6 ∪ (𝐴 ∪ {∅}) = (∪ 𝐴 ∪ ∪ {∅})
27 0ex 5260 . . . . . . . 8 ∅ ∈ V
2827unisn 4885 . . . . . . 7 ∪ {∅} = ∅
2928uneq2i 4164 . . . . . 6 (∪ 𝐴 ∪ ∪ {∅}) = (∪ 𝐴 ∪ ∅)
30 un0 4343 . . . . . 6 (∪ 𝐴 ∪ ∅) = ∪ 𝐴
3126, 29, 303eqtrri 2788 . . . . 5 ∪ 𝐴 = ∪ (𝐴 ∪ {∅})
3231, 2isref 23833 . . . 4 ((𝐴 ∪ {∅}) ∈ V → ((𝐴 ∪ {∅})Ref𝐵 ↔ (∪ 𝐵 = ∪ 𝐴 ∧ ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)))
3325, 32syl 18 . . 3 (𝐴Ref𝐵 → ((𝐴 ∪ {∅})Ref𝐵 ↔ (∪ 𝐵 = ∪ 𝐴 ∧ ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)))
3433adantr 486 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ((𝐴 ∪ {∅})Ref𝐵 ↔ (∪ 𝐵 = ∪ 𝐴 ∧ ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)))
354, 20, 34mpbir2and 726 1 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → (𝐴 ∪ {∅})Ref𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  Vcvv 3450   ⊆ wss 3895   ∪ cun 4149  ∅c0 4278  {csn 4584  ∪ cuni 4866   class class class wbr 5102  Refcref 23826
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-ref 23829
This theorem is used by:  locfinref  34519
  Copyright terms: Public domain W3C validator