Skip to content

[Merged by Bors] - chore: remove unused tactics in Archive and Counterexamples - #11379

Closed
adomani wants to merge 1 commit into
masterfrom
adomani/remove_unused_tactics_archive_counterexamples
Closed

adomani wants to merge 1 commit into
masterfrom
adomani/remove_unused_tactics_archive_counterexamples

Conversation

@adomani

@adomani adomani commented Mar 14, 2024

Copy link
Copy Markdown
Contributor

More unused tactics flagged by the linter (#11308): these are all the changes in Archive/Counterexamples that the linter found.


Open in Gitpod

@adomani adomani added the easy < 20s of review time. See the lifecycle page for guidelines. label Mar 14, 2024
@urkud

urkud commented Mar 15, 2024

Copy link
Copy Markdown
Member

Thanks! 🎉
bors merge

@github-actions github-actions Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Mar 15, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Mar 15, 2024
More unused tactics flagged by the linter (#11308): these are all the changes in `Archive/Counterexamples` that the linter found.
@mathlib-bors

mathlib-bors Bot commented Mar 15, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: remove unused tactics in Archive and Counterexamples [Merged by Bors] - chore: remove unused tactics in Archive and Counterexamples Mar 15, 2024
@mathlib-bors mathlib-bors Bot closed this Mar 15, 2024
@mathlib-bors
mathlib-bors Bot deleted the adomani/remove_unused_tactics_archive_counterexamples branch March 15, 2024 07:26
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
More unused tactics flagged by the linter (#11308): these are all the changes in `Archive/Counterexamples` that the linter found.
utensil pushed a commit that referenced this pull request Mar 26, 2024
More unused tactics flagged by the linter (#11308): these are all the changes in `Archive/Counterexamples` that the linter found.
xgenereux pushed a commit that referenced this pull request Apr 15, 2024
More unused tactics flagged by the linter (#11308): these are all the changes in `Archive/Counterexamples` that the linter found.
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
More unused tactics flagged by the linter (#11308): these are all the changes in `Archive/Counterexamples` that the linter found.
callesonne pushed a commit that referenced this pull request Apr 22, 2024
More unused tactics flagged by the linter (#11308): these are all the changes in `Archive/Counterexamples` that the linter found.
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

easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants