]> matita.cs.unibo.it Git - helm.git/blob - helm/matita/tests/letrec.ma
let rec example
[helm.git] / helm / matita / tests / letrec.ma
1
2 definition plus: nat \to nat \to nat \def
3   let rec plus (n,m:nat) \def
4     match n with
5     [ O \Rightarrow m
6     | (S x) \Rightarrow S (plus x m) ]
7   in
8   plus.
9