HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem cotr 2625
Description: Two ways of saying a relation is transitive. Definition of transitivity in [Schechter] p. 51.
Assertion
Ref Expression
cotr ((RR) ⊆ R ↔ ∀xyz((xRyyRz) → xRz))
Distinct variable group(s):   x,y,z,R

Proof of Theorem cotr
StepHypRef Expression
1 ssel 1502 . . . . . . . 8 ({⟨x, z⟩∣∃y(xRyyRz)} ⊆ R → (⟨x, z⟩ ∈ {⟨x, z⟩∣∃y(xRyyRz)} → ⟨x, z⟩ ∈ R))
2 df-br 2063 . . . . . . . 8 (xRz ↔ ⟨x, z⟩ ∈ R)
31, 2syl6ibr 186 . . . . . . 7 ({⟨x, z⟩∣∃y(xRyyRz)} ⊆ R → (⟨x, z⟩ ∈ {⟨x, z⟩∣∃y(xRyyRz)} → xRz))
4 opabid 2099 . . . . . . 7 (⟨x, z⟩ ∈ {⟨x, z⟩∣∃y(xRyyRz)} ↔ ∃y(xRyyRz))
53, 4syl5ibr 182 . . . . . 6 ({⟨x, z⟩∣∃y(xRyyRz)} ⊆ R → (∃y(xRyyRz) → xRz))
6 df-co 2427 . . . . . . 7 (RR) = {⟨x, z⟩∣∃y(xRyyRz)}
76sseq1i 1524 . . . . . 6 ((RR) ⊆ R ↔ {⟨x, z⟩∣∃y(xRyyRz)} ⊆ R)
8 19.23v 950 . . . . . 6 (∀y((xRyyRz) → xRz) ↔ (∃y(xRyyRz) → xRz))
95, 7, 83imtr4 192 . . . . 5 ((RR) ⊆ R → ∀y((xRyyRz) → xRz))
10919.21aiv 943 . . . 4 ((RR) ⊆ R → ∀zy((xRyyRz) → xRz))
11 alcom 715 . . . 4 (∀yz((xRyyRz) → xRz) ↔ ∀zy((xRyyRz) → xRz))
1210, 11sylibr 175 . . 3 ((RR) ⊆ R → ∀yz((xRyyRz) → xRz))
131219.21aiv 943 . 2 ((RR) ⊆ R → ∀xyz((xRyyRz) → xRz))
14 ssopab2 2119 . . . . 5 ({⟨x, z⟩∣∃y(xRyyRz)} ⊆ {⟨x, z⟩∣xRz} ↔ ∀xz(∃y(xRyyRz) → xRz))
158bial 695 . . . . . . 7 (∀zy((xRyyRz) → xRz) ↔ ∀z(∃y(xRyyRz) → xRz))
1611, 15bitr 151 . . . . . 6 (∀yz((xRyyRz) → xRz) ↔ ∀z(∃y(xRyyRz) → xRz))
1716bial 695 . . . . 5 (∀xyz((xRyyRz) → xRz) ↔ ∀xz(∃y(xRyyRz) → xRz))
1814, 17bitr4 154 . . . 4 ({⟨x, z⟩∣∃y(xRyyRz)} ⊆ {⟨x, z⟩∣xRz} ↔ ∀xyz((xRyyRz) → xRz))
19 opabss 2100 . . . . 5 {⟨x, z⟩∣xRz} ⊆ R
20 sstr2 1510 . . . . 5 ({⟨x, z⟩∣∃y(xRyyRz)} ⊆ {⟨x, z⟩∣xRz} → ({⟨x, z⟩∣xRz} ⊆ R → {⟨x, z⟩∣∃y(xRyyRz)} ⊆ R))
2119, 20mpi 44 . . . 4 ({⟨x, z⟩∣∃y(xRyyRz)} ⊆ {⟨x, z⟩∣xRz} → {⟨x, z⟩∣∃y(xRyyRz)} ⊆ R)
2218, 21sylbir 176 . . 3 (∀xyz((xRyyRz) → xRz) → {⟨x, z⟩∣∃y(xRyyRz)} ⊆ R)
2322, 6syl5ss 1544 . 2 (∀xyz((xRyyRz) → xRz) → (RR) ⊆ R)
2413, 23impbi 139 1 ((RR) ⊆ R ↔ ∀xyz((xRyyRz) → xRz))
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127   ∧ wa 196  ∀wal 672  ∃wex 678   ∈ wcel 1092   ⊆ wss 1487  ⟨cop 1810   class class class wbr 2054  {copab 2055   ∘ ccom 2414
This theorem is referenced by:  er2 3201
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-pow 1077
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-nul 1708  df-pw 1799  df-sn 1811  df-pr 1812  df-op 1815  df-br 2063  df-opab 2098  df-co 2427
metamath.org