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

Theorem sorpsscmpl 7453
Description: The componentwise complement of a chain of sets is also a chain of sets. (Contributed by Stefan O'Rear, 2-Nov-2014.)
Assertion
Ref Expression
sorpsscmpl ( [] Or 𝑌 → [] Or {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌})
Distinct variable groups:   𝑢,𝑌   𝑢,𝐴

Proof of Theorem sorpsscmpl
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 difeq2 4096 . . . . . . 7 (𝑢 = 𝑥 → (𝐴𝑢) = (𝐴𝑥))
21eleq1d 2901 . . . . . 6 (𝑢 = 𝑥 → ((𝐴𝑢) ∈ 𝑌 ↔ (𝐴𝑥) ∈ 𝑌))
32elrab 3683 . . . . 5 (𝑥 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌} ↔ (𝑥 ∈ 𝒫 𝐴 ∧ (𝐴𝑥) ∈ 𝑌))
4 difeq2 4096 . . . . . . 7 (𝑢 = 𝑦 → (𝐴𝑢) = (𝐴𝑦))
54eleq1d 2901 . . . . . 6 (𝑢 = 𝑦 → ((𝐴𝑢) ∈ 𝑌 ↔ (𝐴𝑦) ∈ 𝑌))
65elrab 3683 . . . . 5 (𝑦 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌} ↔ (𝑦 ∈ 𝒫 𝐴 ∧ (𝐴𝑦) ∈ 𝑌))
7 an4 652 . . . . . 6 (((𝑥 ∈ 𝒫 𝐴 ∧ (𝐴𝑥) ∈ 𝑌) ∧ (𝑦 ∈ 𝒫 𝐴 ∧ (𝐴𝑦) ∈ 𝑌)) ↔ ((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) ∧ ((𝐴𝑥) ∈ 𝑌 ∧ (𝐴𝑦) ∈ 𝑌)))
87biimpi 217 . . . . 5 (((𝑥 ∈ 𝒫 𝐴 ∧ (𝐴𝑥) ∈ 𝑌) ∧ (𝑦 ∈ 𝒫 𝐴 ∧ (𝐴𝑦) ∈ 𝑌)) → ((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) ∧ ((𝐴𝑥) ∈ 𝑌 ∧ (𝐴𝑦) ∈ 𝑌)))
93, 6, 8syl2anb 597 . . . 4 ((𝑥 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌} ∧ 𝑦 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌}) → ((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) ∧ ((𝐴𝑥) ∈ 𝑌 ∧ (𝐴𝑦) ∈ 𝑌)))
10 sorpssi 7448 . . . . . . . 8 (( [] Or 𝑌 ∧ ((𝐴𝑥) ∈ 𝑌 ∧ (𝐴𝑦) ∈ 𝑌)) → ((𝐴𝑥) ⊆ (𝐴𝑦) ∨ (𝐴𝑦) ⊆ (𝐴𝑥)))
1110expcom 414 . . . . . . 7 (((𝐴𝑥) ∈ 𝑌 ∧ (𝐴𝑦) ∈ 𝑌) → ( [] Or 𝑌 → ((𝐴𝑥) ⊆ (𝐴𝑦) ∨ (𝐴𝑦) ⊆ (𝐴𝑥))))
12 velpw 4549 . . . . . . . . . . 11 (𝑥 ∈ 𝒫 𝐴𝑥𝐴)
13 dfss4 4238 . . . . . . . . . . 11 (𝑥𝐴 ↔ (𝐴 ∖ (𝐴𝑥)) = 𝑥)
1412, 13bitri 276 . . . . . . . . . 10 (𝑥 ∈ 𝒫 𝐴 ↔ (𝐴 ∖ (𝐴𝑥)) = 𝑥)
15 velpw 4549 . . . . . . . . . . 11 (𝑦 ∈ 𝒫 𝐴𝑦𝐴)
16 dfss4 4238 . . . . . . . . . . 11 (𝑦𝐴 ↔ (𝐴 ∖ (𝐴𝑦)) = 𝑦)
1715, 16bitri 276 . . . . . . . . . 10 (𝑦 ∈ 𝒫 𝐴 ↔ (𝐴 ∖ (𝐴𝑦)) = 𝑦)
18 sscon 4118 . . . . . . . . . . . 12 ((𝐴𝑦) ⊆ (𝐴𝑥) → (𝐴 ∖ (𝐴𝑥)) ⊆ (𝐴 ∖ (𝐴𝑦)))
19 sseq12 3997 . . . . . . . . . . . 12 (((𝐴 ∖ (𝐴𝑥)) = 𝑥 ∧ (𝐴 ∖ (𝐴𝑦)) = 𝑦) → ((𝐴 ∖ (𝐴𝑥)) ⊆ (𝐴 ∖ (𝐴𝑦)) ↔ 𝑥𝑦))
2018, 19syl5ib 245 . . . . . . . . . . 11 (((𝐴 ∖ (𝐴𝑥)) = 𝑥 ∧ (𝐴 ∖ (𝐴𝑦)) = 𝑦) → ((𝐴𝑦) ⊆ (𝐴𝑥) → 𝑥𝑦))
21 sscon 4118 . . . . . . . . . . . 12 ((𝐴𝑥) ⊆ (𝐴𝑦) → (𝐴 ∖ (𝐴𝑦)) ⊆ (𝐴 ∖ (𝐴𝑥)))
22 sseq12 3997 . . . . . . . . . . . . 13 (((𝐴 ∖ (𝐴𝑦)) = 𝑦 ∧ (𝐴 ∖ (𝐴𝑥)) = 𝑥) → ((𝐴 ∖ (𝐴𝑦)) ⊆ (𝐴 ∖ (𝐴𝑥)) ↔ 𝑦𝑥))
2322ancoms 459 . . . . . . . . . . . 12 (((𝐴 ∖ (𝐴𝑥)) = 𝑥 ∧ (𝐴 ∖ (𝐴𝑦)) = 𝑦) → ((𝐴 ∖ (𝐴𝑦)) ⊆ (𝐴 ∖ (𝐴𝑥)) ↔ 𝑦𝑥))
2421, 23syl5ib 245 . . . . . . . . . . 11 (((𝐴 ∖ (𝐴𝑥)) = 𝑥 ∧ (𝐴 ∖ (𝐴𝑦)) = 𝑦) → ((𝐴𝑥) ⊆ (𝐴𝑦) → 𝑦𝑥))
2520, 24orim12d 960 . . . . . . . . . 10 (((𝐴 ∖ (𝐴𝑥)) = 𝑥 ∧ (𝐴 ∖ (𝐴𝑦)) = 𝑦) → (((𝐴𝑦) ⊆ (𝐴𝑥) ∨ (𝐴𝑥) ⊆ (𝐴𝑦)) → (𝑥𝑦𝑦𝑥)))
2614, 17, 25syl2anb 597 . . . . . . . . 9 ((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) → (((𝐴𝑦) ⊆ (𝐴𝑥) ∨ (𝐴𝑥) ⊆ (𝐴𝑦)) → (𝑥𝑦𝑦𝑥)))
2726com12 32 . . . . . . . 8 (((𝐴𝑦) ⊆ (𝐴𝑥) ∨ (𝐴𝑥) ⊆ (𝐴𝑦)) → ((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) → (𝑥𝑦𝑦𝑥)))
2827orcoms 870 . . . . . . 7 (((𝐴𝑥) ⊆ (𝐴𝑦) ∨ (𝐴𝑦) ⊆ (𝐴𝑥)) → ((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) → (𝑥𝑦𝑦𝑥)))
2911, 28syl6 35 . . . . . 6 (((𝐴𝑥) ∈ 𝑌 ∧ (𝐴𝑦) ∈ 𝑌) → ( [] Or 𝑌 → ((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) → (𝑥𝑦𝑦𝑥))))
3029com3l 89 . . . . 5 ( [] Or 𝑌 → ((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) → (((𝐴𝑥) ∈ 𝑌 ∧ (𝐴𝑦) ∈ 𝑌) → (𝑥𝑦𝑦𝑥))))
3130impd 411 . . . 4 ( [] Or 𝑌 → (((𝑥 ∈ 𝒫 𝐴𝑦 ∈ 𝒫 𝐴) ∧ ((𝐴𝑥) ∈ 𝑌 ∧ (𝐴𝑦) ∈ 𝑌)) → (𝑥𝑦𝑦𝑥)))
329, 31syl5 34 . . 3 ( [] Or 𝑌 → ((𝑥 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌} ∧ 𝑦 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌}) → (𝑥𝑦𝑦𝑥)))
3332ralrimivv 3194 . 2 ( [] Or 𝑌 → ∀𝑥 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌}∀𝑦 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌} (𝑥𝑦𝑦𝑥))
34 sorpss 7447 . 2 ( [] Or {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌} ↔ ∀𝑥 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌}∀𝑦 ∈ {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌} (𝑥𝑦𝑦𝑥))
3533, 34sylibr 235 1 ( [] Or 𝑌 → [] Or {𝑢 ∈ 𝒫 𝐴 ∣ (𝐴𝑢) ∈ 𝑌})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wo 843   = wceq 1530  wcel 2107  wral 3142  {crab 3146  cdif 3936  wss 3939  𝒫 cpw 4541   Or wor 5471   [] crpss 7441
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2797  ax-sep 5199  ax-nul 5206  ax-pr 5325
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3or 1082  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2619  df-eu 2651  df-clab 2804  df-cleq 2818  df-clel 2897  df-nfc 2967  df-ne 3021  df-ral 3147  df-rex 3148  df-rab 3151  df-v 3501  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-pss 3957  df-nul 4295  df-if 4470  df-pw 4543  df-sn 4564  df-pr 4566  df-op 4570  df-br 5063  df-opab 5125  df-po 5472  df-so 5473  df-xp 5559  df-rel 5560  df-rpss 7442
This theorem is referenced by:  fin2i2  9732  isfin2-2  9733
  Copyright terms: Public domain W3C validator