Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  disjf1 Structured version   Visualization version   GIF version

Theorem disjf1 42609
Description: A 1 to 1 mapping built from disjoint, nonempty sets. (Contributed by Glauco Siliprandi, 17-Aug-2020.)
Hypotheses
Ref Expression
disjf1.xph 𝑥𝜑
disjf1.f 𝐹 = (𝑥𝐴𝐵)
disjf1.b ((𝜑𝑥𝐴) → 𝐵𝑉)
disjf1.n0 ((𝜑𝑥𝐴) → 𝐵 ≠ ∅)
disjf1.dj (𝜑Disj 𝑥𝐴 𝐵)
Assertion
Ref Expression
disjf1 (𝜑𝐹:𝐴1-1𝑉)
Distinct variable groups:   𝑥,𝐴   𝑥,𝑉
Allowed substitution hints:   𝜑(𝑥)   𝐵(𝑥)   𝐹(𝑥)

Proof of Theorem disjf1
Dummy variables 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 disjf1.xph . . . . . . 7 𝑥𝜑
2 nfv 1918 . . . . . . 7 𝑥 𝑦𝐴
31, 2nfan 1903 . . . . . 6 𝑥(𝜑𝑦𝐴)
4 nfcsb1v 3853 . . . . . . 7 𝑥𝑦 / 𝑥𝐵
5 nfcv 2906 . . . . . . 7 𝑥𝑉
64, 5nfel 2920 . . . . . 6 𝑥𝑦 / 𝑥𝐵𝑉
73, 6nfim 1900 . . . . 5 𝑥((𝜑𝑦𝐴) → 𝑦 / 𝑥𝐵𝑉)
8 eleq1w 2821 . . . . . . 7 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
98anbi2d 628 . . . . . 6 (𝑥 = 𝑦 → ((𝜑𝑥𝐴) ↔ (𝜑𝑦𝐴)))
10 csbeq1a 3842 . . . . . . 7 (𝑥 = 𝑦𝐵 = 𝑦 / 𝑥𝐵)
1110eleq1d 2823 . . . . . 6 (𝑥 = 𝑦 → (𝐵𝑉𝑦 / 𝑥𝐵𝑉))
129, 11imbi12d 344 . . . . 5 (𝑥 = 𝑦 → (((𝜑𝑥𝐴) → 𝐵𝑉) ↔ ((𝜑𝑦𝐴) → 𝑦 / 𝑥𝐵𝑉)))
13 disjf1.b . . . . 5 ((𝜑𝑥𝐴) → 𝐵𝑉)
147, 12, 13chvarfv 2236 . . . 4 ((𝜑𝑦𝐴) → 𝑦 / 𝑥𝐵𝑉)
1514ralrimiva 3107 . . 3 (𝜑 → ∀𝑦𝐴 𝑦 / 𝑥𝐵𝑉)
16 inidm 4149 . . . . . . . . 9 (𝑦 / 𝑥𝐵𝑦 / 𝑥𝐵) = 𝑦 / 𝑥𝐵
1716eqcomi 2747 . . . . . . . 8 𝑦 / 𝑥𝐵 = (𝑦 / 𝑥𝐵𝑦 / 𝑥𝐵)
1817a1i 11 . . . . . . 7 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → 𝑦 / 𝑥𝐵 = (𝑦 / 𝑥𝐵𝑦 / 𝑥𝐵))
19 ineq2 4137 . . . . . . . 8 (𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵 → (𝑦 / 𝑥𝐵𝑦 / 𝑥𝐵) = (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵))
2019ad2antlr 723 . . . . . . 7 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → (𝑦 / 𝑥𝐵𝑦 / 𝑥𝐵) = (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵))
21 disjf1.dj . . . . . . . . . 10 (𝜑Disj 𝑥𝐴 𝐵)
22 nfcv 2906 . . . . . . . . . . 11 𝑤𝐵
23 nfcsb1v 3853 . . . . . . . . . . 11 𝑥𝑤 / 𝑥𝐵
24 csbeq1a 3842 . . . . . . . . . . 11 (𝑥 = 𝑤𝐵 = 𝑤 / 𝑥𝐵)
2522, 23, 24cbvdisj 5045 . . . . . . . . . 10 (Disj 𝑥𝐴 𝐵Disj 𝑤𝐴 𝑤 / 𝑥𝐵)
2621, 25sylib 217 . . . . . . . . 9 (𝜑Disj 𝑤𝐴 𝑤 / 𝑥𝐵)
2726ad3antrrr 726 . . . . . . . 8 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → Disj 𝑤𝐴 𝑤 / 𝑥𝐵)
28 simpllr 772 . . . . . . . 8 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → (𝑦𝐴𝑧𝐴))
29 neqne 2950 . . . . . . . . 9 𝑦 = 𝑧𝑦𝑧)
3029adantl 481 . . . . . . . 8 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → 𝑦𝑧)
31 csbeq1 3831 . . . . . . . . 9 (𝑤 = 𝑦𝑤 / 𝑥𝐵 = 𝑦 / 𝑥𝐵)
32 csbeq1 3831 . . . . . . . . 9 (𝑤 = 𝑧𝑤 / 𝑥𝐵 = 𝑧 / 𝑥𝐵)
3331, 32disji2 5052 . . . . . . . 8 ((Disj 𝑤𝐴 𝑤 / 𝑥𝐵 ∧ (𝑦𝐴𝑧𝐴) ∧ 𝑦𝑧) → (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅)
3427, 28, 30, 33syl3anc 1369 . . . . . . 7 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅)
3518, 20, 343eqtrd 2782 . . . . . 6 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → 𝑦 / 𝑥𝐵 = ∅)
36 nfcv 2906 . . . . . . . . . . . 12 𝑥
374, 36nfne 3044 . . . . . . . . . . 11 𝑥𝑦 / 𝑥𝐵 ≠ ∅
383, 37nfim 1900 . . . . . . . . . 10 𝑥((𝜑𝑦𝐴) → 𝑦 / 𝑥𝐵 ≠ ∅)
3910neeq1d 3002 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝐵 ≠ ∅ ↔ 𝑦 / 𝑥𝐵 ≠ ∅))
409, 39imbi12d 344 . . . . . . . . . 10 (𝑥 = 𝑦 → (((𝜑𝑥𝐴) → 𝐵 ≠ ∅) ↔ ((𝜑𝑦𝐴) → 𝑦 / 𝑥𝐵 ≠ ∅)))
41 disjf1.n0 . . . . . . . . . 10 ((𝜑𝑥𝐴) → 𝐵 ≠ ∅)
4238, 40, 41chvarfv 2236 . . . . . . . . 9 ((𝜑𝑦𝐴) → 𝑦 / 𝑥𝐵 ≠ ∅)
4342adantrr 713 . . . . . . . 8 ((𝜑 ∧ (𝑦𝐴𝑧𝐴)) → 𝑦 / 𝑥𝐵 ≠ ∅)
4443ad2antrr 722 . . . . . . 7 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → 𝑦 / 𝑥𝐵 ≠ ∅)
4544neneqd 2947 . . . . . 6 ((((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) ∧ ¬ 𝑦 = 𝑧) → ¬ 𝑦 / 𝑥𝐵 = ∅)
4635, 45condan 814 . . . . 5 (((𝜑 ∧ (𝑦𝐴𝑧𝐴)) ∧ 𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵) → 𝑦 = 𝑧)
4746ex 412 . . . 4 ((𝜑 ∧ (𝑦𝐴𝑧𝐴)) → (𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵𝑦 = 𝑧))
4847ralrimivva 3114 . . 3 (𝜑 → ∀𝑦𝐴𝑧𝐴 (𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵𝑦 = 𝑧))
4915, 48jca 511 . 2 (𝜑 → (∀𝑦𝐴 𝑦 / 𝑥𝐵𝑉 ∧ ∀𝑦𝐴𝑧𝐴 (𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵𝑦 = 𝑧)))
50 disjf1.f . . . 4 𝐹 = (𝑥𝐴𝐵)
51 nfcv 2906 . . . . 5 𝑦𝐵
5251, 4, 10cbvmpt 5181 . . . 4 (𝑥𝐴𝐵) = (𝑦𝐴𝑦 / 𝑥𝐵)
5350, 52eqtri 2766 . . 3 𝐹 = (𝑦𝐴𝑦 / 𝑥𝐵)
54 csbeq1 3831 . . 3 (𝑦 = 𝑧𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵)
5553, 54f1mpt 7115 . 2 (𝐹:𝐴1-1𝑉 ↔ (∀𝑦𝐴 𝑦 / 𝑥𝐵𝑉 ∧ ∀𝑦𝐴𝑧𝐴 (𝑦 / 𝑥𝐵 = 𝑧 / 𝑥𝐵𝑦 = 𝑧)))
5649, 55sylibr 233 1 (𝜑𝐹:𝐴1-1𝑉)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1539  wnf 1787  wcel 2108  wne 2942  wral 3063  csb 3828  cin 3882  c0 4253  Disj wdisj 5035  cmpt 5153  1-1wf1 6415
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  ax-sep 5218  ax-nul 5225  ax-pr 5347
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-eu 2569  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-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-disj 5036  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fv 6426
This theorem is referenced by:  disjf1o  42618  meadjiunlem  43893
  Copyright terms: Public domain W3C validator