☰
Debian Codegraph
@
9.2.0+dfsg-4
/
/
test-suite
/
bugs
/
bug_1582.v
☽
☼
test-suite/bugs/bug_1582.v
code
plain
raw
LGPL-2.1
1999-2021 The Coq Development Team,; Institut National de Recherche en Informatique et en Automatique (INRIA),; Centre National de la Recherche Scientifique (CNRS),; Microsoft corporation; and contributors
debian/copyright
1
Require Import TestSuite.arith.
2
3
Definition fact_F :
4
forall (n:nat),
5
(forall m, m<n -> nat) ->
6
nat.
7
refine
8
(fun n fact_rec =>
9
if eq_nat_dec n 0 then
10
1
11
else
12
let fn := fact_rec (n-1) _ in
13
n * fn).
14
Admitted.