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

Theorem moni 16167
Description: Property of a monomorphism. (Contributed by Mario Carneiro, 2-Jan-2017.)
Hypotheses
Ref Expression
ismon.b 𝐵 = (Base‘𝐶)
ismon.h 𝐻 = (Hom ‘𝐶)
ismon.o · = (comp‘𝐶)
ismon.s 𝑀 = (Mono‘𝐶)
ismon.c (𝜑𝐶 ∈ Cat)
ismon.x (𝜑𝑋𝐵)
ismon.y (𝜑𝑌𝐵)
moni.z (𝜑𝑍𝐵)
moni.f (𝜑𝐹 ∈ (𝑋𝑀𝑌))
moni.g (𝜑𝐺 ∈ (𝑍𝐻𝑋))
moni.k (𝜑𝐾 ∈ (𝑍𝐻𝑋))
Assertion
Ref Expression
moni (𝜑 → ((𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾) ↔ 𝐺 = 𝐾))

Proof of Theorem moni
Dummy variables 𝑔 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 moni.f . . . . 5 (𝜑𝐹 ∈ (𝑋𝑀𝑌))
2 ismon.b . . . . . 6 𝐵 = (Base‘𝐶)
3 ismon.h . . . . . 6 𝐻 = (Hom ‘𝐶)
4 ismon.o . . . . . 6 · = (comp‘𝐶)
5 ismon.s . . . . . 6 𝑀 = (Mono‘𝐶)
6 ismon.c . . . . . 6 (𝜑𝐶 ∈ Cat)
7 ismon.x . . . . . 6 (𝜑𝑋𝐵)
8 ismon.y . . . . . 6 (𝜑𝑌𝐵)
92, 3, 4, 5, 6, 7, 8ismon2 16165 . . . . 5 (𝜑 → (𝐹 ∈ (𝑋𝑀𝑌) ↔ (𝐹 ∈ (𝑋𝐻𝑌) ∧ ∀𝑧𝐵𝑔 ∈ (𝑧𝐻𝑋)∀ ∈ (𝑧𝐻𝑋)((𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑧, 𝑋· 𝑌)) → 𝑔 = ))))
101, 9mpbid 220 . . . 4 (𝜑 → (𝐹 ∈ (𝑋𝐻𝑌) ∧ ∀𝑧𝐵𝑔 ∈ (𝑧𝐻𝑋)∀ ∈ (𝑧𝐻𝑋)((𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑧, 𝑋· 𝑌)) → 𝑔 = )))
1110simprd 477 . . 3 (𝜑 → ∀𝑧𝐵𝑔 ∈ (𝑧𝐻𝑋)∀ ∈ (𝑧𝐻𝑋)((𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑧, 𝑋· 𝑌)) → 𝑔 = ))
12 moni.z . . . 4 (𝜑𝑍𝐵)
13 moni.g . . . . . . 7 (𝜑𝐺 ∈ (𝑍𝐻𝑋))
1413adantr 479 . . . . . 6 ((𝜑𝑧 = 𝑍) → 𝐺 ∈ (𝑍𝐻𝑋))
15 simpr 475 . . . . . . 7 ((𝜑𝑧 = 𝑍) → 𝑧 = 𝑍)
1615oveq1d 6541 . . . . . 6 ((𝜑𝑧 = 𝑍) → (𝑧𝐻𝑋) = (𝑍𝐻𝑋))
1714, 16eleqtrrd 2690 . . . . 5 ((𝜑𝑧 = 𝑍) → 𝐺 ∈ (𝑧𝐻𝑋))
18 moni.k . . . . . . . . 9 (𝜑𝐾 ∈ (𝑍𝐻𝑋))
1918adantr 479 . . . . . . . 8 ((𝜑𝑧 = 𝑍) → 𝐾 ∈ (𝑍𝐻𝑋))
2019, 16eleqtrrd 2690 . . . . . . 7 ((𝜑𝑧 = 𝑍) → 𝐾 ∈ (𝑧𝐻𝑋))
2120adantr 479 . . . . . 6 (((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) → 𝐾 ∈ (𝑧𝐻𝑋))
22 simpllr 794 . . . . . . . . . . 11 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → 𝑧 = 𝑍)
2322opeq1d 4340 . . . . . . . . . 10 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → ⟨𝑧, 𝑋⟩ = ⟨𝑍, 𝑋⟩)
2423oveq1d 6541 . . . . . . . . 9 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → (⟨𝑧, 𝑋· 𝑌) = (⟨𝑍, 𝑋· 𝑌))
25 eqidd 2610 . . . . . . . . 9 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → 𝐹 = 𝐹)
26 simplr 787 . . . . . . . . 9 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → 𝑔 = 𝐺)
2724, 25, 26oveq123d 6547 . . . . . . . 8 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → (𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐺))
28 simpr 475 . . . . . . . . 9 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → = 𝐾)
2924, 25, 28oveq123d 6547 . . . . . . . 8 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → (𝐹(⟨𝑧, 𝑋· 𝑌)) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾))
3027, 29eqeq12d 2624 . . . . . . 7 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → ((𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑧, 𝑋· 𝑌)) ↔ (𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾)))
3126, 28eqeq12d 2624 . . . . . . 7 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → (𝑔 = 𝐺 = 𝐾))
3230, 31imbi12d 332 . . . . . 6 ((((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) ∧ = 𝐾) → (((𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑧, 𝑋· 𝑌)) → 𝑔 = ) ↔ ((𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾) → 𝐺 = 𝐾)))
3321, 32rspcdv 3284 . . . . 5 (((𝜑𝑧 = 𝑍) ∧ 𝑔 = 𝐺) → (∀ ∈ (𝑧𝐻𝑋)((𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑧, 𝑋· 𝑌)) → 𝑔 = ) → ((𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾) → 𝐺 = 𝐾)))
3417, 33rspcimdv 3282 . . . 4 ((𝜑𝑧 = 𝑍) → (∀𝑔 ∈ (𝑧𝐻𝑋)∀ ∈ (𝑧𝐻𝑋)((𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑧, 𝑋· 𝑌)) → 𝑔 = ) → ((𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾) → 𝐺 = 𝐾)))
3512, 34rspcimdv 3282 . . 3 (𝜑 → (∀𝑧𝐵𝑔 ∈ (𝑧𝐻𝑋)∀ ∈ (𝑧𝐻𝑋)((𝐹(⟨𝑧, 𝑋· 𝑌)𝑔) = (𝐹(⟨𝑧, 𝑋· 𝑌)) → 𝑔 = ) → ((𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾) → 𝐺 = 𝐾)))
3611, 35mpd 15 . 2 (𝜑 → ((𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾) → 𝐺 = 𝐾))
37 oveq2 6534 . 2 (𝐺 = 𝐾 → (𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾))
3836, 37impbid1 213 1 (𝜑 → ((𝐹(⟨𝑍, 𝑋· 𝑌)𝐺) = (𝐹(⟨𝑍, 𝑋· 𝑌)𝐾) ↔ 𝐺 = 𝐾))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382   = wceq 1474  wcel 1976  wral 2895  cop 4130  cfv 5789  (class class class)co 6526  Basecbs 15643  Hom chom 15727  compcco 15728  Catccat 16096  Monocmon 16159
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-rep 4693  ax-sep 4703  ax-nul 4711  ax-pow 4763  ax-pr 4827  ax-un 6824
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-reu 2902  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-op 4131  df-uni 4367  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-id 4942  df-xp 5033  df-rel 5034  df-cnv 5035  df-co 5036  df-dm 5037  df-rn 5038  df-res 5039  df-ima 5040  df-iota 5753  df-fun 5791  df-fn 5792  df-f 5793  df-f1 5794  df-fo 5795  df-f1o 5796  df-fv 5797  df-ov 6529  df-oprab 6530  df-mpt2 6531  df-1st 7036  df-2nd 7037  df-cat 16100  df-mon 16161
This theorem is referenced by:  epii  16174  monsect  16214  fthmon  16358  setcmon  16508
  Copyright terms: Public domain W3C validator