MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  f1mpt Structured version   Visualization version   GIF version

Theorem f1mpt 7115
Description: Express injection for a mapping operation. (Contributed by Mario Carneiro, 2-Jan-2017.)
Hypotheses
Ref Expression
f1mpt.1 𝐹 = (𝑥𝐴𝐶)
f1mpt.2 (𝑥 = 𝑦𝐶 = 𝐷)
Assertion
Ref Expression
f1mpt (𝐹:𝐴1-1𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑦,𝐶   𝑥,𝐷   𝑦,𝐹
Allowed substitution hints:   𝐶(𝑥)   𝐷(𝑦)   𝐹(𝑥)

Proof of Theorem f1mpt
StepHypRef Expression
1 f1mpt.1 . . . 4 𝐹 = (𝑥𝐴𝐶)
2 nfmpt1 5178 . . . 4 𝑥(𝑥𝐴𝐶)
31, 2nfcxfr 2904 . . 3 𝑥𝐹
4 nfcv 2906 . . 3 𝑦𝐹
53, 4dff13f 7110 . 2 (𝐹:𝐴1-1𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
61fmpt 6966 . . 3 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
76anbi1i 623 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)) ↔ (𝐹:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
8 f1mpt.2 . . . . . . 7 (𝑥 = 𝑦𝐶 = 𝐷)
98eleq1d 2823 . . . . . 6 (𝑥 = 𝑦 → (𝐶𝐵𝐷𝐵))
109cbvralvw 3372 . . . . 5 (∀𝑥𝐴 𝐶𝐵 ↔ ∀𝑦𝐴 𝐷𝐵)
11 raaanv 4449 . . . . . 6 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐴 𝐷𝐵))
121fvmpt2 6868 . . . . . . . . . . . . . 14 ((𝑥𝐴𝐶𝐵) → (𝐹𝑥) = 𝐶)
138, 1fvmptg 6855 . . . . . . . . . . . . . 14 ((𝑦𝐴𝐷𝐵) → (𝐹𝑦) = 𝐷)
1412, 13eqeqan12d 2752 . . . . . . . . . . . . 13 (((𝑥𝐴𝐶𝐵) ∧ (𝑦𝐴𝐷𝐵)) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝐶 = 𝐷))
1514an4s 656 . . . . . . . . . . . 12 (((𝑥𝐴𝑦𝐴) ∧ (𝐶𝐵𝐷𝐵)) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝐶 = 𝐷))
1615imbi1d 341 . . . . . . . . . . 11 (((𝑥𝐴𝑦𝐴) ∧ (𝐶𝐵𝐷𝐵)) → (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦)))
1716ex 412 . . . . . . . . . 10 ((𝑥𝐴𝑦𝐴) → ((𝐶𝐵𝐷𝐵) → (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦))))
1817ralimdva 3102 . . . . . . . . 9 (𝑥𝐴 → (∀𝑦𝐴 (𝐶𝐵𝐷𝐵) → ∀𝑦𝐴 (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦))))
19 ralbi 3092 . . . . . . . . 9 (∀𝑦𝐴 (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦)) → (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2018, 19syl6 35 . . . . . . . 8 (𝑥𝐴 → (∀𝑦𝐴 (𝐶𝐵𝐷𝐵) → (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦))))
2120ralimia 3084 . . . . . . 7 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) → ∀𝑥𝐴 (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
22 ralbi 3092 . . . . . . 7 (∀𝑥𝐴 (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2321, 22syl 17 . . . . . 6 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2411, 23sylbir 234 . . . . 5 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐴 𝐷𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2510, 24sylan2b 593 . . . 4 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴 𝐶𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2625anidms 566 . . 3 (∀𝑥𝐴 𝐶𝐵 → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2726pm5.32i 574 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)) ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
285, 7, 273bitr2i 298 1 (𝐹:𝐴1-1𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  cmpt 5153  wf 6414  1-1wf1 6415  cfv 6418
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-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-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:  ismon2  17363  isepi2  17370  uspgredg2v  27494  usgredg2v  27497  aciunf1lem  30901  fnpreimac  30910  disjf1  42609
  Copyright terms: Public domain W3C validator