Enum fungi_lang::decide::RelCtx[][src]

pub enum RelCtx {
    Empty,
    Ctx(Ctx),
    NVarEquiv(RelCtxRecVarVarSort),
    NVarApart(RelCtxRecVarVarSort),
    IVarEquiv(RelCtxRecVarVarSort),
    IVarApart(RelCtxRecVarVarSort),
    PropTrue(RelCtxRecProp),
    TVarRelated(RelCtxRecVarVar),
}

Relational typing context: Relates pairs of variables, terms, etc

Variants

Basecase 1: empty context

Basecase 2: Non-relational typing context

Assume a name variable equivalence, at a common sort

Assume a name variable apartness, at a common sort

Assume an index variable equivalence, at a common sort

Assume an index variable apartness, at a common sort

Assume a proposition is true

Type variables are related: TODO: Kinds?

Methods

impl RelCtx
[src]

Trait Implementations

impl Display for RelCtx
[src]

Formats the value using the given formatter. Read more

impl Clone for RelCtx
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RelCtx
[src]

Formats the value using the given formatter. Read more

impl Eq for RelCtx
[src]

impl PartialEq for RelCtx
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for RelCtx
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for RelCtx

impl !Sync for RelCtx