Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dftrcl3 Structured version   Visualization version   GIF version

Theorem dftrcl3 44981
Description: Transitive closure of a relation, expressed as indexed union of powers of relations. (Contributed by RP, 5-Jun-2020.)
Assertion
Ref Expression
dftrcl3 t+ = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
Distinct variable group:   𝑛,𝑟

Proof of Theorem dftrcl3
Dummy variables 𝑘 𝑎 𝑡 𝑠 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-trcl 15183 . 2 t+ = (𝑟 ∈ V ↦ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
2 relexp1g 15222 . . . . . . . 8 (𝑟 ∈ V → (𝑟↑𝑟1) = 𝑟)
3 nnex 12381 . . . . . . . . 9 ℕ ∈ V
4 1nn 12386 . . . . . . . . 9 1 ∈ ℕ
5 oveq1 7458 . . . . . . . . . . . . 13 (𝑎 = 𝑡 → (𝑎↑𝑟𝑛) = (𝑡↑𝑟𝑛))
65iuneq2d 4986 . . . . . . . . . . . 12 (𝑎 = 𝑡 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑛 ∈ ℕ (𝑡↑𝑟𝑛))
7 oveq2 7459 . . . . . . . . . . . . 13 (𝑛 = 𝑘 → (𝑡↑𝑟𝑛) = (𝑡↑𝑟𝑘))
87cbviunv 5002 . . . . . . . . . . . 12 ∪ 𝑛 ∈ ℕ (𝑡↑𝑟𝑛) = ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘)
96, 8eqtrdi 2814 . . . . . . . . . . 11 (𝑎 = 𝑡 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘))
109cbvmptv 5215 . . . . . . . . . 10 (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛)) = (𝑡 ∈ V ↦ ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘))
1110ov2ssiunov2 44961 . . . . . . . . 9 ((𝑟 ∈ V ∧ ℕ ∈ V ∧ 1 ∈ ℕ) → (𝑟↑𝑟1) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
123, 4, 11mp3an23 1483 . . . . . . . 8 (𝑟 ∈ V → (𝑟↑𝑟1) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
132, 12eqsstrrd 3948 . . . . . . 7 (𝑟 ∈ V → 𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
14 nnuz 13044 . . . . . . . 8 ℕ = (ℤ≥‘1)
15 1nn0 12662 . . . . . . . 8 1 ∈ ℕ0
1610iunrelexpuztr 44980 . . . . . . . 8 ((𝑟 ∈ V ∧ ℕ = (ℤ≥‘1) ∧ 1 ∈ ℕ0) → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
1714, 15, 16mp3an23 1483 . . . . . . 7 (𝑟 ∈ V → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
18 fvex 6929 . . . . . . . 8 ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ V
19 trcleq2lem 15187 . . . . . . . . . 10 (𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))))
2019a1i 11 . . . . . . . . 9 (𝑟 ∈ V → (𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)))))
2120alrimiv 1962 . . . . . . . 8 (𝑟 ∈ V → ∀𝑧(𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)))))
22 elabgt 3629 . . . . . . . 8 ((((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ V ∧ ∀𝑧(𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))))) → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))))
2318, 21, 22sylancr 599 . . . . . . 7 (𝑟 ∈ V → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))))
2413, 17, 23mpbir2and 726 . . . . . 6 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
25 intss1 4928 . . . . . 6 (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
2624, 25syl 18 . . . . 5 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
27 vex 3458 . . . . . . . . 9 𝑠 ∈ V
28 trcleq2lem 15187 . . . . . . . . 9 (𝑧 = 𝑠 → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠)))
2927, 28elab 3636 . . . . . . . 8 (𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ (𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠))
30 eqid 2763 . . . . . . . . . 10 ℕ = ℕ
3110iunrelexpmin1 44969 . . . . . . . . . 10 ((𝑟 ∈ V ∧ ℕ = ℕ) → ∀𝑠((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3230, 31mpan2 704 . . . . . . . . 9 (𝑟 ∈ V → ∀𝑠((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
333219.21bi 2229 . . . . . . . 8 (𝑟 ∈ V → ((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3429, 33biimtrid 245 . . . . . . 7 (𝑟 ∈ V → (𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3534ralrimiv 3157 . . . . . 6 (𝑟 ∈ V → ∀𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠)
36 ssint 4929 . . . . . 6 (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ ∀𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠)
3735, 36sylibr 237 . . . . 5 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
3826, 37eqssd 3930 . . . 4 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
39 oveq1 7458 . . . . . 6 (𝑎 = 𝑟 → (𝑎↑𝑟𝑛) = (𝑟↑𝑟𝑛))
4039iuneq2d 4986 . . . . 5 (𝑎 = 𝑟 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
41 eqid 2763 . . . . 5 (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛)) = (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))
42 ovex 7484 . . . . . 6 (𝑟↑𝑟𝑛) ∈ V
433, 42iunex 8014 . . . . 5 ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛) ∈ V
4440, 41, 43fvmpt 7024 . . . 4 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
4538, 44eqtrd 2798 . . 3 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
4645mpteq2ia 5206 . 2 (𝑟 ∈ V ↦ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)}) = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
471, 46eqtri 2786 1 t+ = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1568   = wceq 1570   ∈ wcel 2147  {cab 2741  ∀wral 3080  Vcvv 3454   ⊆ wss 3900  ∩ cint 4912  ∪ ciun 4956   ↦ cmpt 5192   ∘ ccom 5662  ‘cfv 6566  (class class class)co 7451  1c1 11240  ℕcn 12375  ℕ0cn0 12646  ℤ≥cuz 13005  t+ctcl 15181  ↑𝑟crelexp 15215
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-int 4913  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-nn 12376  df-2 12445  df-n0 12647  df-z 12734  df-uz 13006  df-seq 14185  df-trcl 15183  df-relexp 15216
This theorem is used by:  brfvtrcld  44982  fvtrcllb1d  44983  trclfvcom  44984  cnvtrclfv  44985  cotrcltrcl  44986  trclimalb2  44987  trclfvdecomr  44989  dfrtrcl4  44999  corcltrcl  45000  cotrclrcl  45003
  Copyright terms: Public domain W3C validator