Skip to content

Conversation

@kingiler
Copy link

@kingiler kingiler commented Dec 26, 2025

Implemented membership and corresponding decidable instance for Interval.

Related #mathlib4 > Proposal: Add decidable membership for Interval.

Open in Gitpod

@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Dec 26, 2025
@github-actions
Copy link

github-actions bot commented Dec 26, 2025

PR summary 51192f7a45

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ instance (priority := 100) : Membership α (Interval α)
+ instance [DecidableLE α] (a : α) (s : Interval α) : Decidable (a ∈ s)
+ instance [DecidableLE α] : Decidable (a ∈ s)

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the t-order Order theory label Dec 26, 2025
@kingiler kingiler marked this pull request as ready for review December 26, 2025 05:26
@eric-wieser
Copy link
Member

Please make sure to include a link to the Zulip discussion when one exists, to prevent two entirely separate discussions occurring.

@kingiler
Copy link
Author

I have added zulip link of the discussion.

@kingiler kingiler changed the title Add decidable membership for Interval feat: Add decidable membership for Interval Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-order Order theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants