proposition: Lemma ringcarryequiv : @ringeqrel ( fpscommring hz ).
proof: Proof. intros. split with carryequiv. split. - split. + intros a b c q. simpl. simpl in q. rewrite carryandplus. rewrite q. rewrite <- carryandplus. apply idpath. + intros a b c q. simpl. rewrite carryandplus. rewrite q. rewrite <- carryandplus. apply idpath. - split. + intros a b c q. simpl. rewrite carryandtimes. rewrite q. rewrite <- carryandtimes. apply idpath. + intros a b c q. simpl. rewrite carryandtimes. rewrite q. rewrite <- carryandtimes. apply idpath. Defined.
imports: UniMath.PAdics.lemmas UniMath.PAdics.fps UniMath.PAdics.frac UniMath.PAdics.z_mod_p UniMath.NumberSystems.Integers