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

generalize {mfun _ >-> _} #662

Closed
affeldt-aist opened this issue May 25, 2022 · 1 comment · Fixed by #1256
Closed

generalize {mfun _ >-> _} #662

affeldt-aist opened this issue May 25, 2022 · 1 comment · Fixed by #1256
Labels
wish 🙏 Request for a specific mathematical result

Comments

@affeldt-aist
Copy link
Member

HB.mixin Record IsMeasurableFun (aT : measurableType) (rT : realType) (f : aT -> rT) := {

while preserving the ring structure of simple functions @CohenCyril

@affeldt-aist affeldt-aist added the wish 🙏 Request for a specific mathematical result label May 25, 2022
@hoheinzollern
Copy link
Collaborator

This restriction is preventing a general definition of composition of measurable functions. Here is a restricted definition that works for defining composition of random variables with real-valued functions, used in proving Chernoff's bound.

Lemma measurableT_comp_subproof d1 (T1 : measurableType d1) (f : {mfun R >-> R}) (g : {mfun T1 >-> R}) :
  measurable_fun setT (f \o g).
Proof. apply: measurableT_comp. exact. apply: @measurable_funP _ _ _ g. Qed.

HB.instance Definition _ (d1 : measure_display) (T1 : measurableType d1)
  (f : {mfun R >-> R}) (g : {mfun T1 >-> R}) := isMeasurableFun.Build _ _ _ (f \o g) (@measurableT_comp_subproof _ _ _ _).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wish 🙏 Request for a specific mathematical result
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants