Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  curry2ima Structured version   Visualization version   GIF version

Theorem curry2ima 33373
Description: The image of a curried function with a constant second argument. (Contributed by Thierry Arnoux, 25-Sep-2017.)
Hypothesis
Ref Expression
curry2ima.1 𝐺 = (𝐹 ∘ ◡(1st ↾ (V × {𝐶})))
Assertion
Ref Expression
curry2ima ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (𝐺 “ 𝐷) = {𝑦 ∣ ∃𝑥 ∈ 𝐷 𝑦 = (𝑥𝐹𝐶)})
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶,𝑦   𝑥,𝐷,𝑦   𝑥,𝐹,𝑦   𝑥,𝐺,𝑦

Proof of Theorem curry2ima
StepHypRef Expression
1 simp1 1154 . . . . . 6 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐹 Fn (𝐴 × 𝐵))
2 dffn2 6733 . . . . . 6 (𝐹 Fn (𝐴 × 𝐵) ↔ 𝐹:(𝐴 × 𝐵)⟶V)
31, 2sylib 221 . . . . 5 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐹:(𝐴 × 𝐵)⟶V)
4 simp2 1155 . . . . 5 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐶 ∈ 𝐵)
5 curry2ima.1 . . . . . 6 𝐺 = (𝐹 ∘ ◡(1st ↾ (V × {𝐶})))
65curry2f 8146 . . . . 5 ((𝐹:(𝐴 × 𝐵)⟶V ∧ 𝐶 ∈ 𝐵) → 𝐺:𝐴⟶V)
73, 4, 6syl2anc 596 . . . 4 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐺:𝐴⟶V)
87ffund 6736 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → Fun 𝐺)
9 simp3 1156 . . . 4 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐷 ⊆ 𝐴)
107fdmd 6742 . . . 4 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → dom 𝐺 = 𝐴)
119, 10sseqtrrd 3950 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐷 ⊆ dom 𝐺)
12 dfimafn 6970 . . 3 ((Fun 𝐺 ∧ 𝐷 ⊆ dom 𝐺) → (𝐺 “ 𝐷) = {𝑦 ∣ ∃𝑥 ∈ 𝐷 (𝐺‘𝑥) = 𝑦})
138, 11, 12syl2anc 596 . 2 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (𝐺 “ 𝐷) = {𝑦 ∣ ∃𝑥 ∈ 𝐷 (𝐺‘𝑥) = 𝑦})
145curry2val 8147 . . . . . . 7 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → (𝐺‘𝑥) = (𝑥𝐹𝐶))
15143adant3 1150 . . . . . 6 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (𝐺‘𝑥) = (𝑥𝐹𝐶))
1615eqeq1d 2765 . . . . 5 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → ((𝐺‘𝑥) = 𝑦 ↔ (𝑥𝐹𝐶) = 𝑦))
17 eqcom 2770 . . . . 5 ((𝑥𝐹𝐶) = 𝑦 ↔ 𝑦 = (𝑥𝐹𝐶))
1816, 17bitrdi 290 . . . 4 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → ((𝐺‘𝑥) = 𝑦 ↔ 𝑦 = (𝑥𝐹𝐶)))
1918rexbidv 3190 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (∃𝑥 ∈ 𝐷 (𝐺‘𝑥) = 𝑦 ↔ ∃𝑥 ∈ 𝐷 𝑦 = (𝑥𝐹𝐶)))
2019abbidv 2829 . 2 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → {𝑦 ∣ ∃𝑥 ∈ 𝐷 (𝐺‘𝑥) = 𝑦} = {𝑦 ∣ ∃𝑥 ∈ 𝐷 𝑦 = (𝑥𝐹𝐶)})
2113, 20eqtrd 2798 1 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (𝐺 “ 𝐷) = {𝑦 ∣ ∃𝑥 ∈ 𝐷 𝑦 = (𝑥𝐹𝐶)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147  {cab 2741  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900  {csn 4588   × cxp 5653  ◡ccnv 5654  dom cdm 5655   ↾ cres 5657   “ cima 5658   ∘ ccom 5659  Fun wfun 6552   Fn wfn 6553  ⟶wf 6554  ‘cfv 6558  (class class class)co 7443  1st c1st 8023
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 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
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-sbc 3743  df-csb 3852  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 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-ov 7446  df-1st 8025  df-2nd 8026
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator