Skip to content

Commit f346fb3

Browse files
authored
Merge pull request #561 from Seasawher/auto-update-branch
2 parents f9f2007 + 9e636ee commit f346fb3

File tree

5 files changed

+39
-15
lines changed

5 files changed

+39
-15
lines changed

docs/attributes.md

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

3-
Mathlib version: `8ee8525c1e1c3a2794c2bfa32465f220ecf0d1a4`
3+
Mathlib version: `07f1b273c8871bec3f61440bb61babe43ae4d932`
44

55
## Std.Internal.tree_tac
66
simp theorems used by internal DTreeMap lemmas
@@ -124,6 +124,30 @@ Finally, if no argument is provided to the `algebraize` attribute, it is assumed
124124
declaration has name `RingHom.Property` and that the corresponding `Algebra` property has name
125125
`Algebra.Property`. The attribute then returns `Algebra.Property` (so assume case 1 above).
126126

127+
## aliasIn
128+
create alias in another namespace
129+
Adds an alias of this declaration in a different namespace.
130+
Example:
131+
```lean
132+
@[alias_in Foo.Bar] def A.B.C.d := ...
133+
```
134+
behaves like
135+
```
136+
alias A.Foo.Bar.d := A.B.C.d
137+
```
138+
You can see the name of the alias by mousing over the name argument of `alias_in`.
139+
140+
We replace the rightmost/innermost namespaces, but always leave the final part of the name intact.
141+
By default, `alias_in` assumes that we want to replace the same number of namespaces from the
142+
original name as given in the new namespace. You can override this by adding a number at the end
143+
```
144+
@[alias_in Foo.Bar 3] def A.B.C.d := ...
145+
```
146+
behaves like
147+
```
148+
alias Foo.Bar.d := A.B.C.d
149+
```
150+
127151
## always_inline
128152
mark definition to be always inlined
129153
Changes the inlining behavior. This attribute comes in several variants:

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: `8ee8525c1e1c3a2794c2bfa32465f220ecf0d1a4`
3+
Mathlib version: `07f1b273c8871bec3f61440bb61babe43ae4d932`
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: `8ee8525c1e1c3a2794c2bfa32465f220ecf0d1a4`
3+
Mathlib version: `07f1b273c8871bec3f61440bb61babe43ae4d932`
44

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

docs/tactics.md

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

3-
Mathlib version: `8ee8525c1e1c3a2794c2bfa32465f220ecf0d1a4`
3+
Mathlib version: `07f1b273c8871bec3f61440bb61babe43ae4d932`
44

55
## \#adaptation_note
66
Defined in: `«tactic#adaptation_note_»`
@@ -2664,11 +2664,11 @@ Defined in: `Lean.Parser.Tactic.focus`
26642664
Usually `· tac`, which enforces that the goal is closed by `tac`, should be preferred.
26652665

26662666
## forward
2667-
Defined in: `Aesop.Frontend.tacticForward___`
2667+
Defined in: `Aesop.Frontend.tacticForward____`
26682668

26692669

26702670
## forward?
2671-
Defined in: `Aesop.Frontend.tacticForward?___`
2671+
Defined in: `Aesop.Frontend.tacticForward?____`
26722672

26732673

26742674
## frac_tac
@@ -6956,11 +6956,11 @@ Defined in: `Lean.Parser.Tactic.tacticRwa__`
69566956
`rwa` is short-hand for `rw; assumption`.
69576957

69586958
## saturate
6959-
Defined in: `Aesop.Frontend.tacticSaturate_____`
6959+
Defined in: `Aesop.Frontend.saturate`
69606960

69616961

69626962
## saturate?
6963-
Defined in: `Aesop.Frontend.tacticSaturate?_____`
6963+
Defined in: `Aesop.Frontend.saturate?`
69646964

69656965

69666966
## says

lake-manifest.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "8ee8525c1e1c3a2794c2bfa32465f220ecf0d1a4",
8+
"rev": "07f1b273c8871bec3f61440bb61babe43ae4d932",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "master",
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "leanprover-community",
18-
"rev": "8d3713f36dda48467eb61f8c1c4db89c49a6251a",
18+
"rev": "e2a2ee109182182dd0e347e8149d312d72bfbfb2",
1919
"name": "plausible",
2020
"manifestFile": "lake-manifest.json",
2121
"inputRev": "main",
@@ -25,7 +25,7 @@
2525
"type": "git",
2626
"subDir": null,
2727
"scope": "leanprover-community",
28-
"rev": "19e5f5cc9c21199be466ef99489e3acab370f079",
28+
"rev": "5ce7f0a355f522a952a3d678d696bd563bb4fd28",
2929
"name": "LeanSearchClient",
3030
"manifestFile": "lake-manifest.json",
3131
"inputRev": "main",
@@ -35,7 +35,7 @@
3535
"type": "git",
3636
"subDir": null,
3737
"scope": "leanprover-community",
38-
"rev": "4eb26e1a4806b200ddfe5179d0c2a0fae56c54a7",
38+
"rev": "cff9dd30f2c161b9efd7c657cafed1f967645890",
3939
"name": "importGraph",
4040
"manifestFile": "lake-manifest.json",
4141
"inputRev": "main",
@@ -55,7 +55,7 @@
5555
"type": "git",
5656
"subDir": null,
5757
"scope": "leanprover-community",
58-
"rev": "fb12f5535c80e40119286d9575c9393562252d21",
58+
"rev": "fa78cf032194308a950a264ed87b422a2a7c1c6c",
5959
"name": "aesop",
6060
"manifestFile": "lake-manifest.json",
6161
"inputRev": "master",
@@ -65,7 +65,7 @@
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "523ec6fc8062d2f470fdc8de6f822fe89552b5e6",
68+
"rev": "8920dcbb96a4e8bf641fc399ac9c0888e4a6be72",
6969
"name": "Qq",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "master",
@@ -75,7 +75,7 @@
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "6254bed25866358ce4f841fa5a13b77de04ffbc8",
78+
"rev": "78129e1913fe4988ac238156ec5f223ec02d286c",
7979
"name": "batteries",
8080
"manifestFile": "lake-manifest.json",
8181
"inputRev": "main",

0 commit comments

Comments
 (0)