Commit e252709e authored by Ralf Jung's avatar Ralf Jung
Browse files

use options file everywhere that we so far set 'Proof using'

parent c76d4bea
......@@ -4,7 +4,7 @@ From iris.base_logic.lib Require Export invariants.
From iris.program_logic Require Export weakestpre.
From iris.heap_lang Require Export lang.
From iris.heap_lang Require Import proofmode notation.
Set Default Proof Using "Type".
From iris Require Import options.
Definition spawn : val :=
λ: "f",
......
......@@ -4,7 +4,7 @@ From iris.program_logic Require Export weakestpre.
From iris.heap_lang Require Export lang.
From iris.heap_lang Require Import proofmode notation.
From iris.heap_lang.lib Require Import lock.
Set Default Proof Using "Type".
From iris Require Import options.
Definition newlock : val := λ: <>, ref #false.
Definition try_acquire : val := λ: "l", CAS "l" #false #true.
......
......@@ -4,7 +4,7 @@ From iris.program_logic Require Export weakestpre.
From iris.heap_lang Require Export lang.
From iris.heap_lang Require Import proofmode notation.
From iris.heap_lang.lib Require Export lock.
Set Default Proof Using "Type".
From iris Require Import options.
Import uPred.
Definition wait_loop: val :=
......
From iris.program_logic Require Import language.
From iris.heap_lang Require Export lang.
Set Default Proof Using "Type".
From iris Require Import options.
(** Coercions to make programs easier to type. *)
Coercion LitInt : Z >-> base_lit.
......
......@@ -10,7 +10,7 @@ From iris.program_logic Require Export weakestpre total_weakestpre.
From iris.program_logic Require Import ectx_lifting total_ectx_lifting.
From iris.heap_lang Require Export lang.
From iris.heap_lang Require Import tactics notation.
Set Default Proof Using "Type".
From iris Require Import options.
Class heapG Σ := HeapG {
heapG_invG : invG Σ;
......
......@@ -3,7 +3,7 @@ From iris.proofmode Require Export tactics.
From iris.program_logic Require Import atomic.
From iris.heap_lang Require Export tactics derived_laws.
From iris.heap_lang Require Import notation.
Set Default Proof Using "Type".
From iris Require Import options.
Import uPred.
Lemma tac_wp_expr_eval `{!heapG Σ} Δ s E Φ e e' :
......
From iris.heap_lang Require Export lang.
Set Default Proof Using "Type".
From iris Require Import options.
Import heap_lang.
(** The tactic [reshape_expr e tac] decomposes the expression [e] into an
......
......@@ -2,7 +2,7 @@ From iris.proofmode Require Import tactics.
From iris.program_logic Require Export total_adequacy.
From iris.heap_lang Require Export adequacy.
From iris.heap_lang Require Import proofmode notation.
Set Default Proof Using "Type".
From iris Require Import options.
Definition heap_total Σ `{!heapPreG Σ} s e σ φ :
( `{!heapG Σ}, inv_heap_inv - WP e @ s; [{ v, ⌜φ v }])
......
......@@ -2,7 +2,7 @@ From iris.proofmode Require Import tactics.
From iris.algebra Require Import gmap auth agree gset coPset.
From iris.base_logic.lib Require Import wsat.
From iris.program_logic Require Export weakestpre.
Set Default Proof Using "Type".
From iris Require Import options.
Import uPred.
(** This file contains the adequacy statements of the Iris program logic. First
......
......@@ -4,7 +4,7 @@ From iris.bi.lib Require Export atomic.
From iris.proofmode Require Import tactics classes.
From iris.program_logic Require Export weakestpre.
From iris.base_logic Require Import invariants.
Set Default Proof Using "Type".
From iris Require Import options.
(* This hard-codes the inner mask to be empty, because we have yet to find an
example where we want it to be anything else. *)
......
......@@ -2,7 +2,7 @@
that this gives rise to a "language" in the Iris sense. *)
From iris.algebra Require Export base.
From iris.program_logic Require Import language.
Set Default Proof Using "Type".
From iris Require Import options.
(** TAKE CARE: When you define an [ectxLanguage] canonical structure for your
language, you need to also define a corresponding [language] canonical
......
(** Some derived lemmas for ectx-based languages *)
From iris.proofmode Require Import tactics.
From iris.program_logic Require Export ectx_language weakestpre lifting.
Set Default Proof Using "Type".
From iris Require Import options.
Section wp.
Context {Λ : ectxLanguage} `{!irisG Λ Σ} {Hinh : Inhabited (state Λ)}.
......
......@@ -2,7 +2,7 @@
a proof that these are instances of general ectx-based languages. *)
From iris.algebra Require Export base.
From iris.program_logic Require Import language ectx_language.
Set Default Proof Using "Type".
From iris Require Import options.
(** TAKE CARE: When you define an [ectxiLanguage] canonical structure for your
language, you need to also define a corresponding [language] and [ectxLanguage]
......
From iris.proofmode Require Import tactics.
From iris.base_logic.lib Require Export viewshifts.
From iris.program_logic Require Export weakestpre.
Set Default Proof Using "Type".
From iris Require Import options.
Definition ht `{!irisG Λ Σ} (s : stuckness) (E : coPset) (P : iProp Σ)
(e : expr Λ) (Φ : val Λ iProp Σ) : iProp Σ :=
......
From iris.algebra Require Export ofe.
Set Default Proof Using "Type".
From iris Require Import options.
Section language_mixin.
Context {expr val state observation : Type}.
......
......@@ -3,7 +3,7 @@ semantics to the program logic. *)
From iris.proofmode Require Import tactics.
From iris.program_logic Require Export weakestpre.
Set Default Proof Using "Type".
From iris Require Import options.
Section lifting.
Context `{!irisG Λ Σ}.
......
......@@ -3,7 +3,7 @@ From iris.algebra Require Import lib.excl_auth.
From iris.program_logic Require Export weakestpre.
From iris.program_logic Require Import lifting adequacy.
From iris.program_logic Require ectx_language.
Set Default Proof Using "Type".
From iris Require Import options.
(**
This module provides an interface to handling ownership of the global state that
......
......@@ -2,7 +2,7 @@ From iris.bi Require Import big_op fixpoint.
From iris.proofmode Require Import tactics.
From iris.algebra Require Import gmap auth agree gset coPset list.
From iris.program_logic Require Export total_weakestpre adequacy.
Set Default Proof Using "Type".
From iris Require Import options.
Import uPred.
Section adequacy.
......
(** Some derived lemmas for ectx-based languages *)
From iris.proofmode Require Import tactics.
From iris.program_logic Require Export ectx_language total_weakestpre total_lifting.
Set Default Proof Using "Type".
From iris Require Import options.
Section wp.
Context {Λ : ectxLanguage} `{!irisG Λ Σ} {Hinh : Inhabited (state Λ)}.
......
From iris.bi Require Export big_op.
From iris.proofmode Require Import tactics.
From iris.program_logic Require Export total_weakestpre.
Set Default Proof Using "Type".
From iris Require Import options.
Section lifting.
Context `{!irisG Λ Σ}.
......
Supports Markdown
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