Skip to content
Snippets Groups Projects
Commit ab2f61dd authored by Ralf Jung's avatar Ralf Jung Committed by Robbert Krebbers
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 8dd6ba82
No related branches found
No related tags found
1 merge request!309Use `SProp` to obtain better definitional equality for `pmap`, `gmap`, `gset`, `Qp`, and `coPset`
This commit is part of merge request !309. Comments created here will be created in the context of that merge request.
......@@ -724,7 +724,7 @@ Local Close Scope Qc_scope.
(** We define the type [Qp] of positive rationals as fractions of positives with
an [SProp]-based proof that ensures the fraction is in canonical form (i.e., its
gcd is 1). Note that we do not define [Qp] as a subset (i.e., Sigma) of the
standard library's [Qc]. The type [Qc] uses a [Prop]-based proof for canonicity
standard library's [Qc] because the type [Qc] uses a [Prop]-based proof (not [SProp]) for canonicity
of the fraction. *)
Definition Qp_red (q : positive * positive) : positive * positive :=
(Pos.ggcd (q.1) (q.2)).2.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment