src/HOL/Algebra/poly/PolyRing.ML
changeset 11093 62c2e0af1d30
parent 10448 da7d0e28f746
equal deleted inserted replaced
11092:69c1abb9a129 11093:62c2e0af1d30
    35 qed "smult_assoc2";
    35 qed "smult_assoc2";
    36 
    36 
    37 (* the following can be derived from the above ones,
    37 (* the following can be derived from the above ones,
    38    for generality reasons, it is therefore done *)
    38    for generality reasons, it is therefore done *)
    39 
    39 
    40 Goal "(<0>::'a::ring) *s p = <0>";
    40 Goal "(0::'a::ring) *s p = 0";
    41 by (rtac a_lcancel 1);
    41 by (rtac a_lcancel 1);
    42 by (rtac (smult_l_distr RS sym RS trans) 1);
    42 by (rtac (smult_l_distr RS sym RS trans) 1);
    43 by (Simp_tac 1);
    43 by (Simp_tac 1);
    44 qed "smult_l_null";
    44 qed "smult_l_null";
    45 
    45 
    46 Goal "!!a::'a::ring. a *s <0> = <0>";
    46 Goal "!!a::'a::ring. a *s 0 = 0";
    47 by (rtac a_lcancel 1);
    47 by (rtac a_lcancel 1);
    48 by (rtac (smult_r_distr RS sym RS trans) 1);
    48 by (rtac (smult_r_distr RS sym RS trans) 1);
    49 by (Simp_tac 1);
    49 by (Simp_tac 1);
    50 qed "smult_r_null";
    50 qed "smult_r_null";
    51 
    51