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

Theorem ofrfval2 6319
Description: The function relation acting on maps. (Contributed by Mario Carneiro, 20-Jul-2014.)
Hypotheses
Ref Expression
offval2.1 (𝜑 → 𝐴 ∈ 𝑉)
offval2.2 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ 𝑊)
offval2.3 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝑋)
offval2.4 (𝜑 → 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵))
offval2.5 (𝜑 → 𝐺 = (𝑥 ∈ 𝐴 ↦ 𝐶))
Assertion
Ref Expression
ofrfval2 (𝜑 → (𝐹 ∘𝑟 𝑅𝐺 ↔ ∀𝑥 ∈ 𝐴 𝐵𝑅𝐶))
Distinct variable groups:   𝑥,𝐴   𝜑,𝑥   𝑥,𝑅
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)   𝐹(𝑥)   𝐺(𝑥)   𝑉(𝑥)   𝑊(𝑥)   𝑋(𝑥)

Proof of Theorem ofrfval2
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 offval2.2 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ 𝑊)
21ralrimiva 2623 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑊)
3 eqid 2238 . . . . . 6 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
43fnmpt 5510 . . . . 5 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑊 → (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴)
52, 4syl 14 . . . 4 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴)
6 offval2.4 . . . . 5 (𝜑 → 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵))
76fneq1d 5471 . . . 4 (𝜑 → (𝐹 Fn 𝐴 ↔ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴))
85, 7mpbird 167 . . 3 (𝜑 → 𝐹 Fn 𝐴)
9 offval2.3 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝑋)
109ralrimiva 2623 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐴 𝐶 ∈ 𝑋)
11 eqid 2238 . . . . . 6 (𝑥 ∈ 𝐴 ↦ 𝐶) = (𝑥 ∈ 𝐴 ↦ 𝐶)
1211fnmpt 5510 . . . . 5 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝑋 → (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴)
1310, 12syl 14 . . . 4 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴)
14 offval2.5 . . . . 5 (𝜑 → 𝐺 = (𝑥 ∈ 𝐴 ↦ 𝐶))
1514fneq1d 5471 . . . 4 (𝜑 → (𝐺 Fn 𝐴 ↔ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴))
1613, 15mpbird 167 . . 3 (𝜑 → 𝐺 Fn 𝐴)
17 offval2.1 . . 3 (𝜑 → 𝐴 ∈ 𝑉)
18 inidm 3440 . . 3 (𝐴 ∩ 𝐴) = 𝐴
196adantr 276 . . . 4 ((𝜑 ∧ 𝑦 ∈ 𝐴) → 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵))
2019fveq1d 5697 . . 3 ((𝜑 ∧ 𝑦 ∈ 𝐴) → (𝐹‘𝑦) = ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑦))
2114adantr 276 . . . 4 ((𝜑 ∧ 𝑦 ∈ 𝐴) → 𝐺 = (𝑥 ∈ 𝐴 ↦ 𝐶))
2221fveq1d 5697 . . 3 ((𝜑 ∧ 𝑦 ∈ 𝐴) → (𝐺‘𝑦) = ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦))
238, 16, 17, 17, 18, 20, 22ofrfval 6311 . 2 (𝜑 → (𝐹 ∘𝑟 𝑅𝐺 ↔ ∀𝑦 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑦)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦)))
24 nffvmpt1 5706 . . . . 5 Ⅎ𝑥((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑦)
25 nfcv 2392 . . . . 5 Ⅎ𝑥𝑅
26 nffvmpt1 5706 . . . . 5 Ⅎ𝑥((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦)
2724, 25, 26nfbr 4177 . . . 4 Ⅎ𝑥((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑦)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦)
28 nfv 1581 . . . 4 Ⅎ𝑦((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥)
29 fveq2 5695 . . . . 5 (𝑦 = 𝑥 → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑦) = ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥))
30 fveq2 5695 . . . . 5 (𝑦 = 𝑥 → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥))
3129, 30breq12d 4143 . . . 4 (𝑦 = 𝑥 → (((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑦)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥)))
3227, 28, 31cbvral 2782 . . 3 (∀𝑦 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑦)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ ∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥))
33 simpr 110 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
343fvmpt2 5789 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ 𝑊) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) = 𝐵)
3533, 1, 34syl2anc 415 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥) = 𝐵)
3611fvmpt2 5789 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ 𝐶 ∈ 𝑋) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶)
3733, 9, 36syl2anc 415 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶)
3835, 37breq12d 4143 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) ↔ 𝐵𝑅𝐶))
3938ralbidva 2546 . . 3 (𝜑 → (∀𝑥 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑥)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) ↔ ∀𝑥 ∈ 𝐴 𝐵𝑅𝐶))
4032, 39bitrid 192 . 2 (𝜑 → (∀𝑦 ∈ 𝐴 ((𝑥 ∈ 𝐴 ↦ 𝐵)‘𝑦)𝑅((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ ∀𝑥 ∈ 𝐴 𝐵𝑅𝐶))
4123, 40bitrd 188 1 (𝜑 → (𝐹 ∘𝑟 𝑅𝐺 ↔ ∀𝑥 ∈ 𝐴 𝐵𝑅𝐶))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  ∀wral 2528   class class class wbr 4130   ↦ cmpt 4192   Fn wfn 5372  ‘cfv 5377   ∘𝑟 cofr 6301
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4246  ax-sep 4249  ax-pow 4311  ax-pr 4346
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-iun 4014  df-br 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-ofr 6303
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator