Skip to content
Open
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
15 changes: 12 additions & 3 deletions EasyLean/Basic.lean
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
import Mathlib.Data.Real.Basic
import Mathlib.Tactic.Linarith

theorem mathd_algebra_513
(a b : ℝ)
theorem «# easy-lean»: True := by
trivial

theorem «easy-lean» (a b : ℝ) (h₀ : 3 * a + 2 * b = 5) (h₁ : a + b = 2) : a = 1 := by
linarith [h₀, h₁]

theorem mathd_algebra_513 (a b : ℝ)
(h₀ : 3 * a + 2 * b = 5)
(h₁ : a + b = 2) :
a = 1 ∧ b = 1 := by
sorry
constructor
· exact «easy-lean» a b h₀ h₁
· have ha : a = 1 := «easy-lean» a b h₀ h₁
linarith [h₁, ha]


theorem eq_four : ∀ a b c d : Nat, a = b → a = d → a = c → c = b := by
sorry