Skip to content
Snippets Groups Projects

Enable cumulativity for telescopes

Merged Janno requested to merge janno/cumulative-telescopes into master
All threads resolved!

This fixes iris#461 (closed) by enabling cumulative universe polymorphism in telescopes.v, allowing tele at a fixed universe (such as the Quant universe in iris) to cumulatively contain telescopes at smaller universes.

I also re-arranged existing telescope tests slightly in order to make sure the test for Unset Universe Minimization ToSet has a chance to fail before the accessor test, which happens to fail for the same reason.

Edited by Janno

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • LGTM modulo nit. Thanks for sorting this out.

  • Ralf Jung
  • Janno added 2 commits

    added 2 commits

    • 6d64bcb5 - Enable cumulativity for telescopes.
    • 8eb17fc8 - Move `Universe Minimization ToSet` test case higher.

    Compare with previous version

  • Janno added 1 commit

    added 1 commit

    • b0065fea - Move universe-related telescope tests closer together.

    Compare with previous version

  • Ralf Jung resolved all threads

    resolved all threads

  • merged

  • Ralf Jung mentioned in commit 411eb445

    mentioned in commit 411eb445

  • In Iris itself, this caused an up to 1% slowdown in the files using logical atomicity: https://coq-speed.mpi-sws.org/d/Ne7jkX6kk/coq-speed?orgId=1&from=1652721322297&to=1652746550563&var-metric=instructions&var-project=iris&var-branch=master&var-config=All&var-group=(.*)

    Doesn't look like a coincidence. Those are all rather quick files though.

  • Author Maintainer

    That's worse than I expected especially given how simple the uses in iris itself are. I hope the fix for https://github.com/coq/coq/issues/11741 also addresses this slowdown.

  • Actris also uses telescopes extensively. Do we have timings for that?

  • No, actris isn't on timing CI.

  • It used to be, until around 2 years ago. I guess we can add it back, though I am a bit worried about overloading our timing job. (We can only run one timing job in parallel.)

  • Thanks for the timings, Ralf.

    I am not worried about these numbers: it only has a small affect, for very specific cases, and the repair of a Coq bug might fix it in the future.

  • Just to clarify, the bugfix was merged in master in question was merged in master: https://github.com/coq/coq/pull/15662.

  • Please register or sign in to reply
    Loading