MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  sectffval Structured version   Visualization version   GIF version

Theorem sectffval 17227
Description: Value of the section operation. (Contributed by Mario Carneiro, 2-Jan-2017.)
Hypotheses
Ref Expression
issect.b 𝐵 = (Base‘𝐶)
issect.h 𝐻 = (Hom ‘𝐶)
issect.o · = (comp‘𝐶)
issect.i 1 = (Id‘𝐶)
issect.s 𝑆 = (Sect‘𝐶)
issect.c (𝜑𝐶 ∈ Cat)
issect.x (𝜑𝑋𝐵)
issect.y (𝜑𝑌𝐵)
Assertion
Ref Expression
sectffval (𝜑𝑆 = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
Distinct variable groups:   𝑓,𝑔,𝑥,𝑦, 1   𝑥,𝐵,𝑦   𝐶,𝑓,𝑔,𝑥,𝑦   𝜑,𝑓,𝑔,𝑥,𝑦   𝑓,𝐻,𝑔,𝑥,𝑦   · ,𝑓,𝑔,𝑥,𝑦   𝑓,𝑋,𝑔,𝑥,𝑦   𝑓,𝑌,𝑔,𝑥,𝑦
Allowed substitution hints:   𝐵(𝑓,𝑔)   𝑆(𝑥,𝑦,𝑓,𝑔)

Proof of Theorem sectffval
Dummy variables 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 issect.s . 2 𝑆 = (Sect‘𝐶)
2 issect.c . . 3 (𝜑𝐶 ∈ Cat)
3 fveq2 6706 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 issect.b . . . . . 6 𝐵 = (Base‘𝐶)
53, 4eqtr4di 2792 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
6 fvexd 6721 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) ∈ V)
7 fveq2 6706 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
8 issect.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
97, 8eqtr4di 2792 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
10 simpr 488 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → = 𝐻)
1110oveqd 7219 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (𝑥𝑦) = (𝑥𝐻𝑦))
1211eleq2d 2819 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑓 ∈ (𝑥𝑦) ↔ 𝑓 ∈ (𝑥𝐻𝑦)))
1310oveqd 7219 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (𝑦𝑥) = (𝑦𝐻𝑥))
1413eleq2d 2819 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑔 ∈ (𝑦𝑥) ↔ 𝑔 ∈ (𝑦𝐻𝑥)))
1512, 14anbi12d 634 . . . . . . . 8 ((𝑐 = 𝐶 = 𝐻) → ((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ↔ (𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥))))
16 simpl 486 . . . . . . . . . . . . 13 ((𝑐 = 𝐶 = 𝐻) → 𝑐 = 𝐶)
1716fveq2d 6710 . . . . . . . . . . . 12 ((𝑐 = 𝐶 = 𝐻) → (comp‘𝑐) = (comp‘𝐶))
18 issect.o . . . . . . . . . . . 12 · = (comp‘𝐶)
1917, 18eqtr4di 2792 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → (comp‘𝑐) = · )
2019oveqd 7219 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥) = (⟨𝑥, 𝑦· 𝑥))
2120oveqd 7219 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓))
2216fveq2d 6710 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → (Id‘𝑐) = (Id‘𝐶))
23 issect.i . . . . . . . . . . 11 1 = (Id‘𝐶)
2422, 23eqtr4di 2792 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (Id‘𝑐) = 1 )
2524fveq1d 6708 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → ((Id‘𝑐)‘𝑥) = ( 1𝑥))
2621, 25eqeq12d 2750 . . . . . . . 8 ((𝑐 = 𝐶 = 𝐻) → ((𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥) ↔ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥)))
2715, 26anbi12d 634 . . . . . . 7 ((𝑐 = 𝐶 = 𝐻) → (((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))))
286, 9, 27sbcied2 3734 . . . . . 6 (𝑐 = 𝐶 → ([(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))))
2928opabbidv 5109 . . . . 5 (𝑐 = 𝐶 → {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))} = {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))})
305, 5, 29mpoeq123dv 7275 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
31 df-sect 17224 . . . 4 Sect = (𝑐 ∈ Cat ↦ (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}))
324fvexi 6720 . . . . 5 𝐵 ∈ V
3332, 32mpoex 7839 . . . 4 (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}) ∈ V
3430, 31, 33fvmpt 6807 . . 3 (𝐶 ∈ Cat → (Sect‘𝐶) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
352, 34syl 17 . 2 (𝜑 → (Sect‘𝐶) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
361, 35syl5eq 2786 1 (𝜑𝑆 = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2110  Vcvv 3401  [wsbc 3687  cop 4537  {copab 5105  cfv 6369  (class class class)co 7202  cmpo 7204  Basecbs 16684  Hom chom 16778  compcco 16779  Catccat 17139  Idccid 17140  Sectcsect 17221
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2706  ax-rep 5168  ax-sep 5181  ax-nul 5188  ax-pow 5247  ax-pr 5311  ax-un 7512
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3403  df-sbc 3688  df-csb 3803  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-nul 4228  df-if 4430  df-pw 4505  df-sn 4532  df-pr 4534  df-op 4538  df-uni 4810  df-iun 4896  df-br 5044  df-opab 5106  df-mpt 5125  df-id 5444  df-xp 5546  df-rel 5547  df-cnv 5548  df-co 5549  df-dm 5550  df-rn 5551  df-res 5552  df-ima 5553  df-iota 6327  df-fun 6371  df-fn 6372  df-f 6373  df-f1 6374  df-fo 6375  df-f1o 6376  df-fv 6377  df-ov 7205  df-oprab 7206  df-mpo 7207  df-1st 7750  df-2nd 7751  df-sect 17224
This theorem is referenced by:  sectfval  17228
  Copyright terms: Public domain W3C validator