Skip to content

Commit

Permalink
Add basic causation info to graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikMcClure committed Jan 10, 2025
1 parent a330f7f commit 67049f9
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 61 deletions.
4 changes: 2 additions & 2 deletions alicorn-expressions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ local function speculate_pi_type(env, metaval)
env.typechecking_context,
pi,
env.typechecking_context,
"Speculating on pi type"
terms.constraintcause.primitive("Speculating on pi type", nil)
)

return pi
Expand Down Expand Up @@ -1166,7 +1166,7 @@ collect_tuple = metalanguage.reducer(
env.typechecking_context,
goal_type,
env.typechecking_context,
"tuple type in collect_tuple"
terms.constraintcause.primitive("tuple type in collect_tuple", nil)
)
return true, checkable_term.tuple_cons(collected_terms), env
else
Expand Down
Loading

0 comments on commit 67049f9

Please sign in to comment.