| 1 |
(* About binders which remain unnamed after typing *) |
| 2 |
|
| 3 |
Global Set Asymmetric Patterns. |
| 4 |
|
| 5 |
Definition proj2_sig_map {A} {P Q : A -> Prop} (f : forall a, P a -> Q a) (x : |
| 6 |
@sig A P) : @sig A Q |
| 7 |
:= let 'exist a p := x in exist Q a (f a p). |
| 8 |
Axioms (feBW' : Type) (g : Prop -> Prop) (f' : feBW' -> Prop). |
| 9 |
Definition foo := @proj2_sig_map feBW' (fun H => True = f' _) (fun H => |
| 10 |
g True = g (f' H)) |
| 11 |
(fun (a : feBW') (p : (fun H : feBW' => True = |
| 12 |
f' H) a) => @f_equal Prop Prop g True (f' a) p). |
| 13 |
Print foo. |
| 14 |
Goal True. |
| 15 |
lazymatch type of foo with |
| 16 |
| sig (fun a : ?A => ?P) -> _ |
| 17 |
=> pose (fun a : A => a = a /\ P = P) |
| 18 |
end. |
| 19 |
Abort. |