Three equal evaluations determine quadratic coefficients
ProvedWorkbookSource.problem_12336lean-workbooksource-checked
Let Bob's quadratic be and Alice's be . We know that,
,
,
.
Then by subtracting the 2nd equation from the 3rd one we have .
By subtracting the first equation from the second we have .
Now we subtract from to find or .
By substituting into our original 3 equations we have,
or ,
or ,
or .
By subtracting the second equation from the first one we obtain so then must equal .
Therefore, the quadratics are the same.
Source: InternLM Lean-Workbook, record lean_workbook_12336 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_12336 (a b c d e f : ℝ) (h₀ : a + b + c = d + e + f) (h₁ : 4 * a + 2 * b + c = 4 * d + 2 * e + f) (h₂ : 9 * a + 3 * b + c = 9 * d + 3 * e + f) : a = d ∧ b = e ∧ c = f := by sorry
Source