From 858e703335b47065529d481891863d380a2156d7 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 27 Oct 2008 08:46:46 +0000 Subject: [PATCH] big lemma done --- .../contribs/dama/dama/ordered_uniform.ma | 59 +++++++------------ .../matita/contribs/dama/dama/supremum.ma | 15 +++-- 2 files changed, 30 insertions(+), 44 deletions(-) diff --git a/helm/software/matita/contribs/dama/dama/ordered_uniform.ma b/helm/software/matita/contribs/dama/dama/ordered_uniform.ma index 7b93454ef..1f4f6f686 100644 --- a/helm/software/matita/contribs/dama/dama/ordered_uniform.ma +++ b/helm/software/matita/contribs/dama/dama/ordered_uniform.ma @@ -34,7 +34,7 @@ coercion ous_unifspace. record ordered_uniform_space : Type ≝ { ous_stuff :> ordered_uniform_space_; - ous_convex: ∀U.us_unifbase ous_stuff U → convex ous_stuff U + ous_convex: ∀U.us_unifbase ous_stuff U → convex (os_l ous_stuff) U }. definition half_ordered_set_OF_ordered_uniform_space : ordered_uniform_space → half_ordered_set. @@ -167,41 +167,22 @@ intros (O s); apply mk_ordered_uniform_space; |2: apply (restrict O s ??? HuU); apply Hur; apply (unrestrict O s ??? (invert_restriction_agreement O s ?? HuU) H);]] |2: simplify; reflexivity;] -|2: simplify; unfold convex; intros; - cases H (u HU); cases HU (Gu HuU); clear HU H; - -lemma ls2l: - ∀O:ordered_set.∀s:‡O.∀x,y:os_l (square_ordered_set (segment_ordered_set O s)). - le (os_l (square_ordered_set (segment_ordered_set O s))) x y → - \fst x ≤ \fst y. -intros 4; cases x (a1 a2); cases y (b1 b2); clear x y; -intros 2 (H K); apply H; clear H; -simplify in K:(? ? ? %); -simplify in K:(? ? % ?); -whd in ⊢ (? (? (% ?)) ? ?); -whd in ⊢ (? (? ((λ_:?.? ? ? (? ? (? (% ?)))) ?)) ? ?); -simplify; -whd in K:(% ? ? ?); -simplify in K:(%); -whd in ⊢ (? (% ?) ? ? ? ?); -simplify in ⊢ (? (% ?) ? ? ? ?); -simplify in ⊢ (? % ? ? ? ?); -simplify in ⊢ (%); -cases (wloss_prop (os_l (segment_ordered_set O s))); -rewrite