X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Flibrary%2Fdama%2Fmodels%2Fnat_ordered_uniform.ma;fp=matita%2Fmatita%2Flibrary%2Fdama%2Fmodels%2Fnat_ordered_uniform.ma;h=cd6ddbf79b9d7f9b718ab51138d50977d2ac7441;hb=2c01ff6094173915e7023076ea48b5804dca7778;hp=0000000000000000000000000000000000000000;hpb=a050e3f80d7ea084ce0184279af98e8251c7d2a6;p=helm.git diff --git a/matita/matita/library/dama/models/nat_ordered_uniform.ma b/matita/matita/library/dama/models/nat_ordered_uniform.ma new file mode 100644 index 000000000..cd6ddbf79 --- /dev/null +++ b/matita/matita/library/dama/models/nat_ordered_uniform.ma @@ -0,0 +1,32 @@ +(**************************************************************************) +(* ___ *) +(* ||M|| *) +(* ||A|| A project by Andrea Asperti *) +(* ||T|| *) +(* ||I|| Developers: *) +(* ||T|| The HELM team. *) +(* ||A|| http://helm.cs.unibo.it *) +(* \ / *) +(* \ / This file is distributed under the terms of the *) +(* v GNU General Public License Version 2 *) +(* *) +(**************************************************************************) + +include "dama/models/nat_uniform.ma". +include "dama/bishop_set_rewrite.ma". +include "dama/ordered_uniform.ma". + +definition nat_ordered_uniform_space:ordered_uniform_space. + apply (mk_ordered_uniform_space (mk_ordered_uniform_space_ ℕ ℕ (refl_eq ? ℕ))); +simplify; intros 10; cases H (_); cases (H7 y); apply H8; cases (H7 s); +lapply (H11 H1) as H13; apply (le_le_eq); +[2: apply (le_transitive ??? H5); apply (Le≪ ? H13); assumption; +|1: assumption; +|3: change with (le (os_r ℕ) (\snd y) (\fst y)); + apply (ge_transitive ??? H5);apply (ge_transitive ???? H4); + change with (le (os_l ℕ) (\fst s) (\snd s)); + apply (Le≫ ? H13); apply le_reflexive; +|4: assumption;] +qed. + +interpretation "Ordered uniform space N" 'N = nat_ordered_uniform_space.