Commit e2882b61 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Support envs_lookup_delete in internal iAssumptionCore tactic.

parent 711bead3
Pipeline #3966 passed with stage
in 2 minutes and 54 seconds
......@@ -122,6 +122,10 @@ Tactic Notation "iAssumptionCore" :=
first [is_evar i; fail 1 | env_cbv; reflexivity]
| |- envs_lookup ?i (Envs ?Γp ?Γs) = Some (_, ?P) =>
is_evar i; first [find Γp i P | find Γs i P]; env_cbv; reflexivity
| |- envs_lookup_delete ?i (Envs ?Γp ?Γs) = Some (_, ?P, _) =>
first [is_evar i; fail 1 | env_cbv; reflexivity]
| |- envs_lookup_delete ?i (Envs ?Γp ?Γs) = Some (_, ?P, _) =>
is_evar i; first [find Γp i P | find Γs i P]; env_cbv; reflexivity
end.
Tactic Notation "iAssumption" :=
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment