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

Theorem refun0 23912
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 2769 . . . 4 ∪ 𝐴 = ∪ 𝐴
2 eqid 2769 . . . 4 ∪ 𝐵 = ∪ 𝐵
31, 2refbas 23907 . . 3 (𝐴Ref𝐵 → ∪ 𝐵 = ∪ 𝐴)
43adantr 486 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∪ 𝐵 = ∪ 𝐴)
5 elun 4157 . . . 4 (𝑥 ∈ (𝐴 ∪ {∅}) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ {∅}))
6 refssex 23908 . . . . . 6 ((𝐴Ref𝐵 ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
76adantlr 728 . . . . 5 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
8 0ss 4355 . . . . . . . . 9 ∅ ⊆ 𝑦
98a1i 11 . . . . . . . 8 ((𝐴Ref𝐵 ∧ 𝑦 ∈ 𝐵) → ∅ ⊆ 𝑦)
109reximdva0 4308 . . . . . . 7 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦)
1110adantr 486 . . . . . 6 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦)
12 elsni 4603 . . . . . . . 8 (𝑥 ∈ {∅} → 𝑥 = ∅)
13 sseq1 3940 . . . . . . . . 9 (𝑥 = ∅ → (𝑥 ⊆ 𝑦 ↔ ∅ ⊆ 𝑦))
1413rexbidv 3196 . . . . . . . 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 3164 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
21 refrel 23905 . . . . . 6 Rel Ref
2221brrelex1i 5717 . . . . 5 (𝐴Ref𝐵 → 𝐴 ∈ V)
23 p0ex 5356 . . . . 5 {∅} ∈ V
24 unexg 7802 . . . . 5 ((𝐴 ∈ V ∧ {∅} ∈ V) → (𝐴 ∪ {∅}) ∈ V)
2522, 23, 24sylancl 598 . . . 4 (𝐴Ref𝐵 → (𝐴 ∪ {∅}) ∈ V)
26 uniun 4898 . . . . . 6 ∪ (𝐴 ∪ {∅}) = (∪ 𝐴 ∪ ∪ {∅})
27 0ex 5270 . . . . . . . 8 ∅ ∈ V
2827unisn 4894 . . . . . . 7 ∪ {∅} = ∅
2928uneq2i 4169 . . . . . 6 (∪ 𝐴 ∪ ∪ {∅}) = (∪ 𝐴 ∪ ∅)
30 un0 4349 . . . . . 6 (∪ 𝐴 ∪ ∅) = ∪ 𝐴
3126, 29, 303eqtrri 2797 . . . . 5 ∪ 𝐴 = ∪ (𝐴 ∪ {∅})
3231, 2isref 23906 . . . 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 1572   ∈ wcel 2151   ≠ wne 2965  ∀wral 3086  ∃wrex 3096  Vcvv 3456   ⊆ wss 3902   ∪ cun 4154  ∅c0 4283  {csn 4590  ∪ cuni 4875   class class class wbr 5111  Refcref 23899
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-xp 5667  df-rel 5668  df-ref 23902
This theorem is used by:  locfinref  34601
  Copyright terms: Public domain W3C validator