File: test27.elpi

package info (click to toggle)
elpi 2.0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 50,296 kB
  • sloc: ml: 18,791; makefile: 229; python: 95; sh: 7
file content (13 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
kind tm type.

type app tm -> tm -> tm.
type lam (tm -> tm) -> tm.
type const int -> tm.

:functional
pred p i:tm, o:tm.
p (lam (x\ lam (y\ B x y))) (lam (x\ lam (y\ B x y))).
% Overlap with HO terms: B x y overlaps with A x
p (lam (x\ lam (A x))) (lam (x\ lam (A x))).

main.