Unclear error message #77

Closed
opened 2024-06-06 15:23:55 -07:00 by aniva · 3 comments
Owner

If an expression leads to elaboration failure, its message is unclear:

> .lake/build/bin/pantograph Init
goal.start {"expr": "forall (x: Prop), y"}
{"error":"elab","desc":"internal exception #8"}
If an expression leads to elaboration failure, its message is unclear: ```sh > .lake/build/bin/pantograph Init goal.start {"expr": "forall (x: Prop), y"} {"error":"elab","desc":"internal exception #8"} ```
aniva added this to the 0.3 milestone 2024-06-06 15:23:55 -07:00
aniva added the
category
bug
priority
medium
part/Serial
part/Elab
labels 2024-06-06 15:23:55 -07:00
aniva self-assigned this 2024-06-06 15:23:55 -07:00
Author
Owner

This is due to the autoBoundImplicit flag on the elaboration monad. It was there because of our handling of universe levels

This is due to the `autoBoundImplicit` flag on the elaboration monad. It was there because of our handling of universe levels
Author
Owner

We likely have to add proper explicit handling of universe levels. This has been the elephant in the room for a year. The downside is that the solver would have to be aware of it. This is not an issue for Trillium, but LLMs may have a hard time.

We likely have to add proper explicit handling of universe levels. This has been the elephant in the room for a year. The downside is that the solver would have to be aware of it. This is not an issue for Trillium, but LLMs may have a hard time.
Author
Owner

#79

#79
aniva closed this issue 2024-06-23 13:34:03 -07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aniva/Pantograph#77
No description provided.