rzk-0.11.4: An experimental proof assistant for synthetic ∞-categories
Safe HaskellNone
LanguageHaskell2010

Rzk.TypeCheck.Schematic

Description

Check schematic dRzk declarations without treating universes as object types. Family arguments are checked at their indices. Schematic rules, such as function extensionality, may also be parameters of a declaration. Postulates supply trusted rules; checking their statements does not prove them.

Synopsis

Documentation

checkSchematicDeclaration :: forall (n :: S). Distinct n => TermT n -> Maybe (TermT n) -> TypeCheck n (CheckedSchematicDeclaration n) Source #

Validate an elaborated declaration and the definitions used by its proof. This supplements dRzk typing with kind checks; it is not a separate RSTT kernel.

recordSchematicDeclaration :: forall (n :: S). Distinct n => VarIdent -> TermT n -> Maybe (TermT n) -> TypeCheck n SchematicStatus Source #

Apply the selected safe-mode policy and return whether validation succeeded.