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

Theorem sectffval 17022
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 6672 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 issect.b . . . . . 6 𝐵 = (Base‘𝐶)
53, 4syl6eqr 2876 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
6 fvexd 6687 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) ∈ V)
7 fveq2 6672 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
8 issect.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
97, 8syl6eqr 2876 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
10 simpr 487 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → = 𝐻)
1110oveqd 7175 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (𝑥𝑦) = (𝑥𝐻𝑦))
1211eleq2d 2900 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑓 ∈ (𝑥𝑦) ↔ 𝑓 ∈ (𝑥𝐻𝑦)))
1310oveqd 7175 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (𝑦𝑥) = (𝑦𝐻𝑥))
1413eleq2d 2900 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑔 ∈ (𝑦𝑥) ↔ 𝑔 ∈ (𝑦𝐻𝑥)))
1512, 14anbi12d 632 . . . . . . . 8 ((𝑐 = 𝐶 = 𝐻) → ((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ↔ (𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥))))
16 simpl 485 . . . . . . . . . . . . 13 ((𝑐 = 𝐶 = 𝐻) → 𝑐 = 𝐶)
1716fveq2d 6676 . . . . . . . . . . . 12 ((𝑐 = 𝐶 = 𝐻) → (comp‘𝑐) = (comp‘𝐶))
18 issect.o . . . . . . . . . . . 12 · = (comp‘𝐶)
1917, 18syl6eqr 2876 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → (comp‘𝑐) = · )
2019oveqd 7175 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥) = (⟨𝑥, 𝑦· 𝑥))
2120oveqd 7175 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓))
2216fveq2d 6676 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → (Id‘𝑐) = (Id‘𝐶))
23 issect.i . . . . . . . . . . 11 1 = (Id‘𝐶)
2422, 23syl6eqr 2876 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (Id‘𝑐) = 1 )
2524fveq1d 6674 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → ((Id‘𝑐)‘𝑥) = ( 1𝑥))
2621, 25eqeq12d 2839 . . . . . . . 8 ((𝑐 = 𝐶 = 𝐻) → ((𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥) ↔ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥)))
2715, 26anbi12d 632 . . . . . . 7 ((𝑐 = 𝐶 = 𝐻) → (((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))))
286, 9, 27sbcied2 3817 . . . . . 6 (𝑐 = 𝐶 → ([(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))))
2928opabbidv 5134 . . . . 5 (𝑐 = 𝐶 → {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))} = {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))})
305, 5, 29mpoeq123dv 7231 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
31 df-sect 17019 . . . 4 Sect = (𝑐 ∈ Cat ↦ (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}))
324fvexi 6686 . . . . 5 𝐵 ∈ V
3332, 32mpoex 7779 . . . 4 (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}) ∈ V
3430, 31, 33fvmpt 6770 . . 3 (𝐶 ∈ Cat → (Sect‘𝐶) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
352, 34syl 17 . 2 (𝜑 → (Sect‘𝐶) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
361, 35syl5eq 2870 1 (𝜑𝑆 = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  Vcvv 3496  [wsbc 3774  cop 4575  {copab 5130  cfv 6357  (class class class)co 7158  cmpo 7160  Basecbs 16485  Hom chom 16578  compcco 16579  Catccat 16937  Idccid 16938  Sectcsect 17016
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-ov 7161  df-oprab 7162  df-mpo 7163  df-1st 7691  df-2nd 7692  df-sect 17019
This theorem is referenced by:  sectfval  17023
  Copyright terms: Public domain W3C validator