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

Theorem trclfvcotr 14363
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 5967 . . . . . . . . . 10 ((𝑟𝑟) ⊆ 𝑟 ↔ ∀𝑎𝑏𝑐((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
2 sp 2177 . . . . . . . . . . 11 (∀𝑎𝑏𝑐((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐) → ∀𝑏𝑐((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
3219.21bbi 2184 . . . . . . . . . 10 (∀𝑎𝑏𝑐((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐) → ((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
41, 3sylbi 219 . . . . . . . . 9 ((𝑟𝑟) ⊆ 𝑟 → ((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
54adantl 484 . . . . . . . 8 ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → ((𝑎𝑟𝑏𝑏𝑟𝑐) → 𝑎𝑟𝑐))
65a2i 14 . . . . . . 7 (((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
76alimi 1808 . . . . . 6 (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
87ax-gen 1792 . . . . 5 𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
98ax-gen 1792 . . . 4 𝑏𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
109ax-gen 1792 . . 3 𝑎𝑏𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))
11 brtrclfv 14356 . . . . . . . 8 (𝑅𝑉 → (𝑎(t+‘𝑅)𝑏 ↔ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏)))
12 brtrclfv 14356 . . . . . . . 8 (𝑅𝑉 → (𝑏(t+‘𝑅)𝑐 ↔ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
1311, 12anbi12d 632 . . . . . . 7 (𝑅𝑉 → ((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) ↔ (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐))))
14 jcab 520 . . . . . . . . 9 (((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) ↔ (((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
1514albii 1816 . . . . . . . 8 (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) ↔ ∀𝑟(((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
16 19.26 1867 . . . . . . . 8 (∀𝑟(((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)) ↔ (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
1715, 16bitri 277 . . . . . . 7 (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) ↔ (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑏) ∧ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑏𝑟𝑐)))
1813, 17syl6bbr 291 . . . . . 6 (𝑅𝑉 → ((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) ↔ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐))))
19 brtrclfv 14356 . . . . . 6 (𝑅𝑉 → (𝑎(t+‘𝑅)𝑐 ↔ ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐)))
2018, 19imbi12d 347 . . . . 5 (𝑅𝑉 → (((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐) ↔ (∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))))
2120albidv 1917 . . . 4 (𝑅𝑉 → (∀𝑐((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐) ↔ ∀𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))))
22212albidv 1920 . . 3 (𝑅𝑉 → (∀𝑎𝑏𝑐((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐) ↔ ∀𝑎𝑏𝑐(∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → (𝑎𝑟𝑏𝑏𝑟𝑐)) → ∀𝑟((𝑅𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) → 𝑎𝑟𝑐))))
2310, 22mpbiri 260 . 2 (𝑅𝑉 → ∀𝑎𝑏𝑐((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐))
24 cotr 5967 . 2 (((t+‘𝑅) ∘ (t+‘𝑅)) ⊆ (t+‘𝑅) ↔ ∀𝑎𝑏𝑐((𝑎(t+‘𝑅)𝑏𝑏(t+‘𝑅)𝑐) → 𝑎(t+‘𝑅)𝑐))
2523, 24sylibr 236 1 (𝑅𝑉 → ((t+‘𝑅) ∘ (t+‘𝑅)) ⊆ (t+‘𝑅))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wal 1531  wcel 2110  wss 3936   class class class wbr 5059  ccom 5554  cfv 6350  t+ctcl 14339
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-int 4870  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-iota 6309  df-fun 6352  df-fv 6358  df-trcl 14341
This theorem is referenced by:  trclfvlb2  14364  trclidm  14367  trclfvcotrg  14370
  Copyright terms: Public domain W3C validator