Skip to content

Commit be15a49

Browse files
committed
stdlib: in Field, do not erase the unit predicate
This allows using a Field instance in place of a Ring.
1 parent 20b28e0 commit be15a49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

theories/algebra/Ring.ec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ end IDomain.
795795
(* -------------------------------------------------------------------- *)
796796
abstract theory Field.
797797
798-
clone include IDomain with pred unit (x : t) <- x <> zeror.
798+
clone include IDomain with pred unit (x : t) <= x <> zeror.
799799
800800
lemma mulfV (x : t): x <> zeror => x * (invr x) = oner.
801801
proof. by apply/mulrV. qed.

0 commit comments

Comments
 (0)