leanprover / lean4

Lean 4 programming language and theorem prover
https://lean-lang.org
Apache License 2.0
3.82k stars 325 forks source link

feat: subst notation (heq ▸ h) tries both orientation #4046

Closed nomeata closed 2 weeks ago

nomeata commented 2 weeks ago

even when rewriting the type of h becuase there is no expected type.

(When there is an expected type, it already tried both orientations.)

Also feeble attempt to include this information in the docstring without writing half a manual chapter.

leanprover-community-mathlib4-bot commented 2 weeks ago

Mathlib CI status (docs):