Skip to content

[Merged by Bors] - fix: add assumption to autoparam isBoundedDefault - #14617

Closed
adomani wants to merge 2 commits into
masterfrom
adomani/isBoundedDefault_assumption
Closed

adomani wants to merge 2 commits into
masterfrom
adomani/isBoundedDefault_assumption

Conversation

@adomani

@adomani adomani commented Jul 10, 2024

Copy link
Copy Markdown
Contributor

Maybe, applyc in lean3 also tried assumption, so I added it here!

Zulip thread


Open in Gitpod

@github-actions

github-actions Bot commented Jul 10, 2024 •

Copy link
Copy Markdown

PR summary 8358236561

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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

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

@sgouezel

Copy link
Copy Markdown
Contributor

Since it seems to improve the situation, let's get this in!
bors r+

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Jul 10, 2024
@D-Thomine

D-Thomine commented Jul 10, 2024 •

Copy link
Copy Markdown
Collaborator

I am not completely confident in the third test case.

example : limsup u f ≤ limsup v f := by apply limsup_le_limsup h

already worked with the previous version. What failed was

example : limsup u f ≤ limsup v f := by apply limsup_le_limsup; exact h

which required two more arguments.

@sgouezel

sgouezel commented Jul 10, 2024 •

Copy link
Copy Markdown
Contributor

Indeed,

  apply limsup_le_limsup
  exact h

still fails. I've already sent to bors, so the PR will be merged soon, but it doesn't solve the issue.

Note that refine limsup_le_limsup ?_ instead of apply limsup_le_limsup works as a workaround. Or even apply limsup_le_limsup ?_.

@adomani

adomani commented Jul 10, 2024

Copy link
Copy Markdown
Contributor Author

Yes, I agree. Another workaround is

  apply (limsup_le_limsup)

and this reminds something that has changed recently. Let me see if I can find it!

@mathlib-bors

mathlib-bors Bot commented Jul 10, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title fix: add assumption to autoparam isBoundedDefault [Merged by Bors] - fix: add assumption to autoparam isBoundedDefault Jul 10, 2024
@mathlib-bors mathlib-bors Bot closed this Jul 10, 2024
@mathlib-bors
mathlib-bors Bot deleted the adomani/isBoundedDefault_assumption branch July 10, 2024 18:10
@adomani adomani mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants