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

Theorem 2f1fvneq 7029
Description: If two one-to-one functions are applied on different arguments, also the values are different. (Contributed by Alexander van der Vekens, 25-Jan-2018.)
Assertion
Ref Expression
2f1fvneq (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → (((𝐸‘(𝐹𝐴)) = 𝑋 ∧ (𝐸‘(𝐹𝐵)) = 𝑌) → 𝑋𝑌))

Proof of Theorem 2f1fvneq
StepHypRef Expression
1 f1veqaeq 7026 . . . . 5 ((𝐹:𝐶1-1𝐷 ∧ (𝐴𝐶𝐵𝐶)) → ((𝐹𝐴) = (𝐹𝐵) → 𝐴 = 𝐵))
21adantll 714 . . . 4 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶)) → ((𝐹𝐴) = (𝐹𝐵) → 𝐴 = 𝐵))
32necon3ad 2947 . . 3 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶)) → (𝐴𝐵 → ¬ (𝐹𝐴) = (𝐹𝐵)))
433impia 1118 . 2 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → ¬ (𝐹𝐴) = (𝐹𝐵))
5 simpll 767 . . . . . . 7 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶)) → 𝐸:𝐷1-1𝑅)
6 f1f 6574 . . . . . . . . . 10 (𝐹:𝐶1-1𝐷𝐹:𝐶𝐷)
7 ffvelrn 6859 . . . . . . . . . . . 12 ((𝐹:𝐶𝐷𝐴𝐶) → (𝐹𝐴) ∈ 𝐷)
8 ffvelrn 6859 . . . . . . . . . . . 12 ((𝐹:𝐶𝐷𝐵𝐶) → (𝐹𝐵) ∈ 𝐷)
97, 8anim12dan 622 . . . . . . . . . . 11 ((𝐹:𝐶𝐷 ∧ (𝐴𝐶𝐵𝐶)) → ((𝐹𝐴) ∈ 𝐷 ∧ (𝐹𝐵) ∈ 𝐷))
109ex 416 . . . . . . . . . 10 (𝐹:𝐶𝐷 → ((𝐴𝐶𝐵𝐶) → ((𝐹𝐴) ∈ 𝐷 ∧ (𝐹𝐵) ∈ 𝐷)))
116, 10syl 17 . . . . . . . . 9 (𝐹:𝐶1-1𝐷 → ((𝐴𝐶𝐵𝐶) → ((𝐹𝐴) ∈ 𝐷 ∧ (𝐹𝐵) ∈ 𝐷)))
1211adantl 485 . . . . . . . 8 ((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) → ((𝐴𝐶𝐵𝐶) → ((𝐹𝐴) ∈ 𝐷 ∧ (𝐹𝐵) ∈ 𝐷)))
1312imp 410 . . . . . . 7 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶)) → ((𝐹𝐴) ∈ 𝐷 ∧ (𝐹𝐵) ∈ 𝐷))
14 f1veqaeq 7026 . . . . . . 7 ((𝐸:𝐷1-1𝑅 ∧ ((𝐹𝐴) ∈ 𝐷 ∧ (𝐹𝐵) ∈ 𝐷)) → ((𝐸‘(𝐹𝐴)) = (𝐸‘(𝐹𝐵)) → (𝐹𝐴) = (𝐹𝐵)))
155, 13, 14syl2anc 587 . . . . . 6 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶)) → ((𝐸‘(𝐹𝐴)) = (𝐸‘(𝐹𝐵)) → (𝐹𝐴) = (𝐹𝐵)))
1615con3dimp 412 . . . . 5 ((((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶)) ∧ ¬ (𝐹𝐴) = (𝐹𝐵)) → ¬ (𝐸‘(𝐹𝐴)) = (𝐸‘(𝐹𝐵)))
17 eqeq12 2752 . . . . . . 7 (((𝐸‘(𝐹𝐴)) = 𝑋 ∧ (𝐸‘(𝐹𝐵)) = 𝑌) → ((𝐸‘(𝐹𝐴)) = (𝐸‘(𝐹𝐵)) ↔ 𝑋 = 𝑌))
1817notbid 321 . . . . . 6 (((𝐸‘(𝐹𝐴)) = 𝑋 ∧ (𝐸‘(𝐹𝐵)) = 𝑌) → (¬ (𝐸‘(𝐹𝐴)) = (𝐸‘(𝐹𝐵)) ↔ ¬ 𝑋 = 𝑌))
19 neqne 2942 . . . . . 6 𝑋 = 𝑌𝑋𝑌)
2018, 19syl6bi 256 . . . . 5 (((𝐸‘(𝐹𝐴)) = 𝑋 ∧ (𝐸‘(𝐹𝐵)) = 𝑌) → (¬ (𝐸‘(𝐹𝐴)) = (𝐸‘(𝐹𝐵)) → 𝑋𝑌))
2116, 20syl5com 31 . . . 4 ((((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶)) ∧ ¬ (𝐹𝐴) = (𝐹𝐵)) → (((𝐸‘(𝐹𝐴)) = 𝑋 ∧ (𝐸‘(𝐹𝐵)) = 𝑌) → 𝑋𝑌))
2221ex 416 . . 3 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶)) → (¬ (𝐹𝐴) = (𝐹𝐵) → (((𝐸‘(𝐹𝐴)) = 𝑋 ∧ (𝐸‘(𝐹𝐵)) = 𝑌) → 𝑋𝑌)))
23223adant3 1133 . 2 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → (¬ (𝐹𝐴) = (𝐹𝐵) → (((𝐸‘(𝐹𝐴)) = 𝑋 ∧ (𝐸‘(𝐹𝐵)) = 𝑌) → 𝑋𝑌)))
244, 23mpd 15 1 (((𝐸:𝐷1-1𝑅𝐹:𝐶1-1𝐷) ∧ (𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → (((𝐸‘(𝐹𝐴)) = 𝑋 ∧ (𝐸‘(𝐹𝐵)) = 𝑌) → 𝑋𝑌))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  w3a 1088   = wceq 1542  wcel 2114  wne 2934  wf 6335  1-1wf1 6336  cfv 6339
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-v 3400  df-sbc 3681  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-br 5031  df-opab 5093  df-id 5429  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fv 6347
This theorem is referenced by:  usgr2pthlem  27704
  Copyright terms: Public domain W3C validator