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

Theorem ffvresb 6941
Description: A necessary and sufficient condition for a restricted function. (Contributed by Mario Carneiro, 14-Nov-2013.)
Assertion
Ref Expression
ffvresb (Fun 𝐹 → ((𝐹𝐴):𝐴𝐵 ↔ ∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐹

Proof of Theorem ffvresb
StepHypRef Expression
1 fdm 6554 . . . . . 6 ((𝐹𝐴):𝐴𝐵 → dom (𝐹𝐴) = 𝐴)
2 dmres 5873 . . . . . . 7 dom (𝐹𝐴) = (𝐴 ∩ dom 𝐹)
3 inss2 4144 . . . . . . 7 (𝐴 ∩ dom 𝐹) ⊆ dom 𝐹
42, 3eqsstri 3935 . . . . . 6 dom (𝐹𝐴) ⊆ dom 𝐹
51, 4eqsstrrdi 3956 . . . . 5 ((𝐹𝐴):𝐴𝐵𝐴 ⊆ dom 𝐹)
65sselda 3901 . . . 4 (((𝐹𝐴):𝐴𝐵𝑥𝐴) → 𝑥 ∈ dom 𝐹)
7 fvres 6736 . . . . . 6 (𝑥𝐴 → ((𝐹𝐴)‘𝑥) = (𝐹𝑥))
87adantl 485 . . . . 5 (((𝐹𝐴):𝐴𝐵𝑥𝐴) → ((𝐹𝐴)‘𝑥) = (𝐹𝑥))
9 ffvelrn 6902 . . . . 5 (((𝐹𝐴):𝐴𝐵𝑥𝐴) → ((𝐹𝐴)‘𝑥) ∈ 𝐵)
108, 9eqeltrrd 2839 . . . 4 (((𝐹𝐴):𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ 𝐵)
116, 10jca 515 . . 3 (((𝐹𝐴):𝐴𝐵𝑥𝐴) → (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵))
1211ralrimiva 3105 . 2 ((𝐹𝐴):𝐴𝐵 → ∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵))
13 simpl 486 . . . . . . 7 ((𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵) → 𝑥 ∈ dom 𝐹)
1413ralimi 3083 . . . . . 6 (∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵) → ∀𝑥𝐴 𝑥 ∈ dom 𝐹)
15 dfss3 3888 . . . . . 6 (𝐴 ⊆ dom 𝐹 ↔ ∀𝑥𝐴 𝑥 ∈ dom 𝐹)
1614, 15sylibr 237 . . . . 5 (∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵) → 𝐴 ⊆ dom 𝐹)
17 funfn 6410 . . . . . 6 (Fun 𝐹𝐹 Fn dom 𝐹)
18 fnssres 6500 . . . . . 6 ((𝐹 Fn dom 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) Fn 𝐴)
1917, 18sylanb 584 . . . . 5 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) Fn 𝐴)
2016, 19sylan2 596 . . . 4 ((Fun 𝐹 ∧ ∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵)) → (𝐹𝐴) Fn 𝐴)
21 simpr 488 . . . . . . . 8 ((𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵) → (𝐹𝑥) ∈ 𝐵)
227eleq1d 2822 . . . . . . . 8 (𝑥𝐴 → (((𝐹𝐴)‘𝑥) ∈ 𝐵 ↔ (𝐹𝑥) ∈ 𝐵))
2321, 22syl5ibr 249 . . . . . . 7 (𝑥𝐴 → ((𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵) → ((𝐹𝐴)‘𝑥) ∈ 𝐵))
2423ralimia 3081 . . . . . 6 (∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵) → ∀𝑥𝐴 ((𝐹𝐴)‘𝑥) ∈ 𝐵)
2524adantl 485 . . . . 5 ((Fun 𝐹 ∧ ∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵)) → ∀𝑥𝐴 ((𝐹𝐴)‘𝑥) ∈ 𝐵)
26 fnfvrnss 6937 . . . . 5 (((𝐹𝐴) Fn 𝐴 ∧ ∀𝑥𝐴 ((𝐹𝐴)‘𝑥) ∈ 𝐵) → ran (𝐹𝐴) ⊆ 𝐵)
2720, 25, 26syl2anc 587 . . . 4 ((Fun 𝐹 ∧ ∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵)) → ran (𝐹𝐴) ⊆ 𝐵)
28 df-f 6384 . . . 4 ((𝐹𝐴):𝐴𝐵 ↔ ((𝐹𝐴) Fn 𝐴 ∧ ran (𝐹𝐴) ⊆ 𝐵))
2920, 27, 28sylanbrc 586 . . 3 ((Fun 𝐹 ∧ ∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵)) → (𝐹𝐴):𝐴𝐵)
3029ex 416 . 2 (Fun 𝐹 → (∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵) → (𝐹𝐴):𝐴𝐵))
3112, 30impbid2 229 1 (Fun 𝐹 → ((𝐹𝐴):𝐴𝐵 ↔ ∀𝑥𝐴 (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wcel 2110  wral 3061  cin 3865  wss 3866  dom cdm 5551  ran crn 5552  cres 5553  Fun wfun 6374   Fn wfn 6375  wf 6376  cfv 6380
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-fv 6388
This theorem is referenced by:  inlresf  9530  inrresf  9532  oppccatf  17232  lmbr2  22156  lmff  22198  lmmbr2  24156  iscau2  24174  relogbf  25674  sseqf  32071  rpsqrtcn  32285  climrescn  42964  climxrrelem  42965  climxrre  42966  liminflimsupxrre  43033  xlimxrre  43047  fourierdlem97  43419
  Copyright terms: Public domain W3C validator