Skip to content

Commit ff6e28d

Browse files
authored
fix for mca #1850 (#206)
* fix for mca #1850
1 parent 9ad7751 commit ff6e28d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

information_theory/entropy_convex.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ From mathcomp Require boolp.
77
From mathcomp Require Import unstable mathcomp_extra reals.
88
From mathcomp Require Import interval_inference set_interval.
99
From mathcomp Require Import functions topology normedtype realfun derive exp.
10-
From mathcomp Require convex.
10+
From mathcomp Require Import -(notations)convex.
1111
Require Import ssr_ext ssralg_ext bigop_ext realType_ext realType_ln.
1212
Require Import derive_ext fdist jfdist_cond entropy convex.
1313
Require Import binary_entropy_function log_sum divergence.
@@ -244,7 +244,7 @@ have cnH2: {within `[x, y], continuous (- H2)}%classic.
244244
apply/RNconcave_function_at.
245245
rewrite /convex_function_at /=.
246246
rewrite -!mc_convRE.
247-
apply: (@analysis.convex.second_derivative_convex _ (fun z => - (H2 z))).
247+
apply: (@second_derivative_convex _ (fun z => - (H2 z))).
248248
- move=> z xzy.
249249
have/zxyoo01 z01: z \in `]x, y[%classic by rewrite inE.
250250
by rewrite DDnH2E// DDnH2_nonneg.

probability/convex.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ From HB Require Import structures.
44
From mathcomp Require Import all_ssreflect ssralg fingroup perm matrix interval.
55
From mathcomp Require Import unstable mathcomp_extra boolp classical_sets.
66
From mathcomp Require Import ssrnum archimedean ereal interval_inference.
7+
From mathcomp Require Import realfun.
78
From mathcomp Require Import ring lra reals.
89
Require Import ssr_ext ssralg_ext realType_ext realType_ln fdist.
910
From mathcomp Require vector.

0 commit comments

Comments
 (0)