Skip to content

Fix own_WeaklyObjective #69

@pgiarrusso-sl

Description

@pgiarrusso-sl

Remaining TODOs:


We admit own_WeaklyObjective, have monPred_own_weakly_objective, and the 2 don't match:

(* TODO upstream, fix [monPred_own_weakly_objective] with correct assumption. *)
#[global] Instance
  own_WeaklyObjective `{Σ : cpp_logic} {A : cmra} `{!HasOwn mpredI A} γ (a : A)  :
  WeaklyObjective (PROP := iPropI _) (own γ a).
Proof.
Set Printing All.
epose proof (monPred_own_weakly_objective γ a).
Unset Printing All.
Admitted.

The mismatch is HasOwn vs inG and is in the wrong direction — HasOwn -> inG, which can't be provable. So I guess we're missing an HasOwnWeaklyObjective class — or a new member in existing classes. (It's unclear why we have 3 typeclasses in the first place).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions