X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fdama%2Ffields.ma;h=2aac4f446faa08237fe5ca25265e51630de0b147;hb=b309e9baa51822004379ce6364e138e5e803efe4;hp=0618f4923a92097fafcdd2199067bb4914679ccf;hpb=8b62b96fea74985e303e093d9b7ead91089c664e;p=helm.git diff --git a/matita/dama/fields.ma b/matita/dama/fields.ma index 0618f4923..2aac4f446 100644 --- a/matita/dama/fields.ma +++ b/matita/dama/fields.ma @@ -24,7 +24,7 @@ record is_field (R:ring) (inv:∀x:R.x ≠ 0 → R) : Prop inv_inverse_: ∀x.∀p: x ≠ 0. mult ? (inv x p) x = 1 }. -lemma opp_opp: \forall R:ring. \forall x:R. (-(-x))=x. +lemma opp_opp: ∀R:ring. ∀x:R. --x=x. intros; apply (cancellationlaw ? (-x) ? ?); rewrite > (opp_inverse R x); @@ -50,10 +50,10 @@ theorem mult_comm: ∀F:field.symmetric ? (mult F). apply (mult_comm_ ? ? (field_properties F)). qed. -theorem inv_inverse: ∀F:field.∀x.∀p: x ≠ 0. mult ? (inv F x p) x = 1. +theorem inv_inverse: ∀F:field.∀x:F.∀p: x ≠ 0. (inv ? x p)*x = 1. intro; apply (inv_inverse_ ? ? (field_properties F)). qed. definition sum_field ≝ - λF:field. sum ? (plus F) (zero F) (one F). + λF:field. sum ? (plus F) 0 1.