ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ofres GIF version

Theorem ofres 5851
Description: Restrict the operands of a function operation to the same domain as that of the operation itself. (Contributed by Mario Carneiro, 15-Sep-2014.)
Hypotheses
Ref Expression
ofres.1 (𝜑𝐹 Fn 𝐴)
ofres.2 (𝜑𝐺 Fn 𝐵)
ofres.3 (𝜑𝐴𝑉)
ofres.4 (𝜑𝐵𝑊)
ofres.5 (𝐴𝐵) = 𝐶
Assertion
Ref Expression
ofres (𝜑 → (𝐹𝑓 𝑅𝐺) = ((𝐹𝐶) ∘𝑓 𝑅(𝐺𝐶)))

Proof of Theorem ofres
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ofres.1 . . 3 (𝜑𝐹 Fn 𝐴)
2 ofres.2 . . 3 (𝜑𝐺 Fn 𝐵)
3 ofres.3 . . 3 (𝜑𝐴𝑉)
4 ofres.4 . . 3 (𝜑𝐵𝑊)
5 ofres.5 . . 3 (𝐴𝐵) = 𝐶
6 eqidd 2089 . . 3 ((𝜑𝑥𝐴) → (𝐹𝑥) = (𝐹𝑥))
7 eqidd 2089 . . 3 ((𝜑𝑥𝐵) → (𝐺𝑥) = (𝐺𝑥))
81, 2, 3, 4, 5, 6, 7offval 5845 . 2 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑥𝐶 ↦ ((𝐹𝑥)𝑅(𝐺𝑥))))
9 inss1 3218 . . . . 5 (𝐴𝐵) ⊆ 𝐴
105, 9eqsstr3i 3055 . . . 4 𝐶𝐴
11 fnssres 5113 . . . 4 ((𝐹 Fn 𝐴𝐶𝐴) → (𝐹𝐶) Fn 𝐶)
121, 10, 11sylancl 404 . . 3 (𝜑 → (𝐹𝐶) Fn 𝐶)
13 inss2 3219 . . . . 5 (𝐴𝐵) ⊆ 𝐵
145, 13eqsstr3i 3055 . . . 4 𝐶𝐵
15 fnssres 5113 . . . 4 ((𝐺 Fn 𝐵𝐶𝐵) → (𝐺𝐶) Fn 𝐶)
162, 14, 15sylancl 404 . . 3 (𝜑 → (𝐺𝐶) Fn 𝐶)
17 ssexg 3970 . . . 4 ((𝐶𝐴𝐴𝑉) → 𝐶 ∈ V)
1810, 3, 17sylancr 405 . . 3 (𝜑𝐶 ∈ V)
19 inidm 3207 . . 3 (𝐶𝐶) = 𝐶
20 fvres 5313 . . . 4 (𝑥𝐶 → ((𝐹𝐶)‘𝑥) = (𝐹𝑥))
2120adantl 271 . . 3 ((𝜑𝑥𝐶) → ((𝐹𝐶)‘𝑥) = (𝐹𝑥))
22 fvres 5313 . . . 4 (𝑥𝐶 → ((𝐺𝐶)‘𝑥) = (𝐺𝑥))
2322adantl 271 . . 3 ((𝜑𝑥𝐶) → ((𝐺𝐶)‘𝑥) = (𝐺𝑥))
2412, 16, 18, 18, 19, 21, 23offval 5845 . 2 (𝜑 → ((𝐹𝐶) ∘𝑓 𝑅(𝐺𝐶)) = (𝑥𝐶 ↦ ((𝐹𝑥)𝑅(𝐺𝑥))))
258, 24eqtr4d 2123 1 (𝜑 → (𝐹𝑓 𝑅𝐺) = ((𝐹𝐶) ∘𝑓 𝑅(𝐺𝐶)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102   = wceq 1289  wcel 1438  Vcvv 2619  cin 2996  wss 2997  cmpt 3891  cres 4430   Fn wfn 4997  cfv 5002  (class class class)co 5634  𝑓 cof 5836
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 579  ax-in2 580  ax-io 665  ax-5 1381  ax-7 1382  ax-gen 1383  ax-ie1 1427  ax-ie2 1428  ax-8 1440  ax-10 1441  ax-11 1442  ax-i12 1443  ax-bndl 1444  ax-4 1445  ax-14 1450  ax-17 1464  ax-i9 1468  ax-ial 1472  ax-i5r 1473  ax-ext 2070  ax-coll 3946  ax-sep 3949  ax-pow 4001  ax-pr 4027  ax-setind 4343
This theorem depends on definitions:  df-bi 115  df-3an 926  df-tru 1292  df-fal 1295  df-nf 1395  df-sb 1693  df-eu 1951  df-mo 1952  df-clab 2075  df-cleq 2081  df-clel 2084  df-nfc 2217  df-ne 2256  df-ral 2364  df-rex 2365  df-reu 2366  df-rab 2368  df-v 2621  df-sbc 2839  df-csb 2932  df-dif 2999  df-un 3001  df-in 3003  df-ss 3010  df-pw 3427  df-sn 3447  df-pr 3448  df-op 3450  df-uni 3649  df-iun 3727  df-br 3838  df-opab 3892  df-mpt 3893  df-id 4111  df-xp 4434  df-rel 4435  df-cnv 4436  df-co 4437  df-dm 4438  df-rn 4439  df-res 4440  df-ima 4441  df-iota 4967  df-fun 5004  df-fn 5005  df-f 5006  df-f1 5007  df-fo 5008  df-f1o 5009  df-fv 5010  df-ov 5637  df-oprab 5638  df-mpt2 5639  df-of 5838
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator