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 29623
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 4741 . . . 4 𝑥Disj 𝑥𝐴 𝐵
2 nfcv 2866 . . . . 5 𝑥𝑦
3 nfv 1956 . . . . . . . . . 10 𝑥 𝑖𝐴
4 nfcsb1v 3655 . . . . . . . . . . 11 𝑥𝑖 / 𝑥𝐵
54nfcri 2860 . . . . . . . . . 10 𝑥 𝑗𝑖 / 𝑥𝐵
63, 5nfan 1941 . . . . . . . . 9 𝑥(𝑖𝐴𝑗𝑖 / 𝑥𝐵)
76nfab 2871 . . . . . . . 8 𝑥{𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)}
87nfuni 4550 . . . . . . 7 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)}
98nfcsb1 3654 . . . . . 6 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵
109nfeq1 2880 . . . . 5 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦
112, 10nfral 3047 . . . 4 𝑥𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦
12 eqeq2 2735 . . . . 5 (𝑦 = 𝐵 → ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵))
1312raleqbi1dv 3249 . . . 4 (𝑦 = 𝐵 → (∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦 ↔ ∀𝑗𝐵 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵))
14 vex 3307 . . . . 5 𝑦 ∈ V
1514a1i 11 . . . 4 (Disj 𝑥𝐴 𝐵𝑦 ∈ V)
16 simplll 815 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → Disj 𝑥𝐴 𝐵)
17 simpllr 817 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑥𝐴)
18 simprl 811 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑖𝐴)
19 simplr 809 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑗𝐵)
20 simprr 813 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑗𝑖 / 𝑥𝐵)
21 csbeq1a 3648 . . . . . . . . . . . . . 14 (𝑥 = 𝑖𝐵 = 𝑖 / 𝑥𝐵)
224, 21disjif 29619 . . . . . . . . . . . . 13 ((Disj 𝑥𝐴 𝐵 ∧ (𝑥𝐴𝑖𝐴) ∧ (𝑗𝐵𝑗𝑖 / 𝑥𝐵)) → 𝑥 = 𝑖)
2316, 17, 18, 19, 20, 22syl122anc 1448 . . . . . . . . . . . 12 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑥 = 𝑖)
24 simpr 479 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑥 = 𝑖)
25 simpllr 817 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑥𝐴)
2624, 25eqeltrrd 2804 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑖𝐴)
27 simplr 809 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑗𝐵)
2821eleq2d 2789 . . . . . . . . . . . . . . 15 (𝑥 = 𝑖 → (𝑗𝐵𝑗𝑖 / 𝑥𝐵))
2924, 28syl 17 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → (𝑗𝐵𝑗𝑖 / 𝑥𝐵))
3027, 29mpbid 222 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑗𝑖 / 𝑥𝐵)
3126, 30jca 555 . . . . . . . . . . . 12 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → (𝑖𝐴𝑗𝑖 / 𝑥𝐵))
3223, 31impbida 913 . . . . . . . . . . 11 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → ((𝑖𝐴𝑗𝑖 / 𝑥𝐵) ↔ 𝑥 = 𝑖))
33 equcom 2064 . . . . . . . . . . 11 (𝑥 = 𝑖𝑖 = 𝑥)
3432, 33syl6bb 276 . . . . . . . . . 10 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → ((𝑖𝐴𝑗𝑖 / 𝑥𝐵) ↔ 𝑖 = 𝑥))
3534abbidv 2843 . . . . . . . . 9 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑖𝑖 = 𝑥})
36 df-sn 4286 . . . . . . . . 9 {𝑥} = {𝑖𝑖 = 𝑥}
3735, 36syl6eqr 2776 . . . . . . . 8 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑥})
3837unieqd 4554 . . . . . . 7 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑥})
39 vex 3307 . . . . . . . 8 𝑥 ∈ V
4039unisn 4559 . . . . . . 7 {𝑥} = 𝑥
4138, 40syl6eq 2774 . . . . . 6 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥)
42 csbeq1 3642 . . . . . . 7 ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑥 / 𝑥𝐵)
43 csbid 3647 . . . . . . 7 𝑥 / 𝑥𝐵 = 𝐵
4442, 43syl6eq 2774 . . . . . 6 ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
4541, 44syl 17 . . . . 5 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
4645ralrimiva 3068 . . . 4 ((Disj 𝑥𝐴 𝐵𝑥𝐴) → ∀𝑗𝐵 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
471, 11, 13, 15, 46elabreximd 29576 . . 3 ((Disj 𝑥𝐴 𝐵𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}) → ∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦)
4847ralrimiva 3068 . 2 (Disj 𝑥𝐴 𝐵 → ∀𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦)
49 invdisj 4746 . 2 (∀𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
5048, 49syl 17 1 (Disj 𝑥𝐴 𝐵Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1596  wcel 2103  {cab 2710  wral 3014  wrex 3015  Vcvv 3304  csb 3639  {csn 4285   cuni 4544  Disj wdisj 4728
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1835  ax-4 1850  ax-5 1952  ax-6 2018  ax-7 2054  ax-9 2112  ax-10 2132  ax-11 2147  ax-12 2160  ax-13 2355  ax-ext 2704
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1599  df-ex 1818  df-nf 1823  df-sb 2011  df-eu 2575  df-mo 2576  df-clab 2711  df-cleq 2717  df-clel 2720  df-nfc 2855  df-ne 2897  df-ral 3019  df-rex 3020  df-reu 3021  df-rmo 3022  df-v 3306  df-sbc 3542  df-csb 3640  df-dif 3683  df-un 3685  df-in 3687  df-nul 4024  df-sn 4286  df-pr 4288  df-uni 4545  df-disj 4729
This theorem is referenced by:  disjrnmpt  29626
  Copyright terms: Public domain W3C validator