Metamath Proof Explorer


Theorem ovolval4

Description: The value of the Lebesgue outer measure for subsets of the reals. Similar to ovolval3 , but here f may represent unordered interval bounds. (Contributed by Glauco Siliprandi, 3-Mar-2021)

Ref Expression
Hypotheses ovolval4.a ( 𝜑𝐴 ⊆ ℝ )
ovolval4.m 𝑀 = { 𝑦 ∈ ℝ* ∣ ∃ 𝑓 ∈ ( ( ℝ × ℝ ) ↑m ℕ ) ( 𝐴 ran ( (,) ∘ 𝑓 ) ∧ 𝑦 = ( Σ^ ‘ ( ( vol ∘ (,) ) ∘ 𝑓 ) ) ) }
Assertion ovolval4 ( 𝜑 → ( vol* ‘ 𝐴 ) = inf ( 𝑀 , ℝ* , < ) )

Proof

Step Hyp Ref Expression
1 ovolval4.a ( 𝜑𝐴 ⊆ ℝ )
2 ovolval4.m 𝑀 = { 𝑦 ∈ ℝ* ∣ ∃ 𝑓 ∈ ( ( ℝ × ℝ ) ↑m ℕ ) ( 𝐴 ran ( (,) ∘ 𝑓 ) ∧ 𝑦 = ( Σ^ ‘ ( ( vol ∘ (,) ) ∘ 𝑓 ) ) ) }
3 2fveq3 ( 𝑘 = 𝑛 → ( 1st ‘ ( 𝑓𝑘 ) ) = ( 1st ‘ ( 𝑓𝑛 ) ) )
4 2fveq3 ( 𝑘 = 𝑛 → ( 2nd ‘ ( 𝑓𝑘 ) ) = ( 2nd ‘ ( 𝑓𝑛 ) ) )
5 3 4 breq12d ( 𝑘 = 𝑛 → ( ( 1st ‘ ( 𝑓𝑘 ) ) ≤ ( 2nd ‘ ( 𝑓𝑘 ) ) ↔ ( 1st ‘ ( 𝑓𝑛 ) ) ≤ ( 2nd ‘ ( 𝑓𝑛 ) ) ) )
6 5 4 3 ifbieq12d ( 𝑘 = 𝑛 → if ( ( 1st ‘ ( 𝑓𝑘 ) ) ≤ ( 2nd ‘ ( 𝑓𝑘 ) ) , ( 2nd ‘ ( 𝑓𝑘 ) ) , ( 1st ‘ ( 𝑓𝑘 ) ) ) = if ( ( 1st ‘ ( 𝑓𝑛 ) ) ≤ ( 2nd ‘ ( 𝑓𝑛 ) ) , ( 2nd ‘ ( 𝑓𝑛 ) ) , ( 1st ‘ ( 𝑓𝑛 ) ) ) )
7 3 6 opeq12d ( 𝑘 = 𝑛 → ⟨ ( 1st ‘ ( 𝑓𝑘 ) ) , if ( ( 1st ‘ ( 𝑓𝑘 ) ) ≤ ( 2nd ‘ ( 𝑓𝑘 ) ) , ( 2nd ‘ ( 𝑓𝑘 ) ) , ( 1st ‘ ( 𝑓𝑘 ) ) ) ⟩ = ⟨ ( 1st ‘ ( 𝑓𝑛 ) ) , if ( ( 1st ‘ ( 𝑓𝑛 ) ) ≤ ( 2nd ‘ ( 𝑓𝑛 ) ) , ( 2nd ‘ ( 𝑓𝑛 ) ) , ( 1st ‘ ( 𝑓𝑛 ) ) ) ⟩ )
8 7 cbvmptv ( 𝑘 ∈ ℕ ↦ ⟨ ( 1st ‘ ( 𝑓𝑘 ) ) , if ( ( 1st ‘ ( 𝑓𝑘 ) ) ≤ ( 2nd ‘ ( 𝑓𝑘 ) ) , ( 2nd ‘ ( 𝑓𝑘 ) ) , ( 1st ‘ ( 𝑓𝑘 ) ) ) ⟩ ) = ( 𝑛 ∈ ℕ ↦ ⟨ ( 1st ‘ ( 𝑓𝑛 ) ) , if ( ( 1st ‘ ( 𝑓𝑛 ) ) ≤ ( 2nd ‘ ( 𝑓𝑛 ) ) , ( 2nd ‘ ( 𝑓𝑛 ) ) , ( 1st ‘ ( 𝑓𝑛 ) ) ) ⟩ )
9 1 2 8 ovolval4lem2 ( 𝜑 → ( vol* ‘ 𝐴 ) = inf ( 𝑀 , ℝ* , < ) )