Skip to content

uncaught Not_found with abstract and evars #21325

@SkySkimmer

Description

@SkySkimmer
Inductive equal T (x : T) : T -> Type := Equal : equal T x x.

Goal forall a b, equal nat a b -> a  = b.
  intros a b H.
  eassert (equal_rew : _) by abstract exact (fun (T : Type) (x : T) (P : T -> Type)
  (f : P x) (t : T) (e : equal T x t) =>
match e in (equal _ _ t0) return (P t0) with
| Equal _ _ => f
end).
  eassert (equal_rew_r : _) by abstract exact (fun (T : Type@{equal.u0}) (x y : T) (P : T -> Type)
  (HC : P y) (X : equal T x y) =>
match X in (equal _ _ y0) return (P y0 -> P x) with
| Equal _ _ => fun HC0 : P x => HC0
end HC).

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: anomalyAn uncaught exception has been raised.kind: bugAn error, flaw, fault or unintended behaviour.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions