Skip to content

feat: add bool wf relation#1639

Merged
kim-em merged 3 commits intoleanprover-community:mainfrom
cmlsharp:bool_wf
Jan 28, 2026
Merged

feat: add bool wf relation#1639
kim-em merged 3 commits intoleanprover-community:mainfrom
cmlsharp:bool_wf

Conversation

@cmlsharp
Copy link
Copy Markdown
Contributor

This adds WellFoundedRelation for Bool '<' and '>'. I found myself wanting to use this when implementing the finiteness relation for the scan combinator, but it doesn't exist outside mathlib. Mathlib has 'WellFoundedLT' and 'WellFoundedGT' for this. I elected not to try to upstream all of that infrastructure and just provide these definitions in terms of WellFoundedRelation.

@kim-em suggested I make this PR on Zulip

@cmlsharp cmlsharp changed the title add bool wf relation feat: add bool wf relation Jan 28, 2026
@github-actions github-actions bot added the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Jan 28, 2026
ghost pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Jan 28, 2026
@ghost
Copy link
Copy Markdown

ghost commented Jan 28, 2026

Mathlib CI status (docs):

@ghost ghost added the builds-mathlib label Jan 28, 2026
@kim-em kim-em added this pull request to the merge queue Jan 28, 2026
Merged via the queue into leanprover-community:main with commit a7ab123 Jan 28, 2026
1 check passed
@github-actions github-actions bot removed the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Jan 28, 2026
@cmlsharp cmlsharp deleted the bool_wf branch January 28, 2026 15:30
fgdorais pushed a commit that referenced this pull request Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants