a2d2e36f04
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
26 lines
589 B
Text
26 lines
589 B
Text
Set: pp::colors
|
||
Set: pp::unicode
|
||
sig x : ℕ, x > 0 : Type
|
||
pair 10 20 : ℕ ⨯ ℕ
|
||
pair 10 ⊤ : ℕ ⨯ Bool
|
||
pair ⊤ 20 : Bool ⨯ ℕ
|
||
pair ⊤ 20 : Bool ⨯ ℕ
|
||
pair ⊤ ⊤ : Bool ⨯ Bool
|
||
pair ⊤ ⊤ : Bool ⨯ Bool
|
||
Assumed: a
|
||
Assumed: Ha
|
||
Defined: NZ
|
||
NZ : Type
|
||
pair a Ha : NZ : sig x : ℕ, 1 ≤ x
|
||
sig2.lean:13:6: error: type mismatch in the 1st argument of the pair
|
||
pair ⊤ 20
|
||
Pair type:
|
||
ℕ ⨯ ℕ
|
||
Argument type:
|
||
Bool
|
||
sig2.lean:14:6: error: type mismatch in the 2nd argument of the pair
|
||
pair ⊤ 20
|
||
Pair type:
|
||
Bool ⨯ Bool
|
||
Argument type:
|
||
ℕ
|