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

feat(logic/indexed_eq): Indexed equality #10712

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Dec 10, 2021


Zulip thread.

I wonder if this would be more useful for working with graded monoid / rings than using sigma equality.

Open in Gitpod

@eric-wieser eric-wieser added the RFC Request for comment label Dec 10, 2021
src/logic/indexed_eq.lean Show resolved Hide resolved
src/logic/indexed_eq.lean Outdated Show resolved Hide resolved
src/logic/indexed_eq.lean Outdated Show resolved Hide resolved
src/logic/indexed_eq.lean Outdated Show resolved Hide resolved
src/logic/indexed_eq.lean Outdated Show resolved Hide resolved
src/logic/indexed_eq.lean Outdated Show resolved Hide resolved
@[trans] lemma indeq.trans (h₁ : a =ᵢ b) (h₂ : b =ᵢ c) : a =ᵢ c :=
indeq.rec_on h₂ h₁

lemma indeq_of_eq (h : a = a') : a =ᵢ a' :=
Copy link
Collaborator

@YaelDillies YaelDillies Jul 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can Lean infer A in this lemma? I suspect it would be good making it explicit.

Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@semorrison semorrison added the too-late This PR was ready too late for inclusion in mathlib3 label Jul 16, 2023
@urkud
Copy link
Member

urkud commented Jan 23, 2024

@eric-wieser What are your plans about this: discard? port to Lean 4?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for comment too-late This PR was ready too late for inclusion in mathlib3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants