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

Theorem off 5724
Description: The function operation produces a function. (Contributed by Mario Carneiro, 20-Jul-2014.)
Hypotheses
Ref Expression
off.1 ((𝜑 ∧ (𝑥𝑆𝑦𝑇)) → (𝑥𝑅𝑦) ∈ 𝑈)
off.2 (𝜑𝐹:𝐴𝑆)
off.3 (𝜑𝐺:𝐵𝑇)
off.4 (𝜑𝐴𝑉)
off.5 (𝜑𝐵𝑊)
off.6 (𝐴𝐵) = 𝐶
Assertion
Ref Expression
off (𝜑 → (𝐹𝑓 𝑅𝐺):𝐶𝑈)
Distinct variable groups:   𝑦,𝐺   𝑥,𝑦,𝜑   𝑥,𝑆,𝑦   𝑥,𝑇,𝑦   𝑥,𝐹,𝑦   𝑥,𝑅,𝑦   𝑥,𝑈,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)   𝐺(𝑥)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem off
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 off.2 . . . . 5 (𝜑𝐹:𝐴𝑆)
2 off.6 . . . . . . 7 (𝐴𝐵) = 𝐶
3 inss1 3157 . . . . . . 7 (𝐴𝐵) ⊆ 𝐴
42, 3eqsstr3i 2976 . . . . . 6 𝐶𝐴
54sseli 2941 . . . . 5 (𝑧𝐶𝑧𝐴)
6 ffvelrn 5300 . . . . 5 ((𝐹:𝐴𝑆𝑧𝐴) → (𝐹𝑧) ∈ 𝑆)
71, 5, 6syl2an 273 . . . 4 ((𝜑𝑧𝐶) → (𝐹𝑧) ∈ 𝑆)
8 off.3 . . . . 5 (𝜑𝐺:𝐵𝑇)
9 inss2 3158 . . . . . . 7 (𝐴𝐵) ⊆ 𝐵
102, 9eqsstr3i 2976 . . . . . 6 𝐶𝐵
1110sseli 2941 . . . . 5 (𝑧𝐶𝑧𝐵)
12 ffvelrn 5300 . . . . 5 ((𝐺:𝐵𝑇𝑧𝐵) → (𝐺𝑧) ∈ 𝑇)
138, 11, 12syl2an 273 . . . 4 ((𝜑𝑧𝐶) → (𝐺𝑧) ∈ 𝑇)
14 off.1 . . . . . 6 ((𝜑 ∧ (𝑥𝑆𝑦𝑇)) → (𝑥𝑅𝑦) ∈ 𝑈)
1514ralrimivva 2401 . . . . 5 (𝜑 → ∀𝑥𝑆𝑦𝑇 (𝑥𝑅𝑦) ∈ 𝑈)
1615adantr 261 . . . 4 ((𝜑𝑧𝐶) → ∀𝑥𝑆𝑦𝑇 (𝑥𝑅𝑦) ∈ 𝑈)
17 oveq1 5519 . . . . . 6 (𝑥 = (𝐹𝑧) → (𝑥𝑅𝑦) = ((𝐹𝑧)𝑅𝑦))
1817eleq1d 2106 . . . . 5 (𝑥 = (𝐹𝑧) → ((𝑥𝑅𝑦) ∈ 𝑈 ↔ ((𝐹𝑧)𝑅𝑦) ∈ 𝑈))
19 oveq2 5520 . . . . . 6 (𝑦 = (𝐺𝑧) → ((𝐹𝑧)𝑅𝑦) = ((𝐹𝑧)𝑅(𝐺𝑧)))
2019eleq1d 2106 . . . . 5 (𝑦 = (𝐺𝑧) → (((𝐹𝑧)𝑅𝑦) ∈ 𝑈 ↔ ((𝐹𝑧)𝑅(𝐺𝑧)) ∈ 𝑈))
2118, 20rspc2va 2663 . . . 4 ((((𝐹𝑧) ∈ 𝑆 ∧ (𝐺𝑧) ∈ 𝑇) ∧ ∀𝑥𝑆𝑦𝑇 (𝑥𝑅𝑦) ∈ 𝑈) → ((𝐹𝑧)𝑅(𝐺𝑧)) ∈ 𝑈)
227, 13, 16, 21syl21anc 1134 . . 3 ((𝜑𝑧𝐶) → ((𝐹𝑧)𝑅(𝐺𝑧)) ∈ 𝑈)
23 eqid 2040 . . 3 (𝑧𝐶 ↦ ((𝐹𝑧)𝑅(𝐺𝑧))) = (𝑧𝐶 ↦ ((𝐹𝑧)𝑅(𝐺𝑧)))
2422, 23fmptd 5322 . 2 (𝜑 → (𝑧𝐶 ↦ ((𝐹𝑧)𝑅(𝐺𝑧))):𝐶𝑈)
25 ffn 5046 . . . . 5 (𝐹:𝐴𝑆𝐹 Fn 𝐴)
261, 25syl 14 . . . 4 (𝜑𝐹 Fn 𝐴)
27 ffn 5046 . . . . 5 (𝐺:𝐵𝑇𝐺 Fn 𝐵)
288, 27syl 14 . . . 4 (𝜑𝐺 Fn 𝐵)
29 off.4 . . . 4 (𝜑𝐴𝑉)
30 off.5 . . . 4 (𝜑𝐵𝑊)
31 eqidd 2041 . . . 4 ((𝜑𝑧𝐴) → (𝐹𝑧) = (𝐹𝑧))
32 eqidd 2041 . . . 4 ((𝜑𝑧𝐵) → (𝐺𝑧) = (𝐺𝑧))
3326, 28, 29, 30, 2, 31, 32offval 5719 . . 3 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑧𝐶 ↦ ((𝐹𝑧)𝑅(𝐺𝑧))))
3433feq1d 5034 . 2 (𝜑 → ((𝐹𝑓 𝑅𝐺):𝐶𝑈 ↔ (𝑧𝐶 ↦ ((𝐹𝑧)𝑅(𝐺𝑧))):𝐶𝑈))
3524, 34mpbird 156 1 (𝜑 → (𝐹𝑓 𝑅𝐺):𝐶𝑈)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97   = wceq 1243  wcel 1393  wral 2306  cin 2916  cmpt 3818   Fn wfn 4897  wf 4898  cfv 4902  (class class class)co 5512  𝑓 cof 5710
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-coll 3872  ax-sep 3875  ax-pow 3927  ax-pr 3944  ax-setind 4262
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-fal 1249  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ne 2206  df-ral 2311  df-rex 2312  df-reu 2313  df-rab 2315  df-v 2559  df-sbc 2765  df-csb 2853  df-dif 2920  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-iun 3659  df-br 3765  df-opab 3819  df-mpt 3820  df-id 4030  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-res 4357  df-ima 4358  df-iota 4867  df-fun 4904  df-fn 4905  df-f 4906  df-f1 4907  df-fo 4908  df-f1o 4909  df-fv 4910  df-ov 5515  df-oprab 5516  df-mpt2 5517  df-of 5712
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator