-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
rawTerm
from hints output (#1027)
Closes Pi-Squared-Inc/pi2#1300: `rawTerm` is a useful wrapper on a KItem injection. However, The Math Proof Generation Team from $Piˆ2$ doesn't use it in their parser, so they need to unwrap the injection and drop the `rawTerm` string every time. To avoid this unnecessary overhead, we introduce in this PR a modification to `proof_event::emit_serialize_term` and `serialize_term_to_file` to allow us to construct the injection without using the `rawTerm` wrapper. The idea of including this modification into `serialize_term_to_file` was to avoid a third function (`serialize_k_term_inj_to_file`) that has the exact same structure as `serialize_term_to_file` and `serialize_raw_term_to_file` with a single different line.
- Loading branch information
1 parent
8fa45cc
commit 7e12c1d
Showing
7 changed files
with
8,085 additions
and
8,088 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3,896 changes: 1,948 additions & 1,948 deletions
3,896
test/output/imp-proof/imp-proof.expanded.out.diff
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.