Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trans tactic does not use HEq.trans #1119

Closed
semorrison opened this issue Dec 20, 2022 · 2 comments
Closed

trans tactic does not use HEq.trans #1119

semorrison opened this issue Dec 20, 2022 · 2 comments
Assignees

Comments

@semorrison
Copy link
Contributor

See example in Mathlib.CategoryTheory.Functor.FullyFaithful.

bors bot pushed a commit that referenced this issue Dec 20, 2022
mathlib SHA: 70d50ecfd4900dd6d328da39ab7ebd516abe4025

Porting notes:
1. ~~`aesop_cat` was unable to close goals that `tidy` was able to. I left an example proof of what `tidy` emits (with some cleanup).~~
2. `unfold_projs` is not ported. Is it an easy tactic to port over or is there a better "lean4" way? (ed: not needed)
3. `trans` doesn't seem to work with `HEq` (see #1119)
4. Some documentation is needed for `Full` and `Faithful`. Please feel free to fill it in if you wish.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: mpenciak <matej.penciak@gmail.com>
@siddhartha-gadgil
Copy link
Collaborator

This was my mistake in assuming types equal in transitivity and using a single relation r. Should model on the Trans class and assume separate relations. Will try to fix.

@siddhartha-gadgil
Copy link
Collaborator

It looks like trans needs serious repairs. Will work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants