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

Theorem sectffval 17905
Description: Value of the section operation. (Contributed by Mario Carneiro, 2-Jan-2017.) Removed redundant hypotheses. (Revised by Zhi Wang, 27-Oct-2025.)
Hypotheses
Ref Expression
issect.b 𝐵 = (Base‘𝐶)
issect.h 𝐻 = (Hom ‘𝐶)
issect.o · = (comp‘𝐶)
issect.i 1 = (Id‘𝐶)
issect.s 𝑆 = (Sect‘𝐶)
issect.c (𝜑 → 𝐶 ∈ Cat)
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 6877 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 issect.b . . . . . 6 𝐵 = (Base‘𝐶)
53, 4eqtr4di 2814 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
6 fvexd 6892 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) ∈ V)
7 fveq2 6877 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
8 issect.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
97, 8eqtr4di 2814 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
10 simpr 490 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ℎ = 𝐻)
1110oveqd 7429 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑥ℎ𝑦) = (𝑥𝐻𝑦))
1211eleq2d 2847 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑓 ∈ (𝑥ℎ𝑦) ↔ 𝑓 ∈ (𝑥𝐻𝑦)))
1310oveqd 7429 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑦ℎ𝑥) = (𝑦𝐻𝑥))
1413eleq2d 2847 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑔 ∈ (𝑦ℎ𝑥) ↔ 𝑔 ∈ (𝑦𝐻𝑥)))
1512, 14anbi12d 644 . . . . . . . 8 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ↔ (𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥))))
16 simpl 488 . . . . . . . . . . . . 13 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → 𝑐 = 𝐶)
1716fveq2d 6881 . . . . . . . . . . . 12 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (comp‘𝑐) = (comp‘𝐶))
18 issect.o . . . . . . . . . . . 12 · = (comp‘𝐶)
1917, 18eqtr4di 2814 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (comp‘𝑐) = · )
2019oveqd 7429 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥) = (⟨𝑥, 𝑦⟩ · 𝑥))
2120oveqd 7429 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓))
2216fveq2d 6881 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (Id‘𝑐) = (Id‘𝐶))
23 issect.i . . . . . . . . . . 11 1 = (Id‘𝐶)
2422, 23eqtr4di 2814 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (Id‘𝑐) = 1 )
2524fveq1d 6879 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ((Id‘𝑐)‘𝑥) = ( 1 ‘𝑥))
2621, 25eqeq12d 2777 . . . . . . . 8 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ((𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥) ↔ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥)))
2715, 26anbi12d 644 . . . . . . 7 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))))
286, 9, 27sbcied2 3783 . . . . . 6 (𝑐 = 𝐶 → ([(Hom ‘𝑐) / ℎ]((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))))
2928opabbidv 5171 . . . . 5 (𝑐 = 𝐶 → {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ℎ]((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))} = {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))})
305, 5, 29mpoeq123dv 7487 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ℎ]((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}))
31 df-sect 17902 . . . 4 Sect = (𝑐 ∈ Cat ↦ (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ℎ]((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}))
324fvexi 6891 . . . . 5 𝐵 ∈ V
3332, 32mpoex 8081 . . . 4 (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}) ∈ V
3430, 31, 33fvmpt 6985 . . 3 (𝐶 ∈ Cat → (Sect‘𝐶) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}))
352, 34syl 18 . 2 (𝜑 → (Sect‘𝐶) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}))
361, 35eqtrid 2808 1 (𝜑 → 𝑆 = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  [wsbc 3739  ⟨cop 4590  {copab 5167  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414  Basecbs 17367  Hom chom 17419  compcco 17420  Catccat 17818  Idccid 17819  Sectcsect 17899
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-1st 7990  df-2nd 7991  df-sect 17902
This theorem is used by:  sectfval  17906  sectrcl2  50075  sectfn  50081  sectpropdlem  50088
  Copyright terms: Public domain W3C validator