Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
Iris
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 122
    • Issues 122
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 18
    • Merge Requests 18
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Iris
  • Iris
  • Issues
  • #354

Closed
Open
Opened Oct 06, 2020 by Ralf Jung@jungOwner

Discardable camera improvements

Generalization

I think the variant of dfrac that I implemented with !531 (merged) can be generalized to a "discardable-anything":

Inductive discardable (A: cmraT) :=
  | DOwn : A → dfrac
  | DDiscarded : dfrac
  | DBoth : A → dfrac.

with validity something like

  Instance discardable_valid (A: cmraT) : Valid (discardable A) := λ x,
    match x with
    | DOwn q => ✓ q
    | DDiscarded => True
    | DBoth q => exists p, ✓ (q ⋅ p)
    end%Qc.

I think this should work... what I am not sure about is if this is useful.^^

old discarded idea: option Qp

After !531 (merged), the public interface of dfrac can basically be described via a smart constructor that takes option Qp -- in fact I am adding such a notation in !486 (merged). We can probably rephrase all the existing lemmas in terms of that single constructor, and @robbertkrebbers agrees that that would make a better interface.

Cc @simonfv @tchajed

Edited Oct 09, 2020 by Ralf Jung
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: iris/iris#354