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 44705
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 15133 . 2 t+ = (𝑟 ∈ V ↦ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
2 relexp1g 15172 . . . . . . . 8 (𝑟 ∈ V → (𝑟↑𝑟1) = 𝑟)
3 nnex 12334 . . . . . . . . 9 ℕ ∈ V
4 1nn 12339 . . . . . . . . 9 1 ∈ ℕ
5 oveq1 7425 . . . . . . . . . . . . 13 (𝑎 = 𝑡 → (𝑎↑𝑟𝑛) = (𝑡↑𝑟𝑛))
65iuneq2d 4981 . . . . . . . . . . . 12 (𝑎 = 𝑡 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑛 ∈ ℕ (𝑡↑𝑟𝑛))
7 oveq2 7426 . . . . . . . . . . . . 13 (𝑛 = 𝑘 → (𝑡↑𝑟𝑛) = (𝑡↑𝑟𝑘))
87cbviunv 4997 . . . . . . . . . . . 12 ∪ 𝑛 ∈ ℕ (𝑡↑𝑟𝑛) = ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘)
96, 8eqtrdi 2812 . . . . . . . . . . 11 (𝑎 = 𝑡 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘))
109cbvmptv 5209 . . . . . . . . . 10 (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛)) = (𝑡 ∈ V ↦ ∪ 𝑘 ∈ ℕ (𝑡↑𝑟𝑘))
1110ov2ssiunov2 44685 . . . . . . . . 9 ((𝑟 ∈ V ∧ ℕ ∈ V ∧ 1 ∈ ℕ) → (𝑟↑𝑟1) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
123, 4, 11mp3an23 1482 . . . . . . . 8 (𝑟 ∈ V → (𝑟↑𝑟1) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
132, 12eqsstrrd 3966 . . . . . . 7 (𝑟 ∈ V → 𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
14 nnuz 12997 . . . . . . . 8 ℕ = (ℤ≥‘1)
15 1nn0 12615 . . . . . . . 8 1 ∈ ℕ0
1610iunrelexpuztr 44704 . . . . . . . 8 ((𝑟 ∈ V ∧ ℕ = (ℤ≥‘1) ∧ 1 ∈ ℕ0) → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
1714, 15, 16mp3an23 1482 . . . . . . 7 (𝑟 ∈ V → (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
18 fvex 6896 . . . . . . . 8 ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ V
19 trcleq2lem 15137 . . . . . . . . . 10 (𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))))
2019a1i 11 . . . . . . . . 9 (𝑟 ∈ V → (𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)))))
2120alrimiv 1960 . . . . . . . 8 (𝑟 ∈ V → ∀𝑧(𝑧 = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∧ (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∘ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)) ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟)))))
22 elabgt 3626 . . . . . . . 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 4923 . . . . . 6 (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
2624, 25syl 18 . . . . 5 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ⊆ ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
27 vex 3455 . . . . . . . . 9 𝑠 ∈ V
28 trcleq2lem 15137 . . . . . . . . 9 (𝑧 = 𝑠 → ((𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧) ↔ (𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠)))
2927, 28elab 3633 . . . . . . . 8 (𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ (𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠))
30 eqid 2761 . . . . . . . . . 10 ℕ = ℕ
3110iunrelexpmin1 44693 . . . . . . . . . 10 ((𝑟 ∈ V ∧ ℕ = ℕ) → ∀𝑠((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3230, 31mpan2 704 . . . . . . . . 9 (𝑟 ∈ V → ∀𝑠((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
333219.21bi 2226 . . . . . . . 8 (𝑟 ∈ V → ((𝑟 ⊆ 𝑠 ∧ (𝑠 ∘ 𝑠) ⊆ 𝑠) → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3429, 33biimtrid 245 . . . . . . 7 (𝑟 ∈ V → (𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠))
3534ralrimiv 3154 . . . . . 6 (𝑟 ∈ V → ∀𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠)
36 ssint 4924 . . . . . 6 (((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ↔ ∀𝑠 ∈ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ 𝑠)
3735, 36sylibr 237 . . . . 5 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) ⊆ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)})
3826, 37eqssd 3948 . . . 4 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} = ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟))
39 oveq1 7425 . . . . . 6 (𝑎 = 𝑟 → (𝑎↑𝑟𝑛) = (𝑟↑𝑟𝑛))
4039iuneq2d 4981 . . . . 5 (𝑎 = 𝑟 → ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛) = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
41 eqid 2761 . . . . 5 (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛)) = (𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))
42 ovex 7451 . . . . . 6 (𝑟↑𝑟𝑛) ∈ V
433, 42iunex 7978 . . . . 5 ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛) ∈ V
4440, 41, 43fvmpt 6991 . . . 4 (𝑟 ∈ V → ((𝑎 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑎↑𝑟𝑛))‘𝑟) = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
4538, 44eqtrd 2796 . . 3 (𝑟 ∈ V → ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)} = ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
4645mpteq2ia 5200 . 2 (𝑟 ∈ V ↦ ∩ {𝑧 ∣ (𝑟 ⊆ 𝑧 ∧ (𝑧 ∘ 𝑧) ⊆ 𝑧)}) = (𝑟 ∈ V ↦ ∪ 𝑛 ∈ ℕ (𝑟↑𝑟𝑛))
471, 46eqtri 2784 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 2145  {cab 2739  ∀wral 3077  Vcvv 3451   ⊆ wss 3899  ∩ cint 4907  ∪ ciun 4951   ↦ cmpt 5186   ∘ ccom 5655  ‘cfv 6537  (class class class)co 7418  1c1 11194  ℕcn 12328  ℕ0cn0 12599  ℤ≥cuz 12958  t+ctcl 15131  ↑𝑟crelexp 15165
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749  ax-cnex 11249  ax-resscn 11250  ax-1cn 11251  ax-icn 11252  ax-addcl 11253  ax-addrcl 11254  ax-mulcl 11255  ax-mulrcl 11256  ax-mulcom 11257  ax-addass 11258  ax-mulass 11259  ax-distr 11260  ax-i2m1 11261  ax-1ne0 11262  ax-1rid 11263  ax-rnegex 11264  ax-rrecex 11265  ax-cnre 11266  ax-pre-lttri 11267  ax-pre-lttrn 11268  ax-pre-ltadd 11269  ax-pre-mulgt0 11270
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-riota 7375  df-ov 7421  df-oprab 7422  df-mpo 7423  df-om 7876  df-2nd 8000  df-frecs 8292  df-wrecs 8323  df-recs 8372  df-rdg 8411  df-er 8710  df-en 8967  df-dom 8968  df-sdom 8969  df-pnf 11338  df-mnf 11339  df-xr 11340  df-ltxr 11341  df-le 11342  df-sub 11536  df-neg 11537  df-nn 12329  df-2 12398  df-n0 12600  df-z 12687  df-uz 12959  df-seq 14138  df-trcl 15133  df-relexp 15166
This theorem is used by:  brfvtrcld  44706  fvtrcllb1d  44707  trclfvcom  44708  cnvtrclfv  44709  cotrcltrcl  44710  trclimalb2  44711  trclfvdecomr  44713  dfrtrcl4  44723  corcltrcl  44724  cotrclrcl  44727
  Copyright terms: Public domain W3C validator