Skip to content

Commit

Permalink
Avoid ring collision on Z
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSe committed May 26, 2020
1 parent 6f41984 commit 73c7ae6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions liouville/QX_ZX.v
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Let QX := cpoly_cring Q_as_CRing.
Add Ring q_r : (r_rt (Ring:=CRing_is_Ring Q_as_CRing)).
Add Ring qx_r : (r_rt (Ring:=CRing_is_Ring (cpoly_cring Q_as_CRing))).
Let ZX := cpoly_cring Z_as_CRing.
Add Ring z_r : (r_rt (Ring:=CRing_is_Ring Z_as_CRing)).
Add Ring zx_r : (r_rt (Ring:=CRing_is_Ring (cpoly_cring Z_as_CRing))).

Let ZX_deg := RX_deg Z_as_CRing Z_dec.
Expand Down Expand Up @@ -311,9 +310,7 @@ Proof.
Qed.
Lemma injZ_pres_mult : fun_pres_mult _ _ injZ_fun.
Proof.
intros x y.
simpl; unfold inject_Z, Qeq; simpl.
ring.
intros x y. reflexivity.
Qed.
Definition injZ_rh := Build_RingHom _ _ _ injZ_pres_plus injZ_pres_mult injZ_pres_unit.
Definition zx2qx := cpoly_map injZ_rh.
Expand Down

0 comments on commit 73c7ae6

Please sign in to comment.