Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  disjabrex Structured version   Visualization version   GIF version

Theorem disjabrex 30822
Description: Rewriting a disjoint collection into a partition of its image set. (Contributed by Thierry Arnoux, 30-Dec-2016.)
Assertion
Ref Expression
disjabrex (Disj 𝑥𝐴 𝐵Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑦,𝐵,𝑧
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem disjabrex
Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfdisj1 5049 . . . 4 𝑥Disj 𝑥𝐴 𝐵
2 nfcv 2906 . . . . 5 𝑥𝑦
3 nfv 1918 . . . . . . . . . 10 𝑥 𝑖𝐴
4 nfcsb1v 3853 . . . . . . . . . . 11 𝑥𝑖 / 𝑥𝐵
54nfcri 2893 . . . . . . . . . 10 𝑥 𝑗𝑖 / 𝑥𝐵
63, 5nfan 1903 . . . . . . . . 9 𝑥(𝑖𝐴𝑗𝑖 / 𝑥𝐵)
76nfab 2912 . . . . . . . 8 𝑥{𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)}
87nfuni 4843 . . . . . . 7 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)}
98nfcsb1 3852 . . . . . 6 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵
109nfeq1 2921 . . . . 5 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦
112, 10nfralw 3149 . . . 4 𝑥𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦
12 eqeq2 2750 . . . . 5 (𝑦 = 𝐵 → ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵))
1312raleqbi1dv 3331 . . . 4 (𝑦 = 𝐵 → (∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦 ↔ ∀𝑗𝐵 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵))
14 vex 3426 . . . . 5 𝑦 ∈ V
1514a1i 11 . . . 4 (Disj 𝑥𝐴 𝐵𝑦 ∈ V)
16 simplll 771 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → Disj 𝑥𝐴 𝐵)
17 simpllr 772 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑥𝐴)
18 simprl 767 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑖𝐴)
19 simplr 765 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑗𝐵)
20 simprr 769 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑗𝑖 / 𝑥𝐵)
21 csbeq1a 3842 . . . . . . . . . . . . . 14 (𝑥 = 𝑖𝐵 = 𝑖 / 𝑥𝐵)
224, 21disjif 30818 . . . . . . . . . . . . 13 ((Disj 𝑥𝐴 𝐵 ∧ (𝑥𝐴𝑖𝐴) ∧ (𝑗𝐵𝑗𝑖 / 𝑥𝐵)) → 𝑥 = 𝑖)
2316, 17, 18, 19, 20, 22syl122anc 1377 . . . . . . . . . . . 12 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑥 = 𝑖)
24 simpr 484 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑥 = 𝑖)
25 simpllr 772 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑥𝐴)
2624, 25eqeltrrd 2840 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑖𝐴)
27 simplr 765 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑗𝐵)
2821eleq2d 2824 . . . . . . . . . . . . . . 15 (𝑥 = 𝑖 → (𝑗𝐵𝑗𝑖 / 𝑥𝐵))
2924, 28syl 17 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → (𝑗𝐵𝑗𝑖 / 𝑥𝐵))
3027, 29mpbid 231 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑗𝑖 / 𝑥𝐵)
3126, 30jca 511 . . . . . . . . . . . 12 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → (𝑖𝐴𝑗𝑖 / 𝑥𝐵))
3223, 31impbida 797 . . . . . . . . . . 11 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → ((𝑖𝐴𝑗𝑖 / 𝑥𝐵) ↔ 𝑥 = 𝑖))
33 equcom 2022 . . . . . . . . . . 11 (𝑥 = 𝑖𝑖 = 𝑥)
3432, 33bitrdi 286 . . . . . . . . . 10 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → ((𝑖𝐴𝑗𝑖 / 𝑥𝐵) ↔ 𝑖 = 𝑥))
3534abbidv 2808 . . . . . . . . 9 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑖𝑖 = 𝑥})
36 df-sn 4559 . . . . . . . . 9 {𝑥} = {𝑖𝑖 = 𝑥}
3735, 36eqtr4di 2797 . . . . . . . 8 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑥})
3837unieqd 4850 . . . . . . 7 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑥})
39 vex 3426 . . . . . . . 8 𝑥 ∈ V
4039unisn 4858 . . . . . . 7 {𝑥} = 𝑥
4138, 40eqtrdi 2795 . . . . . 6 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥)
42 csbeq1 3831 . . . . . . 7 ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑥 / 𝑥𝐵)
43 csbid 3841 . . . . . . 7 𝑥 / 𝑥𝐵 = 𝐵
4442, 43eqtrdi 2795 . . . . . 6 ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
4541, 44syl 17 . . . . 5 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
4645ralrimiva 3107 . . . 4 ((Disj 𝑥𝐴 𝐵𝑥𝐴) → ∀𝑗𝐵 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
471, 11, 13, 15, 46elabreximd 30756 . . 3 ((Disj 𝑥𝐴 𝐵𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}) → ∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦)
4847ralrimiva 3107 . 2 (Disj 𝑥𝐴 𝐵 → ∀𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦)
49 invdisj 5054 . 2 (∀𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
5048, 49syl 17 1 (Disj 𝑥𝐴 𝐵Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {cab 2715  wral 3063  wrex 3064  Vcvv 3422  csb 3828  {csn 4558   cuni 4836  Disj wdisj 5035
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-sn 4559  df-pr 4561  df-uni 4837  df-disj 5036
This theorem is referenced by:  disjrnmpt  30825
  Copyright terms: Public domain W3C validator