Skip to content

Commit ba711d3

Browse files
authored
Merge pull request #514 from Seasawher/auto-update-branch
Lean/Mathlib update
2 parents 550ff34 + 5fc4ada commit ba711d3

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-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: `33b1098d29f8e518cf75f3787f93809926385252`
3+
Mathlib version: `912a3b5ba3932336601feaa9f4a2a80fbe5a0d67`
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: `33b1098d29f8e518cf75f3787f93809926385252`
3+
Mathlib version: `912a3b5ba3932336601feaa9f4a2a80fbe5a0d67`
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: `33b1098d29f8e518cf75f3787f93809926385252`
3+
Mathlib version: `912a3b5ba3932336601feaa9f4a2a80fbe5a0d67`
44

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

docs/tactics.md

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

3-
Mathlib version: `33b1098d29f8e518cf75f3787f93809926385252`
3+
Mathlib version: `912a3b5ba3932336601feaa9f4a2a80fbe5a0d67`
44

55
## \#adaptation_note
66
Defined in: `«tactic#adaptation_note_»`
@@ -1036,6 +1036,16 @@ Defined in: `«tacticBy_cases_:_»`
10361036

10371037
`by_cases (h :)? p` splits the main goal into two cases, assuming `h : p` in the first branch, and `h : ¬ p` in the second branch.
10381038

1039+
## by_cases!
1040+
Defined in: `byCases!`
1041+
1042+
`by_cases! h : p` runs the `by_cases h : p` tactic, followed by
1043+
`try push_neg at h` in the second subgoal. For example,
1044+
- `by_cases! h : a < b` creates one goal with hypothesis `h : a < b` and
1045+
another with `h : b ≤ a`.
1046+
- `by_cases! h : a ≠ b` creates one goal with hypothesis `h : a ≠ b` and
1047+
another with `h : a = b`.
1048+
10391049
## by_contra
10401050
Defined in: `Batteries.Tactic.byContra`
10411051

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": "33b1098d29f8e518cf75f3787f93809926385252",
8+
"rev": "912a3b5ba3932336601feaa9f4a2a80fbe5a0d67",
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": "c029ceb9956ef9d567fc034e5403ec829f8d0d87",
78+
"rev": "5da171049c81931a2110303c9d547f5ab2955b06",
7979
"name": "batteries",
8080
"manifestFile": "lake-manifest.json",
8181
"inputRev": "main",

0 commit comments

Comments
 (0)