]> matita.cs.unibo.it Git - helm.git/blob - matita/contribs/LAMBDA-TYPES/LambdaDelta-1/llt/defs.ma
19ef144865d3288fb338b2209df9d56d03d3dded
[helm.git] / matita / contribs / LAMBDA-TYPES / LambdaDelta-1 / llt / defs.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 (* This file was automatically generated: do not edit *********************)
16
17 set "baseuri" "cic:/matita/LAMBDA-TYPES/LambdaDelta-1/llt/defs".
18
19 include "A/defs.ma".
20
21 definition lweight:
22  A \to nat
23 \def
24  let rec lweight (a: A) on a: nat \def (match a with [(ASort _ _) \Rightarrow 
25 O | (AHead a1 a2) \Rightarrow (S (plus (lweight a1) (lweight a2)))]) in 
26 lweight.
27
28 definition llt:
29  A \to (A \to Prop)
30 \def
31  \lambda (a1: A).(\lambda (a2: A).(lt (lweight a1) (lweight a2))).
32