Debian Codegraph @

test-suite/output/auto_order.v

raw
1 Create HintDb plus.
2 Hint Constants Opaque : plus.
3 Hint Projections Opaque : plus.
4 Hint Variables Opaque : plus.
5
6 Hint Extern 1 => idtac "first"; fail : plus.
7 Hint Extern 1 => idtac "second"; fail : plus.
8
9 Hint Extern 2 => idtac "third"; fail : plus.
10 Hint Extern 2 => idtac "fourth"; fail : plus.
11
12 Create HintDb plus2.
13 Hint Constants Opaque : plus2.
14 Hint Projections Opaque : plus2.
15 Hint Variables Opaque : plus2.
16
17 Hint Extern 1 => idtac "fifth, different hintDb"; fail : plus2.
18
19 Print HintDb plus.
20
21 Goal False.
22 (* auto tries hintdbs in order, ignoring cost.
23 the others apply cost across hintdbs *)
24 info_auto with plus plus2 nocore.
25 info_eauto with plus plus2 nocore.
26 Fail typeclasses eauto with plus plus2 nocore.
27
28 Abort.