Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

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.

@kim-em kim-em 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

4 participants