Skip to content

Latest commit

 

History

History
404 lines (323 loc) · 15.8 KB

math.org

File metadata and controls

404 lines (323 loc) · 15.8 KB

Sheaf and sheaves

Example

  • Topological Space $X$: The surface of the Earth.
  • Open Subsets $U_i$​: These represent countries or regions on Earth, and $X$ is covered by these $n$ open subsets, $\left\{U_1, U_2, … ,U_n\right\}$.

Sections $\mathcal{F}(U_i)$ over each Open Subset

  • For each open subset $U_i$​ (a country or region), you have a set $\mathcal{F}(U_i)$, which is called the set of sections over $U_i$​.
  • The elements of $\mathcal{F}(U_i)$ are specific functions or pieces of data defined over the region $U_i$​. E.g.:
    • $\mathcal{F}(U_i)_1$​ could be a function representing the temperature distribution in the country $U_i$​.
    • $\mathcal{F}(U_i)_2​$ could be a function representing the population density in $U_i$​. And so on for other types of data.

Infinite Possibility of Sections

In theory, $\mathcal{F}(U_i)$ could be infinitely large because there could be an infinite number of different kinds of data you might want to assign to $U_i$​. However, in practical scenarios, this set is typically finite but large, depending on how much information you’re trying to capture.

Different Cardinalities

The cardinality of the sets $\mathcal{F}(U_i)$ for different countries (or regions) $U_i$​ and $U_j$​ can indeed be different. For example, one country might have data on temperature and population density, while another might only have temperature data. This reflects that different regions might have different types or amounts of data available.

To summarize

  • $\mathcal{F}(U_i)$ for a country $U_i$​ might be $\mathcal{F}(U_i)=\left\{ftemp, fdensity, felevation, … \right\}$, where each $f$ is a function or piece of data over that region.
  • $\mathcal{F}(U_j)$ for another country $U_j$​ might only include a subset of those functions, say just $\mathcal{F}(U_j)=\left\{ftemp, felevation\right\}, if population density hasn’t been measured there.

These differences reflect the real-world scenario where different regions might have different data available or might be described by different sets of functions. The key idea of sheaves is to handle these variations and allow for consistent “gluing” of this local information into a global picture.

\bigskip

Each region $U_i$ can have its own set of sections $\mathcal{F}(U_i)$, and these sets can be as large or as small as needed, reflecting the available data or functions for that region.

Algebra

An algebra over a field $F$ is a tuple $(A, +, ⋅, ×)$ where:

  • $(A, +)$ is an abelian group (under addition),
  • $(A, ⋅)$ is a vector space over $F$,
  • $(A, ×)$ is a ring,
  • and the operations are compatible, satisfying distributive laws.

Algebraic theory

Algebraic theory in classical universal algebra (or strictly, a presentation of an algebraic theory) consists of:

  • operation symbols of specified arities
  • equations

E.g. The (usual presentation of the) theory of groups:

  • operation symbols of specified arities:
  • an operation symbol $1$ of arity $0$
  • an operation symbol $\blank\inv$ of arity $1$
  • an operation symbol $⋅$ of arity $2$
  • equations: “the usual equations”

Disjoint Union

Let $\left\{A_i : i ∈ I\right\}$ be a family of sets indexed by $I$. The disjoint union of this family is the set $$ \bigsqcup i∈ IAi = \bigcup i∈ I\left\{(x,i):x∈ Ai\right\} $$ Its elements are ordered pairs $(x, i)$ where $i$ is an auxiliary index indicating from which $Ai$ the element $x$ came from.

Pullback a.k.a fibred product

Consider sets $$X = \left\{1, 2, 3, 4\right\}$$ $$Y = \left\{10, 11, 12, 13\right\}$$ $$Z = \left\{a, e, o, b\righ\}$$ where the functions $f$ and $g$ are defined as follows: $$f : X → Z : f(1) = o, f(2) = e, f(3) = o, f(4) = a$$ $$g : Y → Z : g(10) = b, g(11) = o, g(12) = e, g(13) = o$$ Pullback $P = X ×Z​ Y$ is the set $$X ×Z​ Y = \left\{(1,11),(1,13),(2,12),(3,11),(3,13)\right\}$$

This set contains all pairs $(x, y)$ where the elements $x$ from $X$ and $y$ from $Y$ are mapped to the same element in $Z$ by their respective functions $f$ and $g$.

\(k\)-linear maps / transformations

Linear map / transformation

Let $U$ and $W$ be vector spaces over the same field $K$. Function $f: U → W$ is a linear map between vector spaces (or modules over a commutative Ring) $U$ and $W$ that preserves the operations of addition and scalar multiplication.

That means, if for any two vectors $\vec{u}, \vec{v} ∈ U$ and any scalar $c ∈ K$ the following two conditions are satisfied:

\begin{enumerate} \item addition: \begin{equation} \begin{split} f(\vec{u} + \vec{v}) = f(\vec{u}) + f(\vec{v}) \end{split} \end{equation}

\item scalar multiplication, i.e. homogeneity of degree 1: \begin{equation} f(c ⋅ \vec{u}) = c ⋅ f(\vec{u}) \end{equation} \end{enumerate}

By the associativity of the addition $+$, for any vectors $\vec{u_1} \dotsc \vec{u_n} ∈ U$ and scalars $c_1 \dotsc c_n ∈ K$ the following equality holds:

\begin{equation} f(c_1 ⋅ \vec{u_1} + \dotsb + c_n ⋅ \vec{u_n}) = c_1 ⋅ f(\vec{u_1}) + \dotsb + c_n ⋅ f(\vec{u_n}) \end{equation}

If $U = W$ the $f$ is a linear endomorphism of $V$.

Linearity meaning: can be drawn as a line.

Linear map in abstract algebra - module homomorphism

Linear map in category theory - morphism in the category of Modules over a given Ring

Bilinear and multilinear map / transformation

Function $f: U_1 × \dotsb × U_k → W$ is a \(k\)-linear map between $k$ vector spaces (or modules over a commutative Ring) with the following property: $∀ i = 1 … n$ if all of the vectors but $\vec{v_i}$ are held constant, then $f(\vec{v_1}, \dotsc \vec{v_i}, \dotsc \vec{v_n})$ is a linear function of $\vec{v_i}$.

For $k = 1$ the map is called linear, for $k = 2$ bilinear.

Tensors

Generalization of matrices to \(n\)-dimensional space. Also \(n\)-dimensional data containers with descriptions of the valid linear transformations between tensors.

See \href{https://youtu.be/tpL95Sd7zT0}{Jim Fowler: Tensor products}

Tensors as multidimensional arrays

Scalar

0-dimensional tensor, i.e. a single number. E.g:
\begin{equation} \begin{matrix} 1 \end{matrix} \end{equation}

Scalar (dot) product: takes two vectors, returns a single number

Vector

1-dimensional tensor. An arrow with a length and orientation. E.g.:
\begin{equation} \begin{bmatrix} 1 \ 2 \end{bmatrix} \end{equation}

Can represent a quantity with magnitude and direction (e.g. area):

  • orientation is perpendicular to the area
  • length is proportional to the amount the area

Vector (cross) product: takes two vectors $\vec{v_1}$, $\vec{v_2}$, returns a perpendicular vector. $\vec{v_1}$, $\vec{v_2}$ must be linearly independent, i.e. one cannot by obtained (linearly combined) from the other.

Matrix

2-dimensional tensor. E.g.:
\begin{equation} \begin{bmatrix} 1 & 2 \ 3 & 4 \end{bmatrix} \end{equation}

Matrix product (multiplication): takes two matrices, returns a matrix. Number of columns in the first matrix must be equal to the number of rows in the second matrix

Multidimensional tensor

E.g. 3-dimensional tensor. E.g:
\begin{equation} \begin{bmatrix} [ 1 & 2 ] & [1 & 0] \ [ 3 & 3 ] & [3 & 4] \end{bmatrix} \end{equation}

??? Tensor product $⊗$: most general bilinear operation ???

Tensors as multilinear maps

TODO

Hierarchy

What is needed to understand $X$? A big tree and paths through this tree.

Where leads understanding of $X_1, X_2, …, X_n$? Prospects, applications in other science fields, everyday life etc.

What’s the next step? Why to study $Z$ and not $W$ after understanding $X_1, X_2, …, X_n$ in dependency of the field of some interest.

Game Theory

Pure Strategy - set of decisions made with certitude.
Mixed Strategy - distribution of probabilities over some set of pure strategies.

Nash Equilibrum

Each player gives best response to the others. Nobody has an incentive to deviate from their actions if an equilibrum is played.

Example: Close windows to make air conditioning working:
Everybody just gives up without trying to convince others to close the window.

Example: Party organisation - follow the majority:
Majority joins - those skipping are penalized by “missed something”. \ Majority skips - those joining are penalized by “booring”.

Nash Equilibrum TODOs:

  1. Write action profiles for everyone (the matrix).
  2. Calculate optimal mixed strategies for everyone in order to get Nash Equilibrum.
  3. Calculate maxmin strategy and maxmin value (i.e. when the other guys do max harm to the i-th guy).

Pareto Efficiency

Whenever all agents agree on ordering of outcomes the social welfare function selects that ordering.

Independence of Irrelevant Alternatives:
If the selected ordering between two outcomes depends only on the relative ordering they are given by the agents.

Dictator:
Single agent whose preferencies always determine the social ordering.

Arrows Theorem:
Any social welfare function that is pareto efficient and independent of irrelevant alternatives is dictatorial.

Markov chain (model)

Market transition
Dragan Djuric: Clojure on GPU \ Bayadera (Bayesian): very fast \ Bayesian is hard to compute, multi model, many dimensional problem, complex hyperspace \ Markov Chain Monte Carlo simulations (MCMC): difficult to parallelize \ JAGS/Stan (state-of-the-art bayesian C++ tools)

Games beyond 2x2 (See the 2-4 Hardness lecture):

Linear Complementarity formulation
Support Enumeration Method

Hypotheses, Conjectures & Theorems

Goldbach conjencture

Every even integer $n ∈ \{2,4,6, …\}$ is a sum of two primes.

Riemann hypothesis

3Blue1Brown: Visualizing the Riemann hypothesis and analytic continuation

The real part of every non-trivial zero of the Zeta function $ζ$ is $1/2$ (prime numbers).
Or: \ All the nontrivial zeroes of the analytic continuation of the Riemann zeta function $ζ$ have a real part equal to $1/2$.

Poincare conjencture

Every simply connected, closed 3-manifold is homeomorfic to the 3-sphere (Donuts)

P vs. NP

Every problem whose solution can be quickly verified by a computer can also be quickly solved by a computer.

Fermant’s Last Theorem

With $n,x,y,z ∈ \mathbb{N}$ and $n > 2$, the equation $x^n + y^n = z^n$ has no solutions.

Continuum hypothesis

There is no set with cardinality strictly between the cardinalities of integers and real numbers. Notes: R surj P(N) (Power series - Mocninovy rad)

Fundamental Theorem of Arithmetics

Every positive integer $n ∈ \mathbb{N}$ can be written in a unique way as a product of primes.
Barber paradox is derived from Russell’s paradox.

Probability

\begin{tabbing} Rule \hspace{7em} \= Expression
Difference \> $P(B - A) = P(B) - P(A ∩ B)$ \ Inclusion-Exclusion \> $P(A ∪ B) = P(A) + P(B) - P(A ∩ B)$ \ Boole’s Inequality \> $P(A ∪ B) ⇐ P(A) + P(B)$ \ Monotonicity \> If $A \subseteq B$ then $P(A) ⇐ P(B)$ \end{tabbing}

Ordinary conditional probability

$$P(A \mid B) = \frac{P(A ∩ B)}{P(B)}$$

See \href{https://youtu.be/M8xlOm2wPAA}{Bayes’ Theorem applied to disease diagnosis} on YouTube.

\begin{table}[H] \begin{tabular}{|l|l|l|l|l|l|} \hline \multicolumn{2}{|l|}{Objective Health} & \multicolumn{2}{l|}{Test result} & Outcome & Event $T ∩ H$ \ \hline ill / healthy & p & i / h & p & probability & probability \ \hline $H$ & $P(H)$ & $T$ & $P(T)$ & \begin{tabular}[c]{@{}l@{}}$P(T ∩ H) = P(H) ⋅ P(T)$\end{tabular} & \begin{tabular}[c]{@{}l@{}}$P(T \mid H ) = P(T ∩ H) / P(H)$\end{tabular} \ \hline really-i & 0.1 & test-i & 0.9 & 0.09 & (/ 0.09 (+ 0.09 0.27))=0.25 \ \hline really-i & 0.1 & test-h & 0.1 & 0.01 & (/ 0.01 (+ 0.01 0.63))=0.015625 \ \hline really-h & 0.9 & test-i & 0.3 & 0.27 & (/ 0.27 (+ 0.09 0.27))=0.75 \ \hline really-h & 0.9 & test-h & 0.7 & 0.63 & (/ 0.63 (+ 0.01 0.63))=0.984375 \ \hline \end{tabular} \end{table}

  • Generall test correctness: 0.09 + 0.63 = 0.72 (i.e. proper results for ill + proper results for healthy persons)
  • Just guessing “everybody’s healthy” gives 90% “generall test correctness” because the test is wrong only for ill patients and they make up 10% of the population.
;;                      +-- test positive 0.9: 0.1 * 0.9 = 0.09
;;                      |
;;    +-----  ill 0.1 --+
;;    |                 |
;;    |                 +-- test negative 0.1: 0.1 * 0.1 = 0.01
;; ---+
;;    |                 +-- test positive 0.3: 0.9 * 0.3 = 0.27
;;    |                 |
;;    +-- healthy 0.9 --+
;;                      |
;;                      +-- test negative 0.7: 0.9 * 0.7 = 0.63
;; test negative, i.e. says "you're healthy" and the patient is really
;; ill (has the condition)
(/ 0.01 (+ 0.01 0.63)) = 0.015625
;; test positive, i.e. says "you're ill" and the patient is really ill (has
;; the condition)
(/ 0.09 (+ 0.09 0.27)) = 0.25
;; test negative, i.e. says "you're healthy" and the patient is really
;; health (doesn't have the condition)
(/ 0.63 (+ 0.01 0.63)) = 0.984375
;; test posivite, i.e. says "you're ill" and the patient is really
;; healthy (doesn't have the condition)
(/ 0.27 (+ 0.09 0.27)) = 0.75

A posteriori conditional probability

$$P(B \mid A) = \frac{P(A ∩ B)}{P(B)}$$

If event $B$ precedes event $A$ in time.
Example: The probability it was cloudy this morning, given that it rained in the afternoon.

Homology

Higher dimensional analogues for studying loops = (alternative to) Homotopy groups
Simplices: analogs of triangles in higher dimensions

Fundamental group $π_2$ - loops of loops

Loops around sphere: captuers 2-dimensional hole in the sphere

$π_n$(S-k-upper-index) Homotopy group exists even if $n > k$; measuring higher dimensional holes in k dimensional sphere

$∈$ is a containment relation

Homotopy Type Theory

HoTT foundational framework; notions of paths in a space; equality and quivalence.

Easier translation of mathematical proofs to a programming language of proof assistants (than before).

The Univalence Axiom

Identity is equivalent to equivalence, in particular: equivalent types are identical.

For all types $A,B: Π A,B : Type.(A = B) ≅ (A ≅ B)$

  • There’s a function $UA: (A ≅ B) → (A = B)$ such that from a proof equivalence of $A ≅ B$ it constructs a proof of equality $A = B$. Moreover a proof equivalence of $A ≅ B$ is equivalent to a proof of equality $A = B$. I.e. $(A ≅ B) ≅ (A = B)$.
  • it allows to create a homotopy calculus w/o introduction of differential variety and even w/o an introduction of real numbers

Entier Relativ i.e. Set of Integers $\mathbb{Z}$.