Skip to content
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

Prove that Natural => Integer and Integer => Real in strict mode #111

Closed
andrew-johnson-4 opened this issue Dec 11, 2022 · 1 comment
Closed
Labels
checker Issues related to Typechecking or Logic enhancement New feature or request
Milestone

Comments

@andrew-johnson-4
Copy link
Owner

Problem:
This is a challenge to do something cool that is almost working. Here we can use implicit structure to show that literal Natural numbers are a subset of Integers. Similarly we can show that Integers are Real.

Solution
Utilize the regular language definition of these Literals to show that one Type is a subset of another Type.

@andrew-johnson-4 andrew-johnson-4 added this to the 1.0 milestone Dec 11, 2022
@andrew-johnson-4 andrew-johnson-4 added enhancement New feature or request checker Issues related to Typechecking or Logic labels Dec 11, 2022
@andrew-johnson-4 andrew-johnson-4 pinned this issue Dec 13, 2022
@andrew-johnson-4
Copy link
Owner Author

PunC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
checker Issues related to Typechecking or Logic enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant