Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rnfdmpr Structured version   Visualization version   GIF version

Theorem rnfdmpr 48624
Description: The range of a one-to-one function 𝐹 of an unordered pair into a set is the unordered pair of the function values. (Contributed by Alexander van der Vekens, 2-Feb-2018.)
Assertion
Ref Expression
rnfdmpr ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → (𝐹 Fn {𝑋, 𝑌} → ran 𝐹 = {(𝐹‘𝑋), (𝐹‘𝑌)}))

Proof of Theorem rnfdmpr
Dummy variables 𝑥 𝑖 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fnrnfv 6975 . . . 4 (𝐹 Fn {𝑋, 𝑌} → ran 𝐹 = {𝑥 ∣ ∃𝑖 ∈ {𝑋, 𝑌}𝑥 = (𝐹‘𝑖)})
21adantl 487 . . 3 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) ∧ 𝐹 Fn {𝑋, 𝑌}) → ran 𝐹 = {𝑥 ∣ ∃𝑖 ∈ {𝑋, 𝑌}𝑥 = (𝐹‘𝑖)})
3 fveq2 6916 . . . . . . . 8 (𝑖 = 𝑋 → (𝐹‘𝑖) = (𝐹‘𝑋))
43eqeq2d 2774 . . . . . . 7 (𝑖 = 𝑋 → (𝑥 = (𝐹‘𝑖) ↔ 𝑥 = (𝐹‘𝑋)))
54abbidv 2829 . . . . . 6 (𝑖 = 𝑋 → {𝑥 ∣ 𝑥 = (𝐹‘𝑖)} = {𝑥 ∣ 𝑥 = (𝐹‘𝑋)})
6 fveq2 6916 . . . . . . . 8 (𝑖 = 𝑌 → (𝐹‘𝑖) = (𝐹‘𝑌))
76eqeq2d 2774 . . . . . . 7 (𝑖 = 𝑌 → (𝑥 = (𝐹‘𝑖) ↔ 𝑥 = (𝐹‘𝑌)))
87abbidv 2829 . . . . . 6 (𝑖 = 𝑌 → {𝑥 ∣ 𝑥 = (𝐹‘𝑖)} = {𝑥 ∣ 𝑥 = (𝐹‘𝑌)})
95, 8iunxprg 5061 . . . . 5 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → ∪ 𝑖 ∈ {𝑋, 𝑌} {𝑥 ∣ 𝑥 = (𝐹‘𝑖)} = ({𝑥 ∣ 𝑥 = (𝐹‘𝑋)} ∪ {𝑥 ∣ 𝑥 = (𝐹‘𝑌)}))
109adantr 486 . . . 4 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) ∧ 𝐹 Fn {𝑋, 𝑌}) → ∪ 𝑖 ∈ {𝑋, 𝑌} {𝑥 ∣ 𝑥 = (𝐹‘𝑖)} = ({𝑥 ∣ 𝑥 = (𝐹‘𝑋)} ∪ {𝑥 ∣ 𝑥 = (𝐹‘𝑌)}))
11 iunab 5015 . . . 4 ∪ 𝑖 ∈ {𝑋, 𝑌} {𝑥 ∣ 𝑥 = (𝐹‘𝑖)} = {𝑥 ∣ ∃𝑖 ∈ {𝑋, 𝑌}𝑥 = (𝐹‘𝑖)}
12 df-sn 4589 . . . . . . 7 {(𝐹‘𝑋)} = {𝑥 ∣ 𝑥 = (𝐹‘𝑋)}
1312eqcomi 2772 . . . . . 6 {𝑥 ∣ 𝑥 = (𝐹‘𝑋)} = {(𝐹‘𝑋)}
14 df-sn 4589 . . . . . . 7 {(𝐹‘𝑌)} = {𝑥 ∣ 𝑥 = (𝐹‘𝑌)}
1514eqcomi 2772 . . . . . 6 {𝑥 ∣ 𝑥 = (𝐹‘𝑌)} = {(𝐹‘𝑌)}
1613, 15uneq12i 4168 . . . . 5 ({𝑥 ∣ 𝑥 = (𝐹‘𝑋)} ∪ {𝑥 ∣ 𝑥 = (𝐹‘𝑌)}) = ({(𝐹‘𝑋)} ∪ {(𝐹‘𝑌)})
17 df-pr 4591 . . . . 5 {(𝐹‘𝑋), (𝐹‘𝑌)} = ({(𝐹‘𝑋)} ∪ {(𝐹‘𝑌)})
1816, 17eqtr4i 2789 . . . 4 ({𝑥 ∣ 𝑥 = (𝐹‘𝑋)} ∪ {𝑥 ∣ 𝑥 = (𝐹‘𝑌)}) = {(𝐹‘𝑋), (𝐹‘𝑌)}
1910, 11, 183eqtr3g 2821 . . 3 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) ∧ 𝐹 Fn {𝑋, 𝑌}) → {𝑥 ∣ ∃𝑖 ∈ {𝑋, 𝑌}𝑥 = (𝐹‘𝑖)} = {(𝐹‘𝑋), (𝐹‘𝑌)})
202, 19eqtrd 2798 . 2 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) ∧ 𝐹 Fn {𝑋, 𝑌}) → ran 𝐹 = {(𝐹‘𝑋), (𝐹‘𝑌)})
2120ex 418 1 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → (𝐹 Fn {𝑋, 𝑌} → ran 𝐹 = {(𝐹‘𝑋), (𝐹‘𝑌)}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {cab 2741  ∃wrex 3090   ∪ cun 4152  {csn 4588  {cpr 4590  ∪ ciun 4956  ran crn 5659   Fn wfn 6561  ‘cfv 6566
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-iota 6520  df-fun 6568  df-fn 6569  df-fv 6574
This theorem is used by:  imarnf1pr  48625
  Copyright terms: Public domain W3C validator