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 44912
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 15169 . 2 t+ = (𝑟 ∈ V ↦ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
2 relexp1g 15208 . . . . . . . 8 (𝑟 ∈ V → (𝑟↑𝑟1) = 𝑟)
3 nnex 12368 . . . . . . . . 9 ℕ ∈ V
4 1nn 12373 . . . . . . . . 9 1 ∈ ℕ
5 oveq1 7450 . . . . . . . . . . . . 13 (𝑎 = 𝑡 → (𝑎↑𝑟𝑛) = (𝑡↑𝑟𝑛))
65iuneq2d 4984 . . . . . . . . . . . 12 (𝑎 = 𝑡 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑛 ∈ ℕ (𝑡↑𝑟𝑛))
7 oveq2 7451 . . . . . . . . . . . . 13 (𝑛 = 𝑘 → (𝑡↑𝑟𝑛) = (𝑡↑𝑟𝑘))
87cbviunv 5000 . . . . . . . . . . . 12 ∪ 𝑛 ∈ ℕ (𝑡↑𝑟𝑛) = ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘)
96, 8eqtrdi 2814 . . . . . . . . . . 11 (𝑎 = 𝑡 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘))
109cbvmptv 5212 . . . . . . . . . 10 (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛)) = (𝑡 ∈ V ↦ ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘))
1110ov2ssiunov2 44892 . . . . . . . . 9 ((𝑟 ∈ V ∧ ℕ ∈ V ∧ 1 ∈ ℕ) → (𝑟↑𝑟1) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
123, 4, 11mp3an23 1483 . . . . . . . 8 (𝑟 ∈ V → (𝑟↑𝑟1) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
132, 12eqsstrrd 3948 . . . . . . 7 (𝑟 ∈ V → 𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
14 nnuz 13031 . . . . . . . 8 ℕ = (ℤ≥‘1)
15 1nn0 12649 . . . . . . . 8 1 ∈ ℕ0
1610iunrelexpuztr 44911 . . . . . . . 8 ((𝑟 ∈ V ∧ ℕ = (ℤ≥‘1) ∧ 1 ∈ ℕ0) → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
1714, 15, 16mp3an23 1483 . . . . . . 7 (𝑟 ∈ V → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
18 fvex 6921 . . . . . . . 8 ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ V
19 trcleq2lem 15173 . . . . . . . . . 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 4926 . . . . . 6 (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
2624, 25syl 18 . . . . 5 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
27 vex 3458 . . . . . . . . 9 𝑠 ∈ V
28 trcleq2lem 15173 . . . . . . . . 9 (𝑧 = 𝑠 → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠)))
2927, 28elab 3636 . . . . . . . 8 (𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ (𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠))
30 eqid 2763 . . . . . . . . . 10 ℕ = ℕ
3110iunrelexpmin1 44900 . . . . . . . . . 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 4927 . . . . . 6 (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ ∀𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠)
3735, 36sylibr 237 . . . . 5 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
3826, 37eqssd 3930 . . . 4 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
39 oveq1 7450 . . . . . 6 (𝑎 = 𝑟 → (𝑎↑𝑟𝑛) = (𝑟↑𝑟𝑛))
4039iuneq2d 4984 . . . . 5 (𝑎 = 𝑟 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
41 eqid 2763 . . . . 5 (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛)) = (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))
42 ovex 7476 . . . . . 6 (𝑟↑𝑟𝑛) ∈ V
433, 42iunex 8004 . . . . 5 ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛) ∈ V
4440, 41, 43fvmpt 7016 . . . 4 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
4538, 44eqtrd 2798 . . 3 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
4645mpteq2ia 5203 . 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 4910  ∪ ciun 4954   ↦ cmpt 5189   ∘ ccom 5659  ‘cfv 6558  (class class class)co 7443  1c1 11228  ℕcn 12362  ℕ0cn0 12633  ℤ≥cuz 12992  t+ctcl 15167  ↑𝑟crelexp 15201
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 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775  ax-cnex 11283  ax-resscn 11284  ax-1cn 11285  ax-icn 11286  ax-addcl 11287  ax-addrcl 11288  ax-mulcl 11289  ax-mulrcl 11290  ax-mulcom 11291  ax-addass 11292  ax-mulass 11293  ax-distr 11294  ax-i2m1 11295  ax-1ne0 11296  ax-1rid 11297  ax-rnegex 11298  ax-rrecex 11299  ax-cnre 11300  ax-pre-lttri 11301  ax-pre-lttrn 11302  ax-pre-ltadd 11303  ax-pre-mulgt0 11304
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 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-riota 7400  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-2nd 8026  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-er 8745  df-en 9002  df-dom 9003  df-sdom 9004  df-pnf 11372  df-mnf 11373  df-xr 11374  df-ltxr 11375  df-le 11376  df-sub 11570  df-neg 11571  df-nn 12363  df-2 12432  df-n0 12634  df-z 12721  df-uz 12993  df-seq 14172  df-trcl 15169  df-relexp 15202
This theorem is used by:  brfvtrcld  44913  fvtrcllb1d  44914  trclfvcom  44915  cnvtrclfv  44916  cotrcltrcl  44917  trclimalb2  44918  trclfvdecomr  44920  dfrtrcl4  44930  corcltrcl  44931  cotrclrcl  44934
  Copyright terms: Public domain W3C validator