From 5368091603d91df2cd6a833a3aa04577860ceda5 Mon Sep 17 00:00:00 2001 From: "aleph-prover[bot]" <247409690+aleph-prover[bot]@users.noreply.github.com> Date: Thu, 18 Dec 2025 21:31:47 +0000 Subject: [PATCH] Add new theorems and proofs Automated commit at 20251218_213145 --- EasyLean/Basic.lean | 12 +----------- EasyLean/MathdAlgebra513.lean | 9 +++++++++ 2 files changed, 10 insertions(+), 11 deletions(-) create mode 100644 EasyLean/MathdAlgebra513.lean diff --git a/EasyLean/Basic.lean b/EasyLean/Basic.lean index 0dbd32e..59a71bc 100644 --- a/EasyLean/Basic.lean +++ b/EasyLean/Basic.lean @@ -1,11 +1 @@ -import Mathlib.Data.Real.Basic -import Mathlib.Tactic.Linarith - -theorem mathd_algebra_513 - (a b : ℝ) - (h₀ : 3 * a + 2 * b = 5) - (h₁ : a + b = 2) : - a = 1 ∧ b = 1 := by - sorry - --- This verision is in branch +import EasyLean.MathdAlgebra513 diff --git a/EasyLean/MathdAlgebra513.lean b/EasyLean/MathdAlgebra513.lean new file mode 100644 index 0000000..7173fe1 --- /dev/null +++ b/EasyLean/MathdAlgebra513.lean @@ -0,0 +1,9 @@ +import Mathlib + +namespace EasyLean + +theorem mathd_algebra_513 (a b : Real) (h0 : 3 * a + 2 * b = 5) (h1 : a + b = 2) : + a = 1 ∧ b = 1 := by + constructor <;> linarith [h0, h1] + +end EasyLean