Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2021-03-25 10:59 879273e8

View on Github →

feat(logic/basic, logic/function/basic): make cast the simp-normal form of eq.mp and eq.mpr, add lemmas (#6834) This adds the fact that eq.rec, eq.mp, eq.mpr, and cast are bijective, as well as some simp lemmas that follow from their injectivity.

Estimated changes

added theorem cast_cast
added theorem eq_mp_eq_cast
deleted theorem eq_mp_rfl
added theorem eq_mpr_eq_cast
deleted theorem eq_mpr_rfl
added theorem heq_of_cast_eq
deleted theorem heq_of_eq_mp
deleted theorem {u}
added theorem cast_bijective
added theorem cast_inj
added theorem eq_mp_bijective
added theorem eq_mpr_bijective
added theorem eq_rec_inj
added theorem eq_rec_on_bijective