File: bug.v

package info (click to toggle)
paramcoq 1.1.3%2Bcoq8.16-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 444 kB
  • sloc: ml: 1,677; python: 112; sh: 61; makefile: 54
file content (23 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Require Import Parametricity.

Definition n1 := 3.
Definition n2 := 2.
Definition n3 := 0.

Inductive I1 (p := n1) (q := n2) (n : nat) (r := n) : Type := c1.
Inductive I2 : let p := n2 in Type := c2.
Inductive I3 : Type := c3 : let p := n3 in I3.

Inductive J : I1 n2 -> I2 -> I3 -> Type :=
  | cj : J (c1 n2) c2 c3.
Inductive K : I1 n3 -> I2 -> I3 -> Type := .

Definition T := I1 n2 -> I2 -> I3.
Definition C := c1.

Set Parametricity Debug.

Parametricity Recursive nat.

Parametricity Recursive I1.