You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Manual/Grind.lean
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ import Manual.Grind.Cutsat
19
19
import Manual.Grind.Algebra
20
20
import Manual.Grind.Linarith
21
21
import Manual.Grind.Annotation
22
+
import Manual.Grind.Interactive
22
23
import Manual.Grind.ExtendedExamples
23
24
24
25
-- Needed for the if-then-else normalization example.
@@ -160,9 +161,12 @@ The two largest classes are shown as `True propositions` and `False propositions
160
161
Inspect these lists to spot missing facts or contradictory assumptions.
161
162
162
163
# Minimizing `grind` calls
164
+
%%%
165
+
tag := "grind-minimizing"
166
+
%%%
163
167
164
168
The `grind only [...]` tactic invokes {tactic}`grind` with a limited set of theorems, which can improve performance.
165
-
Calls to `grind only` can be conveniently constructed using {tactic}`grind?`, which automatically records the theorems used by {tactic}`grind` and suggests a suitable `grind only`.
169
+
Calls to `grind only` can be conveniently constructed using {tactic}`grind?`, which automatically records the theorems used by {tactic}`grind` and suggests a suitable `grind only` or {ref "grind-interactive"}[script].
166
170
167
171
These theorems will typically include a symbol prefix such as `=`, `←`, or `→`, indicating the
168
172
pattern that triggered the instantiation. See the {ref "e-matching"}[section on E-matching] for details.
@@ -184,6 +188,8 @@ Some theorems may be labelled with a `usr` prefix, which indicates that a custom
184
188
185
189
{include1 Manual.Grind.Annotation}
186
190
191
+
{include1 Manual.Grind.Interactive}
192
+
187
193
# Reducibility
188
194
189
195
{tech}[Reducible] definitions in terms are eagerly unfolded by {tactic}`grind`.
0 commit comments