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

Theorem f1cofveqaeq 7296
Description: If the values of a composition of one-to-one functions for two arguments are equal, the arguments themselves must be equal. (Contributed by AV, 3-Feb-2021.)
Assertion
Ref Expression
f1cofveqaeq (((𝐹:𝐵⟶1-1𝐶 ∧ 𝐺:𝐴⟶1-1𝐵) ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴)) → ((𝐹‘(𝐺‘𝑋)) = (𝐹‘(𝐺‘𝑌)) → 𝑋 = 𝑌))

Proof of Theorem f1cofveqaeq
StepHypRef Expression
1 simpl 488 . . 3 ((𝐹:𝐵⟶1-1𝐶 ∧ 𝐺:𝐴⟶1-1𝐵) → 𝐹:𝐵⟶1-1𝐶)
2 f1f 6812 . . . . . 6 (𝐺:𝐴⟶1-1𝐵 → 𝐺:𝐴⟶𝐵)
3 ffvelcdm 7117 . . . . . . . 8 ((𝐺:𝐴⟶𝐵 ∧ 𝑋 ∈ 𝐴) → (𝐺‘𝑋) ∈ 𝐵)
43ex 418 . . . . . . 7 (𝐺:𝐴⟶𝐵 → (𝑋 ∈ 𝐴 → (𝐺‘𝑋) ∈ 𝐵))
5 ffvelcdm 7117 . . . . . . . 8 ((𝐺:𝐴⟶𝐵 ∧ 𝑌 ∈ 𝐴) → (𝐺‘𝑌) ∈ 𝐵)
65ex 418 . . . . . . 7 (𝐺:𝐴⟶𝐵 → (𝑌 ∈ 𝐴 → (𝐺‘𝑌) ∈ 𝐵))
74, 6anim12d 621 . . . . . 6 (𝐺:𝐴⟶𝐵 → ((𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴) → ((𝐺‘𝑋) ∈ 𝐵 ∧ (𝐺‘𝑌) ∈ 𝐵)))
82, 7syl 18 . . . . 5 (𝐺:𝐴⟶1-1𝐵 → ((𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴) → ((𝐺‘𝑋) ∈ 𝐵 ∧ (𝐺‘𝑌) ∈ 𝐵)))
98adantl 487 . . . 4 ((𝐹:𝐵⟶1-1𝐶 ∧ 𝐺:𝐴⟶1-1𝐵) → ((𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴) → ((𝐺‘𝑋) ∈ 𝐵 ∧ (𝐺‘𝑌) ∈ 𝐵)))
109imp 412 . . 3 (((𝐹:𝐵⟶1-1𝐶 ∧ 𝐺:𝐴⟶1-1𝐵) ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴)) → ((𝐺‘𝑋) ∈ 𝐵 ∧ (𝐺‘𝑌) ∈ 𝐵))
11 f1veqaeq 7295 . . 3 ((𝐹:𝐵⟶1-1𝐶 ∧ ((𝐺‘𝑋) ∈ 𝐵 ∧ (𝐺‘𝑌) ∈ 𝐵)) → ((𝐹‘(𝐺‘𝑋)) = (𝐹‘(𝐺‘𝑌)) → (𝐺‘𝑋) = (𝐺‘𝑌)))
121, 10, 11syl2an2r 698 . 2 (((𝐹:𝐵⟶1-1𝐶 ∧ 𝐺:𝐴⟶1-1𝐵) ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴)) → ((𝐹‘(𝐺‘𝑋)) = (𝐹‘(𝐺‘𝑌)) → (𝐺‘𝑋) = (𝐺‘𝑌)))
13 f1veqaeq 7295 . . 3 ((𝐺:𝐴⟶1-1𝐵 ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴)) → ((𝐺‘𝑋) = (𝐺‘𝑌) → 𝑋 = 𝑌))
1413adantll 727 . 2 (((𝐹:𝐵⟶1-1𝐶 ∧ 𝐺:𝐴⟶1-1𝐵) ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴)) → ((𝐺‘𝑋) = (𝐺‘𝑌) → 𝑋 = 𝑌))
1512, 14syld 48 1 (((𝐹:𝐵⟶1-1𝐶 ∧ 𝐺:𝐴⟶1-1𝐵) ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴)) → ((𝐹‘(𝐺‘𝑋)) = (𝐹‘(𝐺‘𝑌)) → 𝑋 = 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  ⟶wf 6566  ⟶1-1wf1 6567  ‘cfv 6570
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
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 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fv 6578
This theorem is used by:  uspgrn2crct  30467  upgrimtrlslem2  49353
  Copyright terms: Public domain W3C validator