-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conversion logging #4
base: master
Are you sure you want to change the base?
Conversation
@@ -3650,7 +3650,7 @@ let PICK = prove | |||
REWRITE_TAC[SET_RULE | |||
`{x | x IN (s UNION t) /\ P x} = | |||
{x | x IN s /\ P x} UNION {x | x IN t /\ P x}`] THEN | |||
(CONV_TAC o GEN_SIMPLIFY_CONV TOP_DEPTH_SQCONV (basic_ss []) 5) | |||
((CONV_TAC "o") o GEN_SIMPLIFY_CONV TOP_DEPTH_SQCONV (basic_ss []) 5) |
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.
This one isn't reasonably matched, though I'm not sure how it'd be covered by this technique.
@@ -143,7 +143,7 @@ let sexp_tactic_log taclog = | |||
Fake_log -> simple "Fake_log" | |||
| Label_tac_log (st, th) -> Snode [Sleaf "Label_tac_log"; Sleaf st; sexp_thm th] | |||
| Accept_tac_log th -> thm "Accept_tac_log" th | |||
| Conv_tac_log c -> Snode [Sleaf "Conv_tac_log"; sexp_conv c] | |||
| Conv_tac_log (s, c) -> Snode [Sleaf "Conv_tac_log"; Sleaf s; sexp_conv c] |
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.
This will break any S-expr parser that we write, since the leaf strings aren't escaped. Let's leave it out for now.
@@ -0,0 +1,52 @@ | |||
def next_nonspace(s, i) |
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.
How does conv_tac_params.rb
differ from match_paren.rb
?
This change allows to trace the parameter of CONV_TAC as a string for a first iteration of tracking conversions. The parameter of CONV_TAC is stored in the proof log.