Debian Codegraph @

test-suite/bugs/bug_4502.v

raw
1 Require Import TestSuite.funind.
2
3 Set Universe Polymorphism.
4 Set Primitive Projections.
5 Set Implicit Arguments.
6 Set Strongly Strict Implicit.
7
8 Function first_false (n : nat) (f : nat -> bool) : option nat :=
9 match n with
10 | O => None
11 | S m =>
12 match first_false m f with
13 | (Some _) as s => s
14 | None => if f m then None else Some m
15 end
16 end.
17 (* undefined universe *)