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

Theorem 2f1fvneq 7268
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 6783 . . . . . . 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 7090 . . . 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 7090 . . . 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 7267 . . . 4 ((𝐹:𝐶–1-1→𝐷 ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶 ∧ 𝐴 ≠ 𝐵)) → (𝐹‘𝐴) ≠ (𝐹‘𝐵))
1713, 15, 16syl3an132 1184 . . 3 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐹‘𝐴) ≠ (𝐹‘𝐵))
18 dff14i 7267 . . 3 ((𝐸:𝐷–1-1→𝑅 ∧ ((𝐹‘𝐴) ∈ 𝐷 ∧ (𝐹‘𝐵) ∈ 𝐷 ∧ (𝐹‘𝐴) ≠ (𝐹‘𝐵))) → (𝐸‘(𝐹‘𝐴)) ≠ (𝐸‘(𝐹‘𝐵)))
191, 8, 12, 17, 18syl13anc 1399 . 2 (((𝐸:𝐷–1-1→𝑅 ∧ 𝐹:𝐶–1-1→𝐷) ∧ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶) ∧ 𝐴 ≠ 𝐵) → (𝐸‘(𝐹‘𝐴)) ≠ (𝐸‘(𝐹‘𝐵)))
20 simpl 488 . . 3 (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → (𝐸‘(𝐹‘𝐴)) = 𝑋)
21 simpr 490 . . 3 (((𝐸‘(𝐹‘𝐴)) = 𝑋 ∧ (𝐸‘(𝐹‘𝐵)) = 𝑌) → (𝐸‘(𝐹‘𝐵)) = 𝑌)
2220, 21neeq12d 3016 . 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 1569   ∈ wcel 2144   ≠ wne 2955  ⟶wf 6539  –1-1→wf1 6540  ‘cfv 6543
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fv 6551
This theorem is used by:  usgr2pthlem  30358
  Copyright terms: Public domain W3C validator