Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions EasyLean/Basic.lean
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
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.MathdAlgebra.mathd_algebra_513

namespace EasyLean

export MathdAlgebra (mathd_algebra_513)

end EasyLean

14 changes: 14 additions & 0 deletions EasyLean/MathdAlgebra/mathd_algebra_513.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Mathlib

namespace EasyLean
namespace MathdAlgebra

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₁]

end MathdAlgebra
end EasyLean

6 changes: 6 additions & 0 deletions Main.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import EasyLean

open EasyLean

#check mathd_algebra_513