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

Theorem trclfvcotr 14357
Description: The transitive closure of a relation is a transitive relation. (Contributed by RP, 29-Apr-2020.)
Assertion
Ref Expression
trclfvcotr (𝑅𝑉 → ((t+‘𝑅) ∘ (t+‘𝑅)) ⊆ (t+‘𝑅))

Proof of Theorem trclfvcotr
Dummy variables 𝑎 𝑏 𝑐 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cotr 5965 . . . . . . . . . 10 ((𝑟𝑟) ⊆ 𝑟 ↔ ∀𝑎𝑏𝑐((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
2 sp 2172 . . . . . . . . . . 11 (∀𝑎𝑏𝑐((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐) → ∀𝑏𝑐((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
3219.21bbi 2179 . . . . . . . . . 10 (∀𝑎𝑏𝑐((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐) → ((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
41, 3sylbi 218 . . . . . . . . 9 ((𝑟𝑟) ⊆ 𝑟 → ((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
54adantl 482 . . . . . . . 8 ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → ((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
65a2i 14 . . . . . . 7 (((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
76alimi 1803 . . . . . 6 (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
87ax-gen 1787 . . . . 5 𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
98ax-gen 1787 . . . 4 𝑏𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
109ax-gen 1787 . . 3 𝑎𝑏𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
11 brtrclfv 14350 . . . . . . . 8 (𝑅𝑉 → (𝑎(t+‘𝑅)𝑏 ↔ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏)))
12 brtrclfv 14350 . . . . . . . 8 (𝑅𝑉 → (𝑏(t+‘𝑅)𝑐 ↔ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
1311, 12anbi12d 630 . . . . . . 7 (𝑅𝑉 → ((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) ↔ (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐))))
14 jcab 518 . . . . . . . . 9 (((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) ↔ (((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
1514albii 1811 . . . . . . . 8 (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) ↔ ∀𝑟(((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
16 19.26 1862 . . . . . . . 8 (∀𝑟(((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)) ↔ (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
1715, 16bitri 276 . . . . . . 7 (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) ↔ (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
1813, 17syl6bbr 290 . . . . . 6 (𝑅𝑉 → ((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) ↔ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐))))
19 brtrclfv 14350 . . . . . 6 (𝑅𝑉 → (𝑎(t+‘𝑅)𝑐 ↔ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐)))
2018, 19imbi12d 346 . . . . 5 (𝑅𝑉 → (((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐) ↔ (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))))
2120albidv 1912 . . . 4 (𝑅𝑉 → (∀𝑐((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐) ↔ ∀𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))))
22212albidv 1915 . . 3 (𝑅𝑉 → (∀𝑎𝑏𝑐((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐) ↔ ∀𝑎𝑏𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))))
2310, 22mpbiri 259 . 2 (𝑅𝑉 → ∀𝑎𝑏𝑐((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐))
24 cotr 5965 . 2 (((t+‘𝑅) ∘ (t+‘𝑅)) ⊆ (t+‘𝑅) ↔ ∀𝑎𝑏𝑐((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐))
2523, 24sylibr 235 1 (𝑅𝑉 → ((t+‘𝑅) ∘ (t+‘𝑅)) ⊆ (t+‘𝑅))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1526  wcel 2105  wss 3933   class class class wbr 5057  ccom 5552  cfv 6348  t+ctcl 14333
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-int 4868  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-iota 6307  df-fun 6350  df-fv 6356  df-trcl 14335
This theorem is referenced by:  trclfvlb2  14358  trclidm  14361  trclfvcotrg  14364
  Copyright terms: Public domain W3C validator