We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3128f8 commit 1785677Copy full SHA for 1785677
HumanEvalLean/HumanEval64.lean
@@ -22,9 +22,6 @@ example : vowelsCount "keY" = 2 := by native_decide
22
example : vowelsCount "bYe" = 1 := by native_decide
23
example : vowelsCount "ACEDY" = 3 := by native_decide
24
25
-theorem String.back?_eq {s : String} : s.back? = s.toList.getLast? :=
26
- sorry -- https://github.com/leanprover/lean4/pull/13105
27
-
28
theorem vowelsCount_eq {s : String} :
29
vowelsCount s = (s.toList.filter (· ∈ vowelsList)).length +
30
(if s.toList.getLast? = some 'y' ∨ s.toList.getLast? = some 'Y' then 1 else 0) := by
0 commit comments