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

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

Proof of Theorem caoftrn
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 caoftrn.5 . . . . . 6 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥𝑅𝑦𝑦𝑇𝑧) → 𝑥𝑈𝑧))
21ralrimivvva 2549 . . . . 5 (𝜑 → ∀𝑥𝑆𝑦𝑆𝑧𝑆 ((𝑥𝑅𝑦𝑦𝑇𝑧) → 𝑥𝑈𝑧))
32adantr 274 . . . 4 ((𝜑𝑤𝐴) → ∀𝑥𝑆𝑦𝑆𝑧𝑆 ((𝑥𝑅𝑦𝑦𝑇𝑧) → 𝑥𝑈𝑧))
4 caofref.2 . . . . . 6 (𝜑𝐹:𝐴𝑆)
54ffvelrnda 5620 . . . . 5 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝑆)
6 caofcom.3 . . . . . 6 (𝜑𝐺:𝐴𝑆)
76ffvelrnda 5620 . . . . 5 ((𝜑𝑤𝐴) → (𝐺𝑤) ∈ 𝑆)
8 caofass.4 . . . . . 6 (𝜑𝐻:𝐴𝑆)
98ffvelrnda 5620 . . . . 5 ((𝜑𝑤𝐴) → (𝐻𝑤) ∈ 𝑆)
10 breq1 3985 . . . . . . . 8 (𝑥 = (𝐹𝑤) → (𝑥𝑅𝑦 ↔ (𝐹𝑤)𝑅𝑦))
1110anbi1d 461 . . . . . . 7 (𝑥 = (𝐹𝑤) → ((𝑥𝑅𝑦𝑦𝑇𝑧) ↔ ((𝐹𝑤)𝑅𝑦𝑦𝑇𝑧)))
12 breq1 3985 . . . . . . 7 (𝑥 = (𝐹𝑤) → (𝑥𝑈𝑧 ↔ (𝐹𝑤)𝑈𝑧))
1311, 12imbi12d 233 . . . . . 6 (𝑥 = (𝐹𝑤) → (((𝑥𝑅𝑦𝑦𝑇𝑧) → 𝑥𝑈𝑧) ↔ (((𝐹𝑤)𝑅𝑦𝑦𝑇𝑧) → (𝐹𝑤)𝑈𝑧)))
14 breq2 3986 . . . . . . . 8 (𝑦 = (𝐺𝑤) → ((𝐹𝑤)𝑅𝑦 ↔ (𝐹𝑤)𝑅(𝐺𝑤)))
15 breq1 3985 . . . . . . . 8 (𝑦 = (𝐺𝑤) → (𝑦𝑇𝑧 ↔ (𝐺𝑤)𝑇𝑧))
1614, 15anbi12d 465 . . . . . . 7 (𝑦 = (𝐺𝑤) → (((𝐹𝑤)𝑅𝑦𝑦𝑇𝑧) ↔ ((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇𝑧)))
1716imbi1d 230 . . . . . 6 (𝑦 = (𝐺𝑤) → ((((𝐹𝑤)𝑅𝑦𝑦𝑇𝑧) → (𝐹𝑤)𝑈𝑧) ↔ (((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇𝑧) → (𝐹𝑤)𝑈𝑧)))
18 breq2 3986 . . . . . . . 8 (𝑧 = (𝐻𝑤) → ((𝐺𝑤)𝑇𝑧 ↔ (𝐺𝑤)𝑇(𝐻𝑤)))
1918anbi2d 460 . . . . . . 7 (𝑧 = (𝐻𝑤) → (((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇𝑧) ↔ ((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇(𝐻𝑤))))
20 breq2 3986 . . . . . . 7 (𝑧 = (𝐻𝑤) → ((𝐹𝑤)𝑈𝑧 ↔ (𝐹𝑤)𝑈(𝐻𝑤)))
2119, 20imbi12d 233 . . . . . 6 (𝑧 = (𝐻𝑤) → ((((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇𝑧) → (𝐹𝑤)𝑈𝑧) ↔ (((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇(𝐻𝑤)) → (𝐹𝑤)𝑈(𝐻𝑤))))
2213, 17, 21rspc3v 2846 . . . . 5 (((𝐹𝑤) ∈ 𝑆 ∧ (𝐺𝑤) ∈ 𝑆 ∧ (𝐻𝑤) ∈ 𝑆) → (∀𝑥𝑆𝑦𝑆𝑧𝑆 ((𝑥𝑅𝑦𝑦𝑇𝑧) → 𝑥𝑈𝑧) → (((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇(𝐻𝑤)) → (𝐹𝑤)𝑈(𝐻𝑤))))
235, 7, 9, 22syl3anc 1228 . . . 4 ((𝜑𝑤𝐴) → (∀𝑥𝑆𝑦𝑆𝑧𝑆 ((𝑥𝑅𝑦𝑦𝑇𝑧) → 𝑥𝑈𝑧) → (((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇(𝐻𝑤)) → (𝐹𝑤)𝑈(𝐻𝑤))))
243, 23mpd 13 . . 3 ((𝜑𝑤𝐴) → (((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇(𝐻𝑤)) → (𝐹𝑤)𝑈(𝐻𝑤)))
2524ralimdva 2533 . 2 (𝜑 → (∀𝑤𝐴 ((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇(𝐻𝑤)) → ∀𝑤𝐴 (𝐹𝑤)𝑈(𝐻𝑤)))
26 ffn 5337 . . . . . 6 (𝐹:𝐴𝑆𝐹 Fn 𝐴)
274, 26syl 14 . . . . 5 (𝜑𝐹 Fn 𝐴)
28 ffn 5337 . . . . . 6 (𝐺:𝐴𝑆𝐺 Fn 𝐴)
296, 28syl 14 . . . . 5 (𝜑𝐺 Fn 𝐴)
30 caofref.1 . . . . 5 (𝜑𝐴𝑉)
31 inidm 3331 . . . . 5 (𝐴𝐴) = 𝐴
32 eqidd 2166 . . . . 5 ((𝜑𝑤𝐴) → (𝐹𝑤) = (𝐹𝑤))
33 eqidd 2166 . . . . 5 ((𝜑𝑤𝐴) → (𝐺𝑤) = (𝐺𝑤))
3427, 29, 30, 30, 31, 32, 33ofrfval 6058 . . . 4 (𝜑 → (𝐹𝑟 𝑅𝐺 ↔ ∀𝑤𝐴 (𝐹𝑤)𝑅(𝐺𝑤)))
35 ffn 5337 . . . . . 6 (𝐻:𝐴𝑆𝐻 Fn 𝐴)
368, 35syl 14 . . . . 5 (𝜑𝐻 Fn 𝐴)
37 eqidd 2166 . . . . 5 ((𝜑𝑤𝐴) → (𝐻𝑤) = (𝐻𝑤))
3829, 36, 30, 30, 31, 33, 37ofrfval 6058 . . . 4 (𝜑 → (𝐺𝑟 𝑇𝐻 ↔ ∀𝑤𝐴 (𝐺𝑤)𝑇(𝐻𝑤)))
3934, 38anbi12d 465 . . 3 (𝜑 → ((𝐹𝑟 𝑅𝐺𝐺𝑟 𝑇𝐻) ↔ (∀𝑤𝐴 (𝐹𝑤)𝑅(𝐺𝑤) ∧ ∀𝑤𝐴 (𝐺𝑤)𝑇(𝐻𝑤))))
40 r19.26 2592 . . 3 (∀𝑤𝐴 ((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇(𝐻𝑤)) ↔ (∀𝑤𝐴 (𝐹𝑤)𝑅(𝐺𝑤) ∧ ∀𝑤𝐴 (𝐺𝑤)𝑇(𝐻𝑤)))
4139, 40bitr4di 197 . 2 (𝜑 → ((𝐹𝑟 𝑅𝐺𝐺𝑟 𝑇𝐻) ↔ ∀𝑤𝐴 ((𝐹𝑤)𝑅(𝐺𝑤) ∧ (𝐺𝑤)𝑇(𝐻𝑤))))
4227, 36, 30, 30, 31, 32, 37ofrfval 6058 . 2 (𝜑 → (𝐹𝑟 𝑈𝐻 ↔ ∀𝑤𝐴 (𝐹𝑤)𝑈(𝐻𝑤)))
4325, 41, 423imtr4d 202 1 (𝜑 → ((𝐹𝑟 𝑅𝐺𝐺𝑟 𝑇𝐻) → 𝐹𝑟 𝑈𝐻))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  w3a 968   = wceq 1343  wcel 2136  wral 2444   class class class wbr 3982   Fn wfn 5183  wf 5184  cfv 5188  𝑟 cofr 6049
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-ofr 6051
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator