Skip to content

Commit df432ac

Browse files
authored
Merge pull request #548 from Seasawher/auto-update-branch
2 parents e383477 + 1442fb4 commit df432ac

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

docs/attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Attributes
22

3-
Mathlib version: `c0952c46eb2fda6a7909a689a8a371ed38503611`
3+
Mathlib version: `a7f816c359320b9c0383f3c052d5a0574db65b97`
44

55
## Std.Internal.tree_tac
66
simp theorems used by internal DTreeMap lemmas

docs/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Commands
22

3-
Mathlib version: `c0952c46eb2fda6a7909a689a8a371ed38503611`
3+
Mathlib version: `a7f816c359320b9c0383f3c052d5a0574db65b97`
44

55
## \#adaptation_note
66
Defined in: `adaptationNoteCmd`

docs/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Options
22

3-
Mathlib version: `c0952c46eb2fda6a7909a689a8a371ed38503611`
3+
Mathlib version: `a7f816c359320b9c0383f3c052d5a0574db65b97`
44

55
## Elab.async
66
type: `Bool`

docs/tactics.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tactics
22

3-
Mathlib version: `c0952c46eb2fda6a7909a689a8a371ed38503611`
3+
Mathlib version: `a7f816c359320b9c0383f3c052d5a0574db65b97`
44

55
## \#adaptation_note
66
Defined in: `«tactic#adaptation_note_»`
@@ -35,6 +35,16 @@ and standard deviation. The tactic `#count_heartbeats! n in tac` runs it `n` tim
3535
## \#find
3636
Defined in: `Mathlib.Tactic.Find.«tactic#find_»`
3737

38+
The `#find` tactic finds definitions & lemmas using pattern matching on the type. For instance:
39+
```lean
40+
#find _ + _ = _ + _
41+
#find ?n + _ = _ + ?n
42+
#find (_ : Nat) + _ = _ + _
43+
#find Nat → Nat
44+
```
45+
This is the tactic equivalent to the `#find` command.
46+
There is also the `find` tactic which looks for
47+
lemmas which are `apply`able against the current goal.
3848

3949
## \#leansearch
4050
Defined in: `LeanSearchClient.leansearch_search_tactic`
@@ -3779,6 +3789,11 @@ Transforms `let` expressions into `have` expressions when possible.
37793789
- `let_to_have` transforms `let`s in the target.
37803790
- `let_to_have at h` transforms `let`s in the given local hypothesis.
37813791

3792+
## lia
3793+
Defined in: `tacticLia`
3794+
3795+
`lia` is an alias for the `cutsat` tactic, which solves linear integer arithmetic goals.
3796+
37823797
## lift
37833798
Defined in: `Mathlib.Tactic.lift`
37843799

lake-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "c0952c46eb2fda6a7909a689a8a371ed38503611",
8+
"rev": "a7f816c359320b9c0383f3c052d5a0574db65b97",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "master",
@@ -75,7 +75,7 @@
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "6ac53033da7f895a7d7a8597d2455b5e68e296e6",
78+
"rev": "f2aca6fc4a47c5b67fad08d3eda5e949d5b73ac0",
7979
"name": "batteries",
8080
"manifestFile": "lake-manifest.json",
8181
"inputRev": "main",

0 commit comments

Comments
 (0)