Tail expectation formula for L1 random variable#1865
Tail expectation formula for L1 random variable#1865affeldt-aist merged 3 commits intomath-comp:masterfrom
Conversation
|
@affeldt-aist @t6s |
|
Here is the error message: and here is the problematic code: From HB Require Import structures.
From mathcomp Require Import ssreflect ssrfun ssrbool.
From mathcomp Require Import ssrnat eqtype choice order ssralg ssrnum ssrint.
#[warning="-warn-library-file-internal-analysis"]
From mathcomp Require Import unstable.
From mathcomp Require Import mathcomp_extra.I don't understand why it fails suddenly (maybe @proux01 knows) |
|
@affeldt-aist |
|
Mmmhhh... I can't reproduce the error locally. :-( |
6ebcb05 to
86c3edd
Compare
|
(Sorry, I made a push force but at least it is updated w.r.t. master.) |
|
@affeldt-aist |
affeldt-aist
left a comment
There was a problem hiding this comment.
It looks ok to me. This is great that you can use the library. I am pinging @t6s to have a second opinion (because I added a number of lines of code, orthogonal to your contribution though).
|
@t6s I am pinging to double-check the additions made to this PR. The duplication |
|
what about parameterizing the definition (of |
|
(I won't have time to check that myself today) |
I propose that we merge, so that @Yosuke-Ito-345 can continue working, and so that I can continue working on PR #1391, but that we work in parallel on experimenting the generalization. If it works, the changes will be manageable (mostly removing code and adjust naming), and I can take responsibility for it. I'll create an issue for 1.17.0. |
|
Thank you very much for the review. |
Motivation for this change
Add the tail expectation formula
expectation_cdf_ccdffor any L1 random variable.This is a combined version of lemmas
ge0_expectation_ccdfandle0_expectation_cdf.Checklist
added corresponding entries in
CHANGELOG_UNRELEASED.mdadded corresponding documentation in the headers
Reference: How to document
Merge policy
As a rule of thumb:
all compile are preferentially merged into master.
Reminder to reviewers