lean4-htt/tests/lean/423.lean.expected.out
Leonardo de Moura 5e333191a2 feat: improve binop% and binrel% elaboration functions
Add support for operators that may not have homogeneous instances for
all types. For example, we have `HPow Nat Nat Nat` and `HPow Int Nat Int`,
but we don't have `HPow Int Int Int`.
2022-07-12 18:12:20 -07:00

32 lines
602 B
Text

423.lean:3:35-3:40: error: application type mismatch
HAdd.hAdd a
argument
a
has type
T : Sort u
but is expected to have type
Nat : Type
423.lean:5:37-5:38: error: application type mismatch
Add T
argument
T
has type
Sort u : Type u
but is expected to have type
Type ?u : Type (?u + 1)
423.lean:5:47-5:48: error: application type mismatch
OfNat T
argument
T
has type
Sort u : Type u
but is expected to have type
Type ?u : Type (?u + 1)
423.lean:5:55-5:60: error: application type mismatch
HAdd.hAdd a
argument
a
has type
T : Sort u
but is expected to have type
Nat : Type