@@ -137,12 +137,12 @@ It returns an index `r` that satisfies both of the followings.
137137- ` r = l ` or ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true `
138138- ` r = n ` or ` g(op(a[l], a[l + 1], ..., a[r])) = false `
139139
140- If ` f ` is monotone, this is the maximum ` r ` that satisfies ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true ` .
140+ If ` g ` is monotone, this is the maximum ` r ` that satisfies ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true ` .
141141
142142** @{keyword.constraints}**
143143
144- - if ` f ` is called with the same argument, it returns the same value, i.e., ` f ` has no side effect.
145- - ` f(e_s ()) = true`
144+ - if ` g ` is called with the same argument, it returns the same value, i.e., ` g ` has no side effect.
145+ - ` g(e ()) = true`
146146- $0 \leq l \leq n$
147147
148148** @{keyword.complexity}**
@@ -164,12 +164,12 @@ It returns an index `l` that satisfies both of the following.
164164- ` l = r ` or ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true `
165165- ` l = 0 ` or ` g(op(a[l - 1], a[l], ..., a[r - 1])) = false `
166166
167- If ` f ` is monotone, this is the minimum ` l ` that satisfies ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true ` .
167+ If ` g ` is monotone, this is the minimum ` l ` that satisfies ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true ` .
168168
169169** @{keyword.constraints}**
170170
171- - if ` f ` is called with the same argument, it returns the same value, i.e., ` f ` has no side effect.
172- - ` f(e_s ()) = true`
171+ - if ` g ` is called with the same argument, it returns the same value, i.e., ` g ` has no side effect.
172+ - ` g(e ()) = true`
173173- $0 \leq r \leq n$
174174
175175** @{keyword.complexity}**
0 commit comments