]> matita.cs.unibo.it Git - helm.git/blob - matita/contribs/LAMBDA-TYPES/LambdaDelta-1/llt/defs.ma
tagged 0.5.0-rc1
[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 include "LambdaDelta-1/A/defs.ma".
18
19 definition lweight:
20  A \to nat
21 \def
22  let rec lweight (a: A) on a: nat \def (match a with [(ASort _ _) \Rightarrow 
23 O | (AHead a1 a2) \Rightarrow (S (plus (lweight a1) (lweight a2)))]) in 
24 lweight.
25
26 definition llt:
27  A \to (A \to Prop)
28 \def
29  \lambda (a1: A).(\lambda (a2: A).(lt (lweight a1) (lweight a2))).
30