From 5b4e7b7f63f127b2dd729bb75c930a7e77788ece Mon Sep 17 00:00:00 2001 From: "aleph-prover[bot]" <247409690+aleph-prover[bot]@users.noreply.github.com> Date: Mon, 29 Dec 2025 17:24:41 +0000 Subject: [PATCH] Add new theorems and proofs Automated commit at 20251229_172440 --- EasyLean.lean | 2 +- EasyLean/Basic.lean | 13 +------------ EasyLean/Mathd/Algebra/mathd_algebra_513.lean | 9 +++++++++ 3 files changed, 11 insertions(+), 13 deletions(-) create mode 100644 EasyLean/Mathd/Algebra/mathd_algebra_513.lean diff --git a/EasyLean.lean b/EasyLean.lean index a53489d..ada949a 100644 --- a/EasyLean.lean +++ b/EasyLean.lean @@ -1 +1 @@ -import EasyLean.Basic +import EasyLean.Mathd.Algebra.mathd_algebra_513 diff --git a/EasyLean/Basic.lean b/EasyLean/Basic.lean index 305e1ca..ada949a 100644 --- a/EasyLean/Basic.lean +++ b/EasyLean/Basic.lean @@ -1,12 +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 - -theorem eq_four : ∀ a b c d : Nat, a = b → a = d → a = c → c = b := by - sorry +import EasyLean.Mathd.Algebra.mathd_algebra_513 diff --git a/EasyLean/Mathd/Algebra/mathd_algebra_513.lean b/EasyLean/Mathd/Algebra/mathd_algebra_513.lean new file mode 100644 index 0000000..ea83c72 --- /dev/null +++ b/EasyLean/Mathd/Algebra/mathd_algebra_513.lean @@ -0,0 +1,9 @@ +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 + constructor + · linarith [h₀, h₁] + · linarith [h₀, h₁]