Skip to content
Snippets Groups Projects

Enable `map_Forall2` to be used in nested inductive relations

Merged Robbert Krebbers requested to merge robbert/map_Forall2_nested into master

This MR allows definitions like the following, whereas they were previously rejected by the positivity checker:

Inductive gtest_rel `{Countable K} : relation (gtest K) :=
  | GTest_rel ts1 ts2 :
     map_Forall2 (λ _, gtest_rel) ts1 ts2  gtest_rel (GTest ts1) (GTest ts2).

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
Please register or sign in to reply
Loading