diff options
| author | Erik Martin-Dorel | 2019-08-06 22:52:16 +0200 |
|---|---|---|
| committer | Erik Martin-Dorel | 2019-08-08 11:11:51 +0200 |
| commit | d60b807c868f4d54a273549519ea51c196242370 (patch) | |
| tree | 35c18ac9c3a269c96340ebfbc17c4e92c3723cc5 /dev/bugzilla2github_stripped.csv | |
| parent | 75f93e90e95f049ae23023f39add16a861ae114b (diff) | |
[ssr] Refactor under's Setoid generalization to ease stdlib2 porting
Changes:
* Add ssrclasses.v that redefines [Reflexive] and [iff_Reflexive];
* Add ssrsetoid.v that links
[ssrclasses.Reflexive] and [RelationClasses.Reflexive];
* Add [Require Coq.ssr.ssrsetoid] in Setoid.v;
* Update ssrfwd.ml accordingly, using a helper file ssrclasses.ml that
ports some non-exported material from rewrite.ml;
* Some upside in passing: ssrfwd.ml no more depends on Ltac_plugin;
* Update doc and tests as well.
Summary:
* We can now use the under tactic in two flavors:
- with the [eq] or [iff] relations: [Require Import ssreflect.]
- or a [RewriteRelation]: [Require Import ssreflect. Require Setoid.]
(while [ssreflect] does not require [RelationClasses] nor [Setoid],
and conversely [Setoid] does not require [ssreflect]).
* The file ssrsetoid.v could be skipped when porting under to stdlib2.
Diffstat (limited to 'dev/bugzilla2github_stripped.csv')
0 files changed, 0 insertions, 0 deletions
