Zulip Chat Archive
Stream: mathlib4
Topic: HEq congr
Violeta Hernández (Oct 11 2024 at 02:49):
The docstring in docs#HEq mentions
One important non-theorem is the analogue of
congr
: IfHEq f g
andHEq x y
andf x
andg y
are well typed it does not follow thatHEq (f x) (g y)
. (This does follow if you havef = g
instead.)
Is there an actual counterexample to this? Or is it one of those "morally true but can't be proven" things?
Violeta Hernández (Oct 11 2024 at 02:50):
(If it's the former, then I'd love to see this added to the counterexamples folder)
Yury G. Kudryashov (Oct 11 2024 at 02:52):
AFAIR, there is a model of Lean where all types with the same cardinality are equal. Then it's possible that (α → β) = (α → γ)
with some functions "accidentally" equal but β ≠ γ
.
Yury G. Kudryashov (Oct 11 2024 at 02:53):
(at least, ZFC doesn't imply that such an example is impossible, even for α = Fin 2
)
Yury G. Kudryashov (Oct 11 2024 at 02:54):
Note: I'm repeating some things I've heard here, without deep understanding of the matter.
Violeta Hernández (Oct 11 2024 at 02:55):
That makes a lot of sense, thanks!
Last updated: May 02 2025 at 03:31 UTC