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

Theorem 2f1fvneq 7264
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 1216 . . 3 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → 𝐸:𝐷–1-1→𝑅)
2 f1f 6778 . . . . . . 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 7085 . . . 4 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)) → (𝐹‘𝐴) ∈ 𝐷)
873adant3 1150 . . 3 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐹‘𝐴) ∈ 𝐷)
9 simpr 490 . . . . . 6 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) → 𝐵 ∈ 𝐶)
109adantl 487 . . . . 5 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)) → 𝐵 ∈ 𝐶)
114, 10ffvelcdmd 7085 . . . 4 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)) → (𝐹‘𝐵) ∈ 𝐷)
12113adant3 1150 . . 3 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐹‘𝐵) ∈ 𝐷)
13 simpr 490 . . . 4 ((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) → 𝐹:𝐶–1-1→𝐷)
14 df-3an 1105 . . . . 5 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶 ∧ 𝐴 ≠ 𝐵) ↔ ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵))
1514biimpri 231 . . . 4 (((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶 ∧ 𝐴 ≠ 𝐵))
16 dff14i 7263 . . . 4 ((𝐹:𝐶–1-1→𝐷 ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶 ∧ 𝐴 ≠ 𝐵)) → (𝐹‘𝐴) ≠ (𝐹‘𝐵))
1713, 15, 16syl3an132 1184 . . 3 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐹‘𝐴) ≠ (𝐹‘𝐵))
18 dff14i 7263 . . 3 ((𝐸:𝐷–1-1→𝑅 ∧ ((𝐹‘𝐴) ∈ 𝐷 ∧ (𝐹‘𝐵) ∈ 𝐷 ∧ (𝐹‘𝐴) ≠ (𝐹‘𝐵))) → (𝐸‘(𝐹‘𝐴)) ≠ (𝐸‘(𝐹‘𝐵)))
191, 8, 12, 17, 18syl13anc 1399 . 2 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐸‘(𝐹‘𝐴)) ≠ (𝐸‘(𝐹‘𝐵)))
20 simpl 488 . . 3 (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → (𝐸‘(𝐹‘𝐴)) = 𝑋)
21 simpr 490 . . 3 (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → (𝐸‘(𝐹‘𝐵)) = 𝑌)
2220, 21neeq12d 3017 . 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 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ⟶wf 6534  –1-1→wf1 6535  ‘cfv 6538
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fv 6546
This theorem is used by:  usgr2pthlem  30349
  Copyright terms: Public domain W3C validator