google-research / dex-lang

Research language for array processing in the Haskell/ML family
BSD 3-Clause "New" or "Revised" License
1.58k stars 107 forks source link

Stop extending synthesis givens everywhere. #1245

Closed dougalm closed 1 year ago

dougalm commented 1 year ago

We only need the givens during the inference and synthesis passes so we can just track them there instead. This lets us delete a bunch of code and might improve compile times. It also sets the stage for a top-level env simplification I want to try.