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

Theorem sectffval 16233
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 6103 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 issect.b . . . . . 6 𝐵 = (Base‘𝐶)
53, 4syl6eqr 2662 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
6 fvex 6113 . . . . . . . 8 (Hom ‘𝑐) ∈ V
76a1i 11 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) ∈ V)
8 fveq2 6103 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
9 issect.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
108, 9syl6eqr 2662 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
11 simpr 476 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → = 𝐻)
1211oveqd 6566 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (𝑥𝑦) = (𝑥𝐻𝑦))
1312eleq2d 2673 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑓 ∈ (𝑥𝑦) ↔ 𝑓 ∈ (𝑥𝐻𝑦)))
1411oveqd 6566 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (𝑦𝑥) = (𝑦𝐻𝑥))
1514eleq2d 2673 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑔 ∈ (𝑦𝑥) ↔ 𝑔 ∈ (𝑦𝐻𝑥)))
1613, 15anbi12d 743 . . . . . . . 8 ((𝑐 = 𝐶 = 𝐻) → ((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ↔ (𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥))))
17 simpl 472 . . . . . . . . . . . . 13 ((𝑐 = 𝐶 = 𝐻) → 𝑐 = 𝐶)
1817fveq2d 6107 . . . . . . . . . . . 12 ((𝑐 = 𝐶 = 𝐻) → (comp‘𝑐) = (comp‘𝐶))
19 issect.o . . . . . . . . . . . 12 · = (comp‘𝐶)
2018, 19syl6eqr 2662 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → (comp‘𝑐) = · )
2120oveqd 6566 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥) = (⟨𝑥, 𝑦· 𝑥))
2221oveqd 6566 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓))
2317fveq2d 6107 . . . . . . . . . . 11 ((𝑐 = 𝐶 = 𝐻) → (Id‘𝑐) = (Id‘𝐶))
24 issect.i . . . . . . . . . . 11 1 = (Id‘𝐶)
2523, 24syl6eqr 2662 . . . . . . . . . 10 ((𝑐 = 𝐶 = 𝐻) → (Id‘𝑐) = 1 )
2625fveq1d 6105 . . . . . . . . 9 ((𝑐 = 𝐶 = 𝐻) → ((Id‘𝑐)‘𝑥) = ( 1𝑥))
2722, 26eqeq12d 2625 . . . . . . . 8 ((𝑐 = 𝐶 = 𝐻) → ((𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥) ↔ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥)))
2816, 27anbi12d 743 . . . . . . 7 ((𝑐 = 𝐶 = 𝐻) → (((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))))
297, 10, 28sbcied2 3440 . . . . . 6 (𝑐 = 𝐶 → ([(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥)) ↔ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))))
3029opabbidv 4648 . . . . 5 (𝑐 = 𝐶 → {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))} = {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))})
315, 5, 30mpt2eq123dv 6615 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
32 df-sect 16230 . . . 4 Sect = (𝑐 ∈ Cat ↦ (𝑥 ∈ (Base‘𝑐), 𝑦 ∈ (Base‘𝑐) ↦ {⟨𝑓, 𝑔⟩ ∣ [(Hom ‘𝑐) / ]((𝑓 ∈ (𝑥𝑦) ∧ 𝑔 ∈ (𝑦𝑥)) ∧ (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑥)𝑓) = ((Id‘𝑐)‘𝑥))}))
33 fvex 6113 . . . . . 6 (Base‘𝐶) ∈ V
344, 33eqeltri 2684 . . . . 5 𝐵 ∈ V
3534, 34mpt2ex 7136 . . . 4 (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}) ∈ V
3631, 32, 35fvmpt 6191 . . 3 (𝐶 ∈ Cat → (Sect‘𝐶) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
372, 36syl 17 . 2 (𝜑 → (Sect‘𝐶) = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
381, 37syl5eq 2656 1 (𝜑𝑆 = (𝑥𝐵, 𝑦𝐵 ↦ {⟨𝑓, 𝑔⟩ ∣ ((𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑥)) ∧ (𝑔(⟨𝑥, 𝑦· 𝑥)𝑓) = ( 1𝑥))}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wcel 1977  Vcvv 3173  [wsbc 3402  cop 4131  {copab 4642  cfv 5804  (class class class)co 6549  cmpt2 6551  Basecbs 15695  Hom chom 15779  compcco 15780  Catccat 16148  Idccid 16149  Sectcsect 16227
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-1st 7059  df-2nd 7060  df-sect 16230
This theorem is referenced by:  sectfval  16234
  Copyright terms: Public domain W3C validator