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

Theorem fthmon 18065
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 2760 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2760 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
4 eqid 2760 . . . . . 6 (comp‘𝐷) = (comp‘𝐷)
5 fthmon.n . . . . . 6 𝑁 = (Mono‘𝐷)
6 fthmon.f . . . . . . . . . . 11 (𝜑 → 𝐹(𝐶 Faith 𝐷)𝐺)
7 fthfunc 18045 . . . . . . . . . . . 12 (𝐶 Faith 𝐷) ⊆ (𝐶 Func 𝐷)
87ssbri 5149 . . . . . . . . . . 11 (𝐹(𝐶 Faith 𝐷)𝐺 → 𝐹(𝐶 Func 𝐷)𝐺)
96, 8syl 18 . . . . . . . . . 10 (𝜑 → 𝐹(𝐶 Func 𝐷)𝐺)
10 df-br 5103 . . . . . . . . . 10 (𝐹(𝐶 Func 𝐷)𝐺 ↔ ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
119, 10sylib 221 . . . . . . . . 9 (𝜑 → ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
12 funcrcl 17999 . . . . . . . . 9 (⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
1311, 12syl 18 . . . . . . . 8 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
1413simprd 501 . . . . . . 7 (𝜑 → 𝐷 ∈ Cat)
1514adantr 486 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐷 ∈ Cat)
16 fthmon.b . . . . . . . 8 𝐵 = (Base‘𝐶)
179adantr 486 . . . . . . . 8 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐹(𝐶 Func 𝐷)𝐺)
1816, 2, 17funcf1 18002 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐹:𝐵⟶(Base‘𝐷))
19 fthmon.x . . . . . . . 8 (𝜑 → 𝑋 ∈ 𝐵)
2019adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑋 ∈ 𝐵)
2118, 20ffvelcdmd 7073 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹‘𝑋) ∈ (Base‘𝐷))
22 fthmon.y . . . . . . . 8 (𝜑 → 𝑌 ∈ 𝐵)
2322adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑌 ∈ 𝐵)
2418, 23ffvelcdmd 7073 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹‘𝑌) ∈ (Base‘𝐷))
25 simpr1 1213 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑧 ∈ 𝐵)
2618, 25ffvelcdmd 7073 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹‘𝑧) ∈ (Base‘𝐷))
27 fthmon.1 . . . . . . 7 (𝜑 → ((𝑋𝐺𝑌)‘𝑅) ∈ ((𝐹‘𝑋)𝑁(𝐹‘𝑌)))
2827adantr 486 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑋𝐺𝑌)‘𝑅) ∈ ((𝐹‘𝑋)𝑁(𝐹‘𝑌)))
29 fthmon.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
3016, 29, 3, 17, 25, 20funcf2 18004 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑧𝐺𝑋):(𝑧𝐻𝑋)⟶((𝐹‘𝑧)(Hom ‘𝐷)(𝐹‘𝑋)))
31 simpr2 1214 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑓 ∈ (𝑧𝐻𝑋))
3230, 31ffvelcdmd 7073 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑋)‘𝑓) ∈ ((𝐹‘𝑧)(Hom ‘𝐷)(𝐹‘𝑋)))
33 simpr3 1215 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑔 ∈ (𝑧𝐻𝑋))
3430, 33ffvelcdmd 7073 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑋)‘𝑔) ∈ ((𝐹‘𝑧)(Hom ‘𝐷)(𝐹‘𝑋)))
352, 3, 4, 5, 15, 21, 24, 26, 28, 32, 34moni 17872 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑔)) ↔ ((𝑧𝐺𝑋)‘𝑓) = ((𝑧𝐺𝑋)‘𝑔)))
36 eqid 2760 . . . . . . . 8 (comp‘𝐶) = (comp‘𝐶)
371adantr 486 . . . . . . . 8 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑅 ∈ (𝑋𝐻𝑌))
3816, 29, 36, 4, 17, 25, 20, 23, 31, 37funcco 18007 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑓)))
3916, 29, 36, 4, 17, 25, 20, 23, 33, 37funcco 18007 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑔)))
4038, 39eqeq12d 2776 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓)) = ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)) ↔ (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑔))))
416adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐹(𝐶 Faith 𝐷)𝐺)
4213simpld 500 . . . . . . . . 9 (𝜑 → 𝐶 ∈ Cat)
4342adantr 486 . . . . . . . 8 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐶 ∈ Cat)
4416, 29, 36, 43, 25, 20, 23, 31, 37catcocl 17820 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) ∈ (𝑧𝐻𝑌))
4516, 29, 36, 43, 25, 20, 23, 33, 37catcocl 17820 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) ∈ (𝑧𝐻𝑌))
4616, 29, 3, 41, 25, 23, 44, 45fthi 18056 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓)) = ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)) ↔ (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)))
4740, 46bitr3d 284 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑔)) ↔ (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)))
4816, 29, 3, 41, 25, 20, 31, 33fthi 18056 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (((𝑧𝐺𝑋)‘𝑓) = ((𝑧𝐺𝑋)‘𝑔) ↔ 𝑓 = 𝑔))
4935, 47, 483bitr3d 312 . . . 4 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) ↔ 𝑓 = 𝑔))
5049biimpd 232 . . 3 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) → 𝑓 = 𝑔))
5150ralrimivvva 3208 . 2 (𝜑 → ∀𝑧 ∈ 𝐵 ∀𝑓 ∈ (𝑧𝐻𝑋)∀𝑔 ∈ (𝑧𝐻𝑋)((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) → 𝑓 = 𝑔))
52 fthmon.m . . 3 𝑀 = (Mono‘𝐶)
5316, 29, 36, 52, 42, 19, 22ismon2 17870 . 2 (𝜑 → (𝑅 ∈ (𝑋𝑀𝑌) ↔ (𝑅 ∈ (𝑋𝐻𝑌) ∧ ∀𝑧 ∈ 𝐵 ∀𝑓 ∈ (𝑧𝐻𝑋)∀𝑔 ∈ (𝑧𝐻𝑋)((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) → 𝑓 = 𝑔))))
541, 51, 53mpbir2and 726 1 (𝜑 → 𝑅 ∈ (𝑋𝑀𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  ∀wral 3076  ⟨cop 4589   class class class wbr 5102  ‘cfv 6527  (class class class)co 7408  Basecbs 17348  Hom chom 17400  compcco 17401  Catccat 17799  Monocmon 17864   Func cfunc 17990   Faith cfth 18041
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7734
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 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-iota 6483  df-fun 6529  df-fn 6530  df-f 6531  df-f1 6532  df-fo 6533  df-f1o 6534  df-fv 6535  df-ov 7411  df-oprab 7412  df-mpo 7413  df-1st 7984  df-2nd 7985  df-map 8827  df-ixp 8904  df-cat 17803  df-mon 17866  df-func 17994  df-fth 18043
This theorem is used by:  fthepi  18066
  Copyright terms: Public domain W3C validator