File: bug_18920.v

package info (click to toggle)
rocq-stdlib 9.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 11,828 kB
  • sloc: python: 2,928; sh: 444; makefile: 319; javascript: 24; ml: 2
file content (8 lines) | stat: -rw-r--r-- 402 bytes parent folder | download
1
2
3
4
5
6
7
8
(* Check that obligations resulting from evars in the binders are
   correctly substituted for wf/measure fixpoints *)
From Stdlib Require Import Program.
Program Fixpoint f (A : nat * _) (n:nat) {measure n} : nat :=
    match n with 0 => 0 | S n => f A n end.
Next Obligation. exact nat. Defined.
Next Obligation. Admitted.
(* used to return an Anomaly "in econstr: grounding a non evar-free term" *)