2013-09-06 18:02:00 +00:00
|
|
|
|
Set: pp::colors
|
|
|
|
|
Set: pp::unicode
|
2014-01-01 21:52:25 +00:00
|
|
|
|
Imported 'Int'
|
2013-10-25 02:08:35 +00:00
|
|
|
|
let b := ⊤, a : ℤ := b in a
|
2013-09-06 18:02:00 +00:00
|
|
|
|
Assumed: vector
|
|
|
|
|
Assumed: const
|
2013-09-09 05:54:22 +00:00
|
|
|
|
let a := 10, v1 := const a ⊤, v2 := v1 in v2 : vector Bool 10
|
2013-09-06 18:02:00 +00:00
|
|
|
|
let a := 10, v1 : vector Bool a := const a ⊤, v2 : vector Bool a := v1 in v2
|
2013-09-09 05:54:22 +00:00
|
|
|
|
let a := 10, v1 : vector Bool a := const a ⊤, v2 : vector Bool a := v1 in v2 : vector Bool 10
|
2014-01-09 19:19:58 +00:00
|
|
|
|
let4.lean:32:26: error: type mismatch at definition 'v2', expected type
|
2013-12-22 19:51:38 +00:00
|
|
|
|
vector ℤ a
|
|
|
|
|
Given type:
|
|
|
|
|
vector Bool a
|
2013-09-06 18:02:00 +00:00
|
|
|
|
Assumed: foo
|
|
|
|
|
Coercion foo
|
2014-01-09 19:19:58 +00:00
|
|
|
|
let4.lean:41:26: error: type mismatch at definition 'v2', expected type
|
2013-12-22 19:51:38 +00:00
|
|
|
|
vector ℤ a
|
|
|
|
|
Given type:
|
|
|
|
|
vector Bool a
|
2013-09-06 18:02:00 +00:00
|
|
|
|
Set: lean::pp::coercion
|
2014-01-09 19:19:58 +00:00
|
|
|
|
let4.lean:49:26: error: type mismatch at definition 'v2', expected type
|
2013-12-22 19:51:38 +00:00
|
|
|
|
vector ℤ a
|
|
|
|
|
Given type:
|
|
|
|
|
vector Bool a
|