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 50121
Description: A construction of the preorder induced by a category. See catprs2 50120 for details. See also catprsc2 50122 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 5113 . . . 4 (𝜑 → (𝑧 ≤ 𝑤 ↔ 𝑧{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}𝑤))
3 vex 3454 . . . . 5 𝑧 ∈ V
4 vex 3454 . . . . 5 𝑤 ∈ V
5 simpl 488 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝑥 = 𝑧)
65eleq1d 2845 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥 ∈ 𝐵 ↔ 𝑧 ∈ 𝐵))
7 simpr 490 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝑦 = 𝑤)
87eleq1d 2845 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ 𝐵))
9 oveq12 7429 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥𝐻𝑦) = (𝑧𝐻𝑤))
109neeq1d 3014 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥𝐻𝑦) ≠ ∅ ↔ (𝑧𝐻𝑤) ≠ ∅))
116, 8, 103anbi123d 1464 . . . . . 6 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅) ↔ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵 ∧ (𝑧𝐻𝑤) ≠ ∅)))
12 df-3an 1105 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵 ∧ (𝑧𝐻𝑤) ≠ ∅) ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅))
1311, 12bitrdi 290 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅) ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅)))
14 eqid 2760 . . . . 5 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}
153, 4, 13, 14braba 5510 . . . 4 (𝑧{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ (𝑥𝐻𝑦) ≠ ∅)}𝑤 ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅))
162, 15bitrdi 290 . . 3 (𝜑 → (𝑧 ≤ 𝑤 ↔ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) ∧ (𝑧𝐻𝑤) ≠ ∅)))
1716baibd 549 . 2 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (𝑧 ≤ 𝑤 ↔ (𝑧𝐻𝑤) ≠ ∅))
1817ralrimivva 3205 1 (𝜑 → ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 (𝑧 ≤ 𝑤 ↔ (𝑧𝐻𝑤) ≠ ∅))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∅c0 4278   class class class wbr 5102  {copab 5166  (class class class)co 7420
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-iota 6494  df-fv 6546  df-ov 7423
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator