Mikan
Safe HaskellNone
LanguageHaskell2010

Mikan.TypeChecking.Irrelevance

Description

Proof-irrelevant propositions.

Synopsis

Propositions

isPropM :: (LensSort a, PrettyTCM a, PureTCM m, MonadBlock m) => a -> m Bool Source #

Is a type a proposition? (Needs reduction.)

Fibrant types

isFibrant :: (LensSort a, PureTCM m, MonadBlock m) => a -> m Bool Source #

Is a type fibrant (i.e. Type, Prop)?

isCoFibrantSort :: (LensSort a, PureTCM m) => a -> m (Either Blocker Bool) Source #

Cofibrant types are those that could be the domain of a fibrant pi type. (Notion by C. Sattler).