-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cswb #591
base: master
Are you sure you want to change the base?
Cswb #591
Conversation
@@ -591,6 +594,38 @@ let infer_conv_noticing_evars ~pb ~ts env sigma t1 t2 = | |||
if !has_evar then None | |||
else Some (UnifFailure (sigma, UnifUnivInconsistency e)) | |||
|
|||
let pr_econstr = ref (fun _ _ _ -> Pp.str "unable to print econstr") | |||
|
|||
(* TODO: move to a proper place *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look at the CList
module (coq has an extended lib)
MLCode(Pred("coq.reduction.lazy.whd_betaiota_deltazeta_for_iota_state", | ||
CIn(term,"T", | ||
COut(term,"Tred", | ||
Read(proof_context, {|Puts T in weak head normal form. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no clue what it does, but it does not do "just whd" ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, thank you. Is there a difference between "weak head normal form" and "head normal form"? If so, the documentation of whd_betaiota_deltazeta_for_iota_state
in reductionops.ml
states "head normal form", while the function name starts with "whd", is that a typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, would you like for me to PR this commit (after fixing the doc) to coq-elpi now?
No description provided.