Commit 71abda4d authored by Ralf Jung's avatar Ralf Jung
Browse files

make "make quick" quick by adding hints about the used section variables

This patch was created using

  find -name *.v | xargs -L 1 awk -i inplace '{from = 0} /^From/{ from = 1; ever_from = 1} { if (from == 0 && seen == 0 && ever_from == 1) { print "Set Default Proof Using \"Type*\"."; seen = 1 } }1 '

and some minor manual editing
parent e0789039
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
From iris.algebra Require Import list. From iris.algebra Require Import list.
From iris.base_logic Require Import base_logic. From iris.base_logic Require Import base_logic.
(* FIXME: This file needs a 'Proof Using' hint. *)
Local Arguments validN _ _ _ !_ /. Local Arguments validN _ _ _ !_ /.
Local Arguments valid _ _ !_ /. Local Arguments valid _ _ !_ /.
Local Arguments op _ _ _ !_ /. Local Arguments op _ _ _ !_ /.
......
From iris.algebra Require Export excl local_updates. From iris.algebra Require Export excl local_updates.
From iris.base_logic Require Import base_logic. From iris.base_logic Require Import base_logic.
From iris.proofmode Require Import classes. From iris.proofmode Require Import classes.
Set Default Proof Using "Type*".
Record auth (A : Type) := Auth { authoritative : excl' A; auth_own : A }. Record auth (A : Type) := Auth { authoritative : excl' A; auth_own : A }.
Add Printing Constructor auth. Add Printing Constructor auth.
......
From mathcomp Require Export ssreflect. From mathcomp Require Export ssreflect.
From iris.prelude Require Export prelude. From iris.prelude Require Export prelude.
Set Default Proof Using "Type*".
Global Set Bullet Behavior "Strict Subproofs". Global Set Bullet Behavior "Strict Subproofs".
Global Open Scope general_if_scope. Global Open Scope general_if_scope.
Ltac done := prelude.tactics.done. Ltac done := prelude.tactics.done.
\ No newline at end of file
From iris.algebra Require Export ofe. From iris.algebra Require Export ofe.
Set Default Proof Using "Type*".
Class PCore (A : Type) := pcore : A option A. Class PCore (A : Type) := pcore : A option A.
Instance: Params (@pcore) 2. Instance: Params (@pcore) 2.
......
From iris.algebra Require Export cmra list. From iris.algebra Require Export cmra list.
From iris.prelude Require Import functions gmap gmultiset. From iris.prelude Require Import functions gmap gmultiset.
Set Default Proof Using "Type*".
(** The operator [ [⋅] Ps ] folds [⋅] over the list [Ps]. This operator is not a (** The operator [ [⋅] Ps ] folds [⋅] over the list [Ps]. This operator is not a
quantifier, so it binds strongly. quantifier, so it binds strongly.
......
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
From iris.algebra Require Import cmra_big_op. From iris.algebra Require Import cmra_big_op.
Set Default Proof Using "Type*".
(** * Simple solver for validity and inclusion by reflection *) (** * Simple solver for validity and inclusion by reflection *)
Module ra_reflection. Section ra_reflection. Module ra_reflection. Section ra_reflection.
......
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
From iris.algebra Require Import updates local_updates. From iris.algebra Require Import updates local_updates.
From iris.prelude Require Export collections coPset. From iris.prelude Require Export collections coPset.
Set Default Proof Using "Type*".
(** This is pretty much the same as algebra/gset, but I was not able to (** This is pretty much the same as algebra/gset, but I was not able to
generalize the construction without breaking canonical structures. *) generalize the construction without breaking canonical structures. *)
......
From iris.algebra Require Export ofe. From iris.algebra Require Export ofe.
Set Default Proof Using "Type*".
Record solution (F : cFunctor) := Solution { Record solution (F : cFunctor) := Solution {
solution_car :> ofeT; solution_car :> ofeT;
......
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
From iris.base_logic Require Import base_logic. From iris.base_logic Require Import base_logic.
From iris.algebra Require Import local_updates. From iris.algebra Require Import local_updates.
Set Default Proof Using "Type*".
Local Arguments pcore _ _ !_ /. Local Arguments pcore _ _ !_ /.
Local Arguments cmra_pcore _ !_ /. Local Arguments cmra_pcore _ !_ /.
Local Arguments validN _ _ _ !_ /. Local Arguments validN _ _ _ !_ /.
......
From iris.algebra Require Import ofe cmra. From iris.algebra Require Import ofe cmra.
Set Default Proof Using "Type*".
(* Old notation for backwards compatibility. *) (* Old notation for backwards compatibility. *)
......
From iris.algebra Require Export cmra updates. From iris.algebra Require Export cmra updates.
Set Default Proof Using "Type*".
Record DRAMixin A `{Equiv A, Core A, Disjoint A, Op A, Valid A} := { Record DRAMixin A `{Equiv A, Core A, Disjoint A, Op A, Valid A} := {
(* setoids *) (* setoids *)
......
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
From iris.base_logic Require Import base_logic. From iris.base_logic Require Import base_logic.
Set Default Proof Using "Type*".
Local Arguments validN _ _ _ !_ /. Local Arguments validN _ _ _ !_ /.
Local Arguments valid _ _ !_ /. Local Arguments valid _ _ !_ /.
......
From Coq.QArith Require Import Qcanon. From Coq.QArith Require Import Qcanon.
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
Set Default Proof Using "Type*".
Notation frac := Qp (only parsing). Notation frac := Qp (only parsing).
......
...@@ -2,6 +2,7 @@ From iris.algebra Require Export cmra. ...@@ -2,6 +2,7 @@ From iris.algebra Require Export cmra.
From iris.prelude Require Export gmap. From iris.prelude Require Export gmap.
From iris.algebra Require Import updates local_updates. From iris.algebra Require Import updates local_updates.
From iris.base_logic Require Import base_logic. From iris.base_logic Require Import base_logic.
Set Default Proof Using "Type*".
Section cofe. Section cofe.
Context `{Countable K} {A : ofeT}. Context `{Countable K} {A : ofeT}.
......
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
From iris.algebra Require Import updates local_updates. From iris.algebra Require Import updates local_updates.
From iris.prelude Require Export collections gmap mapset. From iris.prelude Require Export collections gmap mapset.
Set Default Proof Using "Type*".
(* The union CMRA *) (* The union CMRA *)
Section gset. Section gset.
......
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
From iris.base_logic Require Import base_logic. From iris.base_logic Require Import base_logic.
From iris.prelude Require Import finite. From iris.prelude Require Import finite.
Set Default Proof Using "Type*".
(** * Indexed product *) (** * Indexed product *)
(** Need to put this in a definition to make canonical structures to work. *) (** Need to put this in a definition to make canonical structures to work. *)
......
...@@ -2,6 +2,7 @@ From iris.algebra Require Export cmra. ...@@ -2,6 +2,7 @@ From iris.algebra Require Export cmra.
From iris.prelude Require Export list. From iris.prelude Require Export list.
From iris.base_logic Require Import base_logic. From iris.base_logic Require Import base_logic.
From iris.algebra Require Import updates local_updates. From iris.algebra Require Import updates local_updates.
Set Default Proof Using "Type*".
Section cofe. Section cofe.
Context {A : ofeT}. Context {A : ofeT}.
......
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
Set Default Proof Using "Type*".
(** * Local updates *) (** * Local updates *)
Definition local_update {A : cmraT} (x y : A * A) := n mz, Definition local_update {A : cmraT} (x y : A * A) := n mz,
......
From iris.algebra Require Export base. From iris.algebra Require Export base.
Set Default Proof Using "Type*".
(** This files defines (a shallow embedding of) the category of OFEs: (** This files defines (a shallow embedding of) the category of OFEs:
Complete ordered families of equivalences. This is a cartesian closed Complete ordered families of equivalences. This is a cartesian closed
......
From iris.prelude Require Export set. From iris.prelude Require Export set.
From iris.algebra Require Export cmra. From iris.algebra Require Export cmra.
From iris.algebra Require Import dra. From iris.algebra Require Import dra.
Set Default Proof Using "Type*".
Local Arguments valid _ _ !_ /. Local Arguments valid _ _ !_ /.
Local Arguments op _ _ !_ !_ /. Local Arguments op _ _ !_ !_ /.
Local Arguments core _ _ !_ /. Local Arguments core _ _ !_ /.
......
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