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

Theorem 2f1fvneq 7313
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.) (Proof shortened by AV, 30-Oct-2025.)
Assertion
Ref Expression
2f1fvneq (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → 𝑋 ≠ 𝑌))

Proof of Theorem 2f1fvneq
StepHypRef Expression
1 simp1l 1218 . . 3 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → 𝐸:𝐷⟶1-1𝑅)
2 f1f 6826 . . . . . . 7 (𝐹:𝐶⟶1-1𝐷 → 𝐹:𝐶⟶𝐷)
32adantl 487 . . . . . 6 ((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) → 𝐹:𝐶⟶𝐷)
43adantr 486 . . . . 5 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)) → 𝐹:𝐶⟶𝐷)
5 simpl 488 . . . . . 6 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) → 𝐴 ∈ 𝐶)
65adantl 487 . . . . 5 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)) → 𝐴 ∈ 𝐶)
74, 6ffvelcdmd 7135 . . . 4 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)) → (𝐹‘𝐴) ∈ 𝐷)
873adant3 1151 . . 3 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐹‘𝐴) ∈ 𝐷)
9 simpr 490 . . . . . 6 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) → 𝐵 ∈ 𝐶)
109adantl 487 . . . . 5 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)) → 𝐵 ∈ 𝐶)
114, 10ffvelcdmd 7135 . . . 4 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)) → (𝐹‘𝐵) ∈ 𝐷)
12113adant3 1151 . . 3 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐹‘𝐵) ∈ 𝐷)
13 simpr 490 . . . 4 ((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) → 𝐹:𝐶⟶1-1𝐷)
14 df-3an 1106 . . . . 5 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶 ∧ 𝐴 ≠ 𝐵) ↔ ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵))
1514biimpri 231 . . . 4 (((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶 ∧ 𝐴 ≠ 𝐵))
16 dff14i 7312 . . . 4 ((𝐹:𝐶⟶1-1𝐷 ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶 ∧ 𝐴 ≠ 𝐵)) → (𝐹‘𝐴) ≠ (𝐹‘𝐵))
1713, 15, 16syl3an132 1186 . . 3 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐹‘𝐴) ≠ (𝐹‘𝐵))
18 dff14i 7312 . . 3 ((𝐸:𝐷⟶1-1𝑅 ∧ ((𝐹‘𝐴) ∈ 𝐷 ∧ (𝐹‘𝐵) ∈ 𝐷 ∧ (𝐹‘𝐴) ≠ (𝐹‘𝐵))) → (𝐸‘(𝐹‘𝐴)) ≠ (𝐸‘(𝐹‘𝐵)))
191, 8, 12, 17, 18syl13anc 1402 . 2 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐸‘(𝐹‘𝐴)) ≠ (𝐸‘(𝐹‘𝐵)))
20 simpl 488 . . 3 (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → (𝐸‘(𝐹‘𝐴)) = 𝑋)
21 simpr 490 . . 3 (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → (𝐸‘(𝐹‘𝐵)) = 𝑌)
2220, 21neeq12d 3031 . 2 (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → ((𝐸‘(𝐹‘𝐴)) ≠ (𝐸‘(𝐹‘𝐵)) ↔ 𝑋 ≠ 𝑌))
2319, 22syl5ibcom 248 1 (((𝐸:𝐷⟶1-1𝑅 ∧ 𝐹:𝐶⟶1-1𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → 𝑋 ≠ 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  ⟶wf 6575  ⟶1-1wf1 6576  ‘cfv 6579
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fv 6587
This theorem is used by:  usgr2pthlem  30513
  Copyright terms: Public domain W3C validator