Compare commits

...

1 Commits

Author SHA1 Message Date
Leonardo de Moura
56565f81c5 chore: %reset_grind_attrs ==> reset_grind_attrs%
Ensure the grind reset command follows our command naming conventions.
2025-03-29 09:57:24 -07:00
8 changed files with 9 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ namespace Lean.Parser
/--
Reset all `grind` attributes. This command is intended for testing purposes only and should not be used in applications.
-/
syntax (name := resetGrindAttrs) "%reset_grind_attrs" : command
syntax (name := resetGrindAttrs) "reset_grind_attrs%" : command
namespace Attr
syntax grindEq := "= "

View File

@@ -1,4 +1,4 @@
%reset_grind_attrs
reset_grind_attrs%
set_option grind.warning false

View File

@@ -1,5 +1,5 @@
set_option grind.warning false
%reset_grind_attrs
reset_grind_attrs%
attribute [grind] List.map_append

View File

@@ -1,4 +1,4 @@
%reset_grind_attrs
reset_grind_attrs%
/--
info: [grind.ematch.pattern] List.append_ne_nil_of_left_ne_nil: [@HAppend.hAppend _ _ _ _ #2 #0]

View File

@@ -1,4 +1,4 @@
%reset_grind_attrs
reset_grind_attrs%
namespace List

View File

@@ -1,4 +1,4 @@
%reset_grind_attrs
reset_grind_attrs%
attribute [grind cases] Or

View File

@@ -1,4 +1,4 @@
%reset_grind_attrs
reset_grind_attrs%
attribute [grind =] List.length_cons
attribute [grind ] List.getElem?_eq_getElem
@@ -96,7 +96,7 @@ example : p ∧ q → p := by
example : (List.replicate n a)[m]? = if m < n then some a else none := by
grind?
%reset_grind_attrs
reset_grind_attrs%
example : (List.replicate n a)[m]? = if m < n then some a else none := by
fail_if_success grind?

View File

@@ -1,5 +1,5 @@
set_option grind.warning false
%reset_grind_attrs
reset_grind_attrs%
/--
info: Try these: