X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2Fdama%2Fdama%2Fproperty_exhaustivity.ma;h=9788d4d353c5eea3b6f29d474945f65510f8ace2;hb=5322d66340d43e85b85e15dddcddeff3ae3a3552;hp=713588e7066f0feebcccdbe62f2cedc7179804bd;hpb=62571dd402d272b1632b7739607d25df3552cc04;p=helm.git diff --git a/helm/software/matita/contribs/dama/dama/property_exhaustivity.ma b/helm/software/matita/contribs/dama/dama/property_exhaustivity.ma index 713588e70..9788d4d35 100644 --- a/helm/software/matita/contribs/dama/dama/property_exhaustivity.ma +++ b/helm/software/matita/contribs/dama/dama/property_exhaustivity.ma @@ -15,21 +15,14 @@ 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. ∀a:sequence (half_segment_ordered_set C s). - (seg_u C s) (upper_bound ? ⌊n,\fst (a n)⌋). -intros; cases (wloss_prop C); unfold; rewrite < H; simplify; intro n; -cases (a n); simplify; unfold in H1; rewrite < H in H1; cases H1; -simplify in H2 H3; rewrite < H in H2 H3; assumption; + upper_bound ? ⌊n,\fst (a n)⌋ (seg_u C s). +intros 4; simplify; cases (a n); simplify; unfold in H; +cases (wloss_prop C); rewrite < H1 in H; simplify; cases H; +assumption; qed. notation "'segment_upperbound'" non associative with precedence 90 for @{'segment_upperbound}. @@ -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,27 +61,59 @@ 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). + +STOP + +lemma h_uparrow_to_in_segment: + ∀C:half_ordered_set. + ∀s:segment C. + ∀a:sequence C. + (∀i.a i ∈ s) → + ∀x:C. uparrow C a x → + in_segment C s x. +intros (C H a H1 x H2); unfold in H2; cases H2; clear H2;unfold in H3 H4; cases H4; clear H4; unfold in H2; +cases (wloss_prop C) (W W); apply prove_in_segment; unfold; +[ apply (hle_transitive ??? x ? (H2 O)); lapply (H1 O) as K; unfold in K; rewrite