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

Theorem fthmon 17559
Description: A faithful functor reflects monomorphisms. (Contributed by Mario Carneiro, 27-Jan-2017.)
Hypotheses
Ref Expression
fthmon.b 𝐵 = (Base‘𝐶)
fthmon.h 𝐻 = (Hom ‘𝐶)
fthmon.f (𝜑𝐹(𝐶 Faith 𝐷)𝐺)
fthmon.x (𝜑𝑋𝐵)
fthmon.y (𝜑𝑌𝐵)
fthmon.r (𝜑𝑅 ∈ (𝑋𝐻𝑌))
fthmon.m 𝑀 = (Mono‘𝐶)
fthmon.n 𝑁 = (Mono‘𝐷)
fthmon.1 (𝜑 → ((𝑋𝐺𝑌)‘𝑅) ∈ ((𝐹𝑋)𝑁(𝐹𝑌)))
Assertion
Ref Expression
fthmon (𝜑𝑅 ∈ (𝑋𝑀𝑌))

Proof of Theorem fthmon
Dummy variables 𝑓 𝑔 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fthmon.r . 2 (𝜑𝑅 ∈ (𝑋𝐻𝑌))
2 eqid 2738 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2738 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
4 eqid 2738 . . . . . 6 (comp‘𝐷) = (comp‘𝐷)
5 fthmon.n . . . . . 6 𝑁 = (Mono‘𝐷)
6 fthmon.f . . . . . . . . . . 11 (𝜑𝐹(𝐶 Faith 𝐷)𝐺)
7 fthfunc 17539 . . . . . . . . . . . 12 (𝐶 Faith 𝐷) ⊆ (𝐶 Func 𝐷)
87ssbri 5115 . . . . . . . . . . 11 (𝐹(𝐶 Faith 𝐷)𝐺𝐹(𝐶 Func 𝐷)𝐺)
96, 8syl 17 . . . . . . . . . 10 (𝜑𝐹(𝐶 Func 𝐷)𝐺)
10 df-br 5071 . . . . . . . . . 10 (𝐹(𝐶 Func 𝐷)𝐺 ↔ ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
119, 10sylib 217 . . . . . . . . 9 (𝜑 → ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
12 funcrcl 17494 . . . . . . . . 9 (⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
1311, 12syl 17 . . . . . . . 8 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
1413simprd 495 . . . . . . 7 (𝜑𝐷 ∈ Cat)
1514adantr 480 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐷 ∈ Cat)
16 fthmon.b . . . . . . . 8 𝐵 = (Base‘𝐶)
179adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐹(𝐶 Func 𝐷)𝐺)
1816, 2, 17funcf1 17497 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐹:𝐵⟶(Base‘𝐷))
19 fthmon.x . . . . . . . 8 (𝜑𝑋𝐵)
2019adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑋𝐵)
2118, 20ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹𝑋) ∈ (Base‘𝐷))
22 fthmon.y . . . . . . . 8 (𝜑𝑌𝐵)
2322adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑌𝐵)
2418, 23ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹𝑌) ∈ (Base‘𝐷))
25 simpr1 1192 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑧𝐵)
2618, 25ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹𝑧) ∈ (Base‘𝐷))
27 fthmon.1 . . . . . . 7 (𝜑 → ((𝑋𝐺𝑌)‘𝑅) ∈ ((𝐹𝑋)𝑁(𝐹𝑌)))
2827adantr 480 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑋𝐺𝑌)‘𝑅) ∈ ((𝐹𝑋)𝑁(𝐹𝑌)))
29 fthmon.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
3016, 29, 3, 17, 25, 20funcf2 17499 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑧𝐺𝑋):(𝑧𝐻𝑋)⟶((𝐹𝑧)(Hom ‘𝐷)(𝐹𝑋)))
31 simpr2 1193 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑓 ∈ (𝑧𝐻𝑋))
3230, 31ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑋)‘𝑓) ∈ ((𝐹𝑧)(Hom ‘𝐷)(𝐹𝑋)))
33 simpr3 1194 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑔 ∈ (𝑧𝐻𝑋))
3430, 33ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑋)‘𝑔) ∈ ((𝐹𝑧)(Hom ‘𝐷)(𝐹𝑋)))
352, 3, 4, 5, 15, 21, 24, 26, 28, 32, 34moni 17365 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹𝑧), (𝐹𝑋)⟩(comp‘𝐷)(𝐹𝑌))((𝑧𝐺𝑋)‘𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹𝑧), (𝐹𝑋)⟩(comp‘𝐷)(𝐹𝑌))((𝑧𝐺𝑋)‘𝑔)) ↔ ((𝑧𝐺𝑋)‘𝑓) = ((𝑧𝐺𝑋)‘𝑔)))
36 eqid 2738 . . . . . . . 8 (comp‘𝐶) = (comp‘𝐶)
371adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑅 ∈ (𝑋𝐻𝑌))
3816, 29, 36, 4, 17, 25, 20, 23, 31, 37funcco 17502 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹𝑧), (𝐹𝑋)⟩(comp‘𝐷)(𝐹𝑌))((𝑧𝐺𝑋)‘𝑓)))
3916, 29, 36, 4, 17, 25, 20, 23, 33, 37funcco 17502 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹𝑧), (𝐹𝑋)⟩(comp‘𝐷)(𝐹𝑌))((𝑧𝐺𝑋)‘𝑔)))
4038, 39eqeq12d 2754 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓)) = ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)) ↔ (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹𝑧), (𝐹𝑋)⟩(comp‘𝐷)(𝐹𝑌))((𝑧𝐺𝑋)‘𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹𝑧), (𝐹𝑋)⟩(comp‘𝐷)(𝐹𝑌))((𝑧𝐺𝑋)‘𝑔))))
416adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐹(𝐶 Faith 𝐷)𝐺)
4213simpld 494 . . . . . . . . 9 (𝜑𝐶 ∈ Cat)
4342adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐶 ∈ Cat)
4416, 29, 36, 43, 25, 20, 23, 31, 37catcocl 17311 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) ∈ (𝑧𝐻𝑌))
4516, 29, 36, 43, 25, 20, 23, 33, 37catcocl 17311 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) ∈ (𝑧𝐻𝑌))
4616, 29, 3, 41, 25, 23, 44, 45fthi 17550 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓)) = ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)) ↔ (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)))
4740, 46bitr3d 280 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹𝑧), (𝐹𝑋)⟩(comp‘𝐷)(𝐹𝑌))((𝑧𝐺𝑋)‘𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹𝑧), (𝐹𝑋)⟩(comp‘𝐷)(𝐹𝑌))((𝑧𝐺𝑋)‘𝑔)) ↔ (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)))
4816, 29, 3, 41, 25, 20, 31, 33fthi 17550 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (((𝑧𝐺𝑋)‘𝑓) = ((𝑧𝐺𝑋)‘𝑔) ↔ 𝑓 = 𝑔))
4935, 47, 483bitr3d 308 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) ↔ 𝑓 = 𝑔))
5049biimpd 228 . . 3 ((𝜑 ∧ (𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) → 𝑓 = 𝑔))
5150ralrimivvva 3115 . 2 (𝜑 → ∀𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋)∀𝑔 ∈ (𝑧𝐻𝑋)((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) → 𝑓 = 𝑔))
52 fthmon.m . . 3 𝑀 = (Mono‘𝐶)
5316, 29, 36, 52, 42, 19, 22ismon2 17363 . 2 (𝜑 → (𝑅 ∈ (𝑋𝑀𝑌) ↔ (𝑅 ∈ (𝑋𝐻𝑌) ∧ ∀𝑧𝐵𝑓 ∈ (𝑧𝐻𝑋)∀𝑔 ∈ (𝑧𝐻𝑋)((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) → 𝑓 = 𝑔))))
541, 51, 53mpbir2and 709 1 (𝜑𝑅 ∈ (𝑋𝑀𝑌))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  cop 4564   class class class wbr 5070  cfv 6418  (class class class)co 7255  Basecbs 16840  Hom chom 16899  compcco 16900  Catccat 17290  Monocmon 17357   Func cfunc 17485   Faith cfth 17535
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-map 8575  df-ixp 8644  df-cat 17294  df-mon 17359  df-func 17489  df-fth 17537
This theorem is referenced by:  fthepi  17560
  Copyright terms: Public domain W3C validator