Commit b9413b6f authored by Robbert Krebbers's avatar Robbert Krebbers

Move program_logic stuff that does not depend on the language to base_logic/lib.

parent 3f9b134d
...@@ -70,25 +70,25 @@ base_logic/double_negation.v ...@@ -70,25 +70,25 @@ base_logic/double_negation.v
base_logic/lib/iprop.v base_logic/lib/iprop.v
base_logic/lib/own.v base_logic/lib/own.v
base_logic/lib/saved_prop.v base_logic/lib/saved_prop.v
base_logic/lib/namespaces.v
base_logic/lib/wsat.v
base_logic/lib/invariants.v
base_logic/lib/fancy_updates.v
base_logic/lib/viewshifts.v
base_logic/lib/auth.v
base_logic/lib/sts.v
base_logic/lib/boxes.v
base_logic/lib/thread_local.v
base_logic/lib/cancelable_invariants.v
base_logic/lib/counter_examples.v
program_logic/adequacy.v program_logic/adequacy.v
program_logic/lifting.v program_logic/lifting.v
program_logic/invariants.v
program_logic/wsat.v
program_logic/weakestpre.v program_logic/weakestpre.v
program_logic/fancy_updates.v
program_logic/hoare.v program_logic/hoare.v
program_logic/viewshifts.v
program_logic/language.v program_logic/language.v
program_logic/ectx_language.v program_logic/ectx_language.v
program_logic/ectxi_language.v program_logic/ectxi_language.v
program_logic/ectx_lifting.v program_logic/ectx_lifting.v
program_logic/auth.v
program_logic/sts.v
program_logic/namespaces.v
program_logic/boxes.v
program_logic/counter_examples.v
program_logic/thread_local.v
program_logic/cancelable_invariants.v
heap_lang/lang.v heap_lang/lang.v
heap_lang/tactics.v heap_lang/tactics.v
heap_lang/wp_tactics.v heap_lang/wp_tactics.v
......
From iris.program_logic Require Export invariants. From iris.base_logic.lib Require Export invariants.
From iris.algebra Require Export auth. From iris.algebra Require Export auth.
From iris.algebra Require Import gmap. From iris.algebra Require Import gmap.
From iris.base_logic Require Import big_op. From iris.base_logic Require Import big_op.
......
From iris.program_logic Require Export invariants. From iris.base_logic.lib Require Export invariants.
From iris.algebra Require Import auth gmap agree. From iris.algebra Require Import auth gmap agree.
From iris.base_logic Require Import big_op. From iris.base_logic Require Import big_op.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
......
From iris.program_logic Require Export invariants. From iris.base_logic.lib Require Export invariants.
From iris.algebra Require Export frac. From iris.algebra Require Export frac.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
Import uPred. Import uPred.
......
From iris.base_logic.lib Require Export own. From iris.base_logic.lib Require Export own.
From iris.prelude Require Export coPset. From iris.prelude Require Export coPset.
From iris.program_logic Require Import wsat. From iris.base_logic.lib Require Import wsat.
From iris.algebra Require Import gmap. From iris.algebra Require Import gmap.
From iris.base_logic Require Import big_op. From iris.base_logic Require Import big_op.
From iris.proofmode Require Import tactics classes. From iris.proofmode Require Import tactics classes.
......
From iris.program_logic Require Export fancy_updates. From iris.base_logic.lib Require Export fancy_updates namespaces.
From iris.program_logic Require Export namespaces. From iris.base_logic.lib Require Import wsat.
From iris.program_logic Require Import wsat.
From iris.algebra Require Import gmap. From iris.algebra Require Import gmap.
From iris.proofmode Require Import tactics coq_tactics intro_patterns. From iris.proofmode Require Import tactics coq_tactics intro_patterns.
Import uPred. Import uPred.
......
From iris.program_logic Require Export invariants. From iris.base_logic.lib Require Export invariants.
From iris.algebra Require Export sts. From iris.algebra Require Export sts.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
Import uPred. Import uPred.
......
From iris.program_logic Require Export invariants. From iris.base_logic.lib Require Export invariants.
From iris.algebra Require Export gmap gset coPset. From iris.algebra Require Export gmap gset coPset.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
Import uPred. Import uPred.
......
From iris.program_logic Require Export invariants. From iris.base_logic.lib Require Export invariants.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
Definition vs `{invG Σ} (E1 E2 : coPset) (P Q : iProp Σ) : iProp Σ := Definition vs `{invG Σ} (E1 E2 : coPset) (P Q : iProp Σ) : iProp Σ :=
......
From iris.program_logic Require Export weakestpre adequacy. From iris.program_logic Require Export weakestpre adequacy.
From iris.heap_lang Require Export heap. From iris.heap_lang Require Export heap.
From iris.algebra Require Import auth. From iris.algebra Require Import auth.
From iris.program_logic Require Import wsat auth. From iris.base_logic.lib Require Import wsat auth.
From iris.heap_lang Require Import proofmode notation. From iris.heap_lang Require Import proofmode notation.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
......
From iris.heap_lang Require Export lifting. From iris.heap_lang Require Export lifting.
From iris.algebra Require Import auth gmap frac dec_agree. From iris.algebra Require Import auth gmap frac dec_agree.
From iris.program_logic Require Export invariants. From iris.base_logic.lib Require Export invariants.
From iris.program_logic Require Import wsat auth. From iris.base_logic.lib Require Import wsat auth.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
Import uPred. Import uPred.
(* TODO: The entire construction could be generalized to arbitrary languages that have (* TODO: The entire construction could be generalized to arbitrary languages that have
......
...@@ -2,8 +2,7 @@ From iris.program_logic Require Export weakestpre. ...@@ -2,8 +2,7 @@ From iris.program_logic Require Export weakestpre.
From iris.heap_lang Require Export lang. From iris.heap_lang Require Export lang.
From iris.heap_lang.lib.barrier Require Export barrier. From iris.heap_lang.lib.barrier Require Export barrier.
From iris.prelude Require Import functions. From iris.prelude Require Import functions.
From iris.base_logic Require Import big_op lib.saved_prop. From iris.base_logic Require Import big_op lib.saved_prop lib.sts.
From iris.program_logic Require Import sts.
From iris.heap_lang Require Import proofmode. From iris.heap_lang Require Import proofmode.
From iris.heap_lang.lib.barrier Require Import protocol. From iris.heap_lang.lib.barrier Require Import protocol.
......
From iris.program_logic Require Export weakestpre. From iris.program_logic Require Export weakestpre.
From iris.program_logic Require Import wsat ectx_lifting. (* for ownP *) From iris.program_logic Require Import ectx_lifting.
From iris.heap_lang Require Export lang. From iris.heap_lang Require Export lang.
From iris.heap_lang Require Import tactics. From iris.heap_lang Require Import tactics.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
......
From iris.program_logic Require Export weakestpre. From iris.program_logic Require Export weakestpre.
From iris.algebra Require Import gmap auth agree gset coPset. From iris.algebra Require Import gmap auth agree gset coPset.
From iris.base_logic Require Import big_op soundness. From iris.base_logic Require Import big_op soundness.
From iris.program_logic Require Import wsat. From iris.base_logic.lib Require Import wsat.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
Import uPred. Import uPred.
......
(** Some derived lemmas for ectx-based languages *) (** Some derived lemmas for ectx-based languages *)
From iris.program_logic Require Export ectx_language weakestpre lifting. From iris.program_logic Require Export ectx_language weakestpre lifting.
From iris.program_logic Require Import wsat.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
Section wp. Section wp.
......
From iris.program_logic Require Export weakestpre viewshifts. From iris.program_logic Require Export weakestpre.
From iris.base_logic.lib Require Export viewshifts.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
Definition ht `{irisG Λ Σ} (E : coPset) (P : iProp Σ) Definition ht `{irisG Λ Σ} (E : coPset) (P : iProp Σ)
......
From iris.program_logic Require Export weakestpre. From iris.program_logic Require Export weakestpre.
From iris.program_logic Require Import wsat.
From iris.base_logic Require Export big_op. From iris.base_logic Require Export big_op.
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
......
From iris.program_logic Require Export fancy_updates language. From iris.base_logic.lib Require Export fancy_updates.
From iris.program_logic Require Export language.
From iris.base_logic Require Import big_op. From iris.base_logic Require Import big_op.
From iris.proofmode Require Import tactics classes. From iris.proofmode Require Import tactics classes.
From iris.algebra Require Import auth. From iris.algebra Require Import auth.
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
From iris.program_logic Require Export weakestpre hoare. From iris.program_logic Require Export weakestpre hoare.
From iris.heap_lang Require Export lang. From iris.heap_lang Require Export lang.
From iris.heap_lang Require Import adequacy. From iris.heap_lang Require Import adequacy.
From iris.program_logic Require Import wsat.
From iris.heap_lang Require Import proofmode notation. From iris.heap_lang Require Import proofmode notation.
Section LiftingTests. Section LiftingTests.
......
From iris.proofmode Require Import tactics. From iris.proofmode Require Import tactics.
From iris.program_logic Require Import invariants. From iris.base_logic.lib Require Import invariants.
Lemma demo_0 {M : ucmraT} (P Q : uPred M) : Lemma demo_0 {M : ucmraT} (P Q : uPred M) :
(P Q) ( x, x = 0 x = 1) (Q P). (P Q) ( x, x = 0 x = 1) (Q P).
......
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