Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S stdpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Iris
  • stdpp
  • Merge requests
  • !71

Some missing results about vectors.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Robbert Krebbers requested to merge robbert/vector into master Jun 14, 2019
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

This addresses #33 (closed)

I did not include any of the map lemmas, since we have versions of them for fmap (notation <$>).

I find the following lemma pretty weird:

Lemma vec_to_list_take_drop {A n} (i : fin n) (v : vec A n) :
  vtake i v ++ vdrop i v = v.
Proof. by rewrite vec_to_list_take, vec_to_list_drop, take_drop. Qed.

It involves implicit coercions to list, and it uses the append on lists.

Unless @lepigre has a good reason for it, I rather not include it.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: robbert/vector