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

Theorem refun0 23814
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 2761 . . . 4 ∪ 𝐴 = ∪ 𝐴
2 eqid 2761 . . . 4 ∪ 𝐵 = ∪ 𝐵
31, 2refbas 23809 . . 3 (𝐴Ref𝐵 → ∪ 𝐵 = ∪ 𝐴)
43adantr 486 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∪ 𝐵 = ∪ 𝐴)
5 elun 4100 . . . 4 (𝑥 ∈ (𝐴 ∪ {∅}) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ {∅}))
6 refssex 23810 . . . . . 6 ((𝐴Ref𝐵 ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
76adantlr 728 . . . . 5 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
8 0ss 4350 . . . . . . . . 9 ∅ ⊆ 𝑦
98a1i 11 . . . . . . . 8 ((𝐴Ref𝐵 ∧ 𝑦 ∈ 𝐵) → ∅ ⊆ 𝑦)
109reximdva0 4303 . . . . . . 7 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦)
1110adantr 486 . . . . . 6 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦)
12 elsni 4601 . . . . . . . 8 (𝑥 ∈ {∅} → 𝑥 = ∅)
13 sseq1 3956 . . . . . . . . 9 (𝑥 = ∅ → (𝑥 ⊆ 𝑦 ↔ ∅ ⊆ 𝑦))
1413rexbidv 3187 . . . . . . . 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 3155 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
21 refrel 23807 . . . . . 6 Rel Ref
2221brrelex1i 5707 . . . . 5 (𝐴Ref𝐵 → 𝐴 ∈ V)
23 p0ex 5346 . . . . 5 {∅} ∈ V
24 unexg 7749 . . . . 5 ((𝐴 ∈ V ∧ {∅} ∈ V) → (𝐴 ∪ {∅}) ∈ V)
2522, 23, 24sylancl 598 . . . 4 (𝐴Ref𝐵 → (𝐴 ∪ {∅}) ∈ V)
26 uniun 4890 . . . . . 6 ∪ (𝐴 ∪ {∅}) = (∪ 𝐴 ∪ ∪ {∅})
27 0ex 5261 . . . . . . . 8 ∅ ∈ V
2827unisn 4886 . . . . . . 7 ∪ {∅} = ∅
2928uneq2i 4112 . . . . . 6 (∪ 𝐴 ∪ ∪ {∅}) = (∪ 𝐴 ∪ ∅)
30 un0 4344 . . . . . 6 (∪ 𝐴 ∪ ∅) = ∪ 𝐴
3126, 29, 303eqtrri 2789 . . . . 5 ∪ 𝐴 = ∪ (𝐴 ∪ {∅})
3231, 2isref 23808 . . . 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 1570   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087  Vcvv 3451   ∪ cun 3897   ⊆ wss 3899  ∅c0 4279  {csn 4584  ∪ cuni 4867   class class class wbr 5103  Refcref 23801
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-xp 5657  df-rel 5658  df-ref 23804
This theorem is used by:  locfinref  34455
  Copyright terms: Public domain W3C validator