From: Enrico Tassi Date: Mon, 27 Oct 2008 20:16:34 +0000 (+0000) Subject: WIP X-Git-Tag: make_still_working~4628 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=3f80c07b790d3abdb3aafcd1da33f14fa90ada25;p=helm.git WIP --- diff --git a/helm/software/matita/contribs/dama/dama/ordered_uniform.ma b/helm/software/matita/contribs/dama/dama/ordered_uniform.ma index 1dba15a7c..36ba2d287 100644 --- a/helm/software/matita/contribs/dama/dama/ordered_uniform.ma +++ b/helm/software/matita/contribs/dama/dama/ordered_uniform.ma @@ -202,7 +202,7 @@ intros (O s); apply mk_ordered_uniform_space; ] qed. -interpretation "Ordered uniform space segment" 'segment_set a = +interpretation "Ordered uniform space segment" 'segset a = (segment_ordered_uniform_space _ a). (* Lemma 3.2 *) @@ -210,7 +210,7 @@ alias symbol "pi1" = "exT \fst". lemma restric_uniform_convergence: ∀O:ordered_uniform_space.∀s:‡O. ∀x:{[s]}. - ∀a:sequence (segment_ordered_uniform_space O s). + ∀a:sequence {[s]}. (⌊n, \fst (a n)⌋ : sequence O) uniform_converges (\fst x) → a uniform_converges x. intros 7; cases H1; cases H2; clear H2 H1; diff --git a/helm/software/matita/contribs/dama/dama/property_exhaustivity.ma b/helm/software/matita/contribs/dama/dama/property_exhaustivity.ma index 713588e70..fc7121349 100644 --- a/helm/software/matita/contribs/dama/dama/property_exhaustivity.ma +++ b/helm/software/matita/contribs/dama/dama/property_exhaustivity.ma @@ -15,13 +15,6 @@ include "ordered_uniform.ma". include "property_sigma.ma". -(* Definition 3.7 *) -definition exhaustive ≝ - λC:ordered_uniform_space. - ∀a,b:sequence C. - (a is_increasing → a is_upper_located → a is_cauchy) ∧ - (b is_decreasing → b is_lower_located → b is_cauchy). - lemma h_segment_upperbound: ∀C:half_ordered_set. ∀s:segment C. @@ -54,18 +47,6 @@ notation "'segment_preserves_downarrow'" non associative with precedence 90 for interpretation "segment_preserves_uparrow" 'segment_preserves_uparrow = (h_segment_preserves_uparrow (os_l _)). interpretation "segment_preserves_downarrow" 'segment_preserves_downarrow = (h_segment_preserves_uparrow (os_r _)). - -lemma hint_pippo: - ∀C,s. - sequence - (Type_of_ordered_set - (segment_ordered_set - (ordered_set_OF_ordered_uniform_space C) s)) - → - sequence (Type_OF_uniform_space (segment_ordered_uniform_space C s)). intros; assumption; -qed. - -coercion hint_pippo nocomposites. (* Fact 2.18 *) lemma segment_cauchy: @@ -80,14 +61,71 @@ exists [apply U] split; [assumption;] intro; cases b; intros; simplify; split; intros; assumption; qed. +(* Definition 3.7 *) +definition exhaustive ≝ + λC:ordered_uniform_space. + ∀a,b:sequence C. + (a is_increasing → a is_upper_located → a is_cauchy) ∧ + (b is_decreasing → b is_lower_located → b is_cauchy). + +lemma prove_in_segment: + ∀O:ordered_set.∀s:segment (os_l O).∀x:O. + 𝕝_s (λl.l ≤ x) → 𝕦_s (λu.x ≤ u) → x ∈ s. +intros; unfold; cases (wloss_prop (os_l O)); rewrite < H2; +split; assumption; +qed. + +lemma under_wloss_upperbound: + ∀C:half_ordered_set.∀s:segment C.∀a:sequence C. + seg_u C s (upper_bound C a) → + ∀i.seg_u C s (λu.a i ≤≤ u). +intros; unfold in H; unfold; +cases (wloss_prop C); rewrite