Skip to content

fix: nonempty/closed hypotheses for Riemann and Darboux integrability#609

Open
Chessing234 wants to merge 6 commits into
teorth:mainfrom
Chessing234:fix/riemann-darboux-nonempty-hypotheses
Open

fix: nonempty/closed hypotheses for Riemann and Darboux integrability#609
Chessing234 wants to merge 6 commits into
teorth:mainfrom
Chessing234:fix/riemann-darboux-nonempty-hypotheses

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • RiemannIntegrableOn.continuous / piecewise_continuous omitted I.toSet.Nonempty, so empty reversed Icc made the conclusions false.
  • DarbouxIntegrableOn lacked nonempty (and buried Lower = Upper under ), so iff_darbouxIntegrable failed on empty intervals.
  • indicator_of_elem / riemann_integral_of_elem claimed Riemann integrability on arbitrary BoundedInterval; open I makes the claims false (junk integral 0).

Feature branches: fix/riemann-cts-nonempty, fix/darboux-nonempty, fix/riemann-indicator-closed.

Test plan

  • lake build Analysis.MeasureTheory.Section_1_1_3
  • CI Build book

Made with Cursor

Chessing234 and others added 6 commits July 25, 2026 09:05
RiemannIntegrableOn needs I.toSet.Nonempty; continuous/piecewise_continuous
omitted it, so empty Icc a b with a > b made the conclusions false.

Co-authored-by: Cursor <cursoragent@cursor.com>
Empty reversed intervals made DarbouxIntegrableOn hold vacuously while
RiemannIntegrableOn failed, so iff_darbouxIntegrable was false.

Co-authored-by: Cursor <cursoragent@cursor.com>
indicator_of_elem claimed RiemannIntegrableOn on any BoundedInterval;
open intervals make the conclusion false, and riemann_integral_of_elem
then returned the junk value 0 instead of the Jordan measure.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant