lean4-htt/tests/lean/proj_notation.lean.expected.out

27 lines
787 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

myprod.fst p :
myprod.fst p :
myprod.snd p :
myprod.snd p :
myprod.fst p :
myprod.fst p :
myprod.snd p :
myprod.snd p :
f (myprod.fst p) :
myprod.fst p + myprod.snd p :
λ (c : car), position.x (car.pos c) : car →
proj_notation.lean:34:18: error: invalid '~>' notation, 'fst' is not a valid "field" because environment does not contain 'car.fst'
c
which has type
car
proj_notation.lean:36:19: error: invalid projection, index must be greater than 0
proj_notation.lean:38:18: error: invalid projection, structure has only 2 field(s)
c
which has type
car
proj_notation.lean:40:18: error: invalid projection, structure expected
n
has type
myprod.fst p :
myprod.snd p :
λ (c : car), position.y (car.pos c) : car →