|
1 | 1 | # Attributes |
2 | 2 |
|
3 | | -Mathlib version: `f8b9dcc5a5bc008436dc0a61b9a17be4d520d7ea` |
| 3 | +Mathlib version: `be9d1e42709f0c71f23bf54fdcea77c4058cd659` |
4 | 4 |
|
5 | 5 | ## Std.Internal.tree_tac |
6 | 6 | simp theorems used by internal DTreeMap lemmas |
@@ -694,6 +694,8 @@ type. This may prevent the elaborator from incorrectly inferring implicit argume |
694 | 694 |
|
695 | 695 | ## eqns |
696 | 696 | Overrides the equation lemmas for a declaration to the provided list |
| 697 | +Similar to `registerParametricAttribute` except that attributes do not |
| 698 | +have to be assigned in the same file as the declaration. |
697 | 699 |
|
698 | 700 | ## export |
699 | 701 | name to be used by code generators |
@@ -734,6 +736,7 @@ have the module system enabled. |
734 | 736 |
|
735 | 737 | ## expr_presenter |
736 | 738 | Register an Expr presenter. It must have the type `ProofWidgets.ExprPresenter`. |
| 739 | +Register an Expr presenter. It must have the type `ProofWidgets.ExprPresenter`. |
737 | 740 |
|
738 | 741 | ## ext |
739 | 742 | Marks a theorem as an extensionality theorem |
@@ -1158,6 +1161,10 @@ relations on its domain and range, and possibly with side conditions. |
1158 | 1161 |
|
1159 | 1162 | ## multigoal |
1160 | 1163 | this tactic acts on multiple goals |
| 1164 | +The `multigoal` attribute keeps track of tactics that operate on multiple goals, |
| 1165 | +meaning that `tac` acts differently from `focus tac`. This is used by the |
| 1166 | +'unnecessary `<;>`' linter to prevent false positives where `tac <;> tac'` cannot |
| 1167 | +be replaced by `(tac; tac')` because the latter would expose `tac` to a different set of goals. |
1161 | 1168 |
|
1162 | 1169 | ## mvcgen_simp |
1163 | 1170 | simp theorems internally used by `mvcgen` |
@@ -1207,6 +1214,7 @@ Changes the inlining behavior. This attribute comes in several variants: |
1207 | 1214 |
|
1208 | 1215 | ## nolint |
1209 | 1216 | Do not report this declaration in any of the tests of `#lint` |
| 1217 | +Defines the user attribute `nolint` for skipping `#lint` |
1210 | 1218 |
|
1211 | 1219 | ## nontriviality |
1212 | 1220 | The `@[nontriviality]` simp set is used by the `nontriviality` tactic to automatically |
@@ -1374,6 +1382,10 @@ special case in the `rfl` tactic. |
1374 | 1382 |
|
1375 | 1383 | ## server_rpc_method_cancellable |
1376 | 1384 | Like `server_rpc_method`, but requests for this method can be cancelled. The method should check for that using `IO.checkCanceled`. Cancellable methods are invoked differently from JavaScript: see `callCancellable` in `cancellable.ts`. |
| 1385 | +Like `server_rpc_method`, but requests for this method can be cancelled. |
| 1386 | +The method should check for that using `IO.checkCanceled`. |
| 1387 | +Cancellable methods are invoked differently from JavaScript: |
| 1388 | +see `callCancellable` in `cancellable.ts`. |
1377 | 1389 |
|
1378 | 1390 | ## seval |
1379 | 1391 | symbolic evaluator theorem |
@@ -1472,15 +1484,23 @@ directly. |
1472 | 1484 |
|
1473 | 1485 | ## to_additive_change_numeral |
1474 | 1486 | Auxiliary attribute for `to_additive` that stores functions that have numerals as argument. |
| 1487 | +Similar to `registerParametricAttribute` except that attributes do not |
| 1488 | +have to be assigned in the same file as the declaration. |
1475 | 1489 |
|
1476 | 1490 | ## to_additive_dont_translate |
1477 | 1491 | Auxiliary attribute for `to_additive` stating that the operations on this type should not be translated. |
| 1492 | +Similar to `registerParametricAttribute` except that attributes do not |
| 1493 | +have to be assigned in the same file as the declaration. |
1478 | 1494 |
|
1479 | 1495 | ## to_additive_ignore_args |
1480 | 1496 | Auxiliary attribute for `to_additive` stating that certain arguments are not additivized. |
| 1497 | +Similar to `registerParametricAttribute` except that attributes do not |
| 1498 | +have to be assigned in the same file as the declaration. |
1481 | 1499 |
|
1482 | 1500 | ## to_additive_relevant_arg |
1483 | 1501 | Auxiliary attribute for `to_additive` stating which arguments are the types with a multiplicative structure. |
| 1502 | +Similar to `registerParametricAttribute` except that attributes do not |
| 1503 | +have to be assigned in the same file as the declaration. |
1484 | 1504 |
|
1485 | 1505 | ## to_app |
1486 | 1506 |
|
|
0 commit comments