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

Theorem itg2cnlem1 23748
Description: Lemma for itgcn 23829. (Contributed by Mario Carneiro, 30-Aug-2014.)
Hypotheses
Ref Expression
itg2cn.1 (𝜑𝐹:ℝ⟶(0[,)+∞))
itg2cn.2 (𝜑𝐹 ∈ MblFn)
itg2cn.3 (𝜑 → (∫2𝐹) ∈ ℝ)
Assertion
Ref Expression
itg2cnlem1 (𝜑 → sup(ran (𝑛 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))), ℝ*, < ) = (∫2𝐹))
Distinct variable groups:   𝑥,𝑛,𝐹   𝜑,𝑛,𝑥

Proof of Theorem itg2cnlem1
Dummy variables 𝑚 𝑦 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fvex 6342 . . . . . . . . . 10 (𝐹𝑥) ∈ V
2 c0ex 10236 . . . . . . . . . 10 0 ∈ V
31, 2ifex 4295 . . . . . . . . 9 if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0) ∈ V
4 eqid 2771 . . . . . . . . . 10 (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))
54fvmpt2 6433 . . . . . . . . 9 ((𝑥 ∈ ℝ ∧ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0) ∈ V) → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥) = if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))
63, 5mpan2 671 . . . . . . . 8 (𝑥 ∈ ℝ → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥) = if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))
76mpteq2dv 4879 . . . . . . 7 (𝑥 ∈ ℝ → (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)) = (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
87rneqd 5491 . . . . . 6 (𝑥 ∈ ℝ → ran (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)) = ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
98supeq1d 8508 . . . . 5 (𝑥 ∈ ℝ → sup(ran (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)), ℝ, < ) = sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ))
109mpteq2ia 4874 . . . 4 (𝑥 ∈ ℝ ↦ sup(ran (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)), ℝ, < )) = (𝑥 ∈ ℝ ↦ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ))
11 nfcv 2913 . . . . 5 𝑦sup(ran (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)), ℝ, < )
12 nfcv 2913 . . . . . . . 8 𝑥
13 nfmpt1 4881 . . . . . . . . . . 11 𝑥(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))
1412, 13nfmpt 4880 . . . . . . . . . 10 𝑥(𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
15 nfcv 2913 . . . . . . . . . 10 𝑥𝑚
1614, 15nffv 6339 . . . . . . . . 9 𝑥((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)
17 nfcv 2913 . . . . . . . . 9 𝑥𝑦
1816, 17nffv 6339 . . . . . . . 8 𝑥(((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦)
1912, 18nfmpt 4880 . . . . . . 7 𝑥(𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦))
2019nfrn 5506 . . . . . 6 𝑥ran (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦))
21 nfcv 2913 . . . . . 6 𝑥
22 nfcv 2913 . . . . . 6 𝑥 <
2320, 21, 22nfsup 8513 . . . . 5 𝑥sup(ran (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦)), ℝ, < )
24 fveq2 6332 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥) = ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑦))
2524mpteq2dv 4879 . . . . . . . 8 (𝑥 = 𝑦 → (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)) = (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑦)))
26 breq2 4790 . . . . . . . . . . . . 13 (𝑛 = 𝑚 → ((𝐹𝑥) ≤ 𝑛 ↔ (𝐹𝑥) ≤ 𝑚))
2726ifbid 4247 . . . . . . . . . . . 12 (𝑛 = 𝑚 → if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0) = if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))
2827mpteq2dv 4879 . . . . . . . . . . 11 (𝑛 = 𝑚 → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)))
2928fveq1d 6334 . . . . . . . . . 10 (𝑛 = 𝑚 → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑦) = ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦))
3029cbvmptv 4884 . . . . . . . . 9 (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑦)) = (𝑚 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦))
31 eqid 2771 . . . . . . . . . . . 12 (𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))) = (𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
32 reex 10229 . . . . . . . . . . . . 13 ℝ ∈ V
3332mptex 6630 . . . . . . . . . . . 12 (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) ∈ V
3428, 31, 33fvmpt 6424 . . . . . . . . . . 11 (𝑚 ∈ ℕ → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)))
3534fveq1d 6334 . . . . . . . . . 10 (𝑚 ∈ ℕ → (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) = ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦))
3635mpteq2ia 4874 . . . . . . . . 9 (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦)) = (𝑚 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦))
3730, 36eqtr4i 2796 . . . . . . . 8 (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑦)) = (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦))
3825, 37syl6eq 2821 . . . . . . 7 (𝑥 = 𝑦 → (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)) = (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦)))
3938rneqd 5491 . . . . . 6 (𝑥 = 𝑦 → ran (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)) = ran (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦)))
4039supeq1d 8508 . . . . 5 (𝑥 = 𝑦 → sup(ran (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)), ℝ, < ) = sup(ran (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦)), ℝ, < ))
4111, 23, 40cbvmpt 4883 . . . 4 (𝑥 ∈ ℝ ↦ sup(ran (𝑛 ∈ ℕ ↦ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑥)), ℝ, < )) = (𝑦 ∈ ℝ ↦ sup(ran (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦)), ℝ, < ))
4210, 41eqtr3i 2795 . . 3 (𝑥 ∈ ℝ ↦ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < )) = (𝑦 ∈ ℝ ↦ sup(ran (𝑚 ∈ ℕ ↦ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦)), ℝ, < ))
43 fveq2 6332 . . . . . . . 8 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
4443breq1d 4796 . . . . . . 7 (𝑥 = 𝑦 → ((𝐹𝑥) ≤ 𝑚 ↔ (𝐹𝑦) ≤ 𝑚))
4544, 43ifbieq1d 4248 . . . . . 6 (𝑥 = 𝑦 → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) = if((𝐹𝑦) ≤ 𝑚, (𝐹𝑦), 0))
4645cbvmptv 4884 . . . . 5 (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) = (𝑦 ∈ ℝ ↦ if((𝐹𝑦) ≤ 𝑚, (𝐹𝑦), 0))
4734adantl 467 . . . . 5 ((𝜑𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)))
48 nnre 11229 . . . . . . . . . . . . 13 (𝑚 ∈ ℕ → 𝑚 ∈ ℝ)
4948ad2antlr 706 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → 𝑚 ∈ ℝ)
5049rexrd 10291 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → 𝑚 ∈ ℝ*)
51 elioopnf 12473 . . . . . . . . . . 11 (𝑚 ∈ ℝ* → ((𝐹𝑦) ∈ (𝑚(,)+∞) ↔ ((𝐹𝑦) ∈ ℝ ∧ 𝑚 < (𝐹𝑦))))
5250, 51syl 17 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → ((𝐹𝑦) ∈ (𝑚(,)+∞) ↔ ((𝐹𝑦) ∈ ℝ ∧ 𝑚 < (𝐹𝑦))))
53 itg2cn.1 . . . . . . . . . . . . . 14 (𝜑𝐹:ℝ⟶(0[,)+∞))
54 ffn 6185 . . . . . . . . . . . . . 14 (𝐹:ℝ⟶(0[,)+∞) → 𝐹 Fn ℝ)
5553, 54syl 17 . . . . . . . . . . . . 13 (𝜑𝐹 Fn ℝ)
5655ad2antrr 705 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → 𝐹 Fn ℝ)
57 elpreima 6480 . . . . . . . . . . . 12 (𝐹 Fn ℝ → (𝑦 ∈ (𝐹 “ (𝑚(,)+∞)) ↔ (𝑦 ∈ ℝ ∧ (𝐹𝑦) ∈ (𝑚(,)+∞))))
5856, 57syl 17 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (𝑦 ∈ (𝐹 “ (𝑚(,)+∞)) ↔ (𝑦 ∈ ℝ ∧ (𝐹𝑦) ∈ (𝑚(,)+∞))))
59 simpr 471 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → 𝑦 ∈ ℝ)
6059biantrurd 522 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → ((𝐹𝑦) ∈ (𝑚(,)+∞) ↔ (𝑦 ∈ ℝ ∧ (𝐹𝑦) ∈ (𝑚(,)+∞))))
6158, 60bitr4d 271 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (𝑦 ∈ (𝐹 “ (𝑚(,)+∞)) ↔ (𝐹𝑦) ∈ (𝑚(,)+∞)))
62 rge0ssre 12487 . . . . . . . . . . . . . 14 (0[,)+∞) ⊆ ℝ
63 fss 6196 . . . . . . . . . . . . . 14 ((𝐹:ℝ⟶(0[,)+∞) ∧ (0[,)+∞) ⊆ ℝ) → 𝐹:ℝ⟶ℝ)
6453, 62, 63sylancl 574 . . . . . . . . . . . . 13 (𝜑𝐹:ℝ⟶ℝ)
6564adantr 466 . . . . . . . . . . . 12 ((𝜑𝑚 ∈ ℕ) → 𝐹:ℝ⟶ℝ)
6665ffvelrnda 6502 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (𝐹𝑦) ∈ ℝ)
6766biantrurd 522 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (𝑚 < (𝐹𝑦) ↔ ((𝐹𝑦) ∈ ℝ ∧ 𝑚 < (𝐹𝑦))))
6852, 61, 673bitr4d 300 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (𝑦 ∈ (𝐹 “ (𝑚(,)+∞)) ↔ 𝑚 < (𝐹𝑦)))
6968notbid 307 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (¬ 𝑦 ∈ (𝐹 “ (𝑚(,)+∞)) ↔ ¬ 𝑚 < (𝐹𝑦)))
70 eldif 3733 . . . . . . . . . 10 (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↔ (𝑦 ∈ ℝ ∧ ¬ 𝑦 ∈ (𝐹 “ (𝑚(,)+∞))))
7170baib 525 . . . . . . . . 9 (𝑦 ∈ ℝ → (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↔ ¬ 𝑦 ∈ (𝐹 “ (𝑚(,)+∞))))
7271adantl 467 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↔ ¬ 𝑦 ∈ (𝐹 “ (𝑚(,)+∞))))
7366, 49lenltd 10385 . . . . . . . 8 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → ((𝐹𝑦) ≤ 𝑚 ↔ ¬ 𝑚 < (𝐹𝑦)))
7469, 72, 733bitr4d 300 . . . . . . 7 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↔ (𝐹𝑦) ≤ 𝑚))
7574ifbid 4247 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0) = if((𝐹𝑦) ≤ 𝑚, (𝐹𝑦), 0))
7675mpteq2dva 4878 . . . . 5 ((𝜑𝑚 ∈ ℕ) → (𝑦 ∈ ℝ ↦ if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0)) = (𝑦 ∈ ℝ ↦ if((𝐹𝑦) ≤ 𝑚, (𝐹𝑦), 0)))
7746, 47, 763eqtr4a 2831 . . . 4 ((𝜑𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚) = (𝑦 ∈ ℝ ↦ if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0)))
78 difss 3888 . . . . . 6 (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ⊆ ℝ
7978a1i 11 . . . . 5 ((𝜑𝑚 ∈ ℕ) → (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ⊆ ℝ)
80 rembl 23528 . . . . . 6 ℝ ∈ dom vol
8180a1i 11 . . . . 5 ((𝜑𝑚 ∈ ℕ) → ℝ ∈ dom vol)
82 fvex 6342 . . . . . . 7 (𝐹𝑦) ∈ V
8382, 2ifex 4295 . . . . . 6 if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0) ∈ V
8483a1i 11 . . . . 5 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞)))) → if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0) ∈ V)
85 eldifn 3884 . . . . . . 7 (𝑦 ∈ (ℝ ∖ (ℝ ∖ (𝐹 “ (𝑚(,)+∞)))) → ¬ 𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))))
8685adantl 467 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ (ℝ ∖ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))))) → ¬ 𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))))
8786iffalsed 4236 . . . . 5 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ (ℝ ∖ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))))) → if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0) = 0)
88 iftrue 4231 . . . . . . . . 9 (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) → if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0) = (𝐹𝑦))
8988mpteq2ia 4874 . . . . . . . 8 (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↦ if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0)) = (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↦ (𝐹𝑦))
90 resmpt 5590 . . . . . . . . 9 ((ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ⊆ ℝ → ((𝑦 ∈ ℝ ↦ (𝐹𝑦)) ↾ (ℝ ∖ (𝐹 “ (𝑚(,)+∞)))) = (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↦ (𝐹𝑦)))
9178, 90ax-mp 5 . . . . . . . 8 ((𝑦 ∈ ℝ ↦ (𝐹𝑦)) ↾ (ℝ ∖ (𝐹 “ (𝑚(,)+∞)))) = (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↦ (𝐹𝑦))
9289, 91eqtr4i 2796 . . . . . . 7 (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↦ if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0)) = ((𝑦 ∈ ℝ ↦ (𝐹𝑦)) ↾ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))))
9353feqmptd 6391 . . . . . . . . 9 (𝜑𝐹 = (𝑦 ∈ ℝ ↦ (𝐹𝑦)))
94 itg2cn.2 . . . . . . . . 9 (𝜑𝐹 ∈ MblFn)
9593, 94eqeltrrd 2851 . . . . . . . 8 (𝜑 → (𝑦 ∈ ℝ ↦ (𝐹𝑦)) ∈ MblFn)
96 mbfima 23618 . . . . . . . . . 10 ((𝐹 ∈ MblFn ∧ 𝐹:ℝ⟶ℝ) → (𝐹 “ (𝑚(,)+∞)) ∈ dom vol)
9794, 64, 96syl2anc 573 . . . . . . . . 9 (𝜑 → (𝐹 “ (𝑚(,)+∞)) ∈ dom vol)
98 cmmbl 23522 . . . . . . . . 9 ((𝐹 “ (𝑚(,)+∞)) ∈ dom vol → (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ∈ dom vol)
9997, 98syl 17 . . . . . . . 8 (𝜑 → (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ∈ dom vol)
100 mbfres 23631 . . . . . . . 8 (((𝑦 ∈ ℝ ↦ (𝐹𝑦)) ∈ MblFn ∧ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ∈ dom vol) → ((𝑦 ∈ ℝ ↦ (𝐹𝑦)) ↾ (ℝ ∖ (𝐹 “ (𝑚(,)+∞)))) ∈ MblFn)
10195, 99, 100syl2anc 573 . . . . . . 7 (𝜑 → ((𝑦 ∈ ℝ ↦ (𝐹𝑦)) ↾ (ℝ ∖ (𝐹 “ (𝑚(,)+∞)))) ∈ MblFn)
10292, 101syl5eqel 2854 . . . . . 6 (𝜑 → (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↦ if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0)) ∈ MblFn)
103102adantr 466 . . . . 5 ((𝜑𝑚 ∈ ℕ) → (𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))) ↦ if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0)) ∈ MblFn)
10479, 81, 84, 87, 103mbfss 23633 . . . 4 ((𝜑𝑚 ∈ ℕ) → (𝑦 ∈ ℝ ↦ if(𝑦 ∈ (ℝ ∖ (𝐹 “ (𝑚(,)+∞))), (𝐹𝑦), 0)) ∈ MblFn)
10577, 104eqeltrd 2850 . . 3 ((𝜑𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚) ∈ MblFn)
10653ffvelrnda 6502 . . . . . . 7 ((𝜑𝑥 ∈ ℝ) → (𝐹𝑥) ∈ (0[,)+∞))
107 0e0icopnf 12489 . . . . . . 7 0 ∈ (0[,)+∞)
108 ifcl 4269 . . . . . . 7 (((𝐹𝑥) ∈ (0[,)+∞) ∧ 0 ∈ (0[,)+∞)) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ∈ (0[,)+∞))
109106, 107, 108sylancl 574 . . . . . 6 ((𝜑𝑥 ∈ ℝ) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ∈ (0[,)+∞))
110109adantlr 694 . . . . 5 (((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ∈ (0[,)+∞))
111 eqid 2771 . . . . 5 (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))
112110, 111fmptd 6527 . . . 4 ((𝜑𝑚 ∈ ℕ) → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)):ℝ⟶(0[,)+∞))
11347feq1d 6170 . . . 4 ((𝜑𝑚 ∈ ℕ) → (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚):ℝ⟶(0[,)+∞) ↔ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)):ℝ⟶(0[,)+∞)))
114112, 113mpbird 247 . . 3 ((𝜑𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚):ℝ⟶(0[,)+∞))
115 elrege0 12485 . . . . . . . . . . . . 13 ((𝐹𝑥) ∈ (0[,)+∞) ↔ ((𝐹𝑥) ∈ ℝ ∧ 0 ≤ (𝐹𝑥)))
116106, 115sylib 208 . . . . . . . . . . . 12 ((𝜑𝑥 ∈ ℝ) → ((𝐹𝑥) ∈ ℝ ∧ 0 ≤ (𝐹𝑥)))
117116simpld 482 . . . . . . . . . . 11 ((𝜑𝑥 ∈ ℝ) → (𝐹𝑥) ∈ ℝ)
118117adantlr 694 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) → (𝐹𝑥) ∈ ℝ)
119118adantr 466 . . . . . . . . 9 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → (𝐹𝑥) ∈ ℝ)
120119leidd 10796 . . . . . . . 8 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → (𝐹𝑥) ≤ (𝐹𝑥))
121 iftrue 4231 . . . . . . . . 9 ((𝐹𝑥) ≤ 𝑚 → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) = (𝐹𝑥))
122121adantl 467 . . . . . . . 8 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) = (𝐹𝑥))
12348ad3antlr 710 . . . . . . . . . 10 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → 𝑚 ∈ ℝ)
124 peano2re 10411 . . . . . . . . . . 11 (𝑚 ∈ ℝ → (𝑚 + 1) ∈ ℝ)
125123, 124syl 17 . . . . . . . . . 10 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → (𝑚 + 1) ∈ ℝ)
126 simpr 471 . . . . . . . . . 10 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → (𝐹𝑥) ≤ 𝑚)
127123lep1d 11157 . . . . . . . . . 10 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → 𝑚 ≤ (𝑚 + 1))
128119, 123, 125, 126, 127letrd 10396 . . . . . . . . 9 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → (𝐹𝑥) ≤ (𝑚 + 1))
129128iftrued 4233 . . . . . . . 8 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0) = (𝐹𝑥))
130120, 122, 1293brtr4d 4818 . . . . . . 7 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ (𝐹𝑥) ≤ 𝑚) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
131 iffalse 4234 . . . . . . . . 9 (¬ (𝐹𝑥) ≤ 𝑚 → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) = 0)
132131adantl 467 . . . . . . . 8 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ ¬ (𝐹𝑥) ≤ 𝑚) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) = 0)
133116simprd 483 . . . . . . . . . . 11 ((𝜑𝑥 ∈ ℝ) → 0 ≤ (𝐹𝑥))
134 0le0 11312 . . . . . . . . . . 11 0 ≤ 0
135 breq2 4790 . . . . . . . . . . . 12 ((𝐹𝑥) = if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0) → (0 ≤ (𝐹𝑥) ↔ 0 ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)))
136 breq2 4790 . . . . . . . . . . . 12 (0 = if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0) → (0 ≤ 0 ↔ 0 ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)))
137135, 136ifboth 4263 . . . . . . . . . . 11 ((0 ≤ (𝐹𝑥) ∧ 0 ≤ 0) → 0 ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
138133, 134, 137sylancl 574 . . . . . . . . . 10 ((𝜑𝑥 ∈ ℝ) → 0 ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
139138adantlr 694 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) → 0 ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
140139adantr 466 . . . . . . . 8 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ ¬ (𝐹𝑥) ≤ 𝑚) → 0 ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
141132, 140eqbrtrd 4808 . . . . . . 7 ((((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) ∧ ¬ (𝐹𝑥) ≤ 𝑚) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
142130, 141pm2.61dan 813 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
143142ralrimiva 3115 . . . . 5 ((𝜑𝑚 ∈ ℕ) → ∀𝑥 ∈ ℝ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
1441, 2ifex 4295 . . . . . . 7 if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0) ∈ V
145144a1i 11 . . . . . 6 (((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) → if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0) ∈ V)
146 eqidd 2772 . . . . . 6 ((𝜑𝑚 ∈ ℕ) → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)))
147 eqidd 2772 . . . . . 6 ((𝜑𝑚 ∈ ℕ) → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)))
14881, 110, 145, 146, 147ofrfval2 7062 . . . . 5 ((𝜑𝑚 ∈ ℕ) → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) ∘𝑟 ≤ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)) ↔ ∀𝑥 ∈ ℝ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)))
149143, 148mpbird 247 . . . 4 ((𝜑𝑚 ∈ ℕ) → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) ∘𝑟 ≤ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)))
150 peano2nn 11234 . . . . . 6 (𝑚 ∈ ℕ → (𝑚 + 1) ∈ ℕ)
151150adantl 467 . . . . 5 ((𝜑𝑚 ∈ ℕ) → (𝑚 + 1) ∈ ℕ)
152 breq2 4790 . . . . . . . 8 (𝑛 = (𝑚 + 1) → ((𝐹𝑥) ≤ 𝑛 ↔ (𝐹𝑥) ≤ (𝑚 + 1)))
153152ifbid 4247 . . . . . . 7 (𝑛 = (𝑚 + 1) → if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0) = if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0))
154153mpteq2dv 4879 . . . . . 6 (𝑛 = (𝑚 + 1) → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)))
15532mptex 6630 . . . . . 6 (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)) ∈ V
156154, 31, 155fvmpt 6424 . . . . 5 ((𝑚 + 1) ∈ ℕ → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘(𝑚 + 1)) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)))
157151, 156syl 17 . . . 4 ((𝜑𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘(𝑚 + 1)) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ (𝑚 + 1), (𝐹𝑥), 0)))
158149, 47, 1573brtr4d 4818 . . 3 ((𝜑𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚) ∘𝑟 ≤ ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘(𝑚 + 1)))
15964ffvelrnda 6502 . . . 4 ((𝜑𝑦 ∈ ℝ) → (𝐹𝑦) ∈ ℝ)
16034adantl 467 . . . . . . 7 (((𝜑𝑦 ∈ ℝ) ∧ 𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚) = (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)))
161160fveq1d 6334 . . . . . 6 (((𝜑𝑦 ∈ ℝ) ∧ 𝑚 ∈ ℕ) → (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) = ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦))
162117leidd 10796 . . . . . . . . . . . . 13 ((𝜑𝑥 ∈ ℝ) → (𝐹𝑥) ≤ (𝐹𝑥))
163 breq1 4789 . . . . . . . . . . . . . 14 ((𝐹𝑥) = if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) → ((𝐹𝑥) ≤ (𝐹𝑥) ↔ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ (𝐹𝑥)))
164 breq1 4789 . . . . . . . . . . . . . 14 (0 = if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) → (0 ≤ (𝐹𝑥) ↔ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ (𝐹𝑥)))
165163, 164ifboth 4263 . . . . . . . . . . . . 13 (((𝐹𝑥) ≤ (𝐹𝑥) ∧ 0 ≤ (𝐹𝑥)) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ (𝐹𝑥))
166162, 133, 165syl2anc 573 . . . . . . . . . . . 12 ((𝜑𝑥 ∈ ℝ) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ (𝐹𝑥))
167166adantlr 694 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ (𝐹𝑥))
168167ralrimiva 3115 . . . . . . . . . 10 ((𝜑𝑚 ∈ ℕ) → ∀𝑥 ∈ ℝ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ (𝐹𝑥))
16932a1i 11 . . . . . . . . . . 11 ((𝜑𝑚 ∈ ℕ) → ℝ ∈ V)
1701, 2ifex 4295 . . . . . . . . . . . 12 if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ∈ V
171170a1i 11 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑥 ∈ ℝ) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ∈ V)
17253feqmptd 6391 . . . . . . . . . . . 12 (𝜑𝐹 = (𝑥 ∈ ℝ ↦ (𝐹𝑥)))
173172adantr 466 . . . . . . . . . . 11 ((𝜑𝑚 ∈ ℕ) → 𝐹 = (𝑥 ∈ ℝ ↦ (𝐹𝑥)))
174169, 171, 118, 146, 173ofrfval2 7062 . . . . . . . . . 10 ((𝜑𝑚 ∈ ℕ) → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) ∘𝑟𝐹 ↔ ∀𝑥 ∈ ℝ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ (𝐹𝑥)))
175168, 174mpbird 247 . . . . . . . . 9 ((𝜑𝑚 ∈ ℕ) → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) ∘𝑟𝐹)
176171, 111fmptd 6527 . . . . . . . . . . 11 ((𝜑𝑚 ∈ ℕ) → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)):ℝ⟶V)
177 ffn 6185 . . . . . . . . . . 11 ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)):ℝ⟶V → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) Fn ℝ)
178176, 177syl 17 . . . . . . . . . 10 ((𝜑𝑚 ∈ ℕ) → (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) Fn ℝ)
17955adantr 466 . . . . . . . . . 10 ((𝜑𝑚 ∈ ℕ) → 𝐹 Fn ℝ)
180 inidm 3971 . . . . . . . . . 10 (ℝ ∩ ℝ) = ℝ
181 eqidd 2772 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦) = ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦))
182 eqidd 2772 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → (𝐹𝑦) = (𝐹𝑦))
183178, 179, 169, 169, 180, 181, 182ofrfval 7052 . . . . . . . . 9 ((𝜑𝑚 ∈ ℕ) → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0)) ∘𝑟𝐹 ↔ ∀𝑦 ∈ ℝ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦) ≤ (𝐹𝑦)))
184175, 183mpbid 222 . . . . . . . 8 ((𝜑𝑚 ∈ ℕ) → ∀𝑦 ∈ ℝ ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦) ≤ (𝐹𝑦))
185184r19.21bi 3081 . . . . . . 7 (((𝜑𝑚 ∈ ℕ) ∧ 𝑦 ∈ ℝ) → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦) ≤ (𝐹𝑦))
186185an32s 631 . . . . . 6 (((𝜑𝑦 ∈ ℝ) ∧ 𝑚 ∈ ℕ) → ((𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))‘𝑦) ≤ (𝐹𝑦))
187161, 186eqbrtrd 4808 . . . . 5 (((𝜑𝑦 ∈ ℝ) ∧ 𝑚 ∈ ℕ) → (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ (𝐹𝑦))
188187ralrimiva 3115 . . . 4 ((𝜑𝑦 ∈ ℝ) → ∀𝑚 ∈ ℕ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ (𝐹𝑦))
189 breq2 4790 . . . . . 6 (𝑧 = (𝐹𝑦) → ((((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ 𝑧 ↔ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ (𝐹𝑦)))
190189ralbidv 3135 . . . . 5 (𝑧 = (𝐹𝑦) → (∀𝑚 ∈ ℕ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ 𝑧 ↔ ∀𝑚 ∈ ℕ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ (𝐹𝑦)))
191190rspcev 3460 . . . 4 (((𝐹𝑦) ∈ ℝ ∧ ∀𝑚 ∈ ℕ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ (𝐹𝑦)) → ∃𝑧 ∈ ℝ ∀𝑚 ∈ ℕ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ 𝑧)
192159, 188, 191syl2anc 573 . . 3 ((𝜑𝑦 ∈ ℝ) → ∃𝑧 ∈ ℝ ∀𝑚 ∈ ℕ (((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)‘𝑦) ≤ 𝑧)
19328fveq2d 6336 . . . . . . 7 (𝑛 = 𝑚 → (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))) = (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))))
194193cbvmptv 4884 . . . . . 6 (𝑛 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))) = (𝑚 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))))
19534fveq2d 6336 . . . . . . 7 (𝑚 ∈ ℕ → (∫2‘((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)) = (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))))
196195mpteq2ia 4874 . . . . . 6 (𝑚 ∈ ℕ ↦ (∫2‘((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚))) = (𝑚 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))))
197194, 196eqtr4i 2796 . . . . 5 (𝑛 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))) = (𝑚 ∈ ℕ ↦ (∫2‘((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)))
198197rneqi 5490 . . . 4 ran (𝑛 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))) = ran (𝑚 ∈ ℕ ↦ (∫2‘((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚)))
199198supeq1i 8509 . . 3 sup(ran (𝑛 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))), ℝ*, < ) = sup(ran (𝑚 ∈ ℕ ↦ (∫2‘((𝑛 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))‘𝑚))), ℝ*, < )
20042, 105, 114, 158, 192, 199itg2mono 23740 . 2 (𝜑 → (∫2‘(𝑥 ∈ ℝ ↦ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ))) = sup(ran (𝑛 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))), ℝ*, < ))
201 eqid 2771 . . . . . . . . . . . 12 (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))
20227, 201, 170fvmpt 6424 . . . . . . . . . . 11 (𝑚 ∈ ℕ → ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) = if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))
203202adantl 467 . . . . . . . . . 10 (((𝜑𝑥 ∈ ℝ) ∧ 𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) = if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))
204166adantr 466 . . . . . . . . . 10 (((𝜑𝑥 ∈ ℝ) ∧ 𝑚 ∈ ℕ) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) ≤ (𝐹𝑥))
205203, 204eqbrtrd 4808 . . . . . . . . 9 (((𝜑𝑥 ∈ ℝ) ∧ 𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) ≤ (𝐹𝑥))
206205ralrimiva 3115 . . . . . . . 8 ((𝜑𝑥 ∈ ℝ) → ∀𝑚 ∈ ℕ ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) ≤ (𝐹𝑥))
2073a1i 11 . . . . . . . . . . 11 (((𝜑𝑥 ∈ ℝ) ∧ 𝑛 ∈ ℕ) → if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0) ∈ V)
208207, 201fmptd 6527 . . . . . . . . . 10 ((𝜑𝑥 ∈ ℝ) → (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)):ℕ⟶V)
209 ffn 6185 . . . . . . . . . 10 ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)):ℕ⟶V → (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) Fn ℕ)
210208, 209syl 17 . . . . . . . . 9 ((𝜑𝑥 ∈ ℝ) → (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) Fn ℕ)
211 breq1 4789 . . . . . . . . . 10 (𝑤 = ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) → (𝑤 ≤ (𝐹𝑥) ↔ ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) ≤ (𝐹𝑥)))
212211ralrn 6505 . . . . . . . . 9 ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) Fn ℕ → (∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤 ≤ (𝐹𝑥) ↔ ∀𝑚 ∈ ℕ ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) ≤ (𝐹𝑥)))
213210, 212syl 17 . . . . . . . 8 ((𝜑𝑥 ∈ ℝ) → (∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤 ≤ (𝐹𝑥) ↔ ∀𝑚 ∈ ℕ ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) ≤ (𝐹𝑥)))
214206, 213mpbird 247 . . . . . . 7 ((𝜑𝑥 ∈ ℝ) → ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤 ≤ (𝐹𝑥))
215117adantr 466 . . . . . . . . . . 11 (((𝜑𝑥 ∈ ℝ) ∧ 𝑛 ∈ ℕ) → (𝐹𝑥) ∈ ℝ)
216 0re 10242 . . . . . . . . . . 11 0 ∈ ℝ
217 ifcl 4269 . . . . . . . . . . 11 (((𝐹𝑥) ∈ ℝ ∧ 0 ∈ ℝ) → if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0) ∈ ℝ)
218215, 216, 217sylancl 574 . . . . . . . . . 10 (((𝜑𝑥 ∈ ℝ) ∧ 𝑛 ∈ ℕ) → if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0) ∈ ℝ)
219218, 201fmptd 6527 . . . . . . . . 9 ((𝜑𝑥 ∈ ℝ) → (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)):ℕ⟶ℝ)
220 frn 6193 . . . . . . . . 9 ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)):ℕ⟶ℝ → ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ⊆ ℝ)
221219, 220syl 17 . . . . . . . 8 ((𝜑𝑥 ∈ ℝ) → ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ⊆ ℝ)
222 1nn 11233 . . . . . . . . . 10 1 ∈ ℕ
223201, 218dmmptd 6164 . . . . . . . . . 10 ((𝜑𝑥 ∈ ℝ) → dom (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = ℕ)
224222, 223syl5eleqr 2857 . . . . . . . . 9 ((𝜑𝑥 ∈ ℝ) → 1 ∈ dom (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
225 n0i 4068 . . . . . . . . . 10 (1 ∈ dom (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) → ¬ dom (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = ∅)
226 dm0rn0 5480 . . . . . . . . . . 11 (dom (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = ∅ ↔ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = ∅)
227226necon3bbii 2990 . . . . . . . . . 10 (¬ dom (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) = ∅ ↔ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ≠ ∅)
228225, 227sylib 208 . . . . . . . . 9 (1 ∈ dom (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) → ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ≠ ∅)
229224, 228syl 17 . . . . . . . 8 ((𝜑𝑥 ∈ ℝ) → ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ≠ ∅)
230 breq2 4790 . . . . . . . . . . 11 (𝑧 = (𝐹𝑥) → (𝑤𝑧𝑤 ≤ (𝐹𝑥)))
231230ralbidv 3135 . . . . . . . . . 10 (𝑧 = (𝐹𝑥) → (∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤𝑧 ↔ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤 ≤ (𝐹𝑥)))
232231rspcev 3460 . . . . . . . . 9 (((𝐹𝑥) ∈ ℝ ∧ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤 ≤ (𝐹𝑥)) → ∃𝑧 ∈ ℝ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤𝑧)
233117, 214, 232syl2anc 573 . . . . . . . 8 ((𝜑𝑥 ∈ ℝ) → ∃𝑧 ∈ ℝ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤𝑧)
234 suprleub 11191 . . . . . . . 8 (((ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ⊆ ℝ ∧ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ≠ ∅ ∧ ∃𝑧 ∈ ℝ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤𝑧) ∧ (𝐹𝑥) ∈ ℝ) → (sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ) ≤ (𝐹𝑥) ↔ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤 ≤ (𝐹𝑥)))
235221, 229, 233, 117, 234syl31anc 1479 . . . . . . 7 ((𝜑𝑥 ∈ ℝ) → (sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ) ≤ (𝐹𝑥) ↔ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤 ≤ (𝐹𝑥)))
236214, 235mpbird 247 . . . . . 6 ((𝜑𝑥 ∈ ℝ) → sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ) ≤ (𝐹𝑥))
237 arch 11491 . . . . . . . . 9 ((𝐹𝑥) ∈ ℝ → ∃𝑚 ∈ ℕ (𝐹𝑥) < 𝑚)
238117, 237syl 17 . . . . . . . 8 ((𝜑𝑥 ∈ ℝ) → ∃𝑚 ∈ ℕ (𝐹𝑥) < 𝑚)
239202ad2antrl 707 . . . . . . . . . 10 (((𝜑𝑥 ∈ ℝ) ∧ (𝑚 ∈ ℕ ∧ (𝐹𝑥) < 𝑚)) → ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) = if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0))
240 ltle 10328 . . . . . . . . . . . . 13 (((𝐹𝑥) ∈ ℝ ∧ 𝑚 ∈ ℝ) → ((𝐹𝑥) < 𝑚 → (𝐹𝑥) ≤ 𝑚))
241117, 48, 240syl2an 583 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ ℝ) ∧ 𝑚 ∈ ℕ) → ((𝐹𝑥) < 𝑚 → (𝐹𝑥) ≤ 𝑚))
242241impr 442 . . . . . . . . . . 11 (((𝜑𝑥 ∈ ℝ) ∧ (𝑚 ∈ ℕ ∧ (𝐹𝑥) < 𝑚)) → (𝐹𝑥) ≤ 𝑚)
243242iftrued 4233 . . . . . . . . . 10 (((𝜑𝑥 ∈ ℝ) ∧ (𝑚 ∈ ℕ ∧ (𝐹𝑥) < 𝑚)) → if((𝐹𝑥) ≤ 𝑚, (𝐹𝑥), 0) = (𝐹𝑥))
244239, 243eqtrd 2805 . . . . . . . . 9 (((𝜑𝑥 ∈ ℝ) ∧ (𝑚 ∈ ℕ ∧ (𝐹𝑥) < 𝑚)) → ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) = (𝐹𝑥))
245210adantr 466 . . . . . . . . . 10 (((𝜑𝑥 ∈ ℝ) ∧ (𝑚 ∈ ℕ ∧ (𝐹𝑥) < 𝑚)) → (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) Fn ℕ)
246 simprl 754 . . . . . . . . . 10 (((𝜑𝑥 ∈ ℝ) ∧ (𝑚 ∈ ℕ ∧ (𝐹𝑥) < 𝑚)) → 𝑚 ∈ ℕ)
247 fnfvelrn 6499 . . . . . . . . . 10 (((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) Fn ℕ ∧ 𝑚 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
248245, 246, 247syl2anc 573 . . . . . . . . 9 (((𝜑𝑥 ∈ ℝ) ∧ (𝑚 ∈ ℕ ∧ (𝐹𝑥) < 𝑚)) → ((𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))‘𝑚) ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
249244, 248eqeltrrd 2851 . . . . . . . 8 (((𝜑𝑥 ∈ ℝ) ∧ (𝑚 ∈ ℕ ∧ (𝐹𝑥) < 𝑚)) → (𝐹𝑥) ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
250238, 249rexlimddv 3183 . . . . . . 7 ((𝜑𝑥 ∈ ℝ) → (𝐹𝑥) ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))
251 suprub 11186 . . . . . . 7 (((ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ⊆ ℝ ∧ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ≠ ∅ ∧ ∃𝑧 ∈ ℝ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤𝑧) ∧ (𝐹𝑥) ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))) → (𝐹𝑥) ≤ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ))
252221, 229, 233, 250, 251syl31anc 1479 . . . . . 6 ((𝜑𝑥 ∈ ℝ) → (𝐹𝑥) ≤ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ))
253 suprcl 11185 . . . . . . . 8 ((ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ⊆ ℝ ∧ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)) ≠ ∅ ∧ ∃𝑧 ∈ ℝ ∀𝑤 ∈ ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0))𝑤𝑧) → sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ) ∈ ℝ)
254221, 229, 233, 253syl3anc 1476 . . . . . . 7 ((𝜑𝑥 ∈ ℝ) → sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ) ∈ ℝ)
255254, 117letri3d 10381 . . . . . 6 ((𝜑𝑥 ∈ ℝ) → (sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ) = (𝐹𝑥) ↔ (sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ) ≤ (𝐹𝑥) ∧ (𝐹𝑥) ≤ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ))))
256236, 252, 255mpbir2and 692 . . . . 5 ((𝜑𝑥 ∈ ℝ) → sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ) = (𝐹𝑥))
257256mpteq2dva 4878 . . . 4 (𝜑 → (𝑥 ∈ ℝ ↦ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < )) = (𝑥 ∈ ℝ ↦ (𝐹𝑥)))
258257, 172eqtr4d 2808 . . 3 (𝜑 → (𝑥 ∈ ℝ ↦ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < )) = 𝐹)
259258fveq2d 6336 . 2 (𝜑 → (∫2‘(𝑥 ∈ ℝ ↦ sup(ran (𝑛 ∈ ℕ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)), ℝ, < ))) = (∫2𝐹))
260200, 259eqtr3d 2807 1 (𝜑 → sup(ran (𝑛 ∈ ℕ ↦ (∫2‘(𝑥 ∈ ℝ ↦ if((𝐹𝑥) ≤ 𝑛, (𝐹𝑥), 0)))), ℝ*, < ) = (∫2𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 382   = wceq 1631  wcel 2145  wne 2943  wral 3061  wrex 3062  Vcvv 3351  cdif 3720  wss 3723  c0 4063  ifcif 4225   class class class wbr 4786  cmpt 4863  ccnv 5248  dom cdm 5249  ran crn 5250  cres 5251  cima 5252   Fn wfn 6026  wf 6027  cfv 6031  (class class class)co 6793  𝑟 cofr 7043  supcsup 8502  cr 10137  0cc0 10138  1c1 10139   + caddc 10141  +∞cpnf 10273  *cxr 10275   < clt 10276  cle 10277  cn 11222  (,)cioo 12380  [,)cico 12382  volcvol 23451  MblFncmbf 23602  2citg2 23604
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4904  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7096  ax-inf2 8702  ax-cc 9459  ax-cnex 10194  ax-resscn 10195  ax-1cn 10196  ax-icn 10197  ax-addcl 10198  ax-addrcl 10199  ax-mulcl 10200  ax-mulrcl 10201  ax-mulcom 10202  ax-addass 10203  ax-mulass 10204  ax-distr 10205  ax-i2m1 10206  ax-1ne0 10207  ax-1rid 10208  ax-rnegex 10209  ax-rrecex 10210  ax-cnre 10211  ax-pre-lttri 10212  ax-pre-lttrn 10213  ax-pre-ltadd 10214  ax-pre-mulgt0 10215  ax-pre-sup 10216  ax-addf 10217
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 835  df-3or 1072  df-3an 1073  df-tru 1634  df-fal 1637  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-pss 3739  df-nul 4064  df-if 4226  df-pw 4299  df-sn 4317  df-pr 4319  df-tp 4321  df-op 4323  df-uni 4575  df-int 4612  df-iun 4656  df-disj 4755  df-br 4787  df-opab 4847  df-mpt 4864  df-tr 4887  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-se 5209  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-isom 6040  df-riota 6754  df-ov 6796  df-oprab 6797  df-mpt2 6798  df-of 7044  df-ofr 7045  df-om 7213  df-1st 7315  df-2nd 7316  df-wrecs 7559  df-recs 7621  df-rdg 7659  df-1o 7713  df-2o 7714  df-oadd 7717  df-omul 7718  df-er 7896  df-map 8011  df-pm 8012  df-en 8110  df-dom 8111  df-sdom 8112  df-fin 8113  df-fi 8473  df-sup 8504  df-inf 8505  df-oi 8571  df-card 8965  df-acn 8968  df-cda 9192  df-pnf 10278  df-mnf 10279  df-xr 10280  df-ltxr 10281  df-le 10282  df-sub 10470  df-neg 10471  df-div 10887  df-nn 11223  df-2 11281  df-3 11282  df-n0 11495  df-z 11580  df-uz 11889  df-q 11992  df-rp 12036  df-xneg 12151  df-xadd 12152  df-xmul 12153  df-ioo 12384  df-ioc 12385  df-ico 12386  df-icc 12387  df-fz 12534  df-fzo 12674  df-fl 12801  df-seq 13009  df-exp 13068  df-hash 13322  df-cj 14047  df-re 14048  df-im 14049  df-sqrt 14183  df-abs 14184  df-clim 14427  df-rlim 14428  df-sum 14625  df-rest 16291  df-topgen 16312  df-psmet 19953  df-xmet 19954  df-met 19955  df-bl 19956  df-mopn 19957  df-top 20919  df-topon 20936  df-bases 20971  df-cmp 21411  df-ovol 23452  df-vol 23453  df-mbf 23607  df-itg1 23608  df-itg2 23609
This theorem is referenced by:  itg2cn  23750
  Copyright terms: Public domain W3C validator