Skip to content

Commit 36d2f43

Browse files
authored
Merge pull request #517 from Seasawher/auto-update-branch
Lean/Mathlib update
2 parents 510bd7d + 874d155 commit 36d2f43

File tree

5 files changed

+27
-5
lines changed

5 files changed

+27
-5
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: `c6541c05ebd2fc0f106db01858adaf8e7a783a79`
3+
Mathlib version: `0a052585de2cfc95e94c373033fe24df36ca7c0e`
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: `c6541c05ebd2fc0f106db01858adaf8e7a783a79`
3+
Mathlib version: `0a052585de2cfc95e94c373033fe24df36ca7c0e`
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: `c6541c05ebd2fc0f106db01858adaf8e7a783a79`
3+
Mathlib version: `0a052585de2cfc95e94c373033fe24df36ca7c0e`
44

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

docs/tactics.md

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

3-
Mathlib version: `c6541c05ebd2fc0f106db01858adaf8e7a783a79`
3+
Mathlib version: `0a052585de2cfc95e94c373033fe24df36ca7c0e`
44

55
## \#adaptation_note
66
Defined in: `«tactic#adaptation_note_»`
@@ -3890,6 +3890,8 @@ optional arguments:
38903890
disequality hypotheses. (`false` by default.)
38913891
* If `exfalso` is `false`, `linarith` will fail when the goal is neither an inequality nor `False`.
38923892
(`true` by default.)
3893+
* If `minimize` is `false`, `linarith?` will report all hypotheses appearing in its initial
3894+
proof without attempting to drop redundancies. (`true` by default.)
38933895
* `restrict_type` (not yet implemented in mathlib4)
38943896
will only use hypotheses that are inequalities over `tp`. This is useful
38953897
if you have e.g. both integer- and rational-valued inequalities in the local context, which can
@@ -3950,6 +3952,8 @@ optional arguments:
39503952
disequality hypotheses. (`false` by default.)
39513953
* If `exfalso` is `false`, `linarith` will fail when the goal is neither an inequality nor `False`.
39523954
(`true` by default.)
3955+
* If `minimize` is `false`, `linarith?` will report all hypotheses appearing in its initial
3956+
proof without attempting to drop redundancies. (`true` by default.)
39533957
* `restrict_type` (not yet implemented in mathlib4)
39543958
will only use hypotheses that are inequalities over `tp`. This is useful
39553959
if you have e.g. both integer- and rational-valued inequalities in the local context, which can
@@ -3960,6 +3964,24 @@ A variant, `nlinarith`, does some basic preprocessing to handle some nonlinear g
39603964
The option `set_option trace.linarith true` will trace certain intermediate stages of the `linarith`
39613965
routine.
39623966

3967+
## linarith?
3968+
Defined in: `Mathlib.Tactic.linarith?`
3969+
3970+
`linarith?` behaves like `linarith` but, on success, it prints a suggestion of
3971+
the form `linarith only [...]` listing a minimized set of hypotheses used in the
3972+
final proof. Use `linarith?!` for the higher-reducibility variant and set the
3973+
`minimize` flag in the configuration to control whether greedy minimization is
3974+
performed.
3975+
3976+
## linarith?!
3977+
Defined in: `Mathlib.Tactic.tacticLinarith?!_`
3978+
3979+
`linarith?` behaves like `linarith` but, on success, it prints a suggestion of
3980+
the form `linarith only [...]` listing a minimized set of hypotheses used in the
3981+
final proof. Use `linarith?!` for the higher-reducibility variant and set the
3982+
`minimize` flag in the configuration to control whether greedy minimization is
3983+
performed.
3984+
39633985
## linear_combination
39643986
Defined in: `Mathlib.Tactic.LinearCombination.linearCombination`
39653987

lake-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "c6541c05ebd2fc0f106db01858adaf8e7a783a79",
8+
"rev": "0a052585de2cfc95e94c373033fe24df36ca7c0e",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "master",

0 commit comments

Comments
 (0)