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

Add simplification instance for list ≠ [], needed for quicksort

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ike Mulder requested to merge ci/simpl_quicksort into master Nov 24, 2020
  • Overview 3
  • Commits 4
  • Pipelines 3
  • Changes 14

When doing the quicksort exercise, RefinedC would at some point get stuck on a goal of the form some_list ≠ [] ∧ …, where some_list is a protected evar. This merge request adds an instance simplifying l ≠ [] into ∃ a l', l = a :: l' whenever l is a protected evar.

Additionally, it adds the sorting function to tutorial/quicksort_solution.c for which this instance was necessary.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ci/simpl_quicksort