Skip to content

Commit c1029c0

Browse files
authored
47: remove a sorried lemma the statement of which is not even true (#243)
1 parent c2aaeab commit c1029c0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

HumanEvalLean/HumanEval47.lean

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ example : median #[8, 1, 3, 9, 9, 2, 7] (by decide) = 7 := by native_decide
2626

2727
/-! ## Verification -/
2828

29-
theorem countP_le_eq_countP_ge {xs : Array Int} {h} :
30-
xs.countP (fun x : Int => x ≤ median xs h) =
31-
xs.countP (fun x : Int => median xs h ≤ x) := by
32-
sorry
33-
3429
theorem median_eq_getElem_of_odd {xs : Array Int} {h} (h' : xs.size % 2 = 1) :
3530
median xs h = xs.mergeSort[xs.size / 2]'(by grind [List.length_mergeSort]) := by
3631
grind [median, List.length_mergeSort]

0 commit comments

Comments
 (0)