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

Theorem undom 9133
Description: Dominance law for union. Proposition 4.24(a) of [Mendelson] p. 257. (Contributed by NM, 3-Sep-2004.) (Revised by Mario Carneiro, 26-Apr-2015.) Avoid ax-pow 5337. (Revised by BTernaryTau, 4-Dec-2024.)
Assertion
Ref Expression
undom (((𝐴 ≼ 𝐵 ∧ 𝐶 ≼ 𝐷) ∧ (𝐵 ∩ 𝐷) = ∅) → (𝐴 ∪ 𝐶) ≼ (𝐵 ∪ 𝐷))

Proof of Theorem undom
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 undif2 4436 . 2 (𝐴 ∪ (𝐶 ∖ 𝐴)) = (𝐴 ∪ 𝐶)
2 reldom 9028 . . . . . 6 Rel ≼
32brrelex2i 5718 . . . . 5 (𝐴 ≼ 𝐵 → 𝐵 ∈ V)
42brrelex2i 5718 . . . . 5 (𝐶 ≼ 𝐷 → 𝐷 ∈ V)
5 unexg 7803 . . . . 5 ((𝐵 ∈ V ∧ 𝐷 ∈ V) → (𝐵 ∪ 𝐷) ∈ V)
63, 4, 5syl2an 608 . . . 4 ((𝐴 ≼ 𝐵 ∧ 𝐶 ≼ 𝐷) → (𝐵 ∪ 𝐷) ∈ V)
76adantr 486 . . 3 (((𝐴 ≼ 𝐵 ∧ 𝐶 ≼ 𝐷) ∧ (𝐵 ∩ 𝐷) = ∅) → (𝐵 ∪ 𝐷) ∈ V)
8 brdomi 9035 . . . . 5 (𝐴 ≼ 𝐵 → ∃𝑥 𝑥:𝐴⟶1-1𝐵)
9 brdomi 9035 . . . . 5 (𝐶 ≼ 𝐷 → ∃𝑦 𝑦:𝐶⟶1-1𝐷)
10 exdistrv 1992 . . . . . 6 (∃𝑥∃𝑦(𝑥:𝐴⟶1-1𝐵 ∧ 𝑦:𝐶⟶1-1𝐷) ↔ (∃𝑥 𝑥:𝐴⟶1-1𝐵 ∧ ∃𝑦 𝑦:𝐶⟶1-1𝐷))
11 disjdif 4431 . . . . . . . . . 10 (𝐴 ∩ (𝐶 ∖ 𝐴)) = ∅
12 difss 4077 . . . . . . . . . . . 12 (𝐶 ∖ 𝐴) ⊆ 𝐶
13 f1ssres 6827 . . . . . . . . . . . 12 ((𝑦:𝐶⟶1-1𝐷 ∧ (𝐶 ∖ 𝐴) ⊆ 𝐶) → (𝑦 ↾ (𝐶 ∖ 𝐴)):(𝐶 ∖ 𝐴)⟶1-1𝐷)
1412, 13mpan2 704 . . . . . . . . . . 11 (𝑦:𝐶⟶1-1𝐷 → (𝑦 ↾ (𝐶 ∖ 𝐴)):(𝐶 ∖ 𝐴)⟶1-1𝐷)
15 f1un 6885 . . . . . . . . . . 11 (((𝑥:𝐴⟶1-1𝐵 ∧ (𝑦 ↾ (𝐶 ∖ 𝐴)):(𝐶 ∖ 𝐴)⟶1-1𝐷) ∧ ((𝐴 ∩ (𝐶 ∖ 𝐴)) = ∅ ∧ (𝐵 ∩ 𝐷) = ∅)) → (𝑥 ∪ (𝑦 ↾ (𝐶 ∖ 𝐴))):(𝐴 ∪ (𝐶 ∖ 𝐴))⟶1-1(𝐵 ∪ 𝐷))
1614, 15sylanl2 694 . . . . . . . . . 10 (((𝑥:𝐴⟶1-1𝐵 ∧ 𝑦:𝐶⟶1-1𝐷) ∧ ((𝐴 ∩ (𝐶 ∖ 𝐴)) = ∅ ∧ (𝐵 ∩ 𝐷) = ∅)) → (𝑥 ∪ (𝑦 ↾ (𝐶 ∖ 𝐴))):(𝐴 ∪ (𝐶 ∖ 𝐴))⟶1-1(𝐵 ∪ 𝐷))
1711, 16mpanr1 716 . . . . . . . . 9 (((𝑥:𝐴⟶1-1𝐵 ∧ 𝑦:𝐶⟶1-1𝐷) ∧ (𝐵 ∩ 𝐷) = ∅) → (𝑥 ∪ (𝑦 ↾ (𝐶 ∖ 𝐴))):(𝐴 ∪ (𝐶 ∖ 𝐴))⟶1-1(𝐵 ∪ 𝐷))
18 vex 3460 . . . . . . . . . . . 12 𝑥 ∈ V
19 vex 3460 . . . . . . . . . . . . 13 𝑦 ∈ V
2019resex 6039 . . . . . . . . . . . 12 (𝑦 ↾ (𝐶 ∖ 𝐴)) ∈ V
2118, 20unex 7804 . . . . . . . . . . 11 (𝑥 ∪ (𝑦 ↾ (𝐶 ∖ 𝐴))) ∈ V
22 f1dom3g 9043 . . . . . . . . . . 11 (((𝑥 ∪ (𝑦 ↾ (𝐶 ∖ 𝐴))) ∈ V ∧ (𝐵 ∪ 𝐷) ∈ V ∧ (𝑥 ∪ (𝑦 ↾ (𝐶 ∖ 𝐴))):(𝐴 ∪ (𝐶 ∖ 𝐴))⟶1-1(𝐵 ∪ 𝐷)) → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷))
2321, 22mp3an1 1480 . . . . . . . . . 10 (((𝐵 ∪ 𝐷) ∈ V ∧ (𝑥 ∪ (𝑦 ↾ (𝐶 ∖ 𝐴))):(𝐴 ∪ (𝐶 ∖ 𝐴))⟶1-1(𝐵 ∪ 𝐷)) → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷))
2423expcom 419 . . . . . . . . 9 ((𝑥 ∪ (𝑦 ↾ (𝐶 ∖ 𝐴))):(𝐴 ∪ (𝐶 ∖ 𝐴))⟶1-1(𝐵 ∪ 𝐷) → ((𝐵 ∪ 𝐷) ∈ V → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷)))
2517, 24syl 18 . . . . . . . 8 (((𝑥:𝐴⟶1-1𝐵 ∧ 𝑦:𝐶⟶1-1𝐷) ∧ (𝐵 ∩ 𝐷) = ∅) → ((𝐵 ∪ 𝐷) ∈ V → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷)))
2625ex 418 . . . . . . 7 ((𝑥:𝐴⟶1-1𝐵 ∧ 𝑦:𝐶⟶1-1𝐷) → ((𝐵 ∩ 𝐷) = ∅ → ((𝐵 ∪ 𝐷) ∈ V → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷))))
2726exlimivv 1969 . . . . . 6 (∃𝑥∃𝑦(𝑥:𝐴⟶1-1𝐵 ∧ 𝑦:𝐶⟶1-1𝐷) → ((𝐵 ∩ 𝐷) = ∅ → ((𝐵 ∪ 𝐷) ∈ V → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷))))
2810, 27sylbir 238 . . . . 5 ((∃𝑥 𝑥:𝐴⟶1-1𝐵 ∧ ∃𝑦 𝑦:𝐶⟶1-1𝐷) → ((𝐵 ∩ 𝐷) = ∅ → ((𝐵 ∪ 𝐷) ∈ V → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷))))
298, 9, 28syl2an 608 . . . 4 ((𝐴 ≼ 𝐵 ∧ 𝐶 ≼ 𝐷) → ((𝐵 ∩ 𝐷) = ∅ → ((𝐵 ∪ 𝐷) ∈ V → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷))))
3029imp 412 . . 3 (((𝐴 ≼ 𝐵 ∧ 𝐶 ≼ 𝐷) ∧ (𝐵 ∩ 𝐷) = ∅) → ((𝐵 ∪ 𝐷) ∈ V → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷)))
317, 30mpd 16 . 2 (((𝐴 ≼ 𝐵 ∧ 𝐶 ≼ 𝐷) ∧ (𝐵 ∩ 𝐷) = ∅) → (𝐴 ∪ (𝐶 ∖ 𝐴)) ≼ (𝐵 ∪ 𝐷))
321, 31eqbrtrrid 5150 1 (((𝐴 ≼ 𝐵 ∧ 𝐶 ≼ 𝐷) ∧ (𝐵 ∩ 𝐷) = ∅) → (𝐴 ∪ 𝐶) ≼ (𝐵 ∪ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  Vcvv 3456   ⊆ wss 3902   ∖ cdif 4050   ∩ cin 4094   ∪ cun 4154  ∅c0 4283   class class class wbr 5111   ↾ cres 5663  ⟶1-1wf1 6570   ≼ cdom 9020
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-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401  ax-un 7794
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-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-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-dom 9024
This theorem is used by:  domunsncan  9145  domunsn  9195  sucdom2  9267  unxpdom2  9300  sucxpdom  9301  fodomfi  9353  undjudom  10296  djudom1  10311
  Copyright terms: Public domain W3C validator