Skip to content

Conversation

@dkcumming
Copy link
Collaborator

A new type inference algorithm has been introduced to K. This PR opts into using that algorithm by setting the appropriate flags in kbuild.toml

@dkcumming dkcumming added this to the Magnifying `KBuild` milestone Dec 11, 2023
@dkcumming dkcumming self-assigned this Dec 11, 2023
@dkcumming dkcumming linked an issue Dec 11, 2023 that may be closed by this pull request
@dkcumming dkcumming requested a review from Baltoli December 11, 2023 06:22
@dkcumming dkcumming marked this pull request as ready for review December 11, 2023 06:22
Copy link
Contributor

@Baltoli Baltoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; when runtimeverification/pyk#767 is finalised and merged you should be able to use the new feature directly via Pyk.

Copy link
Contributor

@Baltoli Baltoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, in fact it doesn't look like this is in fact supported via kbuild.toml. Probably best to wait and use the Pyk feature I linked above.

@yanliu18
Copy link
Contributor

I am popping this up since the type-inference feature is supported by pyk by PR runtimeverification/pyk#767.

@dkcumming
Copy link
Collaborator Author

Created an issue here

@dkcumming dkcumming force-pushed the feature/new-type-inf branch from fa5ae5c to 3ee298e Compare January 10, 2024 23:26
@dkcumming
Copy link
Collaborator Author

@Baltoli Things should be working now, I am still a bit unsure how to determine if it is using the new algorithm or not. How would be determine this? If you would like to see differences in timing I am recording local timing in #308

Copy link
Contributor

@Baltoli Baltoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Timing probably won't be hugely different I suspect.

@rv-jenkins rv-jenkins merged commit 10560ce into master Jan 12, 2024
@rv-jenkins rv-jenkins deleted the feature/new-type-inf branch January 12, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opt in to new type inference method

6 participants