lean4-htt/tests/lean/run/1718.lean

11 lines
313 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

theorem my_theorem : ∀ (a b c d : ),
d = c → a = b * c → a = b * d :=
assume a b c d,
assume h₀ : d = c,
assume h₁ : a = b * c,
eq.substr h₀ h₁
example : ∀ (a b c d : ),
d = c → a = b * c → a = b * d :=
assume a b c d, assume h₀ : d = c, assume h₁ : a = b * c,
h₀.substr h₁