Debian Codegraph @

test-suite/bugs/bug_17183.v

raw
1 Structure atype := Pack1 {asort : Type}.
2 Structure btype := Pack2 {bsort : Type}.
3
4 Definition b2a cT := Pack1 (bsort cT).
5 Canonical Structure b2a.
6
7 Definition myf (aT : btype) (s : bsort aT) := True.
8
9 Axiom absurd : forall x, x.
10 Axiom mylemma : forall (aT : btype),
11 (1 = 0 -> True -> myf aT (absurd (asort (b2a aT)))) -> True.
12
13 Require Import ssreflect.
14
15 Lemma t : True.
16 eapply mylemma.
17 move => [].
18 (* Anomaly "decompose_prod_n_decls: integer parameter must be positive." *)
19 Abort.