Skip to content

[Merged by Bors] - chore: remove tactics#11365

Closed
adomani wants to merge 6 commits intomasterfrom
adomani/more_useless_tactics
Closed

[Merged by Bors] - chore: remove tactics#11365
adomani wants to merge 6 commits intomasterfrom
adomani/more_useless_tactics

Conversation

@adomani
Copy link
Copy Markdown
Contributor

@adomani adomani commented Mar 14, 2024

More tactics that are not used, found using the linter at #11308.

The PR consists of tactic removals, whitespace changes and replacing a porting note by an explanation.


Open in Gitpod

adomani and others added 3 commits March 14, 2024 07:25
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@adomani
Copy link
Copy Markdown
Contributor Author

adomani commented Mar 14, 2024

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit beec5dc.
There were no significant changes against commit 3d9e3df.

Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Mar 14, 2024
mathlib-bors bot pushed a commit that referenced this pull request Mar 14, 2024
More tactics that are not used, found using the linter at #11308.

The PR consists of tactic removals, whitespace changes and replacing a porting note by an explanation.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 14, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: remove tactics [Merged by Bors] - chore: remove tactics Mar 14, 2024
@mathlib-bors mathlib-bors bot closed this Mar 14, 2024
@mathlib-bors mathlib-bors bot deleted the adomani/more_useless_tactics branch March 14, 2024 17:24
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
More tactics that are not used, found using the linter at #11308.

The PR consists of tactic removals, whitespace changes and replacing a porting note by an explanation.
utensil pushed a commit that referenced this pull request Mar 26, 2024
More tactics that are not used, found using the linter at #11308.

The PR consists of tactic removals, whitespace changes and replacing a porting note by an explanation.
xgenereux pushed a commit that referenced this pull request Apr 15, 2024
More tactics that are not used, found using the linter at #11308.

The PR consists of tactic removals, whitespace changes and replacing a porting note by an explanation.
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
More tactics that are not used, found using the linter at #11308.

The PR consists of tactic removals, whitespace changes and replacing a porting note by an explanation.
callesonne pushed a commit that referenced this pull request Apr 22, 2024
More tactics that are not used, found using the linter at #11308.

The PR consists of tactic removals, whitespace changes and replacing a porting note by an explanation.
mathlib-bors bot pushed a commit that referenced this pull request Jun 30, 2024
The `unusedTactic` linter emits a warning if a tactic does nothing.

Previous PRs (see below) removed all the "unused tactics" that the linter flagged.

Here is an overview of this PR:
* the linter is defined in `Mathlib/Tactic/Linter/UnusedTactic.lean`;
* the file `Mathlib/GroupTheory/Perm/Cycle/Concrete.lean` contains the "only" `set_option` to opt out of the linter, since it defines notation that uses `decide` that the notation itself does not use;
* 17 test files that have surgically opted out of the linter;
* noise to import the new file, place it low in the import hierarchy and update `noshake`.


PRs removing some unused tactics:
* #11333
* #11351
* #11365
* #11379

[Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/pointless.20tactic.20linter)
dagurtomas pushed a commit that referenced this pull request Jul 2, 2024
The `unusedTactic` linter emits a warning if a tactic does nothing.

Previous PRs (see below) removed all the "unused tactics" that the linter flagged.

Here is an overview of this PR:
* the linter is defined in `Mathlib/Tactic/Linter/UnusedTactic.lean`;
* the file `Mathlib/GroupTheory/Perm/Cycle/Concrete.lean` contains the "only" `set_option` to opt out of the linter, since it defines notation that uses `decide` that the notation itself does not use;
* 17 test files that have surgically opted out of the linter;
* noise to import the new file, place it low in the import hierarchy and update `noshake`.


PRs removing some unused tactics:
* #11333
* #11351
* #11365
* #11379

[Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/pointless.20tactic.20linter)
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.

4 participants