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

Theorem functhincfun 50787
Description: A functor to a thin category is determined entirely by the object part. (Contributed by Zhi Wang, 16-Oct-2025.)
Hypotheses
Ref Expression
functhincfun.d (𝜑 → 𝐶 ∈ Cat)
functhincfun.e (𝜑 → 𝐷 ∈ ThinCat)
Assertion
Ref Expression
functhincfun (𝜑 → Fun (𝐶 Func 𝐷))

Proof of Theorem functhincfun
Dummy variables 𝑓 𝑔 ℎ 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relfunc 18063 . 2 Rel (𝐶 Func 𝐷)
2 simprl 783 . . . . . . 7 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → 𝑓(𝐶 Func 𝐷)𝑔)
3 eqid 2763 . . . . . . . 8 (Base‘𝐶) = (Base‘𝐶)
4 eqid 2763 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
5 eqid 2763 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
6 eqid 2763 . . . . . . . 8 (Hom ‘𝐷) = (Hom ‘𝐷)
7 functhincfun.d . . . . . . . . 9 (𝜑 → 𝐶 ∈ Cat)
87adantr 486 . . . . . . . 8 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → 𝐶 ∈ Cat)
9 functhincfun.e . . . . . . . . 9 (𝜑 → 𝐷 ∈ ThinCat)
109adantr 486 . . . . . . . 8 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → 𝐷 ∈ ThinCat)
113, 4, 2funcf1 18067 . . . . . . . 8 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → 𝑓:(Base‘𝐶)⟶(Base‘𝐷))
12 eqid 2763 . . . . . . . 8 (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((𝑥(Hom ‘𝐶)𝑦) × ((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦)))) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((𝑥(Hom ‘𝐶)𝑦) × ((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦))))
13 simplrl 789 . . . . . . . . . . 11 (((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑓(𝐶 Func 𝐷)𝑔)
14 simprl 783 . . . . . . . . . . 11 (((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
15 simprr 785 . . . . . . . . . . 11 (((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
163, 5, 6, 13, 14, 15funcf2 18069 . . . . . . . . . 10 (((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥𝑔𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦)))
1716f002 50168 . . . . . . . . 9 (((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦)) = ∅ → (𝑥(Hom ‘𝐶)𝑦) = ∅))
1817ralrimivva 3209 . . . . . . . 8 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦)) = ∅ → (𝑥(Hom ‘𝐶)𝑦) = ∅))
193, 4, 5, 6, 8, 10, 11, 12, 18functhinc 50786 . . . . . . 7 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → (𝑓(𝐶 Func 𝐷)𝑔 ↔ 𝑔 = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((𝑥(Hom ‘𝐶)𝑦) × ((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦))))))
202, 19mpbid 235 . . . . . 6 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → 𝑔 = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((𝑥(Hom ‘𝐶)𝑦) × ((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦)))))
21 simprr 785 . . . . . . 7 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → 𝑓(𝐶 Func 𝐷)ℎ)
223, 4, 5, 6, 8, 10, 11, 12, 18functhinc 50786 . . . . . . 7 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → (𝑓(𝐶 Func 𝐷)ℎ ↔ ℎ = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((𝑥(Hom ‘𝐶)𝑦) × ((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦))))))
2321, 22mpbid 235 . . . . . 6 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → ℎ = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((𝑥(Hom ‘𝐶)𝑦) × ((𝑓‘𝑥)(Hom ‘𝐷)(𝑓‘𝑦)))))
2420, 23eqtr4d 2801 . . . . 5 ((𝜑 ∧ (𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ)) → 𝑔 = ℎ)
2524ex 418 . . . 4 (𝜑 → ((𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ) → 𝑔 = ℎ))
2625alrimivv 1963 . . 3 (𝜑 → ∀𝑔∀ℎ((𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ) → 𝑔 = ℎ))
2726alrimiv 1962 . 2 (𝜑 → ∀𝑓∀𝑔∀ℎ((𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ) → 𝑔 = ℎ))
28 dffun2 6565 . . 3 (Fun (𝐶 Func 𝐷) ↔ (Rel (𝐶 Func 𝐷) ∧ ∀𝑓∀𝑔∀ℎ((𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ) → 𝑔 = ℎ)))
2928biimpri 231 . 2 ((Rel (𝐶 Func 𝐷) ∧ ∀𝑓∀𝑔∀ℎ((𝑓(𝐶 Func 𝐷)𝑔 ∧ 𝑓(𝐶 Func 𝐷)ℎ) → 𝑔 = ℎ)) → Fun (𝐶 Func 𝐷))
301, 27, 29sylancr 599 1 (𝜑 → Fun (𝐶 Func 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1568   = wceq 1570   ∈ wcel 2147  ∅c0 4281   class class class wbr 5106   × cxp 5653  Rel wrel 5660  Fun wfun 6549  ‘cfv 6555  (class class class)co 7440   ∈ cmpo 7442  Basecbs 17413  Hom chom 17465  Catccat 17864   Func cfunc 18055  ThinCatcthinc 50755
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-rmo 3369  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-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-1st 8022  df-2nd 8023  df-map 8874  df-ixp 8951  df-cat 17868  df-cid 17869  df-func 18059  df-thinc 50756
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator