Skip to content

Commit e99e007

Browse files
authored
Merge pull request #768 from lean-ja/fix
不要な仮定を削除する
2 parents f81abba + 42c0b68 commit e99e007

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

Examples/Solution/HeytingAndBooleanAlgebra.lean

-5
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,9 @@ abbrev Three := Fin 3
261261

262262
/- ### 問2.1 半順序集合であること -/
263263

264-
-- この二つの定理は使用して良い
265-
theorem min_def (a b : Nat) : min a b = if a ≤ b then a else b := by aesop
266-
theorem max_def (a b : Nat) : max a b = if a ≤ b then b else a := by aesop
267-
268264
-- ここに `local add_aesop_rules` コマンドを追加して証明が通るようにしてください。
269265
-- いくつルールを追加しても構いません。
270266
--##--
271-
local add_aesop_rules norm [simp [min_def, max_def]]
272267
local add_aesop_rules safe [cases Fin]
273268
local add_aesop_rules norm [simp Fin.le_def]
274269
local add_aesop_rules safe [tactic (by omega)]

Exercise/HeytingAndBooleanAlgebra.lean

-4
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,6 @@ abbrev Three := Fin 3
258258

259259
/- ### 問2.1 半順序集合であること -/
260260

261-
-- この二つの定理は使用して良い
262-
theorem min_def (a b : Nat) : min a b = if a ≤ b then a else b := by aesop
263-
theorem max_def (a b : Nat) : max a b = if a ≤ b then b else a := by aesop
264-
265261
-- ここに `local add_aesop_rules` コマンドを追加して証明が通るようにしてください。
266262
-- いくつルールを追加しても構いません。
267263

0 commit comments

Comments
 (0)