%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
% Lxsameer's CV Latex class
% Copyright (C) 2022 Sameer Rahmani <lxsameer@gnu.org>
%
% This program is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License
% as published by the Free Software Foundation; either version 2
% of the License, or (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

\documentclass{lxpresent}

\date{\today}
\title{Mathematics of Programming Languages}
\setep{02}{What is Mathematics?}

\begin{document}
\maketitle

\begin{frame}{Why did I choose to make this?}{}
  \begin{itemize}
  \item Originally, I just wanted to start from logic
  \item I read a tweet which made me think not everyone knows what math really is
  \item I started to ask around online and even on the street
    \begin{itemize}
    \item To my surprise, the majority of people got it wrong too
    \item Even other engineers and scientists
    \end{itemize}
  \end{itemize}
\end{frame}

\begin{frame}{What was the tweet all about?}{}
  \begin{figure}
  \centering
  \pic{ep2/tweet.png}{0.4}
  \end{figure}

\end{frame}

\begin{frame}{Why do we have to start from here?}{}
  \begin{itemize}
  \item Understanding Mathematics helps us to think better
  \item To asking the right question
  \item There's no consensus on the definition of mathematics, but I'll give you mine
  \item My goal is to get you to think
  \end{itemize}

\end{frame}

\begin{frame}{So, What is mathematics?}{}
  \begin{itemize}
  \item ``Mathematics is the language in which God has written the universe''
  \item To put it simply, Mathematics is a language with a specific set of properties
  \item Usually, a language enables us to express something
  \item For example, musical notation is the language to express music

  \end{itemize}
\end{frame}

\begin{frame}{Language of Music}{}
  \centering
  Anyone who speaks the language of musical notations understands this sheet
  \begin{figure}
  \centering
  \pic{ep2/music_score.png}{0.65}

  Maths is the same, I can express my thoughts about something in terms of mathematics
  \end{figure}
\end{frame}

\begin{frame}{Maths the Framework}{}
  \begin{itemize}
  \item One can produce nonsense in Maths as well
  \item But maths provides a framework that eliminates nonsense, errors and ambiguity
  \item Mathematics is a precise language
  \end{itemize}
\end{frame}

\begin{frame}{Not just a language}{}
  \begin{itemize}
  \item It's not just a language, it's a language + reasoning, it's a tool for reasoning
  \item It's a big collection of some people's careful thoughts
  \item In form of provable and precise statements
  \end{itemize}
\end{frame}

\begin{frame}{So, What is mathematics?}{}
  \begin{itemize}
  \item By Mathematics, it is possible to connect one statement to others.
  \item Mathematics is a way of going from one set of statements to another via reason.
  \item It's an interconnected web, how an idea in one field drives you to others
  \end{itemize}

\end{frame}


\begin{frame}{What are those statements all about?}{}
  \begin{itemize}
  \item Humans are pattern recognizing machines. (We will talk about it more in the episode)
  \item Mathematics is all about generalizing those patterns via abstractions
  \item And study the relations between those abstractions
  \item Usually, there are more than one way to describe the same thing
  \item different between doing math and using math
    \begin{itemize}
      \item Mathematicians want to make their reasoning as general as possible
      \item But math users usually want special cases
    \end{itemize}
  \end{itemize}
\end{frame}

\begin{frame}{}
\end{frame}

\begin{frame}{Contact}{}
  Please, share your thoughts and ideas or researches and papers that you want me to have a look at via:
  \begin{itemize}
  \item Comment section on \href{https://youtube.com/c/lxsameer}{youtube}
  \item \href{https://lxsameer.com}{https://lxsameer.com}
  \end{itemize}
  \end{frame}
\end{document}
