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

Theorem disjabrexf 30434
Description: Rewriting a disjoint collection into a partition of its image set. (Contributed by Thierry Arnoux, 30-Dec-2016.) (Revised by Thierry Arnoux, 9-Mar-2017.)
Hypothesis
Ref Expression
disjabrexf.1 𝑥𝐴
Assertion
Ref Expression
disjabrexf (Disj 𝑥𝐴 𝐵Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
Distinct variable groups:   𝑥,𝑦,𝑧   𝑦,𝐴,𝑧   𝑦,𝐵,𝑧
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)

Proof of Theorem disjabrexf
Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfdisj1 5009 . . . 4 𝑥Disj 𝑥𝐴 𝐵
2 nfcv 2920 . . . . 5 𝑥𝑦
3 disjabrexf.1 . . . . . . . . . . 11 𝑥𝐴
43nfcri 2907 . . . . . . . . . 10 𝑥 𝑖𝐴
5 nfcsb1v 3830 . . . . . . . . . . 11 𝑥𝑖 / 𝑥𝐵
65nfcri 2907 . . . . . . . . . 10 𝑥 𝑗𝑖 / 𝑥𝐵
74, 6nfan 1901 . . . . . . . . 9 𝑥(𝑖𝐴𝑗𝑖 / 𝑥𝐵)
87nfab 2926 . . . . . . . 8 𝑥{𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)}
98nfuni 4803 . . . . . . 7 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)}
109nfcsb1 3829 . . . . . 6 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵
1110nfeq1 2935 . . . . 5 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦
122, 11nfralw 3154 . . . 4 𝑥𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦
13 eqeq2 2771 . . . . 5 (𝑦 = 𝐵 → ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵))
1413raleqbi1dv 3322 . . . 4 (𝑦 = 𝐵 → (∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦 ↔ ∀𝑗𝐵 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵))
15 vex 3414 . . . . 5 𝑦 ∈ V
1615a1i 11 . . . 4 (Disj 𝑥𝐴 𝐵𝑦 ∈ V)
17 simplll 775 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → Disj 𝑥𝐴 𝐵)
18 simpllr 776 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑥𝐴)
19 simprl 771 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑖𝐴)
20 simplr 769 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑗𝐵)
21 simprr 773 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑗𝑖 / 𝑥𝐵)
22 csbeq1a 3820 . . . . . . . . . . . . . 14 (𝑥 = 𝑖𝐵 = 𝑖 / 𝑥𝐵)
233, 5, 22disjif2 30432 . . . . . . . . . . . . 13 ((Disj 𝑥𝐴 𝐵 ∧ (𝑥𝐴𝑖𝐴) ∧ (𝑗𝐵𝑗𝑖 / 𝑥𝐵)) → 𝑥 = 𝑖)
2417, 18, 19, 20, 21, 23syl122anc 1377 . . . . . . . . . . . 12 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)) → 𝑥 = 𝑖)
25 simpr 489 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑥 = 𝑖)
26 simpllr 776 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑥𝐴)
2725, 26eqeltrrd 2854 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑖𝐴)
28 simplr 769 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑗𝐵)
2922eleq2d 2838 . . . . . . . . . . . . . . 15 (𝑥 = 𝑖 → (𝑗𝐵𝑗𝑖 / 𝑥𝐵))
3025, 29syl 17 . . . . . . . . . . . . . 14 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → (𝑗𝐵𝑗𝑖 / 𝑥𝐵))
3128, 30mpbid 235 . . . . . . . . . . . . 13 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → 𝑗𝑖 / 𝑥𝐵)
3227, 31jca 516 . . . . . . . . . . . 12 ((((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) ∧ 𝑥 = 𝑖) → (𝑖𝐴𝑗𝑖 / 𝑥𝐵))
3324, 32impbida 801 . . . . . . . . . . 11 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → ((𝑖𝐴𝑗𝑖 / 𝑥𝐵) ↔ 𝑥 = 𝑖))
34 equcom 2026 . . . . . . . . . . 11 (𝑥 = 𝑖𝑖 = 𝑥)
3533, 34syl6bb 291 . . . . . . . . . 10 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → ((𝑖𝐴𝑗𝑖 / 𝑥𝐵) ↔ 𝑖 = 𝑥))
3635abbidv 2823 . . . . . . . . 9 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑖𝑖 = 𝑥})
37 df-sn 4521 . . . . . . . . 9 {𝑥} = {𝑖𝑖 = 𝑥}
3836, 37eqtr4di 2812 . . . . . . . 8 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑥})
3938unieqd 4810 . . . . . . 7 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = {𝑥})
40 vex 3414 . . . . . . . 8 𝑥 ∈ V
4140unisn 4818 . . . . . . 7 {𝑥} = 𝑥
4239, 41eqtrdi 2810 . . . . . 6 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥)
43 csbeq1 3809 . . . . . . 7 ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑥 / 𝑥𝐵)
44 csbid 3819 . . . . . . 7 𝑥 / 𝑥𝐵 = 𝐵
4543, 44eqtrdi 2810 . . . . . 6 ( {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} = 𝑥 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
4642, 45syl 17 . . . . 5 (((Disj 𝑥𝐴 𝐵𝑥𝐴) ∧ 𝑗𝐵) → {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
4746ralrimiva 3114 . . . 4 ((Disj 𝑥𝐴 𝐵𝑥𝐴) → ∀𝑗𝐵 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝐵)
481, 12, 14, 16, 47elabreximd 30367 . . 3 ((Disj 𝑥𝐴 𝐵𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}) → ∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦)
4948ralrimiva 3114 . 2 (Disj 𝑥𝐴 𝐵 → ∀𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦)
50 invdisj 5014 . 2 (∀𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}∀𝑗𝑦 {𝑖 ∣ (𝑖𝐴𝑗𝑖 / 𝑥𝐵)} / 𝑥𝐵 = 𝑦Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
5149, 50syl 17 1 (Disj 𝑥𝐴 𝐵Disj 𝑦 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}𝑦)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400   = wceq 1539  wcel 2112  {cab 2736  wnfc 2900  wral 3071  wrex 3072  Vcvv 3410  csb 3806  {csn 4520   cuni 4796  Disj wdisj 4995
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 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2730
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 846  df-3an 1087  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2071  df-mo 2558  df-clab 2737  df-cleq 2751  df-clel 2831  df-nfc 2902  df-ne 2953  df-ral 3076  df-rex 3077  df-rmo 3079  df-rab 3080  df-v 3412  df-sbc 3698  df-csb 3807  df-dif 3862  df-un 3864  df-in 3866  df-ss 3876  df-nul 4227  df-sn 4521  df-pr 4523  df-uni 4797  df-disj 4996
This theorem is referenced by:  measvunilem  31689
  Copyright terms: Public domain W3C validator