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

Theorem caofrss 5735
Description: Transfer a relation subset law to the function relation. (Contributed by Mario Carneiro, 28-Jul-2014.)
Hypotheses
Ref Expression
caofref.1 (𝜑𝐴𝑉)
caofref.2 (𝜑𝐹:𝐴𝑆)
caofcom.3 (𝜑𝐺:𝐴𝑆)
caofrss.4 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑅𝑦𝑥𝑇𝑦))
Assertion
Ref Expression
caofrss (𝜑 → (𝐹𝑟 𝑅𝐺𝐹𝑟 𝑇𝐺))
Distinct variable groups:   𝑥,𝑦,𝐹   𝑥,𝐺,𝑦   𝜑,𝑥,𝑦   𝑥,𝑅,𝑦   𝑥,𝑆,𝑦   𝑥,𝑇,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem caofrss
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 caofref.2 . . . . 5 (𝜑𝐹:𝐴𝑆)
21ffvelrnda 5302 . . . 4 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝑆)
3 caofcom.3 . . . . 5 (𝜑𝐺:𝐴𝑆)
43ffvelrnda 5302 . . . 4 ((𝜑𝑤𝐴) → (𝐺𝑤) ∈ 𝑆)
5 caofrss.4 . . . . . 6 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑅𝑦𝑥𝑇𝑦))
65ralrimivva 2401 . . . . 5 (𝜑 → ∀𝑥𝑆𝑦𝑆 (𝑥𝑅𝑦𝑥𝑇𝑦))
76adantr 261 . . . 4 ((𝜑𝑤𝐴) → ∀𝑥𝑆𝑦𝑆 (𝑥𝑅𝑦𝑥𝑇𝑦))
8 breq1 3767 . . . . . 6 (𝑥 = (𝐹𝑤) → (𝑥𝑅𝑦 ↔ (𝐹𝑤)𝑅𝑦))
9 breq1 3767 . . . . . 6 (𝑥 = (𝐹𝑤) → (𝑥𝑇𝑦 ↔ (𝐹𝑤)𝑇𝑦))
108, 9imbi12d 223 . . . . 5 (𝑥 = (𝐹𝑤) → ((𝑥𝑅𝑦𝑥𝑇𝑦) ↔ ((𝐹𝑤)𝑅𝑦 → (𝐹𝑤)𝑇𝑦)))
11 breq2 3768 . . . . . 6 (𝑦 = (𝐺𝑤) → ((𝐹𝑤)𝑅𝑦 ↔ (𝐹𝑤)𝑅(𝐺𝑤)))
12 breq2 3768 . . . . . 6 (𝑦 = (𝐺𝑤) → ((𝐹𝑤)𝑇𝑦 ↔ (𝐹𝑤)𝑇(𝐺𝑤)))
1311, 12imbi12d 223 . . . . 5 (𝑦 = (𝐺𝑤) → (((𝐹𝑤)𝑅𝑦 → (𝐹𝑤)𝑇𝑦) ↔ ((𝐹𝑤)𝑅(𝐺𝑤) → (𝐹𝑤)𝑇(𝐺𝑤))))
1410, 13rspc2va 2663 . . . 4 ((((𝐹𝑤) ∈ 𝑆 ∧ (𝐺𝑤) ∈ 𝑆) ∧ ∀𝑥𝑆𝑦𝑆 (𝑥𝑅𝑦𝑥𝑇𝑦)) → ((𝐹𝑤)𝑅(𝐺𝑤) → (𝐹𝑤)𝑇(𝐺𝑤)))
152, 4, 7, 14syl21anc 1134 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑅(𝐺𝑤) → (𝐹𝑤)𝑇(𝐺𝑤)))
1615ralimdva 2387 . 2 (𝜑 → (∀𝑤𝐴 (𝐹𝑤)𝑅(𝐺𝑤) → ∀𝑤𝐴 (𝐹𝑤)𝑇(𝐺𝑤)))
17 ffn 5046 . . . 4 (𝐹:𝐴𝑆𝐹 Fn 𝐴)
181, 17syl 14 . . 3 (𝜑𝐹 Fn 𝐴)
19 ffn 5046 . . . 4 (𝐺:𝐴𝑆𝐺 Fn 𝐴)
203, 19syl 14 . . 3 (𝜑𝐺 Fn 𝐴)
21 caofref.1 . . 3 (𝜑𝐴𝑉)
22 inidm 3146 . . 3 (𝐴𝐴) = 𝐴
23 eqidd 2041 . . 3 ((𝜑𝑤𝐴) → (𝐹𝑤) = (𝐹𝑤))
24 eqidd 2041 . . 3 ((𝜑𝑤𝐴) → (𝐺𝑤) = (𝐺𝑤))
2518, 20, 21, 21, 22, 23, 24ofrfval 5720 . 2 (𝜑 → (𝐹𝑟 𝑅𝐺 ↔ ∀𝑤𝐴 (𝐹𝑤)𝑅(𝐺𝑤)))
2618, 20, 21, 21, 22, 23, 24ofrfval 5720 . 2 (𝜑 → (𝐹𝑟 𝑇𝐺 ↔ ∀𝑤𝐴 (𝐹𝑤)𝑇(𝐺𝑤)))
2716, 25, 263imtr4d 192 1 (𝜑 → (𝐹𝑟 𝑅𝐺𝐹𝑟 𝑇𝐺))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97   = wceq 1243  wcel 1393  wral 2306   class class class wbr 3764   Fn wfn 4897  wf 4898  cfv 4902  𝑟 cofr 5711
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-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
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  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-ral 2311  df-rex 2312  df-reu 2313  df-rab 2315  df-v 2559  df-sbc 2765  df-csb 2853  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-ofr 5713
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator