Continuous function sort
Statement
If you have a real-valued function f(x), positive, continuous and bounded on some interval, then what kind of transform would convert this to a monotonic function g(x) on that interval analogously to sorting a discrete set of values ?
That is, if you approximate the function by a finite grid on the interval and sort the values, then take the limit as the step-size of the grid goes to zero.
The resulting monotonic function g(x) should start and end at the min and max of the original function f(x) and have that the definite integral of g(x) over a subinterval where the values of g(x) lie between s and t should be the same as the definite integral of f(x)(f(x)>=s)(f(x)<=t) over the whole interval where (f(x)>=s) is logic expression equal to 0 or 1.
Posed by user19172 · fa.functional-analysis, real-analysis, fourier-analysis
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-91829.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-91829.lean
import Mathlib /-! # Continuous function sort Source: https://mathoverflow.net/questions/91829 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_91829 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_91829