a closed-form for mean/integral, but weighting positive differences between values and "mean" differently from negative differences?
Statement
Given a curve (for ), and a line , let be the total area below and above , and let be the total area above and below . If , this means that .
Or if is a sequence of numbers, this means is their mean. Equivalently, , .
What I want instead is the value for which , for some constant .
This can be computed approximately by binary search or exactly with a more cumbersome algorithm, but: is there a closed-form expression for this value? And: has this value been studied?
Posed by matt j · ca.classical-analysis-and-odes, real-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-72473.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-72473.lean
import Mathlib /-! # a closed-form for mean/integral, but weighting positive differences between values and "mean" differently from negative differences? Source: https://mathoverflow.net/questions/72473 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_72473 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_72473