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 33050
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 20966 and restuni2 20971. (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 4439 . . 3 (𝑥 (𝑋t 𝐴) ↔ ∃𝑦(𝑥𝑦𝑦 ∈ (𝑋t 𝐴)))
2 elrest 16088 . . . . . 6 ((𝑋𝑉𝐴𝑊) → (𝑦 ∈ (𝑋t 𝐴) ↔ ∃𝑧𝑋 𝑦 = (𝑧𝐴)))
32anbi2d 740 . . . . 5 ((𝑋𝑉𝐴𝑊) → ((𝑥𝑦𝑦 ∈ (𝑋t 𝐴)) ↔ (𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴))))
43exbidv 1850 . . . 4 ((𝑋𝑉𝐴𝑊) → (∃𝑦(𝑥𝑦𝑦 ∈ (𝑋t 𝐴)) ↔ ∃𝑦(𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴))))
5 eluni 4439 . . . . . . . 8 (𝑥 𝑋 ↔ ∃𝑧(𝑥𝑧𝑧𝑋))
65bicomi 214 . . . . . . 7 (∃𝑧(𝑥𝑧𝑧𝑋) ↔ 𝑥 𝑋)
76anbi1i 731 . . . . . 6 ((∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴) ↔ (𝑥 𝑋𝑥𝐴))
87a1i 11 . . . . 5 ((𝑋𝑉𝐴𝑊) → ((∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴) ↔ (𝑥 𝑋𝑥𝐴)))
9 df-rex 2918 . . . . . . . . 9 (∃𝑧𝑋 𝑦 = (𝑧𝐴) ↔ ∃𝑧(𝑧𝑋𝑦 = (𝑧𝐴)))
109anbi2i 730 . . . . . . . 8 ((𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ (𝑥𝑦 ∧ ∃𝑧(𝑧𝑋𝑦 = (𝑧𝐴))))
11 19.42v 1918 . . . . . . . . 9 (∃𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ (𝑥𝑦 ∧ ∃𝑧(𝑧𝑋𝑦 = (𝑧𝐴))))
1211bicomi 214 . . . . . . . 8 ((𝑥𝑦 ∧ ∃𝑧(𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ∃𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))))
1310, 12bitri 264 . . . . . . 7 ((𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ ∃𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))))
1413exbii 1774 . . . . . 6 (∃𝑦(𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ ∃𝑦𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))))
15 excom 2042 . . . . . 6 (∃𝑦𝑧(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ∃𝑧𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))))
16 an12 838 . . . . . . . . . 10 ((𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ (𝑧𝑋 ∧ (𝑥𝑦𝑦 = (𝑧𝐴))))
1716exbii 1774 . . . . . . . . 9 (∃𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ∃𝑦(𝑧𝑋 ∧ (𝑥𝑦𝑦 = (𝑧𝐴))))
18 19.42v 1918 . . . . . . . . 9 (∃𝑦(𝑧𝑋 ∧ (𝑥𝑦𝑦 = (𝑧𝐴))) ↔ (𝑧𝑋 ∧ ∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴))))
19 eqimss 3657 . . . . . . . . . . . . . . . 16 (𝑦 = (𝑧𝐴) → 𝑦 ⊆ (𝑧𝐴))
2019sseld 3602 . . . . . . . . . . . . . . 15 (𝑦 = (𝑧𝐴) → (𝑥𝑦𝑥 ∈ (𝑧𝐴)))
2120imdistanri 727 . . . . . . . . . . . . . 14 ((𝑥𝑦𝑦 = (𝑧𝐴)) → (𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)))
22 eqimss2 3658 . . . . . . . . . . . . . . . 16 (𝑦 = (𝑧𝐴) → (𝑧𝐴) ⊆ 𝑦)
2322sseld 3602 . . . . . . . . . . . . . . 15 (𝑦 = (𝑧𝐴) → (𝑥 ∈ (𝑧𝐴) → 𝑥𝑦))
2423imdistanri 727 . . . . . . . . . . . . . 14 ((𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)) → (𝑥𝑦𝑦 = (𝑧𝐴)))
2521, 24impbii 199 . . . . . . . . . . . . 13 ((𝑥𝑦𝑦 = (𝑧𝐴)) ↔ (𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)))
2625exbii 1774 . . . . . . . . . . . 12 (∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴)) ↔ ∃𝑦(𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)))
27 19.42v 1918 . . . . . . . . . . . 12 (∃𝑦(𝑥 ∈ (𝑧𝐴) ∧ 𝑦 = (𝑧𝐴)) ↔ (𝑥 ∈ (𝑧𝐴) ∧ ∃𝑦 𝑦 = (𝑧𝐴)))
28 vex 3203 . . . . . . . . . . . . . . . . 17 𝑧 ∈ V
2928inex1 4799 . . . . . . . . . . . . . . . 16 (𝑧𝐴) ∈ V
3029isseti 3209 . . . . . . . . . . . . . . 15 𝑦 𝑦 = (𝑧𝐴)
3130biantru 526 . . . . . . . . . . . . . 14 (𝑥 ∈ (𝑧𝐴) ↔ (𝑥 ∈ (𝑧𝐴) ∧ ∃𝑦 𝑦 = (𝑧𝐴)))
3231bicomi 214 . . . . . . . . . . . . 13 ((𝑥 ∈ (𝑧𝐴) ∧ ∃𝑦 𝑦 = (𝑧𝐴)) ↔ 𝑥 ∈ (𝑧𝐴))
33 elin 3796 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑧𝐴) ↔ (𝑥𝑧𝑥𝐴))
3432, 33bitri 264 . . . . . . . . . . . 12 ((𝑥 ∈ (𝑧𝐴) ∧ ∃𝑦 𝑦 = (𝑧𝐴)) ↔ (𝑥𝑧𝑥𝐴))
3526, 27, 343bitri 286 . . . . . . . . . . 11 (∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴)) ↔ (𝑥𝑧𝑥𝐴))
3635anbi2i 730 . . . . . . . . . 10 ((𝑧𝑋 ∧ ∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴))) ↔ (𝑧𝑋 ∧ (𝑥𝑧𝑥𝐴)))
37 biid 251 . . . . . . . . . . 11 ((𝑥𝑧𝑥𝐴) ↔ (𝑥𝑧𝑥𝐴))
3837bianass 842 . . . . . . . . . 10 ((𝑧𝑋 ∧ (𝑥𝑧𝑥𝐴)) ↔ ((𝑧𝑋𝑥𝑧) ∧ 𝑥𝐴))
39 ancom 466 . . . . . . . . . . 11 ((𝑧𝑋𝑥𝑧) ↔ (𝑥𝑧𝑧𝑋))
4039anbi1i 731 . . . . . . . . . 10 (((𝑧𝑋𝑥𝑧) ∧ 𝑥𝐴) ↔ ((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
4136, 38, 403bitri 286 . . . . . . . . 9 ((𝑧𝑋 ∧ ∃𝑦(𝑥𝑦𝑦 = (𝑧𝐴))) ↔ ((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
4217, 18, 413bitri 286 . . . . . . . 8 (∃𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
4342exbii 1774 . . . . . . 7 (∃𝑧𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ ∃𝑧((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
44 19.41v 1914 . . . . . . 7 (∃𝑧((𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴) ↔ (∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
4543, 44bitri 264 . . . . . 6 (∃𝑧𝑦(𝑥𝑦 ∧ (𝑧𝑋𝑦 = (𝑧𝐴))) ↔ (∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
4614, 15, 453bitri 286 . . . . 5 (∃𝑦(𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ (∃𝑧(𝑥𝑧𝑧𝑋) ∧ 𝑥𝐴))
47 elin 3796 . . . . 5 (𝑥 ∈ ( 𝑋𝐴) ↔ (𝑥 𝑋𝑥𝐴))
488, 46, 473bitr4g 303 . . . 4 ((𝑋𝑉𝐴𝑊) → (∃𝑦(𝑥𝑦 ∧ ∃𝑧𝑋 𝑦 = (𝑧𝐴)) ↔ 𝑥 ∈ ( 𝑋𝐴)))
494, 48bitrd 268 . . 3 ((𝑋𝑉𝐴𝑊) → (∃𝑦(𝑥𝑦𝑦 ∈ (𝑋t 𝐴)) ↔ 𝑥 ∈ ( 𝑋𝐴)))
501, 49syl5bb 272 . 2 ((𝑋𝑉𝐴𝑊) → (𝑥 (𝑋t 𝐴) ↔ 𝑥 ∈ ( 𝑋𝐴)))
5150eqrdv 2620 1 ((𝑋𝑉𝐴𝑊) → (𝑋t 𝐴) = ( 𝑋𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wex 1704  wcel 1990  wrex 2913  cin 3573   cuni 4436  (class class class)co 6650  t crest 16081
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-rest 16083
This theorem is referenced by:  bj-restuni2  33051
  Copyright terms: Public domain W3C validator