Zulip Chat Archive

Stream: maths

Topic: interval_integrable


Floris van Doorn (Nov 16 2021 at 10:51):

Is there a good reason that docs#interval_integrable is defined the way it is? Would someone opposite if I just replace interval_integrable f a b by integrable_on f (interval_oc a b) everywhere?

Floris van Doorn (Nov 16 2021 at 10:51):

@Yury G. Kudryashov

Floris van Doorn (Nov 16 2021 at 10:52):

Also, do we actually want to use the capital iota notation for interval_oc?

Yury G. Kudryashov (Nov 17 2021 at 22:41):

interval_oc was not there when I defined interval_integrable.

Yury G. Kudryashov (Nov 18 2021 at 03:59):

Another idea: should we redefine ∫ x in a..b, f x ∂μ as sign (b - a) • ∫ x in interval_oc a b, f x ∂μ?

Yury G. Kudryashov (Nov 18 2021 at 04:00):

(note: I'm not going to do either of these refactors in the nearest future)

Yury G. Kudryashov (Nov 18 2021 at 04:14):

(though I'm going to add it as a lemma)

Floris van Doorn (Nov 18 2021 at 11:54):

That makes sense.

Your suggestion on how to redefine interval_integral sounds good, although it might not simplify all that much (you have to reason about scalar multiplication instead of a difference).

Yury G. Kudryashov (Nov 18 2021 at 20:02):

But you have 1 integral instead of 2.

Yury G. Kudryashov (Nov 18 2021 at 20:03):

I tried it with theorems in analysis.calculus.parametric_integral, and it works well.

Yury G. Kudryashov (Nov 18 2021 at 20:04):

Here is a typical proof that transfers a thm from integral to interval_integral:

begin
  simp only [interval_integrable_iff, interval_integral_eq_integral_oc,
     ae_restrict_iff' measurable_set_interval_oc] at *,
  have := has_deriv_at_integral_of_dominated_loc_of_deriv_le ε_pos hF_meas hF_int hF'_meas h_bound
    bound_integrable h_diff,
  exact this.1, this.2.const_smul _
end

Yury G. Kudryashov (Nov 21 2021 at 17:44):

@Floris van Doorn Could you please have a look at #10380?


Last updated: Dec 20 2023 at 11:08 UTC