Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-restuni Structured version   Visualization version   GIF version

Theorem bj-restuni 35268
Description: The union of an elementwise intersection by a set is equal to the intersection with that set of the union of the family. See also restuni 22313 and restuni2 22318. (Contributed by BJ, 27-Apr-2021.)
Assertion
Ref Expression
bj-restuni ((𝑋𝑉𝐴𝑊) → (𝑋t 𝐴) = ( 𝑋𝐴))

Proof of Theorem bj-restuni
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eluni 4842 . . 3 (𝑥 (𝑋t 𝐴) ↔ ∃𝑦(𝑥𝑦𝑦 ∈ (𝑋t 𝐴)))
2 elrest 17138 . . . . . 6 ((𝑋𝑉𝐴𝑊) → (𝑦 ∈ (𝑋t 𝐴) ↔ ∃𝑧𝑋 𝑦 = (𝑧𝐴)))
32anbi2d 629 . . . . 5 ((𝑋𝑉𝐴𝑊) → ((𝑥𝑦𝑦 ∈ (𝑋t 𝐴)) ↔ (𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴))))
43exbidv 1924 . . . 4 ((𝑋𝑉𝐴𝑊) → (∃𝑦(𝑥𝑦𝑦 ∈ (𝑋t 𝐴)) ↔ ∃𝑦(𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴))))
5 eluni 4842 . . . . . . . 8 (𝑥 𝑋 ↔ ∃𝑧(𝑥𝑧𝑧𝑋))
65bicomi 223 . . . . . . 7 (∃𝑧(𝑥𝑧𝑧𝑋) ↔ 𝑥 𝑋)
76anbi1i 624 . . . . . 6 ((∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴) ↔ (𝑥 𝑋𝑥𝐴))
87a1i 11 . . . . 5 ((𝑋𝑉𝐴𝑊) → ((∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴) ↔ (𝑥 𝑋𝑥𝐴)))
9 df-rex 3070 . . . . . . . . 9 (∃𝑧𝑋 𝑦 = (𝑧𝐴) ↔ ∃𝑧(𝑧𝑋𝑦 = (𝑧𝐴)))
109anbi2i 623 . . . . . . . 8 ((𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ (𝑥𝑦 ∧ ∃𝑧(𝑧𝑋𝑦 = (𝑧𝐴))))
11 19.42v 1957 . . . . . . . . 9 (∃𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ (𝑥𝑦 ∧ ∃𝑧(𝑧𝑋𝑦 = (𝑧𝐴))))
1211bicomi 223 . . . . . . . 8 ((𝑥𝑦 ∧ ∃𝑧(𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ∃𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))))
1310, 12bitri 274 . . . . . . 7 ((𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ ∃𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))))
1413exbii 1850 . . . . . 6 (∃𝑦(𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ ∃𝑦𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))))
15 excom 2162 . . . . . 6 (∃𝑦𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ∃𝑧𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))))
16 an12 642 . . . . . . . . . 10 ((𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ (𝑧𝑋 ∧ (𝑥𝑦𝑦 = (𝑧𝐴))))
1716exbii 1850 . . . . . . . . 9 (∃𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ∃𝑦(𝑧𝑋 ∧ (𝑥𝑦𝑦 = (𝑧𝐴))))
18 19.42v 1957 . . . . . . . . 9 (∃𝑦(𝑧𝑋 ∧ (𝑥𝑦𝑦 = (𝑧𝐴))) ↔ (𝑧𝑋 ∧ ∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴))))
19 eqimss 3977 . . . . . . . . . . . . . . 15 (𝑦 = (𝑧𝐴) → 𝑦 ⊆ (𝑧𝐴))
2019sseld 3920 . . . . . . . . . . . . . 14 (𝑦 = (𝑧𝐴) → (𝑥𝑦𝑥 ∈ (𝑧𝐴)))
2120imdistanri 570 . . . . . . . . . . . . 13 ((𝑥𝑦𝑦 = (𝑧𝐴)) → (𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)))
22 eqimss2 3978 . . . . . . . . . . . . . . 15 (𝑦 = (𝑧𝐴) → (𝑧𝐴) ⊆ 𝑦)
2322sseld 3920 . . . . . . . . . . . . . 14 (𝑦 = (𝑧𝐴) → (𝑥 ∈ (𝑧𝐴) → 𝑥𝑦))
2423imdistanri 570 . . . . . . . . . . . . 13 ((𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)) → (𝑥𝑦𝑦 = (𝑧𝐴)))
2521, 24impbii 208 . . . . . . . . . . . 12 ((𝑥𝑦𝑦 = (𝑧𝐴)) ↔ (𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)))
2625exbii 1850 . . . . . . . . . . 11 (∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴)) ↔ ∃𝑦(𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)))
27 19.42v 1957 . . . . . . . . . . 11 (∃𝑦(𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)) ↔ (𝑥 ∈ (𝑧𝐴) ∧ ∃𝑦 𝑦 = (𝑧𝐴)))
28 vex 3436 . . . . . . . . . . . . . . . 16 𝑧 ∈ V
2928inex1 5241 . . . . . . . . . . . . . . 15 (𝑧𝐴) ∈ V
3029isseti 3447 . . . . . . . . . . . . . 14 𝑦 𝑦 = (𝑧𝐴)
3130biantru 530 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑧𝐴) ↔ (𝑥 ∈ (𝑧𝐴) ∧ ∃𝑦 𝑦 = (𝑧𝐴)))
3231bicomi 223 . . . . . . . . . . . 12 ((𝑥 ∈ (𝑧𝐴) ∧ ∃𝑦 𝑦 = (𝑧𝐴)) ↔ 𝑥 ∈ (𝑧𝐴))
33 elin 3903 . . . . . . . . . . . 12 (𝑥 ∈ (𝑧𝐴) ↔ (𝑥𝑧𝑥𝐴))
3432, 33bitri 274 . . . . . . . . . . 11 ((𝑥 ∈ (𝑧𝐴) ∧ ∃𝑦 𝑦 = (𝑧𝐴)) ↔ (𝑥𝑧𝑥𝐴))
3526, 27, 343bitri 297 . . . . . . . . . 10 (∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴)) ↔ (𝑥𝑧𝑥𝐴))
3635bianassc 640 . . . . . . . . 9 ((𝑧𝑋 ∧ ∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴))) ↔ ((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
3717, 18, 363bitri 297 . . . . . . . 8 (∃𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
3837exbii 1850 . . . . . . 7 (∃𝑧𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ∃𝑧((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
39 19.41v 1953 . . . . . . 7 (∃𝑧((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴) ↔ (∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
4038, 39bitri 274 . . . . . 6 (∃𝑧𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ (∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
4114, 15, 403bitri 297 . . . . 5 (∃𝑦(𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ (∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
42 elin 3903 . . . . 5 (𝑥 ∈ ( 𝑋𝐴) ↔ (𝑥 𝑋𝑥𝐴))
438, 41, 423bitr4g 314 . . . 4 ((𝑋𝑉𝐴𝑊) → (∃𝑦(𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ 𝑥 ∈ ( 𝑋𝐴)))
444, 43bitrd 278 . . 3 ((𝑋𝑉𝐴𝑊) → (∃𝑦(𝑥𝑦𝑦 ∈ (𝑋t 𝐴)) ↔ 𝑥 ∈ ( 𝑋𝐴)))
451, 44syl5bb 283 . 2 ((𝑋𝑉𝐴𝑊) → (𝑥 (𝑋t 𝐴) ↔ 𝑥 ∈ ( 𝑋𝐴)))
4645eqrdv 2736 1 ((𝑋𝑉𝐴𝑊) → (𝑋t 𝐴) = ( 𝑋𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wrex 3065  cin 3886   cuni 4839  (class class class)co 7275  t crest 17131
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-rest 17133
This theorem is referenced by:  bj-restuni2  35269
  Copyright terms: Public domain W3C validator