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

Theorem ordunidif 6439
Description: The union of an ordinal stays the same if a subset equal to one of its elements is removed. (Contributed by NM, 10-Dec-2004.)
Assertion
Ref Expression
ordunidif ((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) → ∪ (𝐴 ∖ 𝐵) = ∪ 𝐴)

Proof of Theorem ordunidif
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ordelon 6412 . . . . . . . 8 ((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) → 𝐵 ∈ On)
2 onelss 6431 . . . . . . . 8 (𝐵 ∈ On → (𝑥 ∈ 𝐵 → 𝑥 ⊆ 𝐵))
31, 2syl 18 . . . . . . 7 ((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) → (𝑥 ∈ 𝐵 → 𝑥 ⊆ 𝐵))
4 eloni 6398 . . . . . . . . . . 11 (𝐵 ∈ On → Ord 𝐵)
5 ordirr 6406 . . . . . . . . . . 11 (Ord 𝐵 → ¬ 𝐵 ∈ 𝐵)
64, 5syl 18 . . . . . . . . . 10 (𝐵 ∈ On → ¬ 𝐵 ∈ 𝐵)
7 eldif 4052 . . . . . . . . . . 11 (𝐵 ∈ (𝐴 ∖ 𝐵) ↔ (𝐵 ∈ 𝐴 ∧ ¬ 𝐵 ∈ 𝐵))
87simplbi2 506 . . . . . . . . . 10 (𝐵 ∈ 𝐴 → (¬ 𝐵 ∈ 𝐵 → 𝐵 ∈ (𝐴 ∖ 𝐵)))
96, 8syl5 35 . . . . . . . . 9 (𝐵 ∈ 𝐴 → (𝐵 ∈ On → 𝐵 ∈ (𝐴 ∖ 𝐵)))
109adantl 487 . . . . . . . 8 ((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) → (𝐵 ∈ On → 𝐵 ∈ (𝐴 ∖ 𝐵)))
111, 10mpd 16 . . . . . . 7 ((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) → 𝐵 ∈ (𝐴 ∖ 𝐵))
123, 11jctild 535 . . . . . 6 ((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) → (𝑥 ∈ 𝐵 → (𝐵 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ⊆ 𝐵)))
1312adantr 486 . . . . 5 (((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) ∧ 𝑥 ∈ 𝐴) → (𝑥 ∈ 𝐵 → (𝐵 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ⊆ 𝐵)))
14 sseq2 3939 . . . . . 6 (𝑦 = 𝐵 → (𝑥 ⊆ 𝑦 ↔ 𝑥 ⊆ 𝐵))
1514rspcev 3580 . . . . 5 ((𝐵 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ⊆ 𝐵) → ∃𝑦 ∈ (𝐴 ∖ 𝐵)𝑥 ⊆ 𝑦)
1613, 15syl6 36 . . . 4 (((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) ∧ 𝑥 ∈ 𝐴) → (𝑥 ∈ 𝐵 → ∃𝑦 ∈ (𝐴 ∖ 𝐵)𝑥 ⊆ 𝑦))
17 eldif 4052 . . . . . . . . 9 (𝑥 ∈ (𝐴 ∖ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵))
1817biimpri 231 . . . . . . . 8 ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) → 𝑥 ∈ (𝐴 ∖ 𝐵))
19 ssid 3935 . . . . . . . 8 𝑥 ⊆ 𝑥
2018, 19jctir 530 . . . . . . 7 ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) → (𝑥 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ⊆ 𝑥))
2120ex 418 . . . . . 6 (𝑥 ∈ 𝐴 → (¬ 𝑥 ∈ 𝐵 → (𝑥 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ⊆ 𝑥)))
22 sseq2 3939 . . . . . . 7 (𝑦 = 𝑥 → (𝑥 ⊆ 𝑦 ↔ 𝑥 ⊆ 𝑥))
2322rspcev 3580 . . . . . 6 ((𝑥 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ⊆ 𝑥) → ∃𝑦 ∈ (𝐴 ∖ 𝐵)𝑥 ⊆ 𝑦)
2421, 23syl6 36 . . . . 5 (𝑥 ∈ 𝐴 → (¬ 𝑥 ∈ 𝐵 → ∃𝑦 ∈ (𝐴 ∖ 𝐵)𝑥 ⊆ 𝑦))
2524adantl 487 . . . 4 (((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) ∧ 𝑥 ∈ 𝐴) → (¬ 𝑥 ∈ 𝐵 → ∃𝑦 ∈ (𝐴 ∖ 𝐵)𝑥 ⊆ 𝑦))
2616, 25pm2.61d 181 . . 3 (((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) ∧ 𝑥 ∈ 𝐴) → ∃𝑦 ∈ (𝐴 ∖ 𝐵)𝑥 ⊆ 𝑦)
2726ralrimiva 3158 . 2 ((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) → ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ (𝐴 ∖ 𝐵)𝑥 ⊆ 𝑦)
28 unidif 4908 . 2 (∀𝑥 ∈ 𝐴 ∃𝑦 ∈ (𝐴 ∖ 𝐵)𝑥 ⊆ 𝑦 → ∪ (𝐴 ∖ 𝐵) = ∪ 𝐴)
2927, 28syl 18 1 ((Ord 𝐴 ∧ 𝐵 ∈ 𝐴) → ∪ (𝐴 ∖ 𝐵) = ∪ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900   ∖ cdif 4048  ∪ cuni 4872  Ord word 6387  Oncon0 6388
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 5255  ax-pr 5398
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 4841  df-uni 4873  df-br 5109  df-opab 5174  df-tr 5219  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-ord 6391  df-on 6392
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator