Merge pull request #112 from leanprover-community/fix/adjust-hint

fix: adjust hint text
This commit is contained in:
Jon Eugster
2025-09-23 22:57:12 +02:00
committed by GitHub
2 changed files with 591 additions and 104 deletions

View File

@@ -33,7 +33,7 @@ Get the simplifier to solve it for you.
$(d + f) + (h + (a + c)) + (g + e + b) = a + b + c + d + e + f + g + h$. -/
Statement (a b c d e f g h : ) :
(d + f) + (h + (a + c)) + (g + e + b) = a + b + c + d + e + f + g + h := by
Hint "Solve this level in one line with `simp only [add_assoc, add_left_comm, add_comm]`"
Hint "Solve this level in one line with `simp only [add_left_comm, add_comm]`"
simp only [add_left_comm, add_comm]
Conclusion