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

Theorem catprsc 50330
Description: A construction of the preorder induced by a category. See catprs2 50329 for details. See also catprsc2 50331 for an alternate construction. (Contributed by Zhi Wang, 18-Sep-2024.)
Hypothesis
Ref Expression
catprsc.1 (𝜑 → ≤ = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)})
Assertion
Ref Expression
catprsc (𝜑 → ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 (𝑧 ≤ 𝑤 ↔ (𝑧𝐻𝑤) ≠ ∅))
Distinct variable groups:   𝑤,𝐵,𝑥,𝑦   𝑥,𝐻,𝑦   𝜑,𝑤,𝑧   𝑥,𝑧,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐵(𝑧)   𝐻(𝑧, 𝑤)   ≤ (𝑥, 𝑦, 𝑧, 𝑤)

Proof of Theorem catprsc
StepHypRef Expression
1 catprsc.1 . . . . 5 (𝜑 → ≤ = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)})
21breqd 5117 . . . 4 (𝜑 → (𝑧 ≤ 𝑤 ↔ 𝑧{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}𝑤))
3 vex 3458 . . . . 5 𝑧 ∈ V
4 vex 3458 . . . . 5 𝑤 ∈ V
5 simpl 488 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝑥 = 𝑧)
65eleq1d 2849 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥 ∈ 𝐵 ↔ 𝑧 ∈ 𝐵))
7 simpr 490 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝑦 = 𝑤)
87eleq1d 2849 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ 𝐵))
9 oveq12 7449 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥𝐻𝑦) = (𝑧𝐻𝑤))
109neeq1d 3018 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥𝐻𝑦) ≠ ∅ ↔ (𝑧𝐻𝑤) ≠ ∅))
116, 8, 103anbi123d 1465 . . . . . 6 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅) ↔ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵 ∧ (𝑧𝐻𝑤) ≠ ∅)))
12 df-3an 1105 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵 ∧ (𝑧𝐻𝑤) ≠ ∅) ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅))
1311, 12bitrdi 290 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅) ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅)))
14 eqid 2763 . . . . 5 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}
153, 4, 13, 14braba 5515 . . . 4 (𝑧{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}𝑤 ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅))
162, 15bitrdi 290 . . 3 (𝜑 → (𝑧 ≤ 𝑤 ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅)))
1716baibd 549 . 2 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (𝑧 ≤ 𝑤 ↔ (𝑧𝐻𝑤) ≠ ∅))
1817ralrimivva 3209 1 (𝜑 → ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 (𝑧 ≤ 𝑤 ↔ (𝑧𝐻𝑤) ≠ ∅))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∅c0 4281   class class class wbr 5106  {copab 5170  (class class class)co 7440
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-ext 2735  ax-sep 5252  ax-pr 5395
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-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-iota 6509  df-fv 6563  df-ov 7443
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator