Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eltrrels3 Structured version   Visualization version   GIF version

Theorem eltrrels3 39705
Description: Element of the class of transitive relations. (Contributed by Peter Mazsa, 22-Aug-2021.)
Assertion
Ref Expression
eltrrels3 (𝑅 ∈ TrRels ↔ (∀𝑥∀𝑦∀𝑧((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧) ∧ 𝑅 ∈ Rels ))
Distinct variable group:   𝑥,𝑅,𝑦,𝑧

Proof of Theorem eltrrels3
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 dftrrels3 39701 . 2 TrRels = {𝑟 ∈ Rels ∣ ∀𝑥∀𝑦∀𝑧((𝑥𝑟𝑦 ∧ 𝑦𝑟𝑧) → 𝑥𝑟𝑧)}
2 breq 5104 . . . . . 6 (𝑟 = 𝑅 → (𝑥𝑟𝑦 ↔ 𝑥𝑅𝑦))
3 breq 5104 . . . . . 6 (𝑟 = 𝑅 → (𝑦𝑟𝑧 ↔ 𝑦𝑅𝑧))
42, 3anbi12d 644 . . . . 5 (𝑟 = 𝑅 → ((𝑥𝑟𝑦 ∧ 𝑦𝑟𝑧) ↔ (𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧)))
5 breq 5104 . . . . 5 (𝑟 = 𝑅 → (𝑥𝑟𝑧 ↔ 𝑥𝑅𝑧))
64, 5imbi12d 347 . . . 4 (𝑟 = 𝑅 → (((𝑥𝑟𝑦 ∧ 𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
762albidv 1955 . . 3 (𝑟 = 𝑅 → (∀𝑦∀𝑧((𝑥𝑟𝑦 ∧ 𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ∀𝑦∀𝑧((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
87albidv 1952 . 2 (𝑟 = 𝑅 → (∀𝑥∀𝑦∀𝑧((𝑥𝑟𝑦 ∧ 𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ∀𝑥∀𝑦∀𝑧((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
91, 8rabeqel 39298 1 (𝑅 ∈ TrRels ↔ (∀𝑥∀𝑦∀𝑧((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧) ∧ 𝑅 ∈ Rels ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569   ∈ wcel 2144   class class class wbr 5102   Rels crels 39226   TrRels ctrrels 39238
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 5391
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-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-rels 39481  df-ssr 39619  df-trs 39697  df-trrels 39698
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator