Skip to content

[Merged by Bors] - chore: remove unused tactics#11351

Closed
adomani wants to merge 11 commits intomasterfrom
adomani/remove_lines
Closed

[Merged by Bors] - chore: remove unused tactics#11351
adomani wants to merge 11 commits intomasterfrom
adomani/remove_lines

Conversation

@adomani
Copy link
Copy Markdown
Contributor

@adomani adomani commented Mar 13, 2024

I removed some of the tactics that were not used and are hopefully uncontroversial arising from the linter at #11308.

As the commit messages should convey, the removed tactics are, essentially,

push_cast
norm_cast
congr
norm_num
dsimp
funext
intro
infer_instance

Open in Gitpod

@Ruben-VandeVelde Ruben-VandeVelde added awaiting-author A reviewer has asked the author a question or requested changes. and removed awaiting-review labels Mar 13, 2024
@adomani adomani added awaiting-review and removed awaiting-author A reviewer has asked the author a question or requested changes. labels Mar 13, 2024
@RemyDegenne
Copy link
Copy Markdown
Contributor

Looks good!
bors r+

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Mar 13, 2024
mathlib-bors bot pushed a commit that referenced this pull request Mar 13, 2024
I removed some of the tactics that were not used and are hopefully uncontroversial arising from the linter at #11308.

As the commit messages should convey, the removed tactics are, essentially,
```
push_cast
norm_cast
congr
norm_num
dsimp
funext
intro
infer_instance
```
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 13, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: remove unused tactics [Merged by Bors] - chore: remove unused tactics Mar 13, 2024
@mathlib-bors mathlib-bors bot closed this Mar 13, 2024
@mathlib-bors mathlib-bors bot deleted the adomani/remove_lines branch March 13, 2024 22:02
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
I removed some of the tactics that were not used and are hopefully uncontroversial arising from the linter at #11308.

As the commit messages should convey, the removed tactics are, essentially,
```
push_cast
norm_cast
congr
norm_num
dsimp
funext
intro
infer_instance
```
utensil pushed a commit that referenced this pull request Mar 26, 2024
I removed some of the tactics that were not used and are hopefully uncontroversial arising from the linter at #11308.

As the commit messages should convey, the removed tactics are, essentially,
```
push_cast
norm_cast
congr
norm_num
dsimp
funext
intro
infer_instance
```
xgenereux pushed a commit that referenced this pull request Apr 15, 2024
I removed some of the tactics that were not used and are hopefully uncontroversial arising from the linter at #11308.

As the commit messages should convey, the removed tactics are, essentially,
```
push_cast
norm_cast
congr
norm_num
dsimp
funext
intro
infer_instance
```
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
I removed some of the tactics that were not used and are hopefully uncontroversial arising from the linter at #11308.

As the commit messages should convey, the removed tactics are, essentially,
```
push_cast
norm_cast
congr
norm_num
dsimp
funext
intro
infer_instance
```
callesonne pushed a commit that referenced this pull request Apr 22, 2024
I removed some of the tactics that were not used and are hopefully uncontroversial arising from the linter at #11308.

As the commit messages should convey, the removed tactics are, essentially,
```
push_cast
norm_cast
congr
norm_num
dsimp
funext
intro
infer_instance
```
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.

3 participants