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

Theorem refun0 23864
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 2763 . . . 4 ∪ 𝐴 = ∪ 𝐴
2 eqid 2763 . . . 4 ∪ 𝐵 = ∪ 𝐵
31, 2refbas 23859 . . 3 (𝐴Ref𝐵 → ∪ 𝐵 = ∪ 𝐴)
43adantr 486 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∪ 𝐵 = ∪ 𝐴)
5 elun 4155 . . . 4 (𝑥 ∈ (𝐴 ∪ {∅}) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ {∅}))
6 refssex 23860 . . . . . 6 ((𝐴Ref𝐵 ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
76adantlr 728 . . . . 5 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
8 0ss 4353 . . . . . . . . 9 ∅ ⊆ 𝑦
98a1i 11 . . . . . . . 8 ((𝐴Ref𝐵 ∧ 𝑦 ∈ 𝐵) → ∅ ⊆ 𝑦)
109reximdva0 4306 . . . . . . 7 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦)
1110adantr 486 . . . . . 6 (((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → ∃𝑦 ∈ 𝐵 ∅ ⊆ 𝑦)
12 elsni 4601 . . . . . . . 8 (𝑥 ∈ {∅} → 𝑥 = ∅)
13 sseq1 3938 . . . . . . . . 9 (𝑥 = ∅ → (𝑥 ⊆ 𝑦 ↔ ∅ ⊆ 𝑦))
1413rexbidv 3190 . . . . . . . 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 3158 . 2 ((𝐴Ref𝐵 ∧ 𝐵 ≠ ∅) → ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦 ∈ 𝐵 𝑥 ⊆ 𝑦)
21 refrel 23857 . . . . . 6 Rel Ref
2221brrelex1i 5711 . . . . 5 (𝐴Ref𝐵 → 𝐴 ∈ V)
23 p0ex 5350 . . . . 5 {∅} ∈ V
24 unexg 7784 . . . . 5 ((𝐴 ∈ V ∧ {∅} ∈ V) → (𝐴 ∪ {∅}) ∈ V)
2522, 23, 24sylancl 598 . . . 4 (𝐴Ref𝐵 → (𝐴 ∪ {∅}) ∈ V)
26 uniun 4893 . . . . . 6 ∪ (𝐴 ∪ {∅}) = (∪ 𝐴 ∪ ∪ {∅})
27 0ex 5264 . . . . . . . 8 ∅ ∈ V
2827unisn 4889 . . . . . . 7 ∪ {∅} = ∅
2928uneq2i 4167 . . . . . 6 (∪ 𝐴 ∪ ∪ {∅}) = (∪ 𝐴 ∪ ∅)
30 un0 4347 . . . . . 6 (∪ 𝐴 ∪ ∅) = ∪ 𝐴
3126, 29, 303eqtrri 2791 . . . . 5 ∪ 𝐴 = ∪ (𝐴 ∪ {∅})
3231, 2isref 23858 . . . 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 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900   ∪ cun 4152  ∅c0 4281  {csn 4588  ∪ cuni 4870   class class class wbr 5106  Refcref 23851
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775
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 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662  df-ref 23854
This theorem is used by:  locfinref  34543
  Copyright terms: Public domain W3C validator