Skip to content

Commit b75bb78

Browse files
committed
Fixes math rendering in doc.
1 parent 30e4afb commit b75bb78

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

documentation/AI-Verification-Convexity.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ $\mathrm{sgn}(\nabla f(a), -\nabla f(b))=(\pm,\pm)$. Note that the sign of 0 is
209209
taken as positive in this discussion.
210210

211211
If $f$ is differentiable at the interval bounds, then there are two possible
212-
sign combinations since $ \nabla f(a)\leq m \lt 0 $ where $m$ is the gradient
213-
of the chord.
212+
sign combinations since $\nabla{f(a)}\leq{m}\lt{0}$ where $m$ is the gradient of
213+
the chord.
214214

215215
- $\mathrm{sgn}(\nabla f(a), -\nabla f(b))=(−,+)$, then the minimum must lie at
216216
$x=b$, i.e., $f(x)\geq{f(b)}$.
@@ -266,7 +266,7 @@ f(b+\epsilon) \lt -\nabla f(b-\epsilon) \leq -m \lt 0$.
266266

267267
In the case that $f(a)=f(b)$, the function must either be constant and the
268268
minimum is $f(a)=f(b)$. Or the minimum again lies at the interior. If
269-
$\mathrm{sgn}(\nabla f(a))=+$, then $\nabla f(a) = 0$ else this violates
269+
$\mathrm{sgn}(\nabla f(a))=+$, then $\nabla{f(a)}=0$ else this violates
270270
convexity since $f(a)=f(b)$. Similar is true for $-\mathrm{sgn}(\nabla f(b))=+$.
271271
In this case, all sign combinations are possible owing to possible
272272
non-differentiability of $f$ at the interval bounds:
@@ -321,7 +321,7 @@ discussed later.
321321
An important property of convex functions in n-dimensions is that every
322322
1-dimension restriction also defines a convex function. This is easily seen from
323323
the definition. Define $g:\mathbb{R}\rightarrow\mathbb{R}$ as $g(t)
324-
=f(t\hat{n})$ where $\hat{n}$ is some unit vector in $\mathbb{R}^n$. Then, by
324+
=f(t\hat{n})$ where $`\hat{n}`$ is some unit vector in $\mathbb{R}^n$. Then, by
325325
definition of convexity of $f$, letting $x=t\hat{n}$ and $y=t'\hat{n}$, it
326326
follows that,
327327

@@ -370,7 +370,7 @@ along an edge. Figure 6 summarizes this construction on a cube.
370370
</figure>
371371

372372
Analogous to the 1-dimensional case, analyze the signatures of the derivatives
373-
at the vertices. The notation $(\pm,...,\pm)_v $ denotes the overall sign of
373+
at the vertices. The notation $(\pm,...,\pm)_v$ denotes the overall sign of
374374
$−\mathrm{sgn}(v_i)\nabla_i f(v)$ at $v$ for each $i$, and is used in the rest
375375
of this article.
376376

@@ -382,7 +382,7 @@ minimum value of *f* over the hypercube.
382382
**Proof**:
383383

384384
For any point $z \in H_n$, construct the line containing $w$ and $z$, given by
385-
$L=\{w+t\hat{n}|t \in \mathbb{R}\}$, where $\hat{n}$ is a unit vector in
385+
$L=\{w+t\hat{n}|t \in \mathbb{R}\}$, where $`\hat{n}`$ is a unit vector in
386386
direction $z-w$. Since the directional derivatives at $w$ pointing inwards are
387387
all positive, and $f$ is differentiable, the derivative along the line at $w$,
388388
pointing inwards, is given by,
@@ -430,7 +430,7 @@ Figure 7.
430430
</figure>
431431

432432
As depicted in figure 7, the vertices $w$ of the square (hypercube of dimension
433-
two, $V_2 = \{\pm 1,\pm 1\}$), have directional derivatives of zero and thus
433+
two, $V_2=\{\pm 1,\pm 1\}$), have directional derivatives of zero and thus
434434
signature $(+,+)$. But the derivative along any direction bisecting these
435435
directional derivatives, into the interior of the square, has a negative
436436
gradient. This is because the vertex is at the intersection of two planes and is

0 commit comments

Comments
 (0)