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
From stdpp Require Import finite.
From iris.bi Require Import notation.
From iris.algebra Require Export cmra updates.
Set Default Proof Using "Type".
From iris Require Import options.
Local Hint Extern 1 (_ _) => etrans; [eassumption|] : core.
Local Hint Extern 1 (_ _) => etrans; [|eassumption] : core.
Local Hint Extern 10 (_ _) => lia : core.
......
From iris.bi Require Export derived_laws derived_laws_later big_op.
From iris.bi Require Export updates internal_eq plainly embedding.
Set Default Proof Using "Type".
From iris Require Import options.
Module Import bi.
Export bi.interface.bi.
......
From stdpp Require Import countable fin_sets functions.
From iris.bi Require Import derived_laws_later.
From iris.algebra Require Export big_op.
Set Default Proof Using "Type".
From iris Require Import options.
Import interface.bi derived_laws.bi derived_laws_later.bi.
(** Notations for unary variants *)
......
......@@ -2,7 +2,7 @@ From stdpp Require Import coPset namespaces.
From iris.bi Require Export bi updates laterable.
From iris.bi.lib Require Import fixpoint.
From iris.proofmode Require Import coq_tactics tactics reduction.
Set Default Proof Using "Type".
From iris Require Import options.
(** Conveniently split a conjunction on both assumption and conclusion. *)
Local Tactic Notation "iSplitWith" constr(H) :=
......
From iris.bi Require Export bi plainly.
From iris.proofmode Require Import tactics.
Set Default Proof Using "Type".
From iris Require Import options.
Import bi.
(** The "core" of an assertion is its maximal persistent part,
......
From iris.bi Require Export bi.
From iris.proofmode Require Import classes class_instances.
Set Default Proof Using "Type".
From iris Require Import options.
Class Fractional {PROP : bi} (Φ : Qp PROP) :=
fractional p q : Φ (p + q)%Qp Φ p Φ q.
......
From iris.bi Require Export bi.
From iris.proofmode Require Import tactics.
Set Default Proof Using "Type".
From iris Require Import options.
(** The class of laterable assertions *)
Class Laterable {PROP : bi} (P : PROP) := laterable :
......
From stdpp Require Import gmap.
From iris.bi Require Export bi.
Set Default Proof Using "Type".
From iris Require Import options.
Import bi.
Module bi_reflection. Section bi_reflection.
......
......@@ -2,7 +2,7 @@ From iris.proofmode Require Import tactics.
From iris.algebra Require Import auth.
From iris.program_logic Require Export weakestpre adequacy.
From iris.heap_lang Require Import proofmode notation.
Set Default Proof Using "Type".
From iris Require Import options.
Class heapPreG Σ := HeapPreG {
heap_preG_iris :> invPreG Σ;
......
......@@ -9,7 +9,7 @@ From iris.bi Require Import lib.fractional.
From iris.proofmode Require Import tactics.
From iris.heap_lang Require Export primitive_laws.
From iris.heap_lang Require Import tactics notation.
Set Default Proof Using "Type".
From iris Require Import options.
(** The [array] connective is a version of [mapsto] that works
with lists of values. *)
......
......@@ -3,7 +3,7 @@ From stdpp Require Import gmap.
From iris.algebra Require Export ofe.
From iris.program_logic Require Export language ectx_language ectxi_language.
From iris.heap_lang Require Export locations.
Set Default Proof Using "Type".
From iris Require Import options.
(** heap_lang. A fairly simple language used for common Iris examples.
......
......@@ -2,7 +2,7 @@ From iris.proofmode Require Import tactics.
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.
(** A library defining binary [minimum] and [maximum] functions, together with
their expected specs. These operations come up often when working manipulating
......
......@@ -2,7 +2,7 @@ From iris.proofmode Require Import tactics.
From iris.program_logic Require Export weakestpre.
From iris.heap_lang Require Export derived_laws.
From iris.heap_lang Require Import proofmode notation.
Set Default Proof Using "Type".
From iris Require Import options.
(** Provides some array utilities:
......
......@@ -2,7 +2,7 @@ From iris.proofmode Require Import tactics.
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 assert : val :=
λ: "v", if: "v" #() then #() else #0 #0. (* #0 #0 is unsafe *)
......
......@@ -3,7 +3,7 @@ From iris.proofmode Require Import tactics.
From iris.program_logic Require Export atomic.
From iris.heap_lang Require Export derived_laws.
From iris.heap_lang Require Import notation proofmode.
Set Default Proof Using "Type".
From iris Require Import options.
(** A general logically atomic interface for a heap. *)
Class atomic_heap {Σ} `{!heapG Σ} := AtomicHeap {
......
......@@ -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 newcounter : val := λ: <>, ref #0.
Definition incr : val := rec: "incr" "l" :=
......
......@@ -2,7 +2,7 @@ From iris.proofmode Require Import tactics.
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.
(** This library provides a [diverge] function that goes into an infinite loop
when provided with an (arbitrary) argument value. This function can be used to
......
......@@ -3,7 +3,7 @@ From iris.proofmode Require Import tactics.
From iris.base_logic.lib Require Export invariants.
From iris.program_logic Require Export atomic.
From iris.heap_lang Require Import proofmode notation atomic_heap par.
Set Default Proof Using "Type".
From iris Require Import options.
(** Show that implementing fetch-and-add on top of CAS preserves logical
atomicity. *)
......
From iris.base_logic.lib Require Export invariants.
From iris.heap_lang Require Import primitive_laws notation.
Set Default Proof Using "Type".
From iris Require Import options.
Structure lock Σ `{!heapG Σ} := Lock {
(** * Operations *)
......
From iris.heap_lang Require Import proofmode notation.
From iris.heap_lang Require Export spawn.
Set Default Proof Using "Type".
From iris Require Import options.
Import uPred.
Definition parN : namespace := nroot .@ "par".
......
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