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

Theorem sectffval 17995
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 6926 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 issect.b . . . . . 6 𝐵 = (Base‘𝐶)
53, 4eqtr4di 2822 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
6 fvexd 6941 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) ∈ V)
7 fveq2 6926 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
8 issect.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
97, 8eqtr4di 2822 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
10 simpr 490 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ℎ = 𝐻)
1110oveqd 7479 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑥ℎ𝑦) = (𝑥𝐻𝑦))
1211eleq2d 2856 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑓 ∈ (𝑥ℎ𝑦) ↔ 𝑓 ∈ (𝑥𝐻𝑦)))
1310oveqd 7479 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑦ℎ𝑥) = (𝑦𝐻𝑥))
1413eleq2d 2856 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑔 ∈ (𝑦ℎ𝑥) ↔ 𝑔 ∈ (𝑦𝐻𝑥)))
1512, 14anbi12d 644 . . . . . . . 8 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ↔ (𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥))))
16 simpl 488 . . . . . . . . . . . . 13 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → 𝑐 = 𝐶)
1716fveq2d 6930 . . . . . . . . . . . 12 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (comp‘𝑐) = (comp‘𝐶))
18 issect.o . . . . . . . . . . . 12 · = (comp‘𝐶)
1917, 18eqtr4di 2822 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (comp‘𝑐) = · )
2019oveqd 7479 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥) = (⟨𝑥, 𝑦⟩ · 𝑥))
2120oveqd 7479 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓))
2216fveq2d 6930 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (Id‘𝑐) = (Id‘𝐶))
23 issect.i . . . . . . . . . . 11 1 = (Id‘𝐶)
2422, 23eqtr4di 2822 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (Id‘𝑐) = 1 )
2524fveq1d 6928 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ((Id‘𝑐)‘𝑥) = ( 1 ‘𝑥))
2621, 25eqeq12d 2785 . . . . . . . 8 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ((𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥) ↔ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥)))
2715, 26anbi12d 644 . . . . . . 7 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))))
286, 9, 27sbcied2 3788 . . . . . 6 (𝑐 = 𝐶 → ([(Hom ‘𝑐) / ℎ]((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))))
2928opabbidv 5180 . . . . 5 (𝑐 = 𝐶 → {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ℎ]((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))} = {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))})
305, 5, 29mpoeq123dv 7537 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ℎ]((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}))
31 df-sect 17992 . . . 4 Sect = (𝑐 ∈ Cat ↦ (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ℎ]((𝑓 ∈ (𝑥ℎ𝑦) ∧ 𝑔 ∈ (𝑦ℎ𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}))
324fvexi 6940 . . . . 5 𝐵 ∈ V
3332, 32mpoex 8138 . . . 4 (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}) ∈ V
3430, 31, 33fvmpt 7034 . . 3 (𝐶 ∈ Cat → (Sect‘𝐶) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}))
352, 34syl 18 . 2 (𝜑 → (Sect‘𝐶) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}))
361, 35eqtrid 2816 1 (𝜑 → 𝑆 = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩ · 𝑥)𝑓) = ( 1 ‘𝑥))}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  Vcvv 3456  [wsbc 3744  ⟨cop 4843  {copab 5176  ‘cfv 6573  (class class class)co 7462   ∈ cmpo 7464  Basecbs 17447  Hom chom 17499  compcco 17500  Catccat 17908  Idccid 17909  Sectcsect 17989
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7465  df-oprab 7466  df-mpo 7467  df-1st 8046  df-2nd 8047  df-sect 17992
This theorem is used by:  sectfval  17996  sectrcl2  50596  sectfn  50602  sectpropdlem  50609
  Copyright terms: Public domain W3C validator