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

Theorem imarnf1pr 41827
Description: The image of the range of a function 𝐹 under a function 𝐸 if 𝐹 is a function of a pair into the domain of 𝐸. (Contributed by Alexander van der Vekens, 2-Feb-2018.)
Assertion
Ref Expression
imarnf1pr ((𝑋𝑉𝑌𝑊) → (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵)) → (𝐸 “ ran 𝐹) = {𝐴, 𝐵}))

Proof of Theorem imarnf1pr
StepHypRef Expression
1 ffn 6206 . . . . . . . . 9 (𝐸:dom 𝐸𝑅𝐸 Fn dom 𝐸)
21adantl 473 . . . . . . . 8 ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) → 𝐸 Fn dom 𝐸)
32adantr 472 . . . . . . 7 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ (𝑋𝑉𝑌𝑊)) → 𝐸 Fn dom 𝐸)
4 simpll 807 . . . . . . . 8 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ (𝑋𝑉𝑌𝑊)) → 𝐹:{𝑋, 𝑌}⟶dom 𝐸)
5 prid1g 4439 . . . . . . . . . 10 (𝑋𝑉𝑋 ∈ {𝑋, 𝑌})
65adantr 472 . . . . . . . . 9 ((𝑋𝑉𝑌𝑊) → 𝑋 ∈ {𝑋, 𝑌})
76adantl 473 . . . . . . . 8 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ (𝑋𝑉𝑌𝑊)) → 𝑋 ∈ {𝑋, 𝑌})
84, 7ffvelrnd 6524 . . . . . . 7 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ (𝑋𝑉𝑌𝑊)) → (𝐹𝑋) ∈ dom 𝐸)
9 prid2g 4440 . . . . . . . . 9 (𝑌𝑊𝑌 ∈ {𝑋, 𝑌})
109ad2antll 767 . . . . . . . 8 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ (𝑋𝑉𝑌𝑊)) → 𝑌 ∈ {𝑋, 𝑌})
114, 10ffvelrnd 6524 . . . . . . 7 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ (𝑋𝑉𝑌𝑊)) → (𝐹𝑌) ∈ dom 𝐸)
12 fnimapr 6425 . . . . . . 7 ((𝐸 Fn dom 𝐸 ∧ (𝐹𝑋) ∈ dom 𝐸 ∧ (𝐹𝑌) ∈ dom 𝐸) → (𝐸 “ {(𝐹𝑋), (𝐹𝑌)}) = {(𝐸‘(𝐹𝑋)), (𝐸‘(𝐹𝑌))})
133, 8, 11, 12syl3anc 1477 . . . . . 6 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ (𝑋𝑉𝑌𝑊)) → (𝐸 “ {(𝐹𝑋), (𝐹𝑌)}) = {(𝐸‘(𝐹𝑋)), (𝐸‘(𝐹𝑌))})
1413ex 449 . . . . 5 ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) → ((𝑋𝑉𝑌𝑊) → (𝐸 “ {(𝐹𝑋), (𝐹𝑌)}) = {(𝐸‘(𝐹𝑋)), (𝐸‘(𝐹𝑌))}))
1514adantr 472 . . . 4 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵)) → ((𝑋𝑉𝑌𝑊) → (𝐸 “ {(𝐹𝑋), (𝐹𝑌)}) = {(𝐸‘(𝐹𝑋)), (𝐸‘(𝐹𝑌))}))
1615impcom 445 . . 3 (((𝑋𝑉𝑌𝑊) ∧ ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵))) → (𝐸 “ {(𝐹𝑋), (𝐹𝑌)}) = {(𝐸‘(𝐹𝑋)), (𝐸‘(𝐹𝑌))})
17 ffn 6206 . . . . . . . . 9 (𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐹 Fn {𝑋, 𝑌})
18 rnfdmpr 41826 . . . . . . . . 9 ((𝑋𝑉𝑌𝑊) → (𝐹 Fn {𝑋, 𝑌} → ran 𝐹 = {(𝐹𝑋), (𝐹𝑌)}))
1917, 18syl5com 31 . . . . . . . 8 (𝐹:{𝑋, 𝑌}⟶dom 𝐸 → ((𝑋𝑉𝑌𝑊) → ran 𝐹 = {(𝐹𝑋), (𝐹𝑌)}))
2019adantr 472 . . . . . . 7 ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) → ((𝑋𝑉𝑌𝑊) → ran 𝐹 = {(𝐹𝑋), (𝐹𝑌)}))
2120adantr 472 . . . . . 6 (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵)) → ((𝑋𝑉𝑌𝑊) → ran 𝐹 = {(𝐹𝑋), (𝐹𝑌)}))
2221impcom 445 . . . . 5 (((𝑋𝑉𝑌𝑊) ∧ ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵))) → ran 𝐹 = {(𝐹𝑋), (𝐹𝑌)})
2322eqcomd 2766 . . . 4 (((𝑋𝑉𝑌𝑊) ∧ ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵))) → {(𝐹𝑋), (𝐹𝑌)} = ran 𝐹)
2423imaeq2d 5624 . . 3 (((𝑋𝑉𝑌𝑊) ∧ ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵))) → (𝐸 “ {(𝐹𝑋), (𝐹𝑌)}) = (𝐸 “ ran 𝐹))
25 preq12 4414 . . . 4 (((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵) → {(𝐸‘(𝐹𝑋)), (𝐸‘(𝐹𝑌))} = {𝐴, 𝐵})
2625ad2antll 767 . . 3 (((𝑋𝑉𝑌𝑊) ∧ ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵))) → {(𝐸‘(𝐹𝑋)), (𝐸‘(𝐹𝑌))} = {𝐴, 𝐵})
2716, 24, 263eqtr3d 2802 . 2 (((𝑋𝑉𝑌𝑊) ∧ ((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵))) → (𝐸 “ ran 𝐹) = {𝐴, 𝐵})
2827ex 449 1 ((𝑋𝑉𝑌𝑊) → (((𝐹:{𝑋, 𝑌}⟶dom 𝐸𝐸:dom 𝐸𝑅) ∧ ((𝐸‘(𝐹𝑋)) = 𝐴 ∧ (𝐸‘(𝐹𝑌)) = 𝐵)) → (𝐸 “ ran 𝐹) = {𝐴, 𝐵}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1632  wcel 2139  {cpr 4323  dom cdm 5266  ran crn 5267  cima 5269   Fn wfn 6044  wf 6045  cfv 6049
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pr 5055
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-fv 6057
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator