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

Theorem refun0 22125
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 2823 . . . 4 𝐴 = 𝐴
2 eqid 2823 . . . 4 𝐵 = 𝐵
31, 2refbas 22120 . . 3 (𝐴Ref𝐵 𝐵 = 𝐴)
43adantr 483 . 2 ((𝐴Ref𝐵𝐵 ≠ ∅) → 𝐵 = 𝐴)
5 elun 4127 . . . 4 (𝑥 ∈ (𝐴 ∪ {∅}) ↔ (𝑥𝐴𝑥 ∈ {∅}))
6 refssex 22121 . . . . . 6 ((𝐴Ref𝐵𝑥𝐴) → ∃𝑦𝐵 𝑥𝑦)
76adantlr 713 . . . . 5 (((𝐴Ref𝐵𝐵 ≠ ∅) ∧ 𝑥𝐴) → ∃𝑦𝐵 𝑥𝑦)
8 0ss 4352 . . . . . . . . 9 ∅ ⊆ 𝑦
98a1i 11 . . . . . . . 8 ((𝐴Ref𝐵𝑦𝐵) → ∅ ⊆ 𝑦)
109reximdva0 4314 . . . . . . 7 ((𝐴Ref𝐵𝐵 ≠ ∅) → ∃𝑦𝐵 ∅ ⊆ 𝑦)
1110adantr 483 . . . . . 6 (((𝐴Ref𝐵𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → ∃𝑦𝐵 ∅ ⊆ 𝑦)
12 elsni 4586 . . . . . . . 8 (𝑥 ∈ {∅} → 𝑥 = ∅)
13 sseq1 3994 . . . . . . . . 9 (𝑥 = ∅ → (𝑥𝑦 ↔ ∅ ⊆ 𝑦))
1413rexbidv 3299 . . . . . . . 8 (𝑥 = ∅ → (∃𝑦𝐵 𝑥𝑦 ↔ ∃𝑦𝐵 ∅ ⊆ 𝑦))
1512, 14syl 17 . . . . . . 7 (𝑥 ∈ {∅} → (∃𝑦𝐵 𝑥𝑦 ↔ ∃𝑦𝐵 ∅ ⊆ 𝑦))
1615adantl 484 . . . . . 6 (((𝐴Ref𝐵𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → (∃𝑦𝐵 𝑥𝑦 ↔ ∃𝑦𝐵 ∅ ⊆ 𝑦))
1711, 16mpbird 259 . . . . 5 (((𝐴Ref𝐵𝐵 ≠ ∅) ∧ 𝑥 ∈ {∅}) → ∃𝑦𝐵 𝑥𝑦)
187, 17jaodan 954 . . . 4 (((𝐴Ref𝐵𝐵 ≠ ∅) ∧ (𝑥𝐴𝑥 ∈ {∅})) → ∃𝑦𝐵 𝑥𝑦)
195, 18sylan2b 595 . . 3 (((𝐴Ref𝐵𝐵 ≠ ∅) ∧ 𝑥 ∈ (𝐴 ∪ {∅})) → ∃𝑦𝐵 𝑥𝑦)
2019ralrimiva 3184 . 2 ((𝐴Ref𝐵𝐵 ≠ ∅) → ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦𝐵 𝑥𝑦)
21 refrel 22118 . . . . . 6 Rel Ref
2221brrelex1i 5610 . . . . 5 (𝐴Ref𝐵𝐴 ∈ V)
23 p0ex 5287 . . . . 5 {∅} ∈ V
24 unexg 7474 . . . . 5 ((𝐴 ∈ V ∧ {∅} ∈ V) → (𝐴 ∪ {∅}) ∈ V)
2522, 23, 24sylancl 588 . . . 4 (𝐴Ref𝐵 → (𝐴 ∪ {∅}) ∈ V)
26 uniun 4863 . . . . . 6 (𝐴 ∪ {∅}) = ( 𝐴 {∅})
27 0ex 5213 . . . . . . . 8 ∅ ∈ V
2827unisn 4860 . . . . . . 7 {∅} = ∅
2928uneq2i 4138 . . . . . 6 ( 𝐴 {∅}) = ( 𝐴 ∪ ∅)
30 un0 4346 . . . . . 6 ( 𝐴 ∪ ∅) = 𝐴
3126, 29, 303eqtrri 2851 . . . . 5 𝐴 = (𝐴 ∪ {∅})
3231, 2isref 22119 . . . 4 ((𝐴 ∪ {∅}) ∈ V → ((𝐴 ∪ {∅})Ref𝐵 ↔ ( 𝐵 = 𝐴 ∧ ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦𝐵 𝑥𝑦)))
3325, 32syl 17 . . 3 (𝐴Ref𝐵 → ((𝐴 ∪ {∅})Ref𝐵 ↔ ( 𝐵 = 𝐴 ∧ ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦𝐵 𝑥𝑦)))
3433adantr 483 . 2 ((𝐴Ref𝐵𝐵 ≠ ∅) → ((𝐴 ∪ {∅})Ref𝐵 ↔ ( 𝐵 = 𝐴 ∧ ∀𝑥 ∈ (𝐴 ∪ {∅})∃𝑦𝐵 𝑥𝑦)))
354, 20, 34mpbir2and 711 1 ((𝐴Ref𝐵𝐵 ≠ ∅) → (𝐴 ∪ {∅})Ref𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843   = wceq 1537  wcel 2114  wne 3018  wral 3140  wrex 3141  Vcvv 3496  cun 3936  wss 3938  c0 4293  {csn 4569   cuni 4840   class class class wbr 5068  Refcref 22112
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-xp 5563  df-rel 5564  df-ref 22115
This theorem is referenced by:  locfinref  31107
  Copyright terms: Public domain W3C validator