Commit bd7ebdec authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Use new Import/Export syntax everywhere.

Also, make our redefinition of done more robust under different
orders of Importing modules.
parent 3a18b722
Require Export algebra.iprod program_logic.pviewshifts.
Require Import program_logic.ownership.
From algebra Require Export iprod.
From program_logic Require Export pviewshifts.
From program_logic Require Import ownership.
Import uPred.
(** Index of a CMRA in the product of global CMRAs. *)
......
Require Export program_logic.weakestpre program_logic.viewshifts.
From program_logic Require Export weakestpre viewshifts.
Definition ht {Λ Σ} (E : coPset) (P : iProp Λ Σ)
(e : expr Λ) (Q : val Λ iProp Λ Σ) : iProp Λ Σ := ( (P wp E e Q))%I.
......
Require Export program_logic.hoare program_logic.lifting.
Require Import program_logic.ownership.
From program_logic Require Export hoare lifting.
From program_logic Require Import ownership.
Import uPred.
Local Notation "{{ P } } ef ?@ E {{ Q } }" :=
......
Require Export algebra.base prelude.countable prelude.co_pset.
Require Import program_logic.ownership.
Require Export program_logic.pviewshifts program_logic.weakestpre.
From algebra Require Export base.
From prelude Require Export countable co_pset.
From program_logic Require Import ownership.
From program_logic Require Export pviewshifts weakestpre.
Import uPred.
Local Hint Extern 100 (@eq coPset _ _) => solve_elem_of.
......
Require Export algebra.cofe.
From algebra Require Export cofe.
Structure language := Language {
expr : Type;
......
Require Export program_logic.weakestpre.
Require Import program_logic.wsat program_logic.ownership.
From program_logic Require Export weakestpre.
From program_logic Require Import wsat ownership.
Local Hint Extern 10 (_ _) => omega.
Local Hint Extern 100 (@eq coPset _ _) => solve_elem_of.
Local Hint Extern 10 ({_} _) =>
......
Require Export algebra.upred program_logic.resources.
Require Import algebra.cofe_solver.
From algebra Require Export upred.
From program_logic Require Export resources.
From algebra Require Import cofe_solver.
(* The Iris program logic is parametrized by a functor from the category of
COFEs to the category of CMRAs, which is instantiated with [laterC iProp]. The
......
Require Export program_logic.model.
From program_logic Require Export model.
Definition ownI {Λ Σ} (i : positive) (P : iProp Λ Σ) : iProp Λ Σ :=
uPred_ownM (Res {[ i to_agree (Next (iProp_unfold P)) ]} ).
......
Require Export prelude.co_pset.
Require Export program_logic.model.
Require Import program_logic.ownership program_logic.wsat.
From prelude Require Export co_pset.
From program_logic Require Export model.
From program_logic Require Import ownership wsat.
Local Hint Extern 10 (_ _) => omega.
Local Hint Extern 100 (@eq coPset _ _) => solve_elem_of.
Local Hint Extern 100 (_ _) => solve_elem_of.
......
Require Export algebra.fin_maps algebra.agree algebra.excl algebra.functor.
Require Export program_logic.language.
From algebra Require Export fin_maps agree excl functor.
From program_logic Require Export language.
Record res (Λ : language) (Σ : iFunctor) (A : cofeT) := Res {
wld : mapRA positive (agreeRA A);
......
(** This file tests a bunch of things. *)
Require Import program_logic.model.
From program_logic Require Import model.
Module ModelTest. (* Make sure we got the notations right. *)
Definition iResTest {Λ : language} {Σ : iFunctor}
......
Require Import program_logic.ownership.
Require Export program_logic.pviewshifts program_logic.invariants program_logic.ghost_ownership.
From program_logic Require Import ownership.
From program_logic Require Export pviewshifts invariants ghost_ownership.
Import uPred.
Definition vs {Λ Σ} (E1 E2 : coPset) (P Q : iProp Λ Σ) : iProp Λ Σ :=
......
Require Export program_logic.pviewshifts.
Require Import program_logic.wsat.
From program_logic Require Export pviewshifts.
From program_logic Require Import wsat.
Local Hint Extern 10 (_ _) => omega.
Local Hint Extern 100 (@eq coPset _ _) => eassumption || solve_elem_of.
Local Hint Extern 100 (_ _) => solve_elem_of.
......
Require Export program_logic.model prelude.co_pset.
Require Export algebra.cmra_big_op algebra.cmra_tactics.
From prelude Require Export co_pset.
From program_logic Require Export model.
From algebra Require Export cmra_big_op cmra_tactics.
Local Hint Extern 10 (_ _) => omega.
Local Hint Extern 10 ({_} _) => solve_validN.
Local Hint Extern 1 ({_} gst _) => apply gst_validN.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment