Skip to content

Commit 895475b

Browse files
authored
Merge pull request #29 from mzanella/fixEx7
Improve ex7 (definition monotone function and reduction of part 1)
2 parents 4a616ad + c2b9e8e commit 895475b

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

exercises/ex7.tex

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,36 +22,27 @@
2222
Ricordiamo che:
2323
\begin{mydef}[Funzione monotona]
2424
%\hspace{\textwidth{}}
25-
Una funzione \textit{f} è \textbf{monotona} se, qualora valga una relazione
26-
d'ordine su due input, allora essa varrà anche sugli output. Nel nostra
27-
caso \textit{f} è monotona se vale \textit{A} $\subseteq$ \textit{B}
25+
Siano $(D, \sqsubseteq)$ e $(D', \sqsubseteq{}')$ due CPO,
26+
$f:D\rightarrow{}D'$ una funzione e \textit{d1, d2} $\in$ \textit{D}. f è monotona se e solo se d1 $\sqsubseteq$ d2 $\Rightarrow$ f d1 $\sqsubseteq'$ f d2. \\
27+
Nel nostra caso \textit{f} è monotona se vale \textit{A} $\subseteq$ \textit{B}
2828
$\Rightarrow$ \textit{f(A)} $\subseteq$ \textit{f(B)}.
2929
\end{mydef}
3030

3131
Per \textbf{dimostrare che f è monotona}, supponiamo che \textit{A}
32-
$\subseteq$ \textit{B} ($\Rightarrow$ \textbar A\textbar{} $\leq$ \textbar B
33-
\textbar{}). Ci troviamo di fronte a due casi:
32+
$\subseteq$ \textit{B} ($\Rightarrow$ \textbar A\textbar{} $\leq$ \textbar B\textbar{}). Ci troviamo di fronte a due casi:
3433
\begin{enumerate}
3534
\item \textit{B} è finito;
3635
\item \textit{B} è infinito.
3736
\end{enumerate}
3837

3938
Se vale (1), allora anche
40-
\textbar A\textbar{} è finito e quindi \textit{f(A)} = \textit{f(B)} ($\iff$
41-
\textit{f(A)} $\subseteq$ \textit{f(B)} e \textit{f(A)} $\supseteq$
42-
\textit{f(B)} per la \textit{\textbf{proprietà anti-riflessiva del CPO}}).
39+
\textit{A} è finito e quindi \textit{f(A)} = \textit{f(B)}.
40+
4341
Ergo la condizione di monotonia è rispettata.\\
4442

45-
Se vale (2), allora due sotto-casi si possono verificare:
46-
\begin{enumerate}
47-
\item A è finito $\Rightarrow$ \textit{f(A)} = $\emptyset$ $\subseteq$
48-
\textit{ f(B)} = $\mathbb{N}$.
49-
\item A è infinito $\Rightarrow$ \textit{f(A)} = \textit{f(B)} ($\iff$
50-
\textit{f(A)} $\subseteq$ \textit{f(B)} e \textit{f(A)} $\supseteq$
51-
\textit{f(B)} per la proprietà anti-riflessiva del CPO).
52-
\end{enumerate}
43+
Se vale (2), allora \textit{f(B)} = $\mathbb{N}$ e quindi, per ogni \textit{A} $\in\wp(\mathbb{N})$ abbiamo che \textit{f(A)} $\subseteq$ \textit{f(B)}
5344

54-
Ergo, per ogni sotto-caso, la condizione di monotonia è rispettata.\\
45+
Ergo la condizione di monotonia è rispettata.\\
5546

5647
\begin{mydef}[Funziona continua]
5748
%\hspace{\textwidth{}}

0 commit comments

Comments
 (0)