Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lemma nondecreasing_right_continuousP now has e: {posnum R} #764

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions theories/lebesgue_stieltjes_measure.v
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ HB.structure Definition CF (R : realType) := { f of isCumulative R f }.
Arguments cumulative_is_nondecreasing {R} _.
Arguments cumulative_is_right_continuous {R} _.

Lemma nondecreasing_right_continuousP (R : realType) (a : R) (e : R)
Lemma nondecreasing_right_continuousP (R : realType) (a : R) (e : {posnum R})
(f : cumulative R) :
e > 0 -> exists d : {posnum R}, f (a + d%:num) <= f a + e.
exists d : {posnum R}, f (a + d%:num) <= f a + (e%:num).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
exists d : {posnum R}, f (a + d%:num) <= f a + (e%:num).
exists d : {posnum R}, f (a + d%:num) <= f a + e%:num.

Proof.
move=> e0; move: (cumulative_is_right_continuous f) => /(_ a)/(@cvg_dist _ [normedModType R of R^o]).
move=> /(_ _ e0)[] _ /posnumP[d] => h.
move: (cumulative_is_right_continuous f) => /(_ a) /(@cvg_dist _ [normedModType R of R^o]).
move=> /(_ _ (gt0 e))[] _ /posnumP[d] => h.
exists (PosNum [gt0 of (d%:num / 2)]) => //=.
move: h => /(_ (a + d%:num / 2)) /=.
rewrite opprD addrA subrr distrC subr0 ger0_norm //.
Expand Down