Skip to content

Internal error during subject reduction verification #1402

@bodeveix

Description

@bodeveix

I get the following message: "Bug. Introduced symbol [$12] cannot be removed. Please contact the developers." when checking the following code:

constant symbol Prop: TYPE;
injective symbol π: Prop → TYPE;
constant symbol Set: TYPE;
injective symbol τ:Set → TYPE;
constant symbol σℙ: Set → Set;
constant symbol = [T]: τ T → τ T → Prop;
notation = infix 10;

constant symbol ⊆ [T:Set]: τ (σℙ T) → τ (σℙ T) → Prop;
notation ⊆ infix 10;

constant symbol cset [T:Set]: (τ T → Prop) → τ (σℙ T);
notation cset quantifier;

constant symbol ℙ: Π [T:Set], τ (σℙ T) → τ (σℙ (σℙ T));

symbol isAll [T] (S: τ (σℙ T)): Prop ≔ (`cset u, u ⊆ S) = ℙ S;

symbol apply_erule [T]: τ T → τ T;
symbol check_erule [T] (e: τ T) : π (e = apply_erule e);

symbol prf : Π (T:Set) (S: τ (σℙ T)), π (isAll S);

rule apply_erule (`cset (x:τ (σℙ $T)), x ⊆ $S.[]) ↪ ℙ $S.[];

rule check_erule [(σℙ (σℙ $T))] (`cset x, x ⊆ $S.[]) ↪ prf $T $S;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions