Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  rtrclreclem4 Structured version   Visualization version   GIF version

Theorem rtrclreclem4 14409
 Description: The reflexive, transitive closure of 𝑅 is the smallest reflexive, transitive relation which contains 𝑅 and the identity. (Contributed by Drahflow, 12-Nov-2015.) (Revised by RP, 30-May-2020.)
Hypotheses
Ref Expression
rtrclreclem.rel (𝜑 → Rel 𝑅)
rtrclreclem.rex (𝜑𝑅 ∈ V)
Assertion
Ref Expression
rtrclreclem4 (𝜑 → ∀𝑠((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → (t*rec‘𝑅) ⊆ 𝑠))
Distinct variable group:   𝜑,𝑠
Allowed substitution hint:   𝑅(𝑠)

Proof of Theorem rtrclreclem4
Dummy variables 𝑛 𝑖 𝑚 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqidd 2825 . . . . 5 (𝜑 → (𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛)) = (𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛)))
2 oveq1 7145 . . . . . . 7 (𝑟 = 𝑅 → (𝑟𝑟𝑛) = (𝑅𝑟𝑛))
32iuneq2d 4929 . . . . . 6 (𝑟 = 𝑅 𝑛 ∈ ℕ0 (𝑟𝑟𝑛) = 𝑛 ∈ ℕ0 (𝑅𝑟𝑛))
43adantl 485 . . . . 5 ((𝜑𝑟 = 𝑅) → 𝑛 ∈ ℕ0 (𝑟𝑟𝑛) = 𝑛 ∈ ℕ0 (𝑅𝑟𝑛))
5 rtrclreclem.rex . . . . 5 (𝜑𝑅 ∈ V)
6 nn0ex 11889 . . . . . . 7 0 ∈ V
7 ovex 7171 . . . . . . 7 (𝑅𝑟𝑛) ∈ V
86, 7iunex 7652 . . . . . 6 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ∈ V
98a1i 11 . . . . 5 (𝜑 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ∈ V)
101, 4, 5, 9fvmptd 6756 . . . 4 (𝜑 → ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) = 𝑛 ∈ ℕ0 (𝑅𝑟𝑛))
11 eleq1 2903 . . . . . . . . . . . . . . . . 17 (𝑖 = 0 → (𝑖 ∈ ℕ0 ↔ 0 ∈ ℕ0))
1211anbi1d 632 . . . . . . . . . . . . . . . 16 (𝑖 = 0 → ((𝑖 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) ↔ (0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))))))
13 oveq2 7146 . . . . . . . . . . . . . . . . 17 (𝑖 = 0 → (𝑅𝑟𝑖) = (𝑅𝑟0))
1413sseq1d 3982 . . . . . . . . . . . . . . . 16 (𝑖 = 0 → ((𝑅𝑟𝑖) ⊆ 𝑠 ↔ (𝑅𝑟0) ⊆ 𝑠))
1512, 14imbi12d 348 . . . . . . . . . . . . . . 15 (𝑖 = 0 → (((𝑖 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑖) ⊆ 𝑠) ↔ ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟0) ⊆ 𝑠)))
16 eleq1 2903 . . . . . . . . . . . . . . . . 17 (𝑖 = 𝑚 → (𝑖 ∈ ℕ0𝑚 ∈ ℕ0))
1716anbi1d 632 . . . . . . . . . . . . . . . 16 (𝑖 = 𝑚 → ((𝑖 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) ↔ (𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))))))
18 oveq2 7146 . . . . . . . . . . . . . . . . 17 (𝑖 = 𝑚 → (𝑅𝑟𝑖) = (𝑅𝑟𝑚))
1918sseq1d 3982 . . . . . . . . . . . . . . . 16 (𝑖 = 𝑚 → ((𝑅𝑟𝑖) ⊆ 𝑠 ↔ (𝑅𝑟𝑚) ⊆ 𝑠))
2017, 19imbi12d 348 . . . . . . . . . . . . . . 15 (𝑖 = 𝑚 → (((𝑖 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑖) ⊆ 𝑠) ↔ ((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠)))
21 eleq1 2903 . . . . . . . . . . . . . . . . 17 (𝑖 = (𝑚 + 1) → (𝑖 ∈ ℕ0 ↔ (𝑚 + 1) ∈ ℕ0))
2221anbi1d 632 . . . . . . . . . . . . . . . 16 (𝑖 = (𝑚 + 1) → ((𝑖 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) ↔ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))))))
23 oveq2 7146 . . . . . . . . . . . . . . . . 17 (𝑖 = (𝑚 + 1) → (𝑅𝑟𝑖) = (𝑅𝑟(𝑚 + 1)))
2423sseq1d 3982 . . . . . . . . . . . . . . . 16 (𝑖 = (𝑚 + 1) → ((𝑅𝑟𝑖) ⊆ 𝑠 ↔ (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠))
2522, 24imbi12d 348 . . . . . . . . . . . . . . 15 (𝑖 = (𝑚 + 1) → (((𝑖 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑖) ⊆ 𝑠) ↔ (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)))
26 eleq1 2903 . . . . . . . . . . . . . . . . 17 (𝑖 = 𝑛 → (𝑖 ∈ ℕ0𝑛 ∈ ℕ0))
2726anbi1d 632 . . . . . . . . . . . . . . . 16 (𝑖 = 𝑛 → ((𝑖 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) ↔ (𝑛 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))))))
28 oveq2 7146 . . . . . . . . . . . . . . . . 17 (𝑖 = 𝑛 → (𝑅𝑟𝑖) = (𝑅𝑟𝑛))
2928sseq1d 3982 . . . . . . . . . . . . . . . 16 (𝑖 = 𝑛 → ((𝑅𝑟𝑖) ⊆ 𝑠 ↔ (𝑅𝑟𝑛) ⊆ 𝑠))
3027, 29imbi12d 348 . . . . . . . . . . . . . . 15 (𝑖 = 𝑛 → (((𝑖 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑖) ⊆ 𝑠) ↔ ((𝑛 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑛) ⊆ 𝑠)))
31 simprl 770 . . . . . . . . . . . . . . . . 17 ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → 𝜑)
32 rtrclreclem.rel . . . . . . . . . . . . . . . . . 18 (𝜑 → Rel 𝑅)
3332, 5relexp0d 14372 . . . . . . . . . . . . . . . . 17 (𝜑 → (𝑅𝑟0) = ( I ↾ 𝑅))
3431, 33syl 17 . . . . . . . . . . . . . . . 16 ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟0) = ( I ↾ 𝑅))
3531, 32syl 17 . . . . . . . . . . . . . . . . . 18 ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → Rel 𝑅)
36 relfld 6107 . . . . . . . . . . . . . . . . . 18 (Rel 𝑅 𝑅 = (dom 𝑅 ∪ ran 𝑅))
3735, 36syl 17 . . . . . . . . . . . . . . . . 17 ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → 𝑅 = (dom 𝑅 ∪ ran 𝑅))
38 simprrr 781 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))) → ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)
3938adantl 485 . . . . . . . . . . . . . . . . . 18 ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)
40 reseq2 5829 . . . . . . . . . . . . . . . . . . 19 ( 𝑅 = (dom 𝑅 ∪ ran 𝑅) → ( I ↾ 𝑅) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
4140sseq1d 3982 . . . . . . . . . . . . . . . . . 18 ( 𝑅 = (dom 𝑅 ∪ ran 𝑅) → (( I ↾ 𝑅) ⊆ 𝑠 ↔ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))
4239, 41syl5ibr 249 . . . . . . . . . . . . . . . . 17 ( 𝑅 = (dom 𝑅 ∪ ran 𝑅) → ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → ( I ↾ 𝑅) ⊆ 𝑠))
4337, 42mpcom 38 . . . . . . . . . . . . . . . 16 ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → ( I ↾ 𝑅) ⊆ 𝑠)
4434, 43eqsstrd 3989 . . . . . . . . . . . . . . 15 ((0 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟0) ⊆ 𝑠)
45 simprrr 781 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))) → 𝑚 ∈ ℕ0)
4645adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))) → 𝑚 ∈ ℕ0)
4746adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))) → 𝑚 ∈ ℕ0)
4847adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → 𝑚 ∈ ℕ0)
49 simprl 770 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → 𝜑)
50 simprrl 780 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → (𝑠𝑠) ⊆ 𝑠)
51 simprrl 780 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))) → 𝑅𝑠)
5251adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → 𝑅𝑠)
53 simprrl 780 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 (((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))) → ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)
5453adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))) → ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)
5554adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)
5650, 52, 55jca32 519 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))
5748, 49, 56jca32 519 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → (𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))))
58 simprrl 780 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))) → ((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠))
5958adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))) → ((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠))
6059adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))) → ((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠))
6160adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → ((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠))
6257, 61mpd 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → (𝑅𝑟𝑚) ⊆ 𝑠)
6348adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → 𝑚 ∈ ℕ0)
64 simprrl 780 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → 𝜑)
6564, 32syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → Rel 𝑅)
6664, 5syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → 𝑅 ∈ V)
6765, 66relexpsucrd 14378 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → (𝑚 ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) = ((𝑅𝑟𝑚) ∘ 𝑅)))
6863, 67mpd 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → (𝑅𝑟(𝑚 + 1)) = ((𝑅𝑟𝑚) ∘ 𝑅))
6952adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → 𝑅𝑠)
70 coss2 5708 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑅𝑠 → ((𝑅𝑟𝑚) ∘ 𝑅) ⊆ ((𝑅𝑟𝑚) ∘ 𝑠))
7169, 70syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → ((𝑅𝑟𝑚) ∘ 𝑅) ⊆ ((𝑅𝑟𝑚) ∘ 𝑠))
72 coss1 5707 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝑅𝑟𝑚) ⊆ 𝑠 → ((𝑅𝑟𝑚) ∘ 𝑠) ⊆ (𝑠𝑠))
7372, 50sylan9ss 3964 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → ((𝑅𝑟𝑚) ∘ 𝑠) ⊆ 𝑠)
7471, 73sstrd 3961 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → ((𝑅𝑟𝑚) ∘ 𝑅) ⊆ 𝑠)
7568, 74eqsstrd 3989 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((𝑅𝑟𝑚) ⊆ 𝑠 ∧ ((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))))) → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)
7662, 75mpancom 687 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))))) → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)
7776expcom 417 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))))) → ((𝑚 + 1) ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠))
7877expcom 417 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)))) → (𝜑 → ((𝑚 + 1) ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)))
7978expcom 417 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑅𝑠 ∧ (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))) → ((𝑠𝑠) ⊆ 𝑠 → (𝜑 → ((𝑚 + 1) ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠))))
8079anassrs 471 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠) ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)) → ((𝑠𝑠) ⊆ 𝑠 → (𝜑 → ((𝑚 + 1) ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠))))
8180impcom 411 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑠𝑠) ⊆ 𝑠 ∧ ((𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠) ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))) → (𝜑 → ((𝑚 + 1) ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)))
8281anassrs 471 . . . . . . . . . . . . . . . . . . . . 21 ((((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)) ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)) → (𝜑 → ((𝑚 + 1) ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)))
8382impcom 411 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ (((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)) ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))) → ((𝑚 + 1) ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠))
8483anassrs 471 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))) ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)) → ((𝑚 + 1) ∈ ℕ0 → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠))
8584impcom 411 . . . . . . . . . . . . . . . . . 18 (((𝑚 + 1) ∈ ℕ0 ∧ ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))) ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0))) → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)
8685anassrs 471 . . . . . . . . . . . . . . . . 17 ((((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) ∧ (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0)) → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)
8786expcom 417 . . . . . . . . . . . . . . . 16 ((((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) ∧ 𝑚 ∈ ℕ0) → (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠))
8887expcom 417 . . . . . . . . . . . . . . 15 (𝑚 ∈ ℕ0 → (((𝑚 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑚) ⊆ 𝑠) → (((𝑚 + 1) ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟(𝑚 + 1)) ⊆ 𝑠)))
8915, 20, 25, 30, 44, 88nn0ind 12063 . . . . . . . . . . . . . 14 (𝑛 ∈ ℕ0 → ((𝑛 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑛) ⊆ 𝑠))
9089anabsi5 668 . . . . . . . . . . . . 13 ((𝑛 ∈ ℕ0 ∧ (𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)))) → (𝑅𝑟𝑛) ⊆ 𝑠)
9190expcom 417 . . . . . . . . . . . 12 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))) → (𝑛 ∈ ℕ0 → (𝑅𝑟𝑛) ⊆ 𝑠))
9291ralrimiv 3175 . . . . . . . . . . 11 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))) → ∀𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠)
93 iunss 4950 . . . . . . . . . . 11 ( 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠 ↔ ∀𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠)
9492, 93sylibr 237 . . . . . . . . . 10 ((𝜑 ∧ ((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠))) → 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠)
9594expcom 417 . . . . . . . . 9 (((𝑠𝑠) ⊆ 𝑠 ∧ (𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠)) → (𝜑 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠))
9695expcom 417 . . . . . . . 8 ((𝑅𝑠 ∧ ( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠) → ((𝑠𝑠) ⊆ 𝑠 → (𝜑 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠)))
9796expcom 417 . . . . . . 7 (( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠 → (𝑅𝑠 → ((𝑠𝑠) ⊆ 𝑠 → (𝜑 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠))))
98973imp1 1344 . . . . . 6 (((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) ∧ 𝜑) → 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠)
9998expcom 417 . . . . 5 (𝜑 → ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠))
100 sseq1 3976 . . . . . 6 (((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) = 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) → (((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) ⊆ 𝑠 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠))
101100imbi2d 344 . . . . 5 (((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) = 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) → (((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) ⊆ 𝑠) ↔ ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) ⊆ 𝑠)))
10299, 101syl5ibr 249 . . . 4 (((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) = 𝑛 ∈ ℕ0 (𝑅𝑟𝑛) → (𝜑 → ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) ⊆ 𝑠)))
10310, 102mpcom 38 . . 3 (𝜑 → ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) ⊆ 𝑠))
104 df-rtrclrec 14404 . . . 4 t*rec = (𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))
105 fveq1 6650 . . . . . . 7 (t*rec = (𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛)) → (t*rec‘𝑅) = ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅))
106105sseq1d 3982 . . . . . 6 (t*rec = (𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛)) → ((t*rec‘𝑅) ⊆ 𝑠 ↔ ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) ⊆ 𝑠))
107106imbi2d 344 . . . . 5 (t*rec = (𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛)) → (((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → (t*rec‘𝑅) ⊆ 𝑠) ↔ ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) ⊆ 𝑠)))
108107imbi2d 344 . . . 4 (t*rec = (𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛)) → ((𝜑 → ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → (t*rec‘𝑅) ⊆ 𝑠)) ↔ (𝜑 → ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) ⊆ 𝑠))))
109104, 108ax-mp 5 . . 3 ((𝜑 → ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → (t*rec‘𝑅) ⊆ 𝑠)) ↔ (𝜑 → ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → ((𝑟 ∈ V ↦ 𝑛 ∈ ℕ0 (𝑟𝑟𝑛))‘𝑅) ⊆ 𝑠)))
110103, 109mpbir 234 . 2 (𝜑 → ((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → (t*rec‘𝑅) ⊆ 𝑠))
111110alrimiv 1929 1 (𝜑 → ∀𝑠((( I ↾ (dom 𝑅 ∪ ran 𝑅)) ⊆ 𝑠𝑅𝑠 ∧ (𝑠𝑠) ⊆ 𝑠) → (t*rec‘𝑅) ⊆ 𝑠))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   ∧ w3a 1084  ∀wal 1536   = wceq 1538   ∈ wcel 2115  ∀wral 3132  Vcvv 3479   ∪ cun 3916   ⊆ wss 3918  ∪ cuni 4819  ∪ ciun 4900   ↦ cmpt 5127   I cid 5440  dom cdm 5536  ran crn 5537   ↾ cres 5538   ∘ ccom 5540  Rel wrel 5541  ‘cfv 6336  (class class class)co 7138  0cc0 10522  1c1 10523   + caddc 10525  ℕ0cn0 11883  ↑𝑟crelexp 14368  t*reccrtrcl 14403 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-rep 5171  ax-sep 5184  ax-nul 5191  ax-pow 5247  ax-pr 5311  ax-un 7444  ax-cnex 10578  ax-resscn 10579  ax-1cn 10580  ax-icn 10581  ax-addcl 10582  ax-addrcl 10583  ax-mulcl 10584  ax-mulrcl 10585  ax-mulcom 10586  ax-addass 10587  ax-mulass 10588  ax-distr 10589  ax-i2m1 10590  ax-1ne0 10591  ax-1rid 10592  ax-rnegex 10593  ax-rrecex 10594  ax-cnre 10595  ax-pre-lttri 10596  ax-pre-lttrn 10597  ax-pre-ltadd 10598  ax-pre-mulgt0 10599 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ne 3014  df-nel 3118  df-ral 3137  df-rex 3138  df-reu 3139  df-rab 3141  df-v 3481  df-sbc 3758  df-csb 3866  df-dif 3921  df-un 3923  df-in 3925  df-ss 3935  df-pss 3937  df-nul 4275  df-if 4449  df-pw 4522  df-sn 4549  df-pr 4551  df-tp 4553  df-op 4555  df-uni 4820  df-iun 4902  df-br 5048  df-opab 5110  df-mpt 5128  df-tr 5154  df-id 5441  df-eprel 5446  df-po 5455  df-so 5456  df-fr 5495  df-we 5497  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-pred 6129  df-ord 6175  df-on 6176  df-lim 6177  df-suc 6178  df-iota 6295  df-fun 6338  df-fn 6339  df-f 6340  df-f1 6341  df-fo 6342  df-f1o 6343  df-fv 6344  df-riota 7096  df-ov 7141  df-oprab 7142  df-mpo 7143  df-om 7564  df-2nd 7673  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-pnf 10662  df-mnf 10663  df-xr 10664  df-ltxr 10665  df-le 10666  df-sub 10857  df-neg 10858  df-nn 11624  df-n0 11884  df-z 11968  df-uz 12230  df-seq 13363  df-relexp 14369  df-rtrclrec 14404 This theorem is referenced by:  dfrtrcl2  14410
 Copyright terms: Public domain W3C validator