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

Theorem caofinvl 6083
Description: Transfer a left inverse law to the function operation. (Contributed by NM, 22-Oct-2014.)
Hypotheses
Ref Expression
caofref.1 (𝜑𝐴𝑉)
caofref.2 (𝜑𝐹:𝐴𝑆)
caofinv.3 (𝜑𝐵𝑊)
caofinv.4 (𝜑𝑁:𝑆𝑆)
caofinv.5 (𝜑𝐺 = (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣))))
caofinvl.6 ((𝜑𝑥𝑆) → ((𝑁𝑥)𝑅𝑥) = 𝐵)
Assertion
Ref Expression
caofinvl (𝜑 → (𝐺𝑓 𝑅𝐹) = (𝐴 × {𝐵}))
Distinct variable groups:   𝑥,𝐵   𝑥,𝐹   𝑥,𝐺   𝜑,𝑥   𝑥,𝑅   𝑥,𝑆   𝑣,𝐴   𝑣,𝐹,𝑥   𝑥,𝑁,𝑣   𝑣,𝑆   𝜑,𝑣
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑣)   𝑅(𝑣)   𝐺(𝑣)   𝑉(𝑥,𝑣)   𝑊(𝑥,𝑣)

Proof of Theorem caofinvl
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 caofref.1 . . . 4 (𝜑𝐴𝑉)
2 caofinv.4 . . . . . . . . 9 (𝜑𝑁:𝑆𝑆)
32adantr 274 . . . . . . . 8 ((𝜑𝑣𝐴) → 𝑁:𝑆𝑆)
4 caofref.2 . . . . . . . . 9 (𝜑𝐹:𝐴𝑆)
54ffvelrnda 5631 . . . . . . . 8 ((𝜑𝑣𝐴) → (𝐹𝑣) ∈ 𝑆)
63, 5ffvelrnd 5632 . . . . . . 7 ((𝜑𝑣𝐴) → (𝑁‘(𝐹𝑣)) ∈ 𝑆)
7 eqid 2170 . . . . . . 7 (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣))) = (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣)))
86, 7fmptd 5650 . . . . . 6 (𝜑 → (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣))):𝐴𝑆)
9 caofinv.5 . . . . . . 7 (𝜑𝐺 = (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣))))
109feq1d 5334 . . . . . 6 (𝜑 → (𝐺:𝐴𝑆 ↔ (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣))):𝐴𝑆))
118, 10mpbird 166 . . . . 5 (𝜑𝐺:𝐴𝑆)
1211ffvelrnda 5631 . . . 4 ((𝜑𝑤𝐴) → (𝐺𝑤) ∈ 𝑆)
134ffvelrnda 5631 . . . 4 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝑆)
146ralrimiva 2543 . . . . . . 7 (𝜑 → ∀𝑣𝐴 (𝑁‘(𝐹𝑣)) ∈ 𝑆)
157fnmpt 5324 . . . . . . 7 (∀𝑣𝐴 (𝑁‘(𝐹𝑣)) ∈ 𝑆 → (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣))) Fn 𝐴)
1614, 15syl 14 . . . . . 6 (𝜑 → (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣))) Fn 𝐴)
179fneq1d 5288 . . . . . 6 (𝜑 → (𝐺 Fn 𝐴 ↔ (𝑣𝐴 ↦ (𝑁‘(𝐹𝑣))) Fn 𝐴))
1816, 17mpbird 166 . . . . 5 (𝜑𝐺 Fn 𝐴)
19 dffn5im 5542 . . . . 5 (𝐺 Fn 𝐴𝐺 = (𝑤𝐴 ↦ (𝐺𝑤)))
2018, 19syl 14 . . . 4 (𝜑𝐺 = (𝑤𝐴 ↦ (𝐺𝑤)))
214feqmptd 5549 . . . 4 (𝜑𝐹 = (𝑤𝐴 ↦ (𝐹𝑤)))
221, 12, 13, 20, 21offval2 6076 . . 3 (𝜑 → (𝐺𝑓 𝑅𝐹) = (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐹𝑤))))
239fveq1d 5498 . . . . . . . 8 (𝜑 → (𝐺𝑤) = ((𝑣𝐴 ↦ (𝑁‘(𝐹𝑣)))‘𝑤))
2423adantr 274 . . . . . . 7 ((𝜑𝑤𝐴) → (𝐺𝑤) = ((𝑣𝐴 ↦ (𝑁‘(𝐹𝑣)))‘𝑤))
25 simpr 109 . . . . . . . 8 ((𝜑𝑤𝐴) → 𝑤𝐴)
262adantr 274 . . . . . . . . 9 ((𝜑𝑤𝐴) → 𝑁:𝑆𝑆)
2726, 13ffvelrnd 5632 . . . . . . . 8 ((𝜑𝑤𝐴) → (𝑁‘(𝐹𝑤)) ∈ 𝑆)
28 fveq2 5496 . . . . . . . . . 10 (𝑣 = 𝑤 → (𝐹𝑣) = (𝐹𝑤))
2928fveq2d 5500 . . . . . . . . 9 (𝑣 = 𝑤 → (𝑁‘(𝐹𝑣)) = (𝑁‘(𝐹𝑤)))
3029, 7fvmptg 5572 . . . . . . . 8 ((𝑤𝐴 ∧ (𝑁‘(𝐹𝑤)) ∈ 𝑆) → ((𝑣𝐴 ↦ (𝑁‘(𝐹𝑣)))‘𝑤) = (𝑁‘(𝐹𝑤)))
3125, 27, 30syl2anc 409 . . . . . . 7 ((𝜑𝑤𝐴) → ((𝑣𝐴 ↦ (𝑁‘(𝐹𝑣)))‘𝑤) = (𝑁‘(𝐹𝑤)))
3224, 31eqtrd 2203 . . . . . 6 ((𝜑𝑤𝐴) → (𝐺𝑤) = (𝑁‘(𝐹𝑤)))
3332oveq1d 5868 . . . . 5 ((𝜑𝑤𝐴) → ((𝐺𝑤)𝑅(𝐹𝑤)) = ((𝑁‘(𝐹𝑤))𝑅(𝐹𝑤)))
34 fveq2 5496 . . . . . . . 8 (𝑥 = (𝐹𝑤) → (𝑁𝑥) = (𝑁‘(𝐹𝑤)))
35 id 19 . . . . . . . 8 (𝑥 = (𝐹𝑤) → 𝑥 = (𝐹𝑤))
3634, 35oveq12d 5871 . . . . . . 7 (𝑥 = (𝐹𝑤) → ((𝑁𝑥)𝑅𝑥) = ((𝑁‘(𝐹𝑤))𝑅(𝐹𝑤)))
3736eqeq1d 2179 . . . . . 6 (𝑥 = (𝐹𝑤) → (((𝑁𝑥)𝑅𝑥) = 𝐵 ↔ ((𝑁‘(𝐹𝑤))𝑅(𝐹𝑤)) = 𝐵))
38 caofinvl.6 . . . . . . . 8 ((𝜑𝑥𝑆) → ((𝑁𝑥)𝑅𝑥) = 𝐵)
3938ralrimiva 2543 . . . . . . 7 (𝜑 → ∀𝑥𝑆 ((𝑁𝑥)𝑅𝑥) = 𝐵)
4039adantr 274 . . . . . 6 ((𝜑𝑤𝐴) → ∀𝑥𝑆 ((𝑁𝑥)𝑅𝑥) = 𝐵)
4137, 40, 13rspcdva 2839 . . . . 5 ((𝜑𝑤𝐴) → ((𝑁‘(𝐹𝑤))𝑅(𝐹𝑤)) = 𝐵)
4233, 41eqtrd 2203 . . . 4 ((𝜑𝑤𝐴) → ((𝐺𝑤)𝑅(𝐹𝑤)) = 𝐵)
4342mpteq2dva 4079 . . 3 (𝜑 → (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐹𝑤))) = (𝑤𝐴𝐵))
4422, 43eqtrd 2203 . 2 (𝜑 → (𝐺𝑓 𝑅𝐹) = (𝑤𝐴𝐵))
45 fconstmpt 4658 . 2 (𝐴 × {𝐵}) = (𝑤𝐴𝐵)
4644, 45eqtr4di 2221 1 (𝜑 → (𝐺𝑓 𝑅𝐹) = (𝐴 × {𝐵}))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1348  wcel 2141  wral 2448  {csn 3583  cmpt 4050   × cxp 4609   Fn wfn 5193  wf 5194  cfv 5198  (class class class)co 5853  𝑓 cof 6059
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-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-setind 4521
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-of 6061
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator