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

Theorem fthmon 18157
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 2766 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2766 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
4 eqid 2766 . . . . . 6 (comp‘𝐷) = (comp‘𝐷)
5 fthmon.n . . . . . 6 𝑁 = (Mono‘𝐷)
6 fthmon.f . . . . . . . . . . 11 (𝜑 → 𝐹(𝐶 Faith 𝐷)𝐺)
7 fthfunc 18137 . . . . . . . . . . . 12 (𝐶 Faith 𝐷) ⊆ (𝐶 Func 𝐷)
87ssbri 5155 . . . . . . . . . . 11 (𝐹(𝐶 Faith 𝐷)𝐺 → 𝐹(𝐶 Func 𝐷)𝐺)
96, 8syl 18 . . . . . . . . . 10 (𝜑 → 𝐹(𝐶 Func 𝐷)𝐺)
10 df-br 5108 . . . . . . . . . 10 (𝐹(𝐶 Func 𝐷)𝐺 ↔ ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
119, 10sylib 221 . . . . . . . . 9 (𝜑 → ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
12 funcrcl 18091 . . . . . . . . 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 18094 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝐹:𝐵⟶(Base‘𝐷))
19 fthmon.x . . . . . . . 8 (𝜑 → 𝑋 ∈ 𝐵)
2019adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑋 ∈ 𝐵)
2118, 20ffvelcdmd 7117 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹‘𝑋) ∈ (Base‘𝐷))
22 fthmon.y . . . . . . . 8 (𝜑 → 𝑌 ∈ 𝐵)
2322adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑌 ∈ 𝐵)
2418, 23ffvelcdmd 7117 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹‘𝑌) ∈ (Base‘𝐷))
25 simpr1 1215 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑧 ∈ 𝐵)
2618, 25ffvelcdmd 7117 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝐹‘𝑧) ∈ (Base‘𝐷))
27 fthmon.1 . . . . . . 7 (𝜑 → ((𝑋𝐺𝑌)‘𝑅) ∈ ((𝐹‘𝑋)𝑁(𝐹‘𝑌)))
2827adantr 486 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑋𝐺𝑌)‘𝑅) ∈ ((𝐹‘𝑋)𝑁(𝐹‘𝑌)))
29 fthmon.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
3016, 29, 3, 17, 25, 20funcf2 18096 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑧𝐺𝑋):(𝑧𝐻𝑋)⟶((𝐹‘𝑧)(Hom ‘𝐷)(𝐹‘𝑋)))
31 simpr2 1216 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑓 ∈ (𝑧𝐻𝑋))
3230, 31ffvelcdmd 7117 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑋)‘𝑓) ∈ ((𝐹‘𝑧)(Hom ‘𝐷)(𝐹‘𝑋)))
33 simpr3 1217 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑔 ∈ (𝑧𝐻𝑋))
3430, 33ffvelcdmd 7117 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑋)‘𝑔) ∈ ((𝐹‘𝑧)(Hom ‘𝐷)(𝐹‘𝑋)))
352, 3, 4, 5, 15, 21, 24, 26, 28, 32, 34moni 17964 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑔)) ↔ ((𝑧𝐺𝑋)‘𝑓) = ((𝑧𝐺𝑋)‘𝑔)))
36 eqid 2766 . . . . . . . 8 (comp‘𝐶) = (comp‘𝐶)
371adantr 486 . . . . . . . 8 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → 𝑅 ∈ (𝑋𝐻𝑌))
3816, 29, 36, 4, 17, 25, 20, 23, 31, 37funcco 18099 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑓)))
3916, 29, 36, 4, 17, 25, 20, 23, 33, 37funcco 18099 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑔)))
4038, 39eqeq12d 2782 . . . . . 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 17912 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) ∈ (𝑧𝐻𝑌))
4516, 29, 36, 43, 25, 20, 23, 33, 37catcocl 17912 . . . . . . 7 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) ∈ (𝑧𝐻𝑌))
4616, 29, 3, 41, 25, 23, 44, 45fthi 18148 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓)) = ((𝑧𝐺𝑌)‘(𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)) ↔ (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)))
4740, 46bitr3d 284 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑓)) = (((𝑋𝐺𝑌)‘𝑅)(⟨(𝐹‘𝑧), (𝐹‘𝑋)⟩(comp‘𝐷)(𝐹‘𝑌))((𝑧𝐺𝑋)‘𝑔)) ↔ (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔)))
4816, 29, 3, 41, 25, 20, 31, 33fthi 18148 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → (((𝑧𝐺𝑋)‘𝑓) = ((𝑧𝐺𝑋)‘𝑔) ↔ 𝑓 = 𝑔))
4935, 47, 483bitr3d 312 . . . 4 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) ↔ 𝑓 = 𝑔))
5049biimpd 232 . . 3 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑓 ∈ (𝑧𝐻𝑋) ∧ 𝑔 ∈ (𝑧𝐻𝑋))) → ((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) → 𝑓 = 𝑔))
5150ralrimivvva 3215 . 2 (𝜑 → ∀𝑧 ∈ 𝐵 ∀𝑓 ∈ (𝑧𝐻𝑋)∀𝑔 ∈ (𝑧𝐻𝑋)((𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑓) = (𝑅(⟨𝑧, 𝑋⟩(comp‘𝐶)𝑌)𝑔) → 𝑓 = 𝑔))
52 fthmon.m . . 3 𝑀 = (Mono‘𝐶)
5316, 29, 36, 52, 42, 19, 22ismon2 17962 . 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 1104   = wceq 1572   ∈ wcel 2150  ∀wral 3083  ⟨cop 4839   class class class wbr 5107  ‘cfv 6566  (class class class)co 7451  Basecbs 17434  Hom chom 17486  compcco 17487  Catccat 17891  Monocmon 17956   Func cfunc 18082   Faith cfth 18133
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 7783
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 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-1st 8035  df-2nd 8036  df-map 8887  df-ixp 8964  df-cat 17895  df-mon 17958  df-func 18086  df-fth 18135
This theorem is used by:  fthepi  18158
  Copyright terms: Public domain W3C validator