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

Remove Int31 #983

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Remove Int31 #983

merged 1 commit into from
Oct 1, 2023

Conversation

Villetaneuse
Copy link
Contributor

@Villetaneuse Villetaneuse commented Sep 14, 2023

This is needed for Coq coq/coq#17977
Modified files are

  • quotation/theories/ToPCUIC/Coq/Numbers.v
  • quotation/theories/ToTemplate/Coq/Numbers.v

This is needed for Coq #17977
Modified files are
- quotation/theories/ToPCUIC/Coq/Numbers.v
- quotation/theories/ToTemplate/Coq/Numbers.v
@Villetaneuse
Copy link
Contributor Author

Sorry to bother you with this @mattam82, but can we move forward? It would be nice to remove these files in 8.19.

@yforster
Copy link
Member

Is CI expected to go green on this? I just approved the run, if it goes green we can merge this for sure

@Villetaneuse
Copy link
Contributor Author

File "./theories/TemplateMonadToPCUIC.v", line 185, characters 20-49:
Error: Error: Universe instance length is 2 but should be 3.

I have no idea what it means and how it can be related to this PR.

@@ -1,9 +1,11 @@
From Coq.Numbers Require Import BinNums DecimalFacts HexadecimalFacts
Cyclic.Int63.PrimInt63 Cyclic.Int31.Int31
Cyclic.Int63.PrimInt63 Cyclic.Int63.Uint63
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this needed, or can we just do

Suggested change
Cyclic.Int63.PrimInt63 Cyclic.Int63.Uint63

?

@JasonGross
Copy link
Contributor

File "./theories/TemplateMonadToPCUIC.v", line 185, characters 20-49:
Error: Error: Universe instance length is 2 but should be 3.

I have no idea what it means and how it can be related to this PR.

It means that somehow when building with -quick, Coq has decided that

(@TransLookup_lookup_inductive'@{t u} TemplateMonad@{t u} TemplateMonad_OptimizedMonad@{t u} monad_trans tmQuoteInductive@{t u} (@tmFail@{t u}))

is no longer valid and TransLookup_lookup_inductive'@{_ _} needs to be TransLookup_lookup_inductive'@{_ _ _} instead. It is unrelated to this PR. Maybe Coq broke something since the last CI run?

@tabareau tabareau merged commit 573587b into MetaCoq:main Oct 1, 2023
@Villetaneuse Villetaneuse deleted the remove_Int31 branch October 1, 2023 19:20
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.

4 participants