pyk.k2lean4.model module
- final class Abbrev(ident: 'str | DeclId', val: 'Term', signature: 'Signature | None' = None, modifiers: 'Modifiers | None' = None)[source]
Bases:
Declaration
- final class Ctor(ident: 'str', signature: 'Signature | None' = None, modifiers: 'Modifiers | None' = None)[source]
Bases:
object
- ident: str
- final class DeclId(val: 'str', uvars: 'Iterable[str] | None' = None)[source]
Bases:
object
- uvars: tuple[str, ...]
- val: str
- final class ExplBinder(idents: 'Iterable[str]', ty: 'Term | None' = None)[source]
Bases:
BracketBinder
- idents: tuple[str, ...]
- final class ImplBinder(idents: 'Iterable[str]', ty: 'Term | None' = None, *, strict: 'bool | None' = None)[source]
Bases:
BracketBinder
- idents: tuple[str, ...]
- strict: bool
- final class Inductive(ident: 'str | DeclId', signature: 'Signature | None' = None, ctors: 'Iterable[Ctor] | None' = None, deriving: 'Iterable[str] | None' = None, modifiers: 'Modifiers | None' = None)[source]
Bases:
Declaration
- deriving: tuple[str, ...]
- final class InstBinder(ty: 'Term', ident: 'str | None' = None)[source]
Bases:
BracketBinder
- ident: str | None
- final class Modifiers(*, attrs: 'Iterable[str | Attr] | None' = None, visibility: 'str | Visibility | None' = None, noncomputable: 'bool | None' = None, unsafe: 'bool | None' = None, totality: 'str | Totality | None' = None)[source]
Bases:
object
- noncomputable: bool
- unsafe: bool
- visibility: Visibility | None
- final class Signature(binders: 'Iterable[Binder] | None' = None, ty: 'Term | None' = None)[source]
Bases:
object