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 50548
Description: A construction of the preorder induced by a category. See catprs2 50547 for details. See also catprsc2 50549 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 5118 . . . 4 (𝜑 → (𝑧 ≤ 𝑤 ↔ 𝑧{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}𝑤))
3 vex 3457 . . . . 5 𝑧 ∈ V
4 vex 3457 . . . . 5 𝑤 ∈ V
5 simpl 488 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝑥 = 𝑧)
65eleq1d 2852 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥 ∈ 𝐵 ↔ 𝑧 ∈ 𝐵))
7 simpr 490 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝑦 = 𝑤)
87eleq1d 2852 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ 𝐵))
9 oveq12 7459 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥𝐻𝑦) = (𝑧𝐻𝑤))
109neeq1d 3021 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥𝐻𝑦) ≠ ∅ ↔ (𝑧𝐻𝑤) ≠ ∅))
116, 8, 103anbi123d 1467 . . . . . 6 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅) ↔ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵 ∧ (𝑧𝐻𝑤) ≠ ∅)))
12 df-3an 1106 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵 ∧ (𝑧𝐻𝑤) ≠ ∅) ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅))
1311, 12bitrdi 290 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅) ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅)))
14 eqid 2766 . . . . 5 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}
153, 4, 13, 14braba 5517 . . . 4 (𝑧{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}𝑤 ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅))
162, 15bitrdi 290 . . 3 (𝜑 → (𝑧 ≤ 𝑤 ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅)))
1716baibd 549 . 2 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (𝑧 ≤ 𝑤 ↔ (𝑧𝐻𝑤) ≠ ∅))
1817ralrimivva 3212 1 (𝜑 → ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 (𝑧 ≤ 𝑤 ↔ (𝑧𝐻𝑤) ≠ ∅))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2150   ≠ wne 2962  ∀wral 3083  ∅c0 4280   class class class wbr 5107  {copab 5172  (class class class)co 7450
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-ext 2738  ax-sep 5254  ax-pr 5397
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-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-ral 3084  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-iota 6519  df-fv 6573  df-ov 7453
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator