File tree Expand file tree Collapse file tree 5 files changed +21
-6
lines changed
Expand file tree Collapse file tree 5 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11# Commands
22
3- Mathlib version: ` c0952c46eb2fda6a7909a689a8a371ed38503611 `
3+ Mathlib version: ` a7f816c359320b9c0383f3c052d5a0574db65b97 `
44
55## \# adaptation_note
66Defined in: ` adaptationNoteCmd `
Original file line number Diff line number Diff line change 11# Options
22
3- Mathlib version: ` c0952c46eb2fda6a7909a689a8a371ed38503611 `
3+ Mathlib version: ` a7f816c359320b9c0383f3c052d5a0574db65b97 `
44
55## Elab.async
66type: ` Bool `
Original file line number Diff line number Diff line change 11# Tactics
22
3- Mathlib version: ` c0952c46eb2fda6a7909a689a8a371ed38503611 `
3+ Mathlib version: ` a7f816c359320b9c0383f3c052d5a0574db65b97 `
44
55## \# adaptation_note
66Defined in: ` «tactic#adaptation_note_» `
@@ -35,6 +35,16 @@ and standard deviation. The tactic `#count_heartbeats! n in tac` runs it `n` tim
3535## \# find
3636Defined 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
4050Defined 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
37833798Defined in: ` Mathlib.Tactic.lift `
37843799
Original file line number Diff line number Diff line change 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" ,
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" ,
You can’t perform that action at this time.
0 commit comments