]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_1/llt/defs.ma
components: A asucc aplus leq llt aprem ex0
[helm.git] / matita / matita / contribs / lambdadelta / basic_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 "basic_1/A/defs.ma".
18
19 let rec lweight (a: A) on a: nat \def match a with [(ASort _ _) \Rightarrow O 
20 | (AHead a1 a2) \Rightarrow (let TMP_1 \def (lweight a1) in (let TMP_2 \def 
21 (lweight a2) in (let TMP_3 \def (plus TMP_1 TMP_2) in (S TMP_3))))].
22
23 definition llt:
24  A \to (A \to Prop)
25 \def
26  \lambda (a1: A).(\lambda (a2: A).(let TMP_1 \def (lweight a1) in (let TMP_2 
27 \def (lweight a2) in (lt TMP_1 TMP_2)))).
28