Skip to content

[Merged by Bors] - feat: initial framework for props in norm_num - #1578

Closed
digama0 wants to merge 1 commit into
masterfrom
norm_num_prop
Closed

digama0 wants to merge 1 commit into
masterfrom
norm_num_prop

Conversation

@digama0

@digama0 digama0 commented Jan 15, 2023 •

Copy link
Copy Markdown
Member

No actual new behavior here, just the necessary modifications to NormNum.Core to allow evaluating propositions (like x < y) to True or False.

cc: @thorimur

@digama0
digama0 force-pushed the norm_num_prop branch 2 times, most recently from 4350e14 to e25f3b9 Compare January 15, 2023 13:47
@kim-em

kim-em commented Jan 17, 2023

Copy link
Copy Markdown
Contributor

bors merge

@github-actions github-actions Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jan 17, 2023
bors Bot pushed a commit that referenced this pull request Jan 17, 2023
No actual new behavior here, just the necessary modifications to `NormNum.Core` to allow evaluating propositions (like `x < y`) to `True` or `False`.

cc: @thorimur
@bors

bors Bot commented Jan 17, 2023

Copy link
Copy Markdown

Build failed (retrying...):

bors Bot pushed a commit that referenced this pull request Jan 17, 2023
No actual new behavior here, just the necessary modifications to `NormNum.Core` to allow evaluating propositions (like `x < y`) to `True` or `False`.

cc: @thorimur
@bors

bors Bot commented Jan 17, 2023

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat: initial framework for props in norm_num [Merged by Bors] - feat: initial framework for props in norm_num Jan 17, 2023
@bors bors Bot closed this Jan 17, 2023
@bors
bors Bot deleted the norm_num_prop branch January 17, 2023 06:15
bors Bot pushed a commit that referenced this pull request Jan 22, 2023
This PR gives `norm_num` basic inequality (and equality) functionality (towards #1567), including the following:
```
example {α} [DivisionRing α] [CharZero α] : (-1:α) ≠ 2 := by norm_num
```
We implement basic logical extensions to handle `=` and `≠` together, namely `¬`, `True`, and `False`. `≠` is not given an extension, as it is handled by `=` and `¬`.

For now we only can prove `≠` for numbers given a `CharZero α` instance.

- [x] depends on: #1578 

Co-authored-by: Mario Carneiro <[email protected]>
jcommelin pushed a commit that referenced this pull request Jan 23, 2023
No actual new behavior here, just the necessary modifications to `NormNum.Core` to allow evaluating propositions (like `x < y`) to `True` or `False`.

cc: @thorimur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-meta Tactics, attributes or user commands

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants