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

Theorem f1mpt 5750
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 4082 . . . 4 𝑥(𝑥𝐴𝐶)
31, 2nfcxfr 2309 . . 3 𝑥𝐹
4 nfcv 2312 . . 3 𝑦𝐹
53, 4dff13f 5749 . 2 (𝐹:𝐴1-1𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
61fmpt 5646 . . 3 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
76anbi1i 455 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)) ↔ (𝐹:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
8 f1mpt.2 . . . . . . 7 (𝑥 = 𝑦𝐶 = 𝐷)
98eleq1d 2239 . . . . . 6 (𝑥 = 𝑦 → (𝐶𝐵𝐷𝐵))
109cbvralv 2696 . . . . 5 (∀𝑥𝐴 𝐶𝐵 ↔ ∀𝑦𝐴 𝐷𝐵)
11 raaanv 3522 . . . . . 6 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐴 𝐷𝐵))
121fvmpt2 5579 . . . . . . . . . . . . . 14 ((𝑥𝐴𝐶𝐵) → (𝐹𝑥) = 𝐶)
138, 1fvmptg 5572 . . . . . . . . . . . . . 14 ((𝑦𝐴𝐷𝐵) → (𝐹𝑦) = 𝐷)
1412, 13eqeqan12d 2186 . . . . . . . . . . . . 13 (((𝑥𝐴𝐶𝐵) ∧ (𝑦𝐴𝐷𝐵)) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝐶 = 𝐷))
1514an4s 583 . . . . . . . . . . . 12 (((𝑥𝐴𝑦𝐴) ∧ (𝐶𝐵𝐷𝐵)) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝐶 = 𝐷))
1615imbi1d 230 . . . . . . . . . . 11 (((𝑥𝐴𝑦𝐴) ∧ (𝐶𝐵𝐷𝐵)) → (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦)))
1716ex 114 . . . . . . . . . 10 ((𝑥𝐴𝑦𝐴) → ((𝐶𝐵𝐷𝐵) → (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦))))
1817ralimdva 2537 . . . . . . . . 9 (𝑥𝐴 → (∀𝑦𝐴 (𝐶𝐵𝐷𝐵) → ∀𝑦𝐴 (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦))))
19 ralbi 2602 . . . . . . . . 9 (∀𝑦𝐴 (((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ (𝐶 = 𝐷𝑥 = 𝑦)) → (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2018, 19syl6 33 . . . . . . . 8 (𝑥𝐴 → (∀𝑦𝐴 (𝐶𝐵𝐷𝐵) → (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦))))
2120ralimia 2531 . . . . . . 7 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) → ∀𝑥𝐴 (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
22 ralbi 2602 . . . . . . 7 (∀𝑥𝐴 (∀𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2321, 22syl 14 . . . . . 6 (∀𝑥𝐴𝑦𝐴 (𝐶𝐵𝐷𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2411, 23sylbir 134 . . . . 5 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐴 𝐷𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2510, 24sylan2b 285 . . . 4 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴 𝐶𝐵) → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2625anidms 395 . . 3 (∀𝑥𝐴 𝐶𝐵 → (∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦) ↔ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
2726pm5.32i 451 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)) ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
285, 7, 273bitr2i 207 1 (𝐹:𝐴1-1𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝐶 = 𝐷𝑥 = 𝑦)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1348  wcel 2141  wral 2448  cmpt 4050  wf 5194  1-1wf1 5195  cfv 5198
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 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fv 5206
This theorem is referenced by:  1domsn  6797  difinfsnlem  7076
  Copyright terms: Public domain W3C validator