Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unif_rule does not convert metavariables into pattern variables #572

Open
fblanqui opened this issue Feb 17, 2021 · 1 comment
Open

unif_rule does not convert metavariables into pattern variables #572

fblanqui opened this issue Feb 17, 2021 · 1 comment

Comments

@fblanqui
Copy link
Member

constant symbol Set : TYPE;
injective symbol τ : Set → TYPE;

constant symbol prop : Set;
symbol Prop ≔ τ prop;
injective symbol π : Prop → TYPE;

constant symbol ∀ {a} : (τ a → Prop) → Prop;
set quantifier ∀;

set verbose 3;
set flag "print_implicits" on;
set flag "print_domains" on;
set unif_rule π $p ≡ Π x, π $q[x] ↪ [ $p ≡ `∀ x, $q[x] ];
// (hint) [#equiv (π $v0_p) (Π x: $v1, π $v2_q[x]) ↪ #equiv $v0_p (`∀ x: {|?0|}, $v2_q[x])]

// this can later create the following error:
// Uncaught exception: File "src/core/sign.ml", line 191, characters 22-28: Assertion failed.
@fblanqui fblanqui changed the title set unif_rule does not convert metavariables into pattern variables unif_rule does not convert metavariables into pattern variables Dec 15, 2021
@fblanqui
Copy link
Member Author

fblanqui commented Aug 1, 2023

Requires #1010 to be fixed first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant