Skip to content

feat(Order/Defs/LinearOrder): min_ind#35880

Open
astrainfinita wants to merge 2 commits intoleanprover-community:masterfrom
astrainfinita:min_ind
Open

feat(Order/Defs/LinearOrder): min_ind#35880
astrainfinita wants to merge 2 commits intoleanprover-community:masterfrom
astrainfinita:min_ind

Conversation

@astrainfinita
Copy link
Copy Markdown
Collaborator

@astrainfinita astrainfinita commented Feb 28, 2026

It will be used to simplify the proofs of other lemmas in a subsequent PR.


Open in Gitpod

@astrainfinita astrainfinita added the t-order Order theory label Feb 28, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 28, 2026

PR summary 6682a4e77f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ max_ind
+ min_ind

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

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

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


No changes to technical debt.

You can run this locally as

./scripts/reporting/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).

exacts [ha h, hb (le_of_not_ge h)]

@[to_dual existing (attr := elab_as_elim)]
theorem max_ind {motive : α → Prop} (ha : b ≤ a → motive a) (hb : a ≤ b → motive b) :
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If you move this after max_def' a few lines below, you should be able to get rid of the duplication (and the existing).

Copy link
Copy Markdown
Collaborator Author

@astrainfinita astrainfinita Mar 23, 2026

Choose a reason for hiding this comment

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

The subsequent PR will use other lemmas to simplify the proofs of min_def' and max_def', similar to #35841 (comment).

I don't have a strong preference. I'm fine with the suggestion if that's preferred.

@bryangingechen bryangingechen added the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 23, 2026
@astrainfinita astrainfinita removed the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-order Order theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants