Commit 7b222a9f authored by Robbert Krebbers's avatar Robbert Krebbers

Support envs_lookup_delete in internal iAssumptionCore tactic.

parent 783e8a10
...@@ -122,6 +122,10 @@ Tactic Notation "iAssumptionCore" := ...@@ -122,6 +122,10 @@ Tactic Notation "iAssumptionCore" :=
first [is_evar i; fail 1 | env_cbv; reflexivity] first [is_evar i; fail 1 | env_cbv; reflexivity]
| |- envs_lookup ?i (Envs ?Γp ?Γs) = Some (_, ?P) => | |- envs_lookup ?i (Envs ?Γp ?Γs) = Some (_, ?P) =>
is_evar i; first [find Γp i P | find Γs i P]; env_cbv; reflexivity 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. end.
Tactic Notation "iAssumption" := 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