Skip to content

Measurable type for normed modules (generalizes PR#2016) - #2017

Open
Brixfoly wants to merge 1 commit into
math-comp:masterfrom
Brixfoly:measurableTypeNormed
Open

Measurable type for normed modules (generalizes PR#2016)#2017
Brixfoly wants to merge 1 commit into
math-comp:masterfrom
Brixfoly:measurableTypeNormed

Conversation

@Brixfoly

@Brixfoly Brixfoly commented Jul 7, 2026

Copy link
Copy Markdown
Contributor
Motivation for this change

fyi @affeldt-aist @hoheinzollern

Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md
  • added corresponding documentation in the headers

Reference: How to document

Merge policy

As a rule of thumb:

  • PRs with several commits that make sense individually and that
    all compile are preferentially merged into master.
  • PRs with disorganized commits are very likely to be squash-rebased.
Reminder to reviewers

@Brixfoly
Brixfoly force-pushed the measurableTypeNormed branch from 1fd5752 to 9b25fd0 Compare July 7, 2026 13:25
@affeldt-aist affeldt-aist mentioned this pull request Jul 16, 2026
2 tasks
@affeldt-aist affeldt-aist added this to the 1.18.0 milestone Aug 12, 2026
@affeldt-aist affeldt-aist added the enhancement ✨ This issue/PR is about adding new features enhancing the library label Aug 12, 2026
Section normed_lemmas.
Context {R : realType} {N : normedModType R}.

Lemma set1_bigcap_ball (x : N) : [set x] = \bigcap_n ball x n.+1%:R^-1.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe move to normed_module.v.

Module MeasurableRopen.
Section measurableRopen.
Context {R : realType}.
Module MeasurableOpen.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Rename to MeasurableNormedModuleOpen.

Context {R : realType} {N : normedModType R}.

Definition measurableTypeR := g_sigma_algebraType (@open R).
Definition measurableTypeO := g_sigma_algebraType (@open N).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

measurableTypeNormedModule

Definition borel_display : measure_display := N.-open.

Definition measurableR : set_system R := R.-open.-measurable.
Definition measurableO : set_system N := N.-open.-measurable.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

measurableNormedModule

solve [apply: measurable_funPTI; exact: measurable_set1] : core.
#[global]
Hint Extern 0 (measurable [set _]) => solve [apply: measurable_set1] : core.
#[global]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Try to restore.

#[global] Hint Extern 0 (measurable (_ `&` _ @^-1` [set _])) =>
solve [apply: measurable_funP1; assumption] : core.

Section measurableReal.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

TODO: check whether we can get rid of this

Co-authored-by: adjevahi <arthur.djevahirdjian@ens-lyon.fr>
Co-authored-by: Alessandro Bruni <brun@itu.dk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement ✨ This issue/PR is about adding new features enhancing the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants