author | chaieb |
Fri, 27 Mar 2009 14:44:18 +0000 | |
changeset 30747 | b8ca7e450de3 |
parent 30744 | 50ccaef52871 (current diff) |
parent 30746 | d6915b738bd9 (diff) |
child 30748 | fe67d729a61c |
child 30765 | 3eccfc8019ba |
--- a/src/HOL/Library/Formal_Power_Series.thy Fri Mar 27 15:42:53 2009 +0100 +++ b/src/HOL/Library/Formal_Power_Series.thy Fri Mar 27 14:44:18 2009 +0000 @@ -388,6 +388,14 @@ instance fps :: (idom) idom .. +instantiation fps :: (comm_ring_1) number_ring +begin +definition number_of_fps_def: "(number_of k::'a fps) = of_int k" + +instance +by (intro_classes, rule number_of_fps_def) +end + subsection{* Inverses of formal power series *} declare setsum_cong[fundef_cong]