Skip to content
Snippets Groups Projects

Misc improvements to `head` and `tail` functions for lists

Merged Robbert Krebbers requested to merge robbert/head_tail into master
All threads resolved!
  • Define head as notation that prints (Coq defines it as parsing only).
  • Declare tail as simpl nomatch.
  • Add lemmas about head and tail.
Edited by Robbert Krebbers

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
  • Ralf Jung
  • Robbert Krebbers added 11 commits

    added 11 commits

    • 7122102b...34e363f0 - 4 commits from branch master
    • cae78970 - Make sure `tail` is not `simpl`ed too much.
    • e60abdf3 - More properties of `last` function.
    • f3c4eb0a - Define `head` as notation that also prints (Coq defines it as `parsing only`).
    • 40d86146 - Add lemmas for `head` similar to those for `tail`.
    • 7d8bf699 - CHANGELOG.
    • e1e8316a - Comment about `head` and `tail` notations.
    • 195c8282 - Add tests for `simpl` on `last`.

    Compare with previous version

  • Ralf Jung resolved all threads

    resolved all threads

  • mentioned in commit b2a8bf65

  • Please register or sign in to reply
    Loading