ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  f1mpt GIF version

Theorem f1mpt 5739
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 4075 . . . 4 𝑥(𝑥𝐴𝐶)
31, 2nfcxfr 2305 . . 3 𝑥𝐹
4 nfcv 2308 . . 3 𝑦𝐹
53, 4dff13f 5738 . 2 (𝐹:𝐴1-1𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
61fmpt 5635 . . 3 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
76anbi1i 454 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)) ↔ (𝐹:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
8 f1mpt.2 . . . . . . 7 (𝑥 = 𝑦𝐶 = 𝐷)
98eleq1d 2235 . . . . . 6 (𝑥 = 𝑦 → (𝐶𝐵𝐷𝐵))
109cbvralv 2692 . . . . 5 (∀𝑥𝐴 𝐶𝐵 ↔ ∀𝑦𝐴 𝐷𝐵)
11 raaanv 3516 . . . . . 6 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐴 𝐷𝐵))
121fvmpt2 5569 . . . . . . . . . . . . . 14 ((𝑥𝐴𝐶𝐵) → (𝐹𝑥) = 𝐶)
138, 1fvmptg 5562 . . . . . . . . . . . . . 14 ((𝑦𝐴𝐷𝐵) → (𝐹𝑦) = 𝐷)
1412, 13eqeqan12d 2181 . . . . . . . . . . . . 13 (((𝑥𝐴𝐶𝐵) ∧ (𝑦𝐴𝐷𝐵)) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝐶 = 𝐷))
1514an4s 578 . . . . . . . . . . . 12 (((𝑥𝐴𝑦𝐴) ∧ (𝐶𝐵𝐷𝐵)) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝐶 = 𝐷))
1615imbi1d 230 . . . . . . . . . . 11 (((𝑥𝐴𝑦𝐴) ∧ (𝐶𝐵𝐷𝐵)) → (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦)))
1716ex 114 . . . . . . . . . 10 ((𝑥𝐴𝑦𝐴) → ((𝐶𝐵𝐷𝐵) → (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦))))
1817ralimdva 2533 . . . . . . . . 9 (𝑥𝐴 → (∀𝑦𝐴 (𝐶𝐵𝐷𝐵) → ∀𝑦𝐴 (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦))))
19 ralbi 2598 . . . . . . . . 9 (∀𝑦𝐴 (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦)) → (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2018, 19syl6 33 . . . . . . . 8 (𝑥𝐴 → (∀𝑦𝐴 (𝐶𝐵𝐷𝐵) → (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦))))
2120ralimia 2527 . . . . . . 7 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) → ∀𝑥𝐴 (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
22 ralbi 2598 . . . . . . 7 (∀𝑥𝐴 (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2321, 22syl 14 . . . . . 6 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2411, 23sylbir 134 . . . . 5 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐴 𝐷𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2510, 24sylan2b 285 . . . 4 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴 𝐶𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2625anidms 395 . . 3 (∀𝑥𝐴 𝐶𝐵 → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2726pm5.32i 450 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)) ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
285, 7, 273bitr2i 207 1 (𝐹:𝐴1-1𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1343  wcel 2136  wral 2444  cmpt 4043  wf 5184  1-1wf1 5185  cfv 5188
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fv 5196
This theorem is referenced by:  1domsn  6785  difinfsnlem  7064
  Copyright terms: Public domain W3C validator