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 33401
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 1155 . . . . . 6 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐹 Fn (𝐴 × 𝐵))
2 dffn2 6741 . . . . . 6 (𝐹 Fn (𝐴 × 𝐵) ↔ 𝐹:(𝐴 × 𝐵)⟶V)
31, 2sylib 221 . . . . 5 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐹:(𝐴 × 𝐵)⟶V)
4 simp2 1156 . . . . 5 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐶 ∈ 𝐵)
5 curry2ima.1 . . . . . 6 𝐺 = (𝐹 ∘ ◡(1st ↾ (V × {𝐶})))
65curry2f 8156 . . . . 5 ((𝐹:(𝐴 × 𝐵)⟶V ∧ 𝐶 ∈ 𝐵) → 𝐺:𝐴⟶V)
73, 4, 6syl2anc 596 . . . 4 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐺:𝐴⟶V)
87ffund 6744 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → Fun 𝐺)
9 simp3 1157 . . . 4 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐷 ⊆ 𝐴)
107fdmd 6750 . . . 4 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → dom 𝐺 = 𝐴)
119, 10sseqtrrd 3949 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → 𝐷 ⊆ dom 𝐺)
12 dfimafn 6978 . . 3 ((Fun 𝐺 ∧ 𝐷 ⊆ dom 𝐺) → (𝐺 “ 𝐷) = {𝑦 ∣ ∃𝑥 ∈ 𝐷 (𝐺‘𝑥) = 𝑦})
138, 11, 12syl2anc 596 . 2 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (𝐺 “ 𝐷) = {𝑦 ∣ ∃𝑥 ∈ 𝐷 (𝐺‘𝑥) = 𝑦})
145curry2val 8157 . . . . . . 7 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵) → (𝐺‘𝑥) = (𝑥𝐹𝐶))
15143adant3 1151 . . . . . 6 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (𝐺‘𝑥) = (𝑥𝐹𝐶))
1615eqeq1d 2768 . . . . 5 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → ((𝐺‘𝑥) = 𝑦 ↔ (𝑥𝐹𝐶) = 𝑦))
17 eqcom 2773 . . . . 5 ((𝑥𝐹𝐶) = 𝑦 ↔ 𝑦 = (𝑥𝐹𝐶))
1816, 17bitrdi 290 . . . 4 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → ((𝐺‘𝑥) = 𝑦 ↔ 𝑦 = (𝑥𝐹𝐶)))
1918rexbidv 3193 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (∃𝑥 ∈ 𝐷 (𝐺‘𝑥) = 𝑦 ↔ ∃𝑥 ∈ 𝐷 𝑦 = (𝑥𝐹𝐶)))
2019abbidv 2832 . 2 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → {𝑦 ∣ ∃𝑥 ∈ 𝐷 (𝐺‘𝑥) = 𝑦} = {𝑦 ∣ ∃𝑥 ∈ 𝐷 𝑦 = (𝑥𝐹𝐶)})
2113, 20eqtrd 2801 1 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐵 ∧ 𝐷 ⊆ 𝐴) → (𝐺 “ 𝐷) = {𝑦 ∣ ∃𝑥 ∈ 𝐷 𝑦 = (𝑥𝐹𝐶)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ w3a 1104   = wceq 1572   ∈ wcel 2150  {cab 2744  ∃wrex 3093  Vcvv 3453   ⊆ wss 3899  {csn 4587   × cxp 5655  ◡ccnv 5656  dom cdm 5657   ↾ cres 5659   “ cima 5660   ∘ ccom 5661  Fun wfun 6560   Fn wfn 6561  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451  1st c1st 8033
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 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-un 7783
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 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-1st 8035  df-2nd 8036
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator