Skip to content

Conversation

mattam82
Copy link
Member

This integrates Danil's (@annenkov) and the ConCert team's (cc @spitters) work in a new erasure/theories/Typed folder. That erasure is able to give an approximation of types used for "dearging" calls to functions/constructors, removing unused arguments when possible, and hence producing less dead code. The transformation that does that is not yet integrated in the current erasure plugin pipelines though.

@mattam82 mattam82 force-pushed the typed-erasure-integration branch from 00d583e to 6004975 Compare March 23, 2023 05:24
@mattam82
Copy link
Member Author

This needs a bit more work to ease the proof of correctness of the typed extraction (showing that the erasure function is invariant when given different global environments that have the same minimal information on inductives), but it is working already, so let's merge it now and come back to the proof when there is time.

@mattam82 mattam82 force-pushed the typed-erasure-integration branch 4 times, most recently from 4c81095 to 8ef4c88 Compare March 23, 2023 15:56
@mattam82 mattam82 force-pushed the typed-erasure-integration branch from 50efc49 to dc86122 Compare March 24, 2023 06:41
@mattam82 mattam82 force-pushed the typed-erasure-integration branch from dc86122 to dba3219 Compare March 24, 2023 08:36
@tabareau tabareau closed this Mar 24, 2023
@tabareau tabareau reopened this Mar 24, 2023
@tabareau tabareau merged commit ccce704 into coq-8.16 Mar 24, 2023
@TheoWinterhalter TheoWinterhalter deleted the typed-erasure-integration branch March 24, 2023 16:33
@JasonGross
Copy link
Contributor

This was out of date when merged; all of MetaCoq CI is now failing with

File "./theories/Typed/Extraction.v", line 16, characters 0-58:
Error: Cannot find a physical path bound to logical path
TemplateToPCUIC with prefix MetaCoq.TemplatePCUIC.

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.

3 participants