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 44827
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 15147 . 2 t+ = (𝑟 ∈ V ↦ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
2 relexp1g 15186 . . . . . . . 8 (𝑟 ∈ V → (𝑟↑𝑟1) = 𝑟)
3 nnex 12346 . . . . . . . . 9 ℕ ∈ V
4 1nn 12351 . . . . . . . . 9 1 ∈ ℕ
5 oveq1 7429 . . . . . . . . . . . . 13 (𝑎 = 𝑡 → (𝑎↑𝑟𝑛) = (𝑡↑𝑟𝑛))
65iuneq2d 4980 . . . . . . . . . . . 12 (𝑎 = 𝑡 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑛 ∈ ℕ (𝑡↑𝑟𝑛))
7 oveq2 7430 . . . . . . . . . . . . 13 (𝑛 = 𝑘 → (𝑡↑𝑟𝑛) = (𝑡↑𝑟𝑘))
87cbviunv 4996 . . . . . . . . . . . 12 ∪ 𝑛 ∈ ℕ (𝑡↑𝑟𝑛) = ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘)
96, 8eqtrdi 2811 . . . . . . . . . . 11 (𝑎 = 𝑡 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘))
109cbvmptv 5208 . . . . . . . . . 10 (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛)) = (𝑡 ∈ V ↦ ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘))
1110ov2ssiunov2 44807 . . . . . . . . 9 ((𝑟 ∈ V ∧ ℕ ∈ V ∧ 1 ∈ ℕ) → (𝑟↑𝑟1) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
123, 4, 11mp3an23 1482 . . . . . . . 8 (𝑟 ∈ V → (𝑟↑𝑟1) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
132, 12eqsstrrd 3944 . . . . . . 7 (𝑟 ∈ V → 𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
14 nnuz 13009 . . . . . . . 8 ℕ = (ℤ≥‘1)
15 1nn0 12627 . . . . . . . 8 1 ∈ ℕ0
1610iunrelexpuztr 44826 . . . . . . . 8 ((𝑟 ∈ V ∧ ℕ = (ℤ≥‘1) ∧ 1 ∈ ℕ0) → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
1714, 15, 16mp3an23 1482 . . . . . . 7 (𝑟 ∈ V → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
18 fvex 6901 . . . . . . . 8 ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ V
19 trcleq2lem 15151 . . . . . . . . . 10 (𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))))
2019a1i 11 . . . . . . . . 9 (𝑟 ∈ V → (𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)))))
2120alrimiv 1959 . . . . . . . 8 (𝑟 ∈ V → ∀𝑧(𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)))))
22 elabgt 3625 . . . . . . . 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 4922 . . . . . 6 (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
2624, 25syl 18 . . . . 5 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
27 vex 3454 . . . . . . . . 9 𝑠 ∈ V
28 trcleq2lem 15151 . . . . . . . . 9 (𝑧 = 𝑠 → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠)))
2927, 28elab 3632 . . . . . . . 8 (𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ (𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠))
30 eqid 2760 . . . . . . . . . 10 ℕ = ℕ
3110iunrelexpmin1 44815 . . . . . . . . . 10 ((𝑟 ∈ V ∧ ℕ = ℕ) → ∀𝑠((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3230, 31mpan2 704 . . . . . . . . 9 (𝑟 ∈ V → ∀𝑠((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
333219.21bi 2225 . . . . . . . 8 (𝑟 ∈ V → ((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3429, 33biimtrid 245 . . . . . . 7 (𝑟 ∈ V → (𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3534ralrimiv 3153 . . . . . 6 (𝑟 ∈ V → ∀𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠)
36 ssint 4923 . . . . . 6 (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ ∀𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠)
3735, 36sylibr 237 . . . . 5 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
3826, 37eqssd 3926 . . . 4 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
39 oveq1 7429 . . . . . 6 (𝑎 = 𝑟 → (𝑎↑𝑟𝑛) = (𝑟↑𝑟𝑛))
4039iuneq2d 4980 . . . . 5 (𝑎 = 𝑟 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
41 eqid 2760 . . . . 5 (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛)) = (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))
42 ovex 7455 . . . . . 6 (𝑟↑𝑟𝑛) ∈ V
433, 42iunex 7982 . . . . 5 ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛) ∈ V
4440, 41, 43fvmpt 6996 . . . 4 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
4538, 44eqtrd 2795 . . 3 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
4645mpteq2ia 5199 . 2 (𝑟 ∈ V ↦ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)}) = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
471, 46eqtri 2783 1 t+ = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569   ∈ wcel 2144  {cab 2738  ∀wral 3076  Vcvv 3450   ⊆ wss 3896  ∩ cint 4906  ∪ ciun 4950   ↦ cmpt 5185   ∘ ccom 5654  ‘cfv 6541  (class class class)co 7422  1c1 11206  ℕcn 12340  ℕ0cn0 12611  ℤ≥cuz 12970  t+ctcl 15145  ↑𝑟crelexp 15179
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-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7753  ax-cnex 11261  ax-resscn 11262  ax-1cn 11263  ax-icn 11264  ax-addcl 11265  ax-addrcl 11266  ax-mulcl 11267  ax-mulrcl 11268  ax-mulcom 11269  ax-addass 11270  ax-mulass 11271  ax-distr 11272  ax-i2m1 11273  ax-1ne0 11274  ax-1rid 11275  ax-rnegex 11276  ax-rrecex 11277  ax-cnre 11278  ax-pre-lttri 11279  ax-pre-lttrn 11280  ax-pre-ltadd 11281  ax-pre-mulgt0 11282
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  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-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6306  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-riota 7379  df-ov 7425  df-oprab 7426  df-mpo 7427  df-om 7880  df-2nd 8004  df-frecs 8304  df-wrecs 8335  df-recs 8384  df-rdg 8423  df-er 8722  df-en 8979  df-dom 8980  df-sdom 8981  df-pnf 11350  df-mnf 11351  df-xr 11352  df-ltxr 11353  df-le 11354  df-sub 11548  df-neg 11549  df-nn 12341  df-2 12410  df-n0 12612  df-z 12699  df-uz 12971  df-seq 14150  df-trcl 15147  df-relexp 15180
This theorem is used by:  brfvtrcld  44828  fvtrcllb1d  44829  trclfvcom  44830  cnvtrclfv  44831  cotrcltrcl  44832  trclimalb2  44833  trclfvdecomr  44835  dfrtrcl4  44845  corcltrcl  44846  cotrclrcl  44849
  Copyright terms: Public domain W3C validator