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 29717
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 4821 . . . 4 𝑥Disj 𝑥𝐴 𝐵
2 nfcv 2947 . . . . 5 𝑥𝑦
3 nfv 2008 . . . . . . . . . 10 𝑥 𝑖𝐴
4 nfcsb1v 3741 . . . . . . . . . . 11 𝑥𝑖 / 𝑥𝐵
54nfcri 2941 . . . . . . . . . 10 𝑥 𝑗𝑖 / 𝑥𝐵
63, 5nfan 1993 . . . . . . . . 9 𝑥(𝑖𝐴𝑗𝑖 / 𝑥𝐵)
76nfab 2952 . . . . . . . 8 𝑥{𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)}
87nfuni 4632 . . . . . . 7 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)}
98nfcsb1 3740 . . . . . 6 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵
109nfeq1 2961 . . . . 5 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦
112, 10nfral 3132 . . . 4 𝑥𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦
12 eqeq2 2816 . . . . 5 (𝑦 = 𝐵 → ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵))
1312raleqbi1dv 3334 . . . 4 (𝑦 = 𝐵 → (∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦 ↔ ∀𝑗𝐵 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵))
14 vex 3393 . . . . 5 𝑦 ∈ V
1514a1i 11 . . . 4 (Disj 𝑥𝐴 𝐵𝑦 ∈ V)
16 simplll 782 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → Disj 𝑥𝐴 𝐵)
17 simpllr 784 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑥𝐴)
18 simprl 778 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑖𝐴)
19 simplr 776 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑗𝐵)
20 simprr 780 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑗𝑖 / 𝑥𝐵)
21 csbeq1a 3734 . . . . . . . . . . . . . 14 (𝑥 = 𝑖𝐵 = 𝑖 / 𝑥𝐵)
224, 21disjif 29713 . . . . . . . . . . . . 13 ((Disj 𝑥𝐴 𝐵 ∧ (𝑥𝐴𝑖𝐴) ∧ (𝑗𝐵𝑗𝑖 / 𝑥𝐵)) → 𝑥 = 𝑖)
2316, 17, 18, 19, 20, 22syl122anc 1491 . . . . . . . . . . . 12 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑥 = 𝑖)
24 simpr 473 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑥 = 𝑖)
25 simpllr 784 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑥𝐴)
2624, 25eqeltrrd 2885 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑖𝐴)
27 simplr 776 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑗𝐵)
2821eleq2d 2870 . . . . . . . . . . . . . . 15 (𝑥 = 𝑖 → (𝑗𝐵𝑗𝑖 / 𝑥𝐵))
2924, 28syl 17 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → (𝑗𝐵𝑗𝑖 / 𝑥𝐵))
3027, 29mpbid 223 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑗𝑖 / 𝑥𝐵)
3126, 30jca 503 . . . . . . . . . . . 12 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → (𝑖𝐴𝑗𝑖 / 𝑥𝐵))
3223, 31impbida 826 . . . . . . . . . . 11 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → ((𝑖𝐴𝑗𝑖 / 𝑥𝐵) ↔ 𝑥 = 𝑖))
33 equcom 2116 . . . . . . . . . . 11 (𝑥 = 𝑖𝑖 = 𝑥)
3432, 33syl6bb 278 . . . . . . . . . 10 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → ((𝑖𝐴𝑗𝑖 / 𝑥𝐵) ↔ 𝑖 = 𝑥))
3534abbidv 2924 . . . . . . . . 9 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑖𝑖 = 𝑥})
36 df-sn 4368 . . . . . . . . 9 {𝑥} = {𝑖𝑖 = 𝑥}
3735, 36syl6eqr 2857 . . . . . . . 8 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑥})
3837unieqd 4636 . . . . . . 7 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑥})
39 vex 3393 . . . . . . . 8 𝑥 ∈ V
4039unisn 4642 . . . . . . 7 {𝑥} = 𝑥
4138, 40syl6eq 2855 . . . . . 6 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥)
42 csbeq1 3728 . . . . . . 7 ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑥 / 𝑥𝐵)
43 csbid 3733 . . . . . . 7 𝑥 / 𝑥𝐵 = 𝐵
4442, 43syl6eq 2855 . . . . . 6 ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
4541, 44syl 17 . . . . 5 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
4645ralrimiva 3153 . . . 4 ((Disj 𝑥𝐴 𝐵𝑥𝐴) → ∀𝑗𝐵 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
471, 11, 13, 15, 46elabreximd 29670 . . 3 ((Disj 𝑥𝐴 𝐵𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}) → ∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦)
4847ralrimiva 3153 . 2 (Disj 𝑥𝐴 𝐵 → ∀𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦)
49 invdisj 4826 . 2 (∀𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
5048, 49syl 17 1 (Disj 𝑥𝐴 𝐵Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384   = wceq 1637  wcel 2158  {cab 2791  wral 3095  wrex 3096  Vcvv 3390  csb 3725  {csn 4367   cuni 4626  Disj wdisj 4808
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1880  ax-4 1897  ax-5 2004  ax-6 2070  ax-7 2106  ax-9 2167  ax-10 2187  ax-11 2203  ax-12 2216  ax-13 2422  ax-ext 2784
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1865  df-sb 2063  df-eu 2636  df-mo 2637  df-clab 2792  df-cleq 2798  df-clel 2801  df-nfc 2936  df-ne 2978  df-ral 3100  df-rex 3101  df-reu 3102  df-rmo 3103  df-v 3392  df-sbc 3631  df-csb 3726  df-dif 3769  df-un 3771  df-in 3773  df-nul 4114  df-sn 4368  df-pr 4370  df-uni 4627  df-disj 4809
This theorem is referenced by:  disjrnmpt  29720
  Copyright terms: Public domain W3C validator