Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  termcnatval Structured version   Visualization version   GIF version

Theorem termcnatval 50876
Description: Value of natural transformations for a terminal category. (Contributed by Zhi Wang, 21-Oct-2025.)
Hypotheses
Ref Expression
termcnatval.c (𝜑 → 𝐶 ∈ TermCat)
termcnatval.n 𝑁 = (𝐶 Nat 𝐷)
termcnatval.a (𝜑 → 𝐴 ∈ (𝐹𝑁𝐺))
termcnatval.b 𝐵 = (Base‘𝐶)
termcnatval.x (𝜑 → 𝑋 ∈ 𝐵)
termcnatval.r 𝑅 = (𝐴‘𝑋)
Assertion
Ref Expression
termcnatval (𝜑 → 𝐴 = {⟨𝑋, 𝑅⟩})

Proof of Theorem termcnatval
StepHypRef Expression
1 termcnatval.n . . . . 5 𝑁 = (𝐶 Nat 𝐷)
2 termcnatval.a . . . . . 6 (𝜑 → 𝐴 ∈ (𝐹𝑁𝐺))
31, 2nat1st2nd 18155 . . . . 5 (𝜑 → 𝐴 ∈ (⟨(1st ‘𝐹), (2nd ‘𝐹)⟩𝑁⟨(1st ‘𝐺), (2nd ‘𝐺)⟩))
4 termcnatval.b . . . . 5 𝐵 = (Base‘𝐶)
51, 3, 4natfn 18158 . . . 4 (𝜑 → 𝐴 Fn 𝐵)
6 termcnatval.c . . . . . 6 (𝜑 → 𝐶 ∈ TermCat)
7 termcnatval.x . . . . . 6 (𝜑 → 𝑋 ∈ 𝐵)
86, 4, 7termcbas2 50820 . . . . 5 (𝜑 → 𝐵 = {𝑋})
98fneq2d 6652 . . . 4 (𝜑 → (𝐴 Fn 𝐵 ↔ 𝐴 Fn {𝑋}))
105, 9mpbid 235 . . 3 (𝜑 → 𝐴 Fn {𝑋})
11 fnsnbg 7190 . . . 4 (𝑋 ∈ 𝐵 → (𝐴 Fn {𝑋} ↔ 𝐴 = {⟨𝑋, (𝐴‘𝑋)⟩}))
127, 11syl 18 . . 3 (𝜑 → (𝐴 Fn {𝑋} ↔ 𝐴 = {⟨𝑋, (𝐴‘𝑋)⟩}))
1310, 12mpbid 235 . 2 (𝜑 → 𝐴 = {⟨𝑋, (𝐴‘𝑋)⟩})
14 termcnatval.r . . . 4 𝑅 = (𝐴‘𝑋)
1514opeq2i 4847 . . 3 ⟨𝑋, 𝑅⟩ = ⟨𝑋, (𝐴‘𝑋)⟩
1615sneqi 4595 . 2 {⟨𝑋, 𝑅⟩} = {⟨𝑋, (𝐴‘𝑋)⟩}
1713, 16eqtr4di 2816 1 (𝜑 → 𝐴 = {⟨𝑋, 𝑅⟩})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1570   ∈ wcel 2147  {csn 4588  ⟨cop 4838   Fn wfn 6550  ‘cfv 6555  (class class class)co 7440  1st c1st 8020  2nd c2nd 8021  Basecbs 17413   Nat cnat 18145  TermCatctermc 50810
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445  df-1st 8022  df-2nd 8023  df-ixp 8951  df-func 18059  df-nat 18147  df-termc 50811
This theorem is used by:  diag2f1olem  50877
  Copyright terms: Public domain W3C validator