open import Graded.Modality
open import Graded.Usage.Restrictions
module Graded.Usage.Decidable.Assumptions
{a} {M : Set a}
{π : Modality M}
(R : Usage-restrictions π)
where
open Modality π
open Usage-restrictions R
open import Graded.Context π
open import Graded.Context.Properties π
open import Graded.Modality.Properties π hiding (has-nr)
open import Graded.Usage.Restrictions.Natrec π
open import Tools.Nat using (Nat)
open import Tools.PropositionalEquality
open import Tools.Relation
open import Tools.Sum
private variable
n : Nat
record Assumptions : Set a where
no-eta-equality
infix 10 _β_ _β€?_ _β€αΆ?_
field
_β_ : Decidable (_β‘_ {A = M})
Prodrec-allowed? : β m r p q β Dec (Prodrec-allowed m r p q)
Unitrec-allowed? : β m p q β Dec (Unitrec-allowed m p q)
Emptyrec-allowed? : β m p β Dec (Emptyrec-allowed m p)
[]-cong-allowed-mode? : β s m β Dec ([]-cong-allowed-mode s m)
instance
β¦ inference-ok β¦ : Natrec-mode-supports-usage-inference natrec-mode
no-sink-or-β€π : Β¬ StarΛ’-sink β (β {p} β p β€ π)
_β€?_ : Decidable _β€_
_β€?_ = β‘-decidableββ€-decidable _β_
_β€αΆ?_ : Decidable (_β€αΆ_ {n = n})
_β€αΆ?_ = β€αΆ-decidable _β€?_