Skip to content

[Merged by Bors] - feat: #conv command: #simp, #norm_num etc. - #539

Closed
digama0 wants to merge 1 commit into
masterfrom
conv_cmd
Closed

digama0 wants to merge 1 commit into
masterfrom
conv_cmd

Conversation

@digama0

@digama0 digama0 commented Nov 5, 2022

Copy link
Copy Markdown
Member

The command #conv $tac => $e will run a conv tactic tac on e and display the resulting simplified version of e'. This is used to implement several other user commands:

  • #whnf e displays the weak head normal form of e
  • #simp e displays the simp normal form of e
  • #norm_num e evaluates e using norm_num
  • #push_neg e shows the result of push_neg on e

The conv versions of norm_num and push_neg are also added here, so that the commands can be implemented as macros.

@digama0 digama0 mentioned this pull request Nov 7, 2022
2 tasks done
@digama0

digama0 commented Nov 7, 2022

Copy link
Copy Markdown
Member Author

bors merge

bors Bot pushed a commit that referenced this pull request Nov 7, 2022
The command `#conv $tac => $e` will run a conv tactic `tac` on `e` and display the resulting simplified version of `e'`. This is used to implement several other user commands:

* `#whnf e` displays the weak head normal form of `e`
* `#simp e` displays the simp normal form of `e`
* `#norm_num e` evaluates `e` using `norm_num`
* `#push_neg e` shows the result of `push_neg` on `e`

The `conv` versions of `norm_num` and `push_neg` are also added here, so that the commands can be implemented as macros.
@bors

bors Bot commented Nov 7, 2022

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat: #conv command: #simp, #norm_num etc. [Merged by Bors] - feat: #conv command: #simp, #norm_num etc. Nov 7, 2022
@bors bors Bot closed this Nov 7, 2022
@bors
bors Bot deleted the conv_cmd branch November 7, 2022 21:40
bors Bot pushed a commit that referenced this pull request Nov 7, 2022
* [x] depends on #539
* [x] depends on #552

This implements the `ring` conv tactic, which rewrites a target that is an equality in rings to `True`. I'm not sure if anyone uses this, but it is what it is and it brings down our metrics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant