Metamath Proof Explorer


Theorem supcnvlimsupmpt

Description: If a function on a set of upper integers has a real superior limit, the supremum of the rightmost parts of the function, converges to that superior limit. (Contributed by Glauco Siliprandi, 23-Oct-2021)

Ref Expression
Hypotheses supcnvlimsupmpt.j 𝑗 𝜑
supcnvlimsupmpt.m ( 𝜑𝑀 ∈ ℤ )
supcnvlimsupmpt.z 𝑍 = ( ℤ𝑀 )
supcnvlimsupmpt.b ( ( 𝜑𝑗𝑍 ) → 𝐵 ∈ ℝ )
supcnvlimsupmpt.r ( 𝜑 → ( lim sup ‘ ( 𝑗𝑍𝐵 ) ) ∈ ℝ )
Assertion supcnvlimsupmpt ( 𝜑 → ( 𝑘𝑍 ↦ sup ( ran ( 𝑗 ∈ ( ℤ𝑘 ) ↦ 𝐵 ) , ℝ* , < ) ) ⇝ ( lim sup ‘ ( 𝑗𝑍𝐵 ) ) )

Proof

Step Hyp Ref Expression
1 supcnvlimsupmpt.j 𝑗 𝜑
2 supcnvlimsupmpt.m ( 𝜑𝑀 ∈ ℤ )
3 supcnvlimsupmpt.z 𝑍 = ( ℤ𝑀 )
4 supcnvlimsupmpt.b ( ( 𝜑𝑗𝑍 ) → 𝐵 ∈ ℝ )
5 supcnvlimsupmpt.r ( 𝜑 → ( lim sup ‘ ( 𝑗𝑍𝐵 ) ) ∈ ℝ )
6 fveq2 ( 𝑘 = 𝑛 → ( ℤ𝑘 ) = ( ℤ𝑛 ) )
7 6 mpteq1d ( 𝑘 = 𝑛 → ( 𝑗 ∈ ( ℤ𝑘 ) ↦ 𝐵 ) = ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) )
8 7 rneqd ( 𝑘 = 𝑛 → ran ( 𝑗 ∈ ( ℤ𝑘 ) ↦ 𝐵 ) = ran ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) )
9 8 supeq1d ( 𝑘 = 𝑛 → sup ( ran ( 𝑗 ∈ ( ℤ𝑘 ) ↦ 𝐵 ) , ℝ* , < ) = sup ( ran ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) , ℝ* , < ) )
10 9 cbvmptv ( 𝑘𝑍 ↦ sup ( ran ( 𝑗 ∈ ( ℤ𝑘 ) ↦ 𝐵 ) , ℝ* , < ) ) = ( 𝑛𝑍 ↦ sup ( ran ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) , ℝ* , < ) )
11 3 uzssd3 ( 𝑛𝑍 → ( ℤ𝑛 ) ⊆ 𝑍 )
12 11 adantl ( ( 𝜑𝑛𝑍 ) → ( ℤ𝑛 ) ⊆ 𝑍 )
13 12 resmptd ( ( 𝜑𝑛𝑍 ) → ( ( 𝑗𝑍𝐵 ) ↾ ( ℤ𝑛 ) ) = ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) )
14 13 eqcomd ( ( 𝜑𝑛𝑍 ) → ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) = ( ( 𝑗𝑍𝐵 ) ↾ ( ℤ𝑛 ) ) )
15 14 rneqd ( ( 𝜑𝑛𝑍 ) → ran ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) = ran ( ( 𝑗𝑍𝐵 ) ↾ ( ℤ𝑛 ) ) )
16 15 supeq1d ( ( 𝜑𝑛𝑍 ) → sup ( ran ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) , ℝ* , < ) = sup ( ran ( ( 𝑗𝑍𝐵 ) ↾ ( ℤ𝑛 ) ) , ℝ* , < ) )
17 16 mpteq2dva ( 𝜑 → ( 𝑛𝑍 ↦ sup ( ran ( 𝑗 ∈ ( ℤ𝑛 ) ↦ 𝐵 ) , ℝ* , < ) ) = ( 𝑛𝑍 ↦ sup ( ran ( ( 𝑗𝑍𝐵 ) ↾ ( ℤ𝑛 ) ) , ℝ* , < ) ) )
18 10 17 syl5eq ( 𝜑 → ( 𝑘𝑍 ↦ sup ( ran ( 𝑗 ∈ ( ℤ𝑘 ) ↦ 𝐵 ) , ℝ* , < ) ) = ( 𝑛𝑍 ↦ sup ( ran ( ( 𝑗𝑍𝐵 ) ↾ ( ℤ𝑛 ) ) , ℝ* , < ) ) )
19 1 4 fmptd2f ( 𝜑 → ( 𝑗𝑍𝐵 ) : 𝑍 ⟶ ℝ )
20 2 3 19 5 supcnvlimsup ( 𝜑 → ( 𝑛𝑍 ↦ sup ( ran ( ( 𝑗𝑍𝐵 ) ↾ ( ℤ𝑛 ) ) , ℝ* , < ) ) ⇝ ( lim sup ‘ ( 𝑗𝑍𝐵 ) ) )
21 18 20 eqbrtrd ( 𝜑 → ( 𝑘𝑍 ↦ sup ( ran ( 𝑗 ∈ ( ℤ𝑘 ) ↦ 𝐵 ) , ℝ* , < ) ) ⇝ ( lim sup ‘ ( 𝑗𝑍𝐵 ) ) )