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 51094
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 18181 . . . . 5 (𝜑 → 𝐴 ∈ (⟨(1st ‘𝐹), (2nd ‘𝐹)⟩𝑁⟨(1st ‘𝐺), (2nd ‘𝐺)⟩))
4 termcnatval.b . . . . 5 𝐵 = (Base‘𝐶)
51, 3, 4natfn 18184 . . . 4 (𝜑 → 𝐴 Fn 𝐵)
6 termcnatval.c . . . . . 6 (𝜑 → 𝐶 ∈ TermCat)
7 termcnatval.x . . . . . 6 (𝜑 → 𝑋 ∈ 𝐵)
86, 4, 7termcbas2 51038 . . . . 5 (𝜑 → 𝐵 = {𝑋})
98fneq2d 6662 . . . 4 (𝜑 → (𝐴 Fn 𝐵 ↔ 𝐴 Fn {𝑋}))
105, 9mpbid 235 . . 3 (𝜑 → 𝐴 Fn {𝑋})
11 fnsnbg 7200 . . . 4 (𝑋 ∈ 𝐵 → (𝐴 Fn {𝑋} ↔ 𝐴 = {⟨𝑋, (𝐴‘𝑋)⟩}))
127, 11syl 18 . . 3 (𝜑 → (𝐴 Fn {𝑋} ↔ 𝐴 = {⟨𝑋, (𝐴‘𝑋)⟩}))
1310, 12mpbid 235 . 2 (𝜑 → 𝐴 = {⟨𝑋, (𝐴‘𝑋)⟩})
14 termcnatval.r . . . 4 𝑅 = (𝐴‘𝑋)
1514opeq2i 4848 . . 3 ⟨𝑋, 𝑅⟩ = ⟨𝑋, (𝐴‘𝑋)⟩
1615sneqi 4594 . 2 {⟨𝑋, 𝑅⟩} = {⟨𝑋, (𝐴‘𝑋)⟩}
1713, 16eqtr4di 2819 1 (𝜑 → 𝐴 = {⟨𝑋, 𝑅⟩})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1572   ∈ wcel 2150  {csn 4587  ⟨cop 4839   Fn wfn 6560  ‘cfv 6565  (class class class)co 7450  1st c1st 8032  2nd c2nd 8033  Basecbs 17433   Nat cnat 18171  TermCatctermc 51028
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 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782
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 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ov 7453  df-oprab 7454  df-mpo 7455  df-1st 8034  df-2nd 8035  df-ixp 8963  df-func 18085  df-nat 18173  df-termc 51029
This theorem is used by:  diag2f1olem  51095
  Copyright terms: Public domain W3C validator