2013-09-04 20:21:57 +00:00
|
|
|
|
Set: pp::colors
|
|
|
|
|
Set: pp::unicode
|
|
|
|
|
Assumed: f
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Failed to solve
|
2013-12-30 21:35:37 +00:00
|
|
|
|
⊢ Bool ≺ ℕ
|
2014-01-06 03:10:21 +00:00
|
|
|
|
(line: 2: pos: 6) Type of argument 3 must be convertible to the expected type in the application of
|
2014-01-04 01:13:10 +00:00
|
|
|
|
@f
|
|
|
|
|
with arguments:
|
|
|
|
|
ℕ
|
|
|
|
|
10
|
|
|
|
|
⊤
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Assumed: g
|
2014-01-06 03:10:21 +00:00
|
|
|
|
Error (line: 5, pos: 8) invalid expression, it still contains metavariables after elaboration, metavariable: ?M::1, type:
|
2013-12-21 06:00:50 +00:00
|
|
|
|
Type
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Assumed: h
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Failed to solve
|
2013-12-14 20:25:00 +00:00
|
|
|
|
x : ?M::0, A : Type ⊢ ?M::0 ≺ A
|
2014-01-06 03:10:21 +00:00
|
|
|
|
(line: 9: pos: 27) Type of argument 2 must be convertible to the expected type in the application of
|
2013-10-25 02:08:35 +00:00
|
|
|
|
h
|
|
|
|
|
with arguments:
|
|
|
|
|
A
|
|
|
|
|
x
|
2013-10-29 23:20:02 +00:00
|
|
|
|
Assumed: my_eq
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Failed to solve
|
2013-11-07 18:16:22 +00:00
|
|
|
|
A : Type, B : Type, a : ?M::0, b : ?M::1, C : Type ⊢ ?M::0[lift:0:3] ≺ C
|
2014-01-06 03:10:21 +00:00
|
|
|
|
(line: 13: pos: 51) Type of argument 2 must be convertible to the expected type in the application of
|
2013-10-29 23:20:02 +00:00
|
|
|
|
my_eq
|
2013-10-25 02:08:35 +00:00
|
|
|
|
with arguments:
|
|
|
|
|
C
|
|
|
|
|
a
|
|
|
|
|
b
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Assumed: a
|
|
|
|
|
Assumed: b
|
|
|
|
|
Assumed: H
|
2013-12-06 21:04:26 +00:00
|
|
|
|
Failed to solve
|
feat(library/elaborator): only expand definitions that are not marked as hidden
The elaborator produces better proof terms. This is particularly important when we have to prove the remaining holes using tactics.
For example, in one of the tests, the elaborator was producing the sub-expression
(λ x : N, if ((λ x::1 : N, if (P a x x::1) ⊥ ⊤) == (λ x : N, ⊤)) ⊥ ⊤)
After, this commit it produces
(λ x : N, ¬ ∀ x::1 : N, ¬ P a x x::1)
The expressions above are definitionally equal, but the second is easier to work with.
Question: do we really need hidden definitions?
Perhaps, we can use only the opaque flag.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-20 10:16:41 +00:00
|
|
|
|
⊢ ?M::0 ⇒ ?M::3 ∧ a ≺ b
|
2014-01-06 03:10:21 +00:00
|
|
|
|
(line: 18: pos: 18) Type of definition 't1' must be convertible to expected type.
|
2013-10-25 02:56:44 +00:00
|
|
|
|
Failed to solve
|
2014-01-04 01:13:10 +00:00
|
|
|
|
⊢ b == b ≺ a == b
|
2014-01-06 03:10:21 +00:00
|
|
|
|
(line: 20: pos: 22) Type of argument 6 must be convertible to the expected type in the application of
|
|
|
|
|
@trans
|
2014-01-04 01:13:10 +00:00
|
|
|
|
with arguments:
|
|
|
|
|
?M::1
|
|
|
|
|
a
|
|
|
|
|
a
|
|
|
|
|
b
|
2014-01-06 03:10:21 +00:00
|
|
|
|
refl a
|
|
|
|
|
refl b
|
2013-10-25 02:56:44 +00:00
|
|
|
|
Failed to solve
|
2014-01-04 01:13:10 +00:00
|
|
|
|
⊢ ?M::1 ≺ Type
|
2014-01-06 03:10:21 +00:00
|
|
|
|
(line: 22: pos: 6) Type of argument 1 must be convertible to the expected type in the application of
|
2014-01-04 01:13:10 +00:00
|
|
|
|
@f
|
|
|
|
|
with arguments:
|
|
|
|
|
?M::0
|
|
|
|
|
Bool
|
|
|
|
|
Bool
|
2014-01-06 03:10:21 +00:00
|
|
|
|
Error (line: 25, pos: 31) unknown identifier 'EM'
|