2015-12-03 06:36:10 +00:00
|
|
|
|
bad_pattern.lean:9:33: error: invalid pattern hint, pattern hints must be applications
|
2015-12-03 03:23:41 +00:00
|
|
|
|
theorem tst₀ [forward] : ∀ (x : ℕ), P x :=
|
|
|
|
|
sorry
|
|
|
|
|
(multi-)patterns:
|
|
|
|
|
{P ?M_1}
|
|
|
|
|
theorem tst₁ [forward] : ∀ (x : ℕ), (:P x:) :=
|
|
|
|
|
sorry
|
|
|
|
|
(multi-)patterns:
|
|
|
|
|
{P ?M_1}
|
|
|
|
|
theorem tst₃ [forward] : ∀ (x : ℕ), P (:id x:) :=
|
|
|
|
|
sorry
|
|
|
|
|
(multi-)patterns:
|
|
|
|
|
{P ?M_1}
|
2015-12-03 06:36:10 +00:00
|
|
|
|
bad_pattern.lean:20:0: error: pattern inference failed for [forward] annotation, (solution: provide pattern hints using the notation '(: t :)' )
|