X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fdama%2Fordered_fields_ch0.ma;h=c06ea743e230b4625f844408d6f4e264f3d49836;hb=e98e464e933174ad6577596d32cba1de758ea919;hp=f796ebb1ddcc3aef64b8b906b98d7e4ce35689f6;hpb=348acb421355c345a9af0754c1c16508a43eeea5;p=helm.git diff --git a/matita/dama/ordered_fields_ch0.ma b/matita/dama/ordered_fields_ch0.ma index f796ebb1d..c06ea743e 100644 --- a/matita/dama/ordered_fields_ch0.ma +++ b/matita/dama/ordered_fields_ch0.ma @@ -21,6 +21,18 @@ record is_total_order_relation (C:Type) (le:C→C→Prop) : Type \def to_antisimmetry: ∀x,y:C. le x y → le y x → x=y }. +theorem to_transitive: + ∀C.∀le:C→C→Prop. is_total_order_relation ? le → transitive ? le. + intros; + unfold transitive; + intros; + elim (to_cotransitive ? ? i ? ? z H); + [ assumption + | rewrite < (to_antisimmetry ? ? i ? ? H1 t); + assumption + ]. +qed. + record is_ordered_field_ch0 (F:field) (le:F→F→Prop) : Type \def { of_total_order_relation:> is_total_order_relation ? le; of_mult_compat: ∀a,b. le 0 a → le 0 b → le 0 (a*b); @@ -33,7 +45,7 @@ record is_ordered_field_ch0 (F:field) (le:F→F→Prop) : Type \def record ordered_field_ch0 : Type \def { of_field:> field; of_le: of_field → of_field → Prop; - of_ordered_field_properties:> is_ordered_field_ch0 of_field of_le + of_ordered_field_properties:> is_ordered_field_ch0 ? of_le }. interpretation "Ordered field le" 'leq a b = @@ -82,16 +94,14 @@ axiom not_eq_sum_field_zero: ∀F:ordered_field_ch0.∀n. O