blob: dd684f0aafb19b76616864fec653ba1527a15a62 [file]
/-- error: Unknown constant `foo` -/
#guard_msgs in
example : False := by
grind [foo]
/--
error: `grind` failed
case grind
⊢ False
[grind] Goal diagnostics
[facts] Asserted facts
-/
#guard_msgs in
example : False := by
grind +verbose +lax [foo]
/-- error: Unknown constant `foo` -/
#guard_msgs in
example : False := by
grind [-foo]
/--
error: `grind` failed
case grind
⊢ False
[grind] Goal diagnostics
[facts] Asserted facts
-/
#guard_msgs in
example : False := by
grind +verbose +lax [-foo]
theorem foo : True := .intro
/--
error: invalid E-matching equality theorem, conclusion must be an equality
True
-/
#guard_msgs in
example : False := by
grind [= foo]
/--
error: `grind` failed
case grind
⊢ False
[grind] Goal diagnostics
[facts] Asserted facts
-/
#guard_msgs in
example : False := by
grind +verbose +lax [= foo]
theorem bar : Nat = Int := sorry
/--
error: invalid E-matching equality theorem, conclusion must be an equality
True
-/
#guard_msgs in
example : Int = Nat := by
grind [= foo, = bar]
#guard_msgs in
example : Int = Nat := by
grind +lax [= foo, = bar]