Skip to content

[Merged by Bors] - feat: the rw_search tactic - #6120

Closed
kim-em wants to merge 40 commits into
masterfrom
rw_search
Closed

kim-em wants to merge 40 commits into
masterfrom
rw_search

Conversation

@kim-em

@kim-em kim-em commented Jul 25, 2023 •

Copy link
Copy Markdown
Contributor

@kim-em kim-em added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) awaiting-review t-meta Tactics, attributes or user commands awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Jul 25, 2023
@github-actions github-actions Bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jul 30, 2023
@ghost ghost added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Aug 3, 2023
bors Bot pushed a commit that referenced this pull request Aug 8, 2023
Splitting this off from #6120, hopefully for faster review.

I would like to upstream this file to Std, as it it used by `exact?`.



Co-authored-by: Scott Morrison <[email protected]>
@ghost ghost added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Aug 8, 2023
kim-em added a commit that referenced this pull request Aug 14, 2023
Splitting this off from #6120, hopefully for faster review.

I would like to upstream this file to Std, as it it used by `exact?`.



Co-authored-by: Scott Morrison <[email protected]>
@ghost ghost added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Aug 14, 2023
@ghost ghost added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels Aug 23, 2023
Comment thread Mathlib/Tactic/RewriteSearch.lean Resolved
@ghost ghost added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Sep 4, 2023
@Vierkantor Vierkantor self-assigned this Sep 11, 2023

@Vierkantor Vierkantor left a comment

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.

Nice work! I'll have to delegate the MetaM part to someone else but the normal functional program looks good.

Comment thread Mathlib/Data/MLList/BestFirst.lean Resolved
Comment thread Mathlib/Data/MLList/BestFirst.lean Resolved
Comment thread Mathlib/Data/MLList/BestFirst.lean Resolved
Comment thread Mathlib/Data/MLList/BestFirst.lean Resolved
Comment thread Mathlib/Tactic/RewriteSearch.lean Resolved
Comment thread Mathlib/Tactic/RewriteSearch.lean Resolved
Comment thread Mathlib/Tactic/RewriteSearch.lean Resolved
Comment thread Mathlib/Tactic/RewriteSearch.lean Resolved
@Vierkantor Vierkantor removed their assignment Sep 11, 2023
Comment thread Mathlib/Tactic/RewriteSearch.lean Resolved
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 23, 2023
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 24, 2023
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 31, 2023
@kim-em kim-em removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 31, 2023

@robertylewis robertylewis left a comment

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.

This has been held up long enough. @semorrison if you're happy with the current state, let's merge and see how it does in practice.

bors d+

Comment thread test/linarith.lean Resolved
@bors

bors Bot commented Nov 1, 2023

Copy link
Copy Markdown

✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Nov 1, 2023
Comment thread Mathlib/Data/MLList/BestFirst.lean Resolved
Comment thread test/linarith.lean Resolved
@kim-em

kim-em commented Nov 1, 2023

Copy link
Copy Markdown
Contributor Author

bors merge

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Nov 1, 2023
@robertylewis

Copy link
Copy Markdown
Member

@semorrison just to confirm, you saw the build failure in your last commit before you accepted the suggestions and merged, right?

@kim-em

kim-em commented Nov 1, 2023

Copy link
Copy Markdown
Contributor Author

@semorrison just to confirm, you saw the build failure in your last commit before you accepted the suggestions and merged, right?

Yes. There was a build failure after I merged master, which I've fixed (changes to DiscrTree tree API).

bors Bot pushed a commit that referenced this pull request Nov 1, 2023
Example usage:

```
example (xs ys : List α) : (xs ++ ys ++ ys).length = 2 * ys.length + xs.length := by
  rw_search  -- Try this: rw [@List.length_append, @List.length_append, @add_rotate, Nat.two_mul]
```



Co-authored-by: Scott Morrison <[email protected]>
Co-authored-by: Mario Carneiro <[email protected]>
@bors

bors Bot commented Nov 1, 2023

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors Bot changed the title feat: the rw_search tactic [Merged by Bors] - feat: the rw_search tactic Nov 1, 2023
@bors bors Bot closed this Nov 1, 2023
@bors
bors Bot deleted the rw_search branch November 1, 2023 03:58
fgdorais pushed a commit that referenced this pull request Nov 1, 2023
Example usage:

```
example (xs ys : List α) : (xs ++ ys ++ ys).length = 2 * ys.length + xs.length := by
  rw_search  -- Try this: rw [@List.length_append, @List.length_append, @add_rotate, Nat.two_mul]
```



Co-authored-by: Scott Morrison <[email protected]>
Co-authored-by: Mario Carneiro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). ready-to-merge This PR has been sent to bors. t-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants