2014-02-03 20:10:26 -08:00
|
|
|
|
Set: pp::colors
|
|
|
|
|
Set: pp::unicode
|
|
|
|
|
sig x : ℕ, x > 0 : Type
|
2014-02-10 09:03:42 -08:00
|
|
|
|
pair 10 20 : ℕ ⨯ ℕ
|
|
|
|
|
pair 10 ⊤ : ℕ ⨯ Bool
|
|
|
|
|
pair ⊤ 20 : Bool ⨯ ℕ
|
|
|
|
|
pair ⊤ 20 : Bool ⨯ ℕ
|
|
|
|
|
pair ⊤ ⊤ : Bool ⨯ Bool
|
|
|
|
|
pair ⊤ ⊤ : Bool ⨯ Bool
|
2014-02-03 20:46:15 -08:00
|
|
|
|
Assumed: a
|
|
|
|
|
Assumed: Ha
|
|
|
|
|
Defined: NZ
|
|
|
|
|
NZ : Type
|
2014-02-10 09:03:42 -08:00
|
|
|
|
pair a Ha : NZ : sig x : ℕ, 1 ≤ x
|
2014-02-03 20:46:15 -08:00
|
|
|
|
sig2.lean:13:6: error: type mismatch in the 1st argument of the pair
|
2014-02-10 09:03:42 -08:00
|
|
|
|
pair ⊤ 20
|
2014-02-03 20:10:26 -08:00
|
|
|
|
Pair type:
|
|
|
|
|
ℕ ⨯ ℕ
|
|
|
|
|
Argument type:
|
|
|
|
|
Bool
|
2014-02-03 20:46:15 -08:00
|
|
|
|
sig2.lean:14:6: error: type mismatch in the 2nd argument of the pair
|
2014-02-10 09:03:42 -08:00
|
|
|
|
pair ⊤ 20
|
2014-02-03 20:10:26 -08:00
|
|
|
|
Pair type:
|
2014-02-03 20:46:15 -08:00
|
|
|
|
Bool ⨯ Bool
|
2014-02-03 20:10:26 -08:00
|
|
|
|
Argument type:
|
2014-02-03 20:46:15 -08:00
|
|
|
|
ℕ
|