Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Iris Iris
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • 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
  • IrisIris
  • Merge requests
  • !199

Fix issue #206

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Robbert Krebbers requested to merge robbert/issue_206 into master Jan 11, 2019
  • Overview 7
  • Commits 2
  • Pipelines 0
  • Changes 4

When performing iDestruct ("H" with ...) as "#..." in the case that:

  • H is in the spatial context, and,
  • The BI is not affine

We cannot use the whole spatial context for both proving the premises of H and the resulting goal. As reported in #206 (closed), trying the above tactic currently gives an anomaly.

This MR issues this issue: Performing the above tactic will now consume the spatial premises.

TODO

This MR contains the following function that should be moved to std++:

Definition TC_to_bool (P : Prop)
  {p : bool} `{TCIf P (TCEq p true) (TCEq p false)} : boo

Given a proposition P that is a type class, it will return true if it can find an instance.

Any suggestions for a better name of this function?

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