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

Notations for random variables conflict between infotheo and mathcomp-analysis #114

Open
t6s opened this issue Mar 11, 2024 · 0 comments
Open

Comments

@t6s
Copy link
Collaborator

t6s commented Mar 11, 2024

The following expression fails to be parsed after importing both proba.v (infotheo) and probability.v (mathcomp-analysis):

Local Open Scope form_scope.
Variables (d : measure_display) (T : measurableType d) (R : realType) (P : probability T R).
Variable (X : {RV P >-> R}).

>>> Error: Syntax error: '->' expected after [term] (in [term]).

A similar reserved notation in proba.v seems to be confusing the parser:

Reserved Notation "{ 'RV' d -> T }" (at level 0, d, T at next level,
  format "{ 'RV'  d  ->  T }").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant