TypeTheory icon indicating copy to clipboard operation
TypeTheory copied to clipboard

Remove dependency on Coq.Init.Logic

Open m-lindgren opened this issue 2 years ago • 2 comments

After merging #234 two files still unfortunately imports Coq.Init.Logic:

  • Initiality/Interpretation.v
  • TypeCat/General.v

It's currently unclear to me if it's easy to fix or requires a more involved patch, so I'm creating this issue both as a reminder and an invitation to anyone who feels inspired to give it a try.

Most fixes related to removing Coq.Init.Logic has been replacing trivial or auto with try apply idpath, but if you're (un?)lucky you get one of the rare cases where a rewrite is performed using eq_refl and then all bets are off.

m-lindgren avatar Mar 07 '23 20:03 m-lindgren

Hi,

I tried to remove the import from the last two files: https://gist.github.com/Skantz/52047f07f044846b0af2774b981d10c7

If it looks good, I am happy to submit the PR.

Skantz avatar Jun 24 '23 11:06 Skantz

@Skantz : that's great, thanks a lot! It definitely looks good.

benediktahrens avatar Jun 24 '23 12:06 benediktahrens