Debian Codegraph @

test-suite/failure/guard.v

raw
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10 (*
11 Fixpoint F (n:nat) : False := F (match F n with end).
12 *)
13 (* de Bruijn mix-up *)
14 (* If accepted, Eval compute in f 0. loops *)
15 Fail Definition f :=
16 let f (f1 f2:nat->nat) := f1 in
17 let _ := 0 in
18 let _ := 0 in
19 let g (f1 f2:nat->nat) := f2 in
20 let h := f in (* h = Rel 4 *)
21 fix F (n:nat) : nat :=
22 h F S n. (* here Rel 4 = g *)
23