Empezar con ñalgebra homológica
This commit is contained in:
commit
1f31e083e2
867
apuntes.tex
Normal file
867
apuntes.tex
Normal file
@ -0,0 +1,867 @@
|
||||
\documentclass[spanish, a4paper, nofonts, justified]{tufte-book}
|
||||
\usepackage{etoolbox}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{amssymb}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{amsthm}
|
||||
\usepackage{xspace}
|
||||
\usepackage[mono=false]{libertine}
|
||||
\usepackage[scaled=0.94,varl]{inconsolata}
|
||||
\usepackage[libertine, varbb]{newtxmath}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{nicefrac}
|
||||
\usepackage{fp}
|
||||
\usepackage{tikz}
|
||||
\usepackage{geometry}
|
||||
\usepackage[final,nopatch=footnote]{microtype}
|
||||
\usepackage{rotating}
|
||||
\usepackage{booktabs}
|
||||
\usepackage{multirow}
|
||||
\usepackage{multicol}
|
||||
\usepackage{marvosym}
|
||||
\usepackage[inline]{enumitem}
|
||||
\usepackage{blkarray}
|
||||
\usepackage{mathrsfs}
|
||||
\usepackage{verbatim} % for the comment environment
|
||||
\usepackage{mathtools}
|
||||
\usepackage{environ}
|
||||
\usepackage{xpatch}
|
||||
\usepackage[es-noshorthands,es-tabla]{babel}
|
||||
\usepackage{clases}
|
||||
\usepackage{colorfulthm}
|
||||
|
||||
\usetikzlibrary{tikzmark, patterns, shapes, matrix, calc, arrows,
|
||||
decorations.pathreplacing, decorations.markings, knots, arrows.meta,
|
||||
3d, pgfplots.groupplots, intersections, cd, perspective, calligraphy}
|
||||
|
||||
%%
|
||||
%% Texto circulado
|
||||
%%
|
||||
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{%
|
||||
\node[inner sep=0pt] (char) {#1}
|
||||
node[shape=circle,draw,inner sep=.65ex] {};}}
|
||||
|
||||
\newcommand{\pr}{\pi}
|
||||
|
||||
%%
|
||||
%% Colores
|
||||
%%
|
||||
|
||||
% https://colorhunt.co/palette/0a26471442722052952c74b3
|
||||
%\definecolor{colorchap}{HTML}{0A2647}
|
||||
%\definecolor{colorsec}{HTML}{144272}
|
||||
%\definecolor{colorsubsec}{HTML}{205295}
|
||||
%\definecolor{colorexer}{HTML}{2C74B3}
|
||||
|
||||
\definecolor{colorchap}{HTML}{014151}
|
||||
\definecolor{colorsec}{HTML}{01627A}
|
||||
\definecolor{colorsubsec}{HTML}{0182A2}
|
||||
\definecolor{colorexer}{HTML}{0192B7}
|
||||
|
||||
|
||||
|
||||
%https://paletton.com/#uid=7000u0kleqtbzEKgVuIpcmGtdhZ
|
||||
%\definecolor{colorchap}{HTML}{B52626} %{00296B}
|
||||
%\definecolor{colorsec}{HTML}{D34747} %{003F88}
|
||||
%\definecolor{colorsubsec}{HTML}{06D6A0} %{00509D}
|
||||
%\definecolor{colorexer}{HTML}{008800} %{00509D}
|
||||
|
||||
|
||||
\definecolor{colorresultado}{HTML}{1E9995}
|
||||
\definecolor{colorejemplo}{HTML}{C99418}
|
||||
\definecolor{colordefinicion}{HTML}{EF5B5B}
|
||||
|
||||
%%
|
||||
%% TEOREMAS
|
||||
%%
|
||||
|
||||
\numberwithin{equation}{chapter}
|
||||
\newtheorem{task}{Tarea}
|
||||
|
||||
|
||||
\theoremstyle{plain}
|
||||
\newtheorem{axiom}[main]{Axioma}
|
||||
\theoremstyle{remark}
|
||||
\newtheorem{remark}[main]{Observación}
|
||||
\newtheorem{remarks}[main]{Observaciones}
|
||||
\theoremstyle{definition}
|
||||
\newtheorem{notation}[main]{Notación}
|
||||
\newtheorem{notations}[main]{Notaciones}
|
||||
|
||||
\newtheorem{properties}[main]{Propiedades}
|
||||
\newtheorem{property}[main]{Propiedad}
|
||||
\newtheorem{exam-prop}[main]{Ejemplos y Propiedades}
|
||||
\newtheorem{def-prop}[main]{Proposición-Definición}
|
||||
\newtheorem{construction}[main]{Construcción}
|
||||
\newtheorem*{help}{Ayuda}
|
||||
|
||||
\colortheoremstyle{plain}
|
||||
\newctheorem{theorem}{Teorema}{colorresultado}
|
||||
\newctheorem{proposition}{Proposicion}{colorresultado}
|
||||
\newctheorem{lemma}{Lema}{colorresultado}
|
||||
\newctheorem{corollary}{Corolario}{colorresultado}
|
||||
\colortheoremstyle{definition}
|
||||
\newctheorem{definition}{Definición}{colordefinicion}
|
||||
\newctheorem{definitions}{Definiciones}{colordefinicion}
|
||||
\newctheorem{example}{Ejemplo}{colorejemplo}
|
||||
\newctheorem{examples}{Ejemplos}{colorejemplo}
|
||||
|
||||
%%
|
||||
%%
|
||||
%%
|
||||
|
||||
\setlist[enumerate,1]{left=\parindent}
|
||||
\setlist[itemize,1]{left=\parindent}
|
||||
|
||||
% No comas
|
||||
\decimalpoint
|
||||
|
||||
% Para tufte con numeración
|
||||
\setcounter{secnumdepth}{3}
|
||||
\setcounter{tocdepth}{1}
|
||||
|
||||
|
||||
% chapter format
|
||||
\titleformat{\chapter}%
|
||||
{\huge\rmfamily\itshape}% format applied to label+text
|
||||
{\thechapter}% label
|
||||
{18pt}% horizontal separation between label and title body
|
||||
{}% before the title body
|
||||
[]% after the title body
|
||||
|
||||
|
||||
% https://tex.stackexchange.com/questions/598813/parse-git-commit-date-e-g-for-datetime
|
||||
% define a parser
|
||||
% \def\parsegitdate#1-#2-#3 #4 #5 #6\endparse{Versión: #3.#2.#1\\{\small HASH: \texttt{#6}}}
|
||||
% \makeatletter
|
||||
% \begingroup\everyeof{\noexpand}
|
||||
% \xdef\gitdate{\@@input|"git log -1 --format='\@percentchar ci \@percentchar H' ."\space}
|
||||
% \endgroup
|
||||
% \makeatother
|
||||
|
||||
|
||||
\title{Homología y aplicaciones}
|
||||
\date{Apuntes de la asignatura}
|
||||
\author{}
|
||||
%\publisher{\expandafter\parsegitdate\gitdate\endparse}
|
||||
|
||||
|
||||
\makeatletter
|
||||
%%%% Kevin Godny's code for title page and contents from https://groups.google.com/forum/#!topic/tufte-latex/ujdzrktC1BQ
|
||||
\renewcommand{\maketitlepage}{%
|
||||
\begingroup%
|
||||
\setlength{\parindent}{0pt}
|
||||
|
||||
{\fontsize{24}{24}\selectfont\textit{\@author}\par}
|
||||
|
||||
\vspace{1.75in}{\fontsize{48}{72}\selectfont\textit{\@title}\par}
|
||||
|
||||
\vspace{0.5in}{\fontsize{20}{30}\selectfont\@date\par}
|
||||
|
||||
\vfill{\fontsize{14}{14}\selectfont\textit{\@publisher}\par}
|
||||
|
||||
\thispagestyle{empty}
|
||||
\endgroup
|
||||
}
|
||||
\makeatother
|
||||
|
||||
|
||||
\usepackage{makeidx}
|
||||
\makeindex
|
||||
|
||||
|
||||
|
||||
|
||||
% el titlesec estropeaba el asunto no me digas pq
|
||||
%\makeatletter
|
||||
%\def\l@section{\@tocline{1}{0,2pt}{2pc}{6mm}{\ \ }}
|
||||
%\makeatother
|
||||
|
||||
\geometry{textwidth=.55\paperwidth, lmargin=2cm}
|
||||
|
||||
\makeatletter
|
||||
\@tufte@letterspacing@letterspace
|
||||
\makeatother
|
||||
|
||||
|
||||
\newcommand\bolaa{\mathbb{B}}
|
||||
\newcommand\bolac{\mathbb{D}}
|
||||
\newcommand\esfera{\mathbb{S}}
|
||||
\newcommand\entornos{\mathscr{N}}
|
||||
|
||||
|
||||
% Guarda soluciones inteligentemente
|
||||
\makeatletter
|
||||
\theoremstyle{definition}
|
||||
\newtheorem{internals_ejercicio}{}[section]
|
||||
\newenvironment{ejercicio}[1]%
|
||||
{%
|
||||
\begin{internals_ejercicio}%[\hyperlink{HL-#1}{SOL}]%
|
||||
\label{#1}%
|
||||
%\ifx#1\empty\else\exerlabel{#1}\fi%
|
||||
}%
|
||||
{%
|
||||
\end{internals_ejercicio}%
|
||||
}%
|
||||
|
||||
\AtBeginDocument{%
|
||||
\newwrite\SOL@out
|
||||
\immediate\openout\SOL@out=tmpsols.tex
|
||||
}
|
||||
|
||||
\AddToHook{cmd/mainmatter/after}{%
|
||||
\gdef\SECEXAMPLE{}%
|
||||
%
|
||||
\AddToHook{cmd/sectionmark/after}%
|
||||
{\immediate\write\SOL@out{\noexpand\gdef\noexpand\SECEXAMPLE{\thesection}}}%
|
||||
%
|
||||
\AddToHook{cmd/chaptermark/after}{%
|
||||
\immediate\write\SOL@out{%
|
||||
\noexpand\section*{Soluciones a los ejercicios del Cap\noexpand\'{\noexpand\i}tulo\string~\thechapter}%
|
||||
}%
|
||||
}%
|
||||
}
|
||||
|
||||
\NewEnviron{solucion}[1]{%
|
||||
\toks@=\expandafter{\BODY}%
|
||||
\immediate\write\SOL@out{\noexpand\begin{outsolucion}{#1}}%
|
||||
\immediate\write\SOL@out{\the\toks@}%
|
||||
\immediate\write\SOL@out{\noexpand\end{outsolucion}}
|
||||
}%
|
||||
|
||||
\def\ifempty#1{\def\temp{#1}\ifx\temp\empty}
|
||||
\newenvironment{outsolucion}[1]{%
|
||||
\par\noindent\def\tmp{}%
|
||||
%\makeatletter
|
||||
% \rlap{\SEC@EXAMPLE\hspace*{3pt}}%
|
||||
% \def\SEC@EXAMPLE{}%
|
||||
%\makeatother
|
||||
\begin{proof}[%
|
||||
\ifx\SECEXAMPLE\tmp\else%
|
||||
\raise-.1ex\llap{%
|
||||
\normalfont%
|
||||
\bfseries
|
||||
\Large%
|
||||
\S\SECEXAMPLE\hspace*{1ex}%
|
||||
}%
|
||||
\gdef\SECEXAMPLE{}%
|
||||
\fi%
|
||||
\hypertarget{HL-#1}{\normalfont\textbf{Solución a~\ref{#1}}}]
|
||||
}{%
|
||||
\end{proof}
|
||||
}
|
||||
\makeatother
|
||||
|
||||
|
||||
\let\vec\boldsymbol
|
||||
\def\defeq{\coloneqq}
|
||||
|
||||
|
||||
\tikzcdset{arrow style=math font}
|
||||
|
||||
|
||||
|
||||
% chapter format
|
||||
\titleformat{\chapter}%
|
||||
{\huge\rmfamily\itshape\color{colorchap}}% format applied to label+text
|
||||
{\llap{\colorbox{colorchap}{%
|
||||
\parbox{5cm}{\hfill\itshape\huge\color{white}\thechapter}}}}% label
|
||||
{5pt}% horizontal separation between label and title body
|
||||
{}% before the title body
|
||||
[]% after the title body
|
||||
\titleformat{name=\chapter,numberless}%
|
||||
{\huge\rmfamily\itshape\color{colorchap}}% format applied to label+text
|
||||
{\llap{\colorbox{colorchap}{%
|
||||
\parbox{5cm}{\itshape\huge0}}}}% label
|
||||
{5pt}% horizontal separation between label and title body
|
||||
{}% before the title body
|
||||
[]% after the title body
|
||||
|
||||
% section format
|
||||
\titleformat{\section}%
|
||||
{\normalfont\Large\itshape\color{colorsec}}% format applied to label+text
|
||||
{\llap{\colorbox{colorsec}{%
|
||||
\parbox{5cm}{\hfill\normalfont\Large\itshape\color{white}\thesection}}}}% label
|
||||
{5pt}% horizontal separation between label and title body
|
||||
{}% before the title body
|
||||
[]% after the title body
|
||||
\titleformat{name=\section,numberless}%
|
||||
{\normalfont\Large\itshape\color{colorsec}}% format applied to label+text
|
||||
{\llap{\colorbox{colorsec}{%
|
||||
\parbox{5cm}{\normalfont\Large\itshape0}}}}% label
|
||||
{5pt}% horizontal separation between label and title body
|
||||
{}% before the title body
|
||||
[]% after the title body
|
||||
|
||||
% subsection format
|
||||
\titleformat{name=\subsection}%
|
||||
{\normalfont\large\itshape\color{colorsubsec}}% format applied to label+text
|
||||
{\llap{\colorbox{colorsubsec}{%
|
||||
\parbox{5cm}{\hfill\color{white}\thesubsection}}}}% label
|
||||
{5pt}% horizontal separation between label and title body
|
||||
{}% before the title body
|
||||
[]% after the title body
|
||||
|
||||
\titleformat{name=\subsection,numberless}%
|
||||
{\normalfont\large\itshape\color{colorexer}}% format applied to label+text
|
||||
{\llap{\colorbox{colorexer}{%
|
||||
\parbox{5cm}{\normalfont\large\itshape0}}}}% label
|
||||
{5pt}% horizontal separation between label and title body
|
||||
{}% before the title body
|
||||
[]% after the title body
|
||||
|
||||
|
||||
|
||||
\let\tmp\subsetneq
|
||||
\let\subsetneq\varsubsetneq
|
||||
\let\varsubsetneq\tmp
|
||||
|
||||
\let\tmp\supsetneq
|
||||
\let\supsetneq\varsupsetneq
|
||||
\let\varsupsetneq\tmp
|
||||
|
||||
|
||||
|
||||
\begin{document}
|
||||
|
||||
\chapter{Módulos}
|
||||
|
||||
A partir de ahora, $R$ denotará un anillo conmutativo con identidad.
|
||||
|
||||
\begin{definition}
|
||||
Un \emph{$R$-módulo} (o módulo sobre $R$) $M$ es un grupo abeliano con una operaciones
|
||||
|
||||
|
||||
\[
|
||||
\begin{array}{ccccc}
|
||||
\cdot & : & R \times M & \longrightarrow & M \\
|
||||
& & (\lambda,a) & \mapsto & \lambda \cdot a
|
||||
\end{array}
|
||||
\]
|
||||
|
||||
|
||||
Que satisface las siguientes propiedades para todos $t,r \in R$ y todos $x,y\in M$:
|
||||
\begin{enumerate}
|
||||
\item $(tr) \cdot a = t\cdot(r\cdot x)$
|
||||
\item $(t + r) \cdot x = t\cdot a + r\cdot x$
|
||||
\item $ t\cdot (x + y) = t\cdot x+t\cdot y$
|
||||
\item $1\cdot a = a$
|
||||
\end{enumerate}
|
||||
|
||||
\end{definition}
|
||||
|
||||
\begin{lemma}
|
||||
\label{propiedades-modulos}
|
||||
Es fácil comprobar que deben cumplirse además las siguientes relaciones:
|
||||
\begin{itemize}
|
||||
\item $0\cdot x = 0$
|
||||
\item $r\cdot 0 = 0$
|
||||
\item $(-t)\cdot x = -(t \cdot x)$
|
||||
\item $t\cdot (-x) = - (t \cdot x)$
|
||||
\item $t \cdot (x - y) = t \cdot x - t \cdot y$.
|
||||
\end{itemize}
|
||||
\end{lemma}
|
||||
|
||||
La demostración se queda como ejercicio.
|
||||
|
||||
\begin{example}
|
||||
Notar que, en el caso en que $R$ sea un cuerpo, esta definición coincide con la de
|
||||
espacio vectorial. Es decir, la idea de módulo es una generalización de la de espacio
|
||||
vectorial
|
||||
\end{example}
|
||||
|
||||
\begin{example}
|
||||
Si $I$ es un ideal de $R$, entonces el producto con $R$ da una estructura de $R$-módulo.
|
||||
Es decir, los ideales de un anillo son casos particulares de módulos.
|
||||
\end{example}
|
||||
|
||||
\begin{example}
|
||||
Si partimos de que $M$ es un grupo abeliano, podemos darle una estructura de $\ZZ$-módulo,
|
||||
de una única manera como sigue:
|
||||
|
||||
\[
|
||||
i \cdot x = \left\{
|
||||
\begin{array}{lcr}
|
||||
\underbrace{x + \dots + x}_{i \text{ veces}} & \text{ si } & i \geq 0 \\
|
||||
\underbrace{-x - \dots - x}_{-i \text{ veces}} & \text{ si } & i < 0
|
||||
\end{array}
|
||||
\right.
|
||||
\]
|
||||
|
||||
Comprobar que esta estructura está obligada por las propiedades anteriores. Es decir,
|
||||
\emph{Un $\ZZ$-módulo es lo mismo que un grupo abeliano}.
|
||||
\end{example}
|
||||
|
||||
Este ejemplo nos muestra que, efectivamente, los módulos son más generales que los espacios
|
||||
vectoriales: por ejemplo, en los espacios vectoriales sabemos que siempre existen bases
|
||||
(y por lo tanto, tenemos una biyección entre los elementos del espacio vectorial, y sus tuplas de coordenadas). Sin embargo, eso no necesariamente ocurre en los grupos abelianos: $\ZZ/(2\ZZ)$ no
|
||||
tiene una base sobre $\ZZ$.
|
||||
|
||||
\begin{example}
|
||||
Dado un conjunto $G$, el \emph{$R$-módulo libre generado por $G$} (denotado como $R\langle G\rangle$) es el conjunto de las combinaciones lineales de elementos de $G$ con coeficientes en $R$. \footnote{Es decir:
|
||||
\begin{itemize}
|
||||
\item Los elementos de $R\langle G\rangle$ son expresiones de la forma
|
||||
\[
|
||||
r_1\cdot x_1+\cdots + r_n\cdot x_n
|
||||
\]
|
||||
donde $x_1,\cdots, x_n$ son elementos distintos de $G$, y $r_1,\ldots,r_n$ son elementos de $R$. El orden de los sumandos es irrelevante, y los sumandos donde el coeficiente $r_i$ es cero, se pueden omitir. Además, se puede usar el símbolo $-r_i\cdot x_i$ en lugar de $+(-r_i)\cdot x_i$.
|
||||
\item La suma de dos expresiones
|
||||
\[
|
||||
\begin{array}{l}
|
||||
(r_1\cdot x_1+\cdots + r_n\cdot x_n+\lambda_1\cdot z_1+\cdots+\lambda_l\cdot z_l)+ \\(s_1\cdot y_1+\cdots + s_m\cdot y_m+\mu_1\cdot z_1+\cdots+\mu_l\cdot z_l)
|
||||
\end{array}
|
||||
\]
|
||||
donde los $x_i$, $y_i$ y $z_i$ son todos distintos (es decir los $z_i$ son los términos
|
||||
que aparecen en ambas expresiones, los $x_i$ solo aparecen en la primera, y los $y_i$ solo en la segunda), es
|
||||
\[
|
||||
\begin{array}{l}
|
||||
r_1\cdot x_1+\cdots + r_n\cdot x_n+ \\
|
||||
(\lambda_1 + \mu_1)\cdot z_1+\cdots+(\lambda_l+\mu_l)\cdot z_l + \\
|
||||
s_1\cdot y_1+\cdots + s_m\cdot y_m
|
||||
\end{array}
|
||||
\]
|
||||
Es decir, la suma habitual para combinaciones $R$-lineales.
|
||||
\item El producto escalar se define como
|
||||
\[
|
||||
t\cdot (t_1\cdot x_1+\cdots + t_n\cdot x_n) = (tt_1)\cdot x_1+\cdots +(tt_n)\cdot x_n
|
||||
\]
|
||||
\end{itemize}
|
||||
}
|
||||
|
||||
En este caso a $G$ se le llama el \emph{conjunto de generadores} de $R\langle M\rangle$.
|
||||
|
||||
\end{example}
|
||||
|
||||
\section{Submódulos y cocientes.}
|
||||
|
||||
\begin{definition}
|
||||
Dado un $R$-módulo $M$, un subgrupo $S\subseteq M$ es un \emph{submódulo} de $M$
|
||||
si para todo $x \in S$, y para todo $r\in R$, $r\cdot x \in S$. Es decir, si es cerrado
|
||||
por la operación con $R$.
|
||||
\end{definition}
|
||||
|
||||
|
||||
\begin{notation}
|
||||
Denotaremos $S \le M$ para indicar que $S$ es un submódulo de $M$.
|
||||
\end{notation}
|
||||
% \begin{lemma}
|
||||
% Si $S_1$ y $S_2$ son submódulos de $M$, $S_1\cap S_2$ es submódulo de $M$.
|
||||
% \end{lemma}
|
||||
% \begin{proof}
|
||||
% Ya sabemos que la intersección de subgrupos es subgrupo.
|
||||
% Sean $t\in R$ y $x \in S_1\cap S_2$. Por ser $S_1$ submódulo, $t\cdot x \in S_1$.
|
||||
% Análogamente $t\cdot x \in S_2$ y se tiene la propiedad deseada.
|
||||
% \end{proof}
|
||||
Es fácil comprobar que un submódulo de un $R$-módulo, es a su vez un $R$-módulo.
|
||||
|
||||
Si $S$ es un submódulo de $M$, en particular es un subgrupo normal (recordar que
|
||||
en los grupos abelianos, todos los subgrupos son normales) y por lo tanto el cociente
|
||||
como grupo $M / S$ es también un grupo. Veamos que, de hecho, se le puede dar una estructura
|
||||
de $R$-módulo natural.
|
||||
|
||||
Para empezar, veamos que $M / S$ es un grupo abeliano: sean $[x], [y] \in M / S$ (es decir,
|
||||
dos clases de equivalencia). Se tiene que $[x]+[y] = [x+y] = [y+x]=[y]+[x]$ (por la definición de la operación en el cociente de un grupo).
|
||||
|
||||
Ahora, definimos
|
||||
\[
|
||||
\begin{array}{ccccc}
|
||||
\cdot & : & R \times M /S & \longrightarrow & M / S \\
|
||||
& & (t,[x]) & \mapsto & [t\cdot x]
|
||||
\end{array}
|
||||
\]
|
||||
|
||||
Veamos primero que está bien definida: si $[x] = [y]$, se tiene que $x - y \in S$.
|
||||
Por lo tanto $t\cdot x - t \cdot y = t \cdot (x - y) \in S$. Luego $[t\cdot x] = [t\cdot y]$.
|
||||
|
||||
\begin{lemma}
|
||||
Esta operación dota a $M / S$ de estructura de $R$-módulo.
|
||||
\end{lemma}
|
||||
\begin{proof}
|
||||
\hfill
|
||||
|
||||
\begin{enumerate}
|
||||
\item $(tr)\cdot [x] = [(tr) \cdot x] = [t\cdot (r\cdot x)] =t \cdot[r\cdot x] = t\cdot(r\cdot [x])$
|
||||
\item $(t+r)\cdot [x] = [(t + r) \cdot x] = [t\cdot x + r \cdot x] = [t\cdot x]+[r\cdot x] = t\cdot [x]+r\cdot [x]$
|
||||
\item $t\cdot ([x]+[y])= t\cdot [x+y]=[t\cdot (x+y)] =[t\cdot x+t\cdot y] = [t\cdot x]+[t\cdot y]= t\cdot[x]+t\cdot [y]$.
|
||||
\item $1\cdot [x]=[1\cdot x] = [x]$.
|
||||
\end{enumerate}
|
||||
\end{proof}
|
||||
|
||||
|
||||
\section{Morfismos}
|
||||
|
||||
\begin{definition}
|
||||
Sean $M_1,M_2$ $R$-módulos. Una aplicación
|
||||
\[
|
||||
f : M_1 \longrightarrow M_2
|
||||
\]
|
||||
es un \emph{morfismo de $R$-módulos} si es un morfismo de grupos abelianos, y además
|
||||
cumple que $\forall t \in R, \forall x\in M_1, f(t\cdot x) = t \cdot f(x)$.
|
||||
|
||||
Si $f$ es una aplicación inyectiva, se dice que es un \emph{monomorfismo}. Si $f$
|
||||
es suprayectiva, se dice que es un \emph{epimorfismo}. Si es biyectiva, se dice que
|
||||
es un \emph{isomorfismo}. Si existe un isomorfismo entre dos módulos, se dice que
|
||||
son \emph{isomorfos}.
|
||||
\end{definition}
|
||||
|
||||
|
||||
\begin{lemma}
|
||||
Sea $f: M_1\to M_2$ un morfismo de $R$-módulos. $S_1 \le M_1$, $S_2\le M_2$. Se tiene:
|
||||
\begin{enumerate}
|
||||
\item $f(S_1)\le M_2$
|
||||
\item $f^{-1}(S_2) \le M_1$.
|
||||
\end{enumerate}
|
||||
\end{lemma}
|
||||
\begin{proof}
|
||||
\hfill
|
||||
\begin{enumerate}
|
||||
\item Por ser imagen de un subgrupo por un morfismo de grupos, sabemos que es subgrupo.
|
||||
Ahora sea $t\in R$, $y \in f(S_1)$. Entonces debe existir $x\in S_1$ tal que $y=f(x)$.
|
||||
Se tiene que $t\cdot y = t \cdot f(x) = f(t\cdot x)$. Pero $t\cdot x \in S_1$ por ser $S_1$ submódulo.
|
||||
\item De nuevo, la preimagen de un subgrupo por un morfismo de grupos es subgrupo.
|
||||
Sea $t\in R$, $x\in f^{-1}(S_2)$. Tenemos $f(t\cdot x) = t \cdot f(x) \in S_2$. Luego
|
||||
$t\cdot x \in f^{-1}(S_2)$.
|
||||
\end{enumerate}
|
||||
\end{proof}
|
||||
|
||||
En particular, puesto que $\{0\}$ es siempre un submódulo, tenemos que $Ker(f) := f^{-1}(0)$ es un submódulo de $M_1$. Análogamente, puesto que $M_1$ es submódulo de sí mismo, también
|
||||
$Im(f) \le M_2$.
|
||||
|
||||
Al igual que ocurre con morfismos de grupos, $f$ es monomorfismo si y solo si $Ker(f) = \{0\}$; es epimorfismo si y solo si $Im(f) = M_2$.
|
||||
|
||||
\begin{lemma}
|
||||
Sea $f : M_1 \to M_2$ un morfismo de $R$-módulos. Entonces $f$ es isomorfismo si
|
||||
y sólo si existe un morfismo de $R$-módulos $g: M_2 \to M_1$ tal que $f\circ g = Id_{M_2}$
|
||||
y $g\circ f = Id_{M_1}$.
|
||||
|
||||
\end{lemma}
|
||||
\begin{proof}
|
||||
Lo único que no es directo por teoría de conjuntos es que, si $f$ es biyectiva y
|
||||
morfismo de módulos, su inversa $g$ es también morfismo de módulos.
|
||||
|
||||
Que es morfismo de grupos abelianos se tiene por ser $f$ morfismo de grupos. Veamos pues que
|
||||
también respeta la acción de $R$. Sea $y\in M_2$ y $t\in R$. Sea $x=g(y)$.
|
||||
Se tiene que $f(t\cdot x) = t \cdot f(x) = t\cdot y $, y es el único elemento de $M_1$ que
|
||||
cumple que esto. Luego $t\cdot x = g(t\cdot y)$ y tenemos lo buscado.
|
||||
\end{proof}
|
||||
|
||||
|
||||
\begin{example}
|
||||
Sea $S\le M$. Entonces la aplicación
|
||||
\[
|
||||
\begin{array}{ccc}
|
||||
\pi :M & \longrightarrow & M / S \\
|
||||
x & \mapsto & [x]
|
||||
\end{array}
|
||||
\]
|
||||
es un morfismo de módulos, ya que es morfismo de grupos abelianos (por ser $S$ subgrupo
|
||||
normal de $M$), y la definición de la acción de $R$ sobre $M/S$ es precisamente
|
||||
$t\cdot [x] = [t\cdot x]$.
|
||||
\end{example}
|
||||
|
||||
\begin{example}
|
||||
Si $M_1,M_2$ son dos $R$-módulos, suma \emph{suma directa} el producto cartesiano
|
||||
$M_1\times M_2$ con las operaciones naturales es también un $R$-módulo.
|
||||
En este contexto, se usa la notación $M_1\oplus M_2$.
|
||||
\end{example}
|
||||
|
||||
Al igual que en el caso de anillos y grupos, se tienen los siguientes teoremas de
|
||||
isomorfía:
|
||||
|
||||
\begin{theorem}
|
||||
Sea $f : M_1 \to M_2$ un morfismo de módulos. Entonces existe un ismorfismo $\bar{f}$
|
||||
que hace que el siguiente diagrama conmute:
|
||||
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
M \arrow[r, "f"] \arrow[dd, "\pi"] & Im(f) \\ \\
|
||||
M/(Ker f) \arrow[ruu, "\bar{f}"] &
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
\footnote{En particular, esto implica que si tenemos un epimorfismo $f: M_1\to M_2$,
|
||||
necesariamente $M_2$ es isomorfo a un cociente de $M_1$. Es decir, un epiformismo
|
||||
es esencialmente lo mismo que tomar un cociente.}
|
||||
\end{theorem}
|
||||
|
||||
\begin{proof}
|
||||
Empecemos definiendo $\bar{f}$. Sea $[x] \in M / (Ker f)$. Definimos $\bar{f}([x]) = f(x)$. Para ver que está bien definida, si $[x]= [y]$ entonces $x - y \in Ker(f)$, y por lo tanto $f(x) = f ((x - y) + y) = f (x -y) + f (y) = 0 + f(y) = f(y)$, así que la imagen
|
||||
de una clase no depende del representante.
|
||||
|
||||
Claramente $f(x)\in Im(f)$, así que tenemos
|
||||
$\bar{f}: M / Ker(f) \to Im(f)$ bien definida. Por construcción, el diagrama conmuta.
|
||||
Basta ver pues que $\bar{f}$ es isomorfismo de módulos.
|
||||
|
||||
Veamos que es morfismo de grupos abelianos y que respeta la acción de $R$:
|
||||
\begin{itemize}
|
||||
\item $\bar{f}([0]) = f(0) = 0$
|
||||
\item $\bar{f}([x]+[y]) = \bar{f}([x+y]) = f(x+y) =f(x)+f(y) = \bar{f}([x])+\bar{f}([y])$
|
||||
\item $\bar{f}(t\cdot [x]) = \bar{f} = f(t\cdot x) = t\cdot f(x) = t\cdot \bar{f}([x])$
|
||||
\end{itemize}
|
||||
|
||||
Por último, veamos que $\bar{f}$ es biyectiva. La suprayectividad es clara, ya que si
|
||||
$y\in Im(f)$, existe $x\in M$ tal que $f(x) = y$, y por lo tanto $\bar{f}([x]) = y$.
|
||||
|
||||
Para ver que es inyectiva, supongamos que $\bar{f}([x])= 0$. Entonces $f(x)=0$,
|
||||
es decir, $x\in Ker(f)$ y por lo tanto $[x] = 0$.
|
||||
|
||||
\end{proof}
|
||||
|
||||
\section{Complejos de cadenas}
|
||||
|
||||
\begin{definition}
|
||||
Un \emph{complejo de cadenas de $R$-módulos} es una sucesión de módulos y morfismos
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
\cdots \arrow[r, "d_{n+1}"] & M_{n} \arrow[r, "d_n"] & M_{n-1} \arrow[r, "d_{n-1}"] &
|
||||
\cdots \arrow[r, "d_2"] & M_1 \arrow[r, "d_1"] & M_0
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
|
||||
cumpliendo que, para todo $i$, se tiene $d_i\circ d_{i+1} = 0$ (en el sentido de que es
|
||||
la aplicación que envía todos los elementos al cero).
|
||||
|
||||
A las aplicaciones $d_i$ se les llama \emph{operadores borde} o \emph{diferenciales} del complejo.
|
||||
\footnote{
|
||||
\begin{notation}
|
||||
Un complejo de cadenas como el de la definición se suele denotar $(M_\bullet,d_\bullet)$,
|
||||
o, si los morfismos $d_i$ son claros por el contexto, símplemente $M_\bullet$.
|
||||
\end{notation}
|
||||
}
|
||||
|
||||
A los elementos de $Ker(d_n)$ se les llama \emph{$n$-ciclos} del complejo, y a los
|
||||
elementos de $Im(d_{n+1})$ se les llama \emph{$n$-bordes}.
|
||||
\end{definition}
|
||||
|
||||
|
||||
|
||||
Notar que la condición $d_i\circ d{i+1}=0$ se puede expresar como que $Im(d_{i+1})\le Ker(d_i)$ (es decir, los bordes son ciclos). Por lo tanto, podemos definir su cociente.
|
||||
|
||||
\begin{definition}
|
||||
Sea $(C_\bullet,d_\bullet)$ un complejo de cadenas. Para cada $i$,
|
||||
se define el \emph{$i$-ésimo módulo de homología} \footnote{Como en particular son grupos abelianos, a menudo se habla de ellos como \emph{grupos de homología}.} de
|
||||
$(C_\bullet,d_\bullet)$ como
|
||||
el módulo
|
||||
\[
|
||||
H_i(C_\bullet,R) := Ker(d_i) / Im (d_{i+1})
|
||||
\]
|
||||
\footnote{Es decir, el grupo de homología es el cociente de los ciclos por los bordes}.
|
||||
\end{definition}
|
||||
|
||||
|
||||
\begin{definition}
|
||||
Dados dos complejos de cadenas $(C_\bullet,d^C_\bullet)$, $(D_\bullet,d^D_\bullet)$,
|
||||
un \emph{morfismo de complejos de cadenas} $F:(C_\bullet, d^C_\bullet)\to(D_\bullet,d^D_\bullet)$ es una familia de morfismos de $R$-módulos $\{f_n:C_n \to D_n\}$
|
||||
que satisfacen que para todo $n$, se cumple
|
||||
\[
|
||||
f_{n-1} \circ d^C_{n} =d^D_{n}\circ f_{n}
|
||||
\].
|
||||
|
||||
Es decir, que el diagrama
|
||||
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
\cdots \arrow[r, "d^C_{n+1}"] & C_{n} \arrow[r, "d^C_n"] \arrow[d, "f_n"] & C_{n-1} \arrow[r, "d^C_{n-1}"] \arrow[d, "f_{n-1}"] & \cdots \\
|
||||
|
||||
\cdots \arrow[r, "d^D_{n+1}"] & D_{n} \arrow[r, "d^D_n"] & D_{n-1} \arrow[r, "d^D_{n-1}"] & \cdots
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
conmuta.
|
||||
\end{definition}
|
||||
|
||||
\subsection{morfismos inducidos en homología}
|
||||
|
||||
Sea $f_\bullet : C_\bullet \to D_\bullet$ un morfismo de complejos de cadenas.
|
||||
Vamos a ver cómo, para cada $n$, determina un morfismo entre los grupos de homología.
|
||||
|
||||
Observar primero que si $x\in Ker(d^C_n)$, entonces $d^D_n(f_n(x)) =f_{n-1}(d^C_n(x)= = 0$,
|
||||
luego $f(x)\in Ker(d^D,n)$. Es decir, que tenemos un morfismo
|
||||
\[
|
||||
f_n\big|_{Ker(d^C_n)} : Ker(d^C_n) \to Ker(d^D_n)
|
||||
\]
|
||||
|
||||
que podemos componer con el cociente por $Im(d^D_{n+1})$ para obtener un morfismo
|
||||
|
||||
\[
|
||||
Ker(d^C_n) \to Ker(d^D_n)/ Im(d^D_{n+1}) = H_n(D_\bullet,R)
|
||||
\]
|
||||
|
||||
Para poder pasar este morfismo al cociente por $Im(d^C_{n+1})$, tenemos que ver que
|
||||
todo elemento de $Im(d^C_{n+1})$ va a parar al cero. Sea pues $x\in Im(d^C_{n+1})$.
|
||||
Por lo tanto, $x= d^C_{n+1}(y)$ para algún $y\in C_{n+1}$. Se tiene que $f_n(x) =
|
||||
f_n(d^C_{n+1}(y)=d^D_{n+1}(f_{n+1}(y)) \in Im(d^D_{n+1}$. Por lo tanto, la imagen de
|
||||
$x$ en el grupo de homología es cero, y tenemos un morfismo bien definido:
|
||||
|
||||
\[
|
||||
f^*_n:H(C_\bullet,R) \to H(D_\bullet,R)
|
||||
\]
|
||||
|
||||
\footnote{
|
||||
Observar que, por construcción, dada una clase en el grupo de homología $[x] = H_n(C_\bullet,R)$,
|
||||
su imagen for $f^*_n$ está representada por la imagen un representante:
|
||||
$f^*_n([x]) = [f_n(x)]$}
|
||||
|
||||
Un criterio útil para ver que dos morfismos de cadenas inducen las mismas
|
||||
aplicaciones en homología viene dada por la noción de homotopía:
|
||||
|
||||
\begin{definition}
|
||||
Dados dos morfismos de cadenas $f_\bullet,g_\bullet: C_\bullet\to D_\bullet$,
|
||||
una \emph{homotopía de cadenas} entre $f_\bullet$ y $g_\bullet$ es una familia de morfismos
|
||||
$\{h_n:C_n\to C_{n+1}\}$ que para todo $n$ satisface
|
||||
\[
|
||||
f-g =d^D_{n+1}\circ h_n+h_{n-1}\circ d^C_n
|
||||
\]
|
||||
|
||||
Si existe una homotopía de cadenas entre dos morfismos de cadenas, se dice que estos
|
||||
son \emph{homótopos}.
|
||||
\end{definition}
|
||||
|
||||
\begin{theorem}
|
||||
Si $f_\bullet,g_\bullet: C_\bullet\to D_\bullet$ son morfismos de cadenas homótopos,
|
||||
entonces inducen las mismas aplicaciones en homología.
|
||||
\end{theorem}
|
||||
\begin{proof}
|
||||
Sean $f_\bullet,g_\bullet: C_\bullet\to D_\bullet$ morfismos de cadenas, y $h_\bullet$ una homotopía entre ellos.
|
||||
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
\cdots \arrow[r, "d^C_{n+2}"] & C_{n+1} \arrow[r, "d^C_{n+1}"] \arrow[dd, "f_{n+1}"] \arrow[dd, shift right=2, swap, "g_{n+1}"] & C_{n} \arrow[ldd, swap, "h_n"] \arrow[r, "d^C_n"] \arrow[dd, "f_n"] \arrow[dd, shift right=2, swap, "g_n"] & C_{n-1} \arrow [ldd, swap, "h_{n-1}"] \arrow[r, "d^C_{n-1}"] \arrow[dd, "f_{n-1}"] \arrow[dd, shift right=2, swap, "g_{n-1}"] & \cdots \\
|
||||
\\
|
||||
\cdots \arrow[r, "d^D_{n+2}"] & D_{n+1} \arrow[r, "d^D_{n+1}"] & D_{n} \arrow[r, "d^D_n"] & D_{n-1} \arrow[r, "d^D_{n-1}"] & \cdots
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
|
||||
Sea $[x]\in H_n(C_\bullet,R)$. Por definición de grupo de homología, el representante
|
||||
$x$ debe ser un ciclo. Sabemos que $f^*_n([x]) = [f_n(x)]$ y que $g^*_n([x])=[g_n(x)]$, por lo que para que para probar $f^*([x]) = g^*([x])$, basta
|
||||
ver que $f(x) -g(x)\in Im(d^D{n+1})$.
|
||||
|
||||
Pero por ser $h_\bullet$ una homotopía entre $f_\bullet$ y $g_\bullet$, se tiene
|
||||
$f(x)-g(x) =d^D_{n+1}(h_n(x))+h_{n-1}(d^C_n(x)) = d^D_{n+1}(h_n(x))$, por ser
|
||||
$x$ un ciclo.
|
||||
|
||||
\end{proof}
|
||||
|
||||
|
||||
\section{Sucesiones exactas}
|
||||
\begin{definition}
|
||||
Una sucesión de morfismos
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
M_1 \arrow[r, "f_1"] & M_2 \arrow[r, "f_2"] & \cdots \ar[r, "f_n"] & M_{n+1}
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
se dice que es \emph{exacta}, si para cada $i=1\,\ldots,n$, se tiene $Im(f_i)=Ker(f_{i+1})$.
|
||||
\end{definition}
|
||||
|
||||
Notar que, en particular, ser exacta implica que $f_{i+1}\circ f_i = 0$, por lo tanto
|
||||
extendiendo con ceros si fuera necesario, tenemos un complejo de cadenas. Notar
|
||||
que el que la sucesión sea exacta es equivalente a decir que los correspondientes
|
||||
grupos de homología son triviales. En este sentido, los grupos de homología de un
|
||||
complejo de cadenas miden cómo de lejos está de ser una sucesión exacta.
|
||||
|
||||
|
||||
|
||||
\begin{remark}
|
||||
La sucesión
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
0 \arrow[r] & M_1 \arrow[r, "f"] & M_2
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
es exacta si y solo si $f$ es un monomorfismo.
|
||||
|
||||
La sucesión
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
M_1 \arrow[r, "f"] & M_2 \arrow[r] & 0
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
es exacta si y solo si $f$ es un epimorfismo.
|
||||
|
||||
Por tanto, la sucesión
|
||||
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
0 \arrow[r] & M_1 \arrow[r, "f"] & M_2 \arrow[r] & 0
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
|
||||
es exacta si y solo si $f$ es un isomorfismo.
|
||||
\end{remark}
|
||||
|
||||
|
||||
\begin{definition}
|
||||
Una \emph{sucesión exacta corta} es una sucesión exacta de la forma
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
0 \arrow[r] & M_1 \arrow[r, "f"] & M_2 \arrow[r,"g"] & M_3 \arrow[r] & 0
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
\end{definition}
|
||||
Observar que en el caso de una sucesión exacta corta, $g$ es epimorfismo, y por
|
||||
el teorema de isomorfía,$M_3$ es isomorfo al cociente $M_2/Ker(g) = M_2/Im(f)$.
|
||||
Pero como $f$ es inyectiva, es biyectiva sobre su imagen. Luego $Im(f)$ es isomorfo
|
||||
a $M_1$. Es decir, que la sucesión exacta corta dice esencialmente que $M_3$ es
|
||||
el cociente de $M_1$ por $M_2$.
|
||||
|
||||
|
||||
\begin{lemma}
|
||||
Sea el siguiente diagrama conmutativo, donde las filas son exactas
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
A \arrow[r, "f"] \arrow[d,"\alpha"] & B \arrow[r,"g"] \arrow[d, "\beta"] & C \arrow[r, "h"]
|
||||
\arrow[d, "\gamma"] & D \arrow[d, "\delta"] \\
|
||||
A' \arrow[r, "l"] & B' \arrow[r,"m"] & C' \arrow[r, "n"]
|
||||
& D'
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
|
||||
Si $\beta$ y $\delta$ son monorfismos, y $\alpha$ es epimorfismo, entonces $\gamma$ es monomorfismo.
|
||||
\end{lemma}
|
||||
|
||||
\begin{proof}
|
||||
Sea $c\in Ker(\gamma)$. Vamos a ver $c$ debe ser cero. Tomar $d=h(c)$.
|
||||
|
||||
Como $\delta(d) = n(\gamma(c)))=0$ y $\delta$ es monomorfismo, tenemos que $d=0$
|
||||
y por lo tanto $c\in Ker(h)= Im(g)$. Así que existe $b\in B$ tal que $c=g(b)$.
|
||||
|
||||
Tomar $b'=\beta(b)$. Tenemos $m(b')=\gamma(c)=0$, así que de nuevo por exactitud,
|
||||
existe $a'\in A'$ con $b'=l(a')$. Por ser $\alpha$ supreyectivo, existe $a\in A$ con
|
||||
$a' = \alpha(a)$.
|
||||
|
||||
Tenemos $\beta(f(a))=l(\alpha(a))=l(a')=b$. Por ser $\beta$ inyectivo, se tiene que
|
||||
$f(a)=b$; y tenemos que $c=g(b)=g(f(a))=0$ por exactitud de la primera fila.
|
||||
\end{proof}
|
||||
|
||||
\begin{lemma}
|
||||
Sea el siguiente diagrama conmutativo, donde las filas son exactas
|
||||
\begin{center}
|
||||
\begin{tikzcd}
|
||||
A \arrow[r, "f"] \arrow[d,"\alpha"] & B \arrow[r,"g"] \arrow[d, "\beta"] & C \arrow[r, "h"]
|
||||
\arrow[d, "\gamma"] & D \arrow[d, "\delta"] \\
|
||||
A' \arrow[r, "l"] & B' \arrow[r,"m"] & C' \arrow[r, "n"]
|
||||
& D'
|
||||
\end{tikzcd}
|
||||
\end{center}
|
||||
|
||||
Si $\alpha$ y $\gamma$ son epimorfismos, y $\delta$ es monoforfismo, entonces $\beta$ es epifismo.
|
||||
\end{lemma}
|
||||
|
||||
\begin{proof}
|
||||
Sea $b'\in B'$. Tomar $c'=m(b')$. Por ser $\gamma$ epimorfismo, existe $c\in C$ con
|
||||
$c'=\gamma(c)$.
|
||||
Ahora, $\delta(h(c))=n(\gamma(c))=n(m(b'))=0$; y por ser $\delta$ monoforfismo, esto
|
||||
implica que $h(c)=0$. Luego $c\in Ker(h)=Im(g)$ y existe $b\in B$ con $g(b)=c$.
|
||||
|
||||
Ahora, $m(\beta(b))=\gamma(g(b))=\gamma(c)=c'=m(b')$. Por lo tanto, $b'-\beta(b)\in Ker(m)$
|
||||
y por lo tanto existe $a'\in A'$ con $l(a') = b'-\beta(b)$.
|
||||
|
||||
Por ser $\alpha$ epimorfismo, existe $a\in A$ tal que $a'=\alpha(a)$. Ahora
|
||||
tenemos
|
||||
$\beta(f(a)+b)=l(a')+\beta(b)=b'-\beta(b)+\beta(b)=b'$ y por lo tanto $b'$ tiene
|
||||
preimagen por $\beta$.
|
||||
|
||||
\end{proof}
|
||||
|
||||
|
||||
|
||||
\end{document}
|
||||
124
clases.sty
Normal file
124
clases.sty
Normal file
@ -0,0 +1,124 @@
|
||||
\newcommand\leftblowup[2]{\smash{\mathop{\longleftarrow}\limits^{\array{ll} _{#1} \\ ^{#2} \endarray}}}
|
||||
\newcommand\approxmap[1]{\smash{\ \mathop{\approx}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\congmap[1]{\smash{\ \mathop{\cong}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\simmap[1]{\smash{\ \mathop{\sim}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\eqmap[1]{\smash{\ \mathop{=}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\inmap[1]{\smash{\ \mathop{\in}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\eqmapd[2]{\smash{\ \mathop{=}\limits^{\array{ll} _{#1} \\ ^{#2} \endarray}\ }}
|
||||
\newcommand\leqmap[1]{\smash{\ \mathop{\leq}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\geqmap[1]{\smash{\ \mathop{\geq}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\subsetmap[1]{\smash{\ \mathop{\subset}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\supsetmap[1]{\smash{\ \mathop{\supset}\limits^{_{{#1}}}\ }}
|
||||
\newcommand\cupdisj{\mathop{\cup}\limits^{{}_{\mathbin{\emptyset}}}}
|
||||
\newcommand\bigcupdisj[1]{\bigcup^{{}_\emptyset}_{#1}}
|
||||
\newcommand\longleftmap[1]{\smash{\mathop{\longleftarrow}\limits^{#1}}}
|
||||
\newcommand\rightmap[1]{\smash{\mathop{\rightarrow}\limits^{#1}}}
|
||||
\newcommand\longrightmap[1]{\smash{\mathop{\longrightarrow}\limits^{#1}}}
|
||||
\newcommand\longdownmap[1]{\Big\downarrow\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\longupmap[1]{\Big\uparrow\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\downmap[1]{\downarrow\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\downsurj{\mathbin{\downarrow\mkern-15.6mu\Big\downarrow}}
|
||||
\newcommand\upmap[1]{\uparrow\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\semap[1]{\searrow\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\swmap[1]{\swarrow\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\nemap[1]{\nearrow\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\nwmap[1]{\nwarrow\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\lmap[1]{<\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
|
||||
\newcommand\injmap[1]{\smash{\mathop{\hookrightarrow}\limits^{#1}}}
|
||||
\newcommand\inj{\mathbin{\hookrightarrow}}
|
||||
\newcommand\surj{\mathbin{\rightarrow\mkern-6mu\rightarrow}}
|
||||
\newcommand\surjmap[1]{\smash{\mathop{\surj}\limits^{#1}}}
|
||||
\newcommand\eqh{\smash{\ \mathop{\sim}\limits^{_{h}}\ }}
|
||||
\newcommand\eqth{\smash{\ \mathop{\sim}\limits^{_{th}}\ }}
|
||||
\newcommand\eqsh{\smash{\ \mathop{\sim}\limits^{_{{\mathcal S}-h}}\ }}
|
||||
\newcommand\eqsth{\smash{\ \mathop{\sim}\limits^{_{{\mathcal S}-th}}\ }}
|
||||
|
||||
|
||||
|
||||
\newcommand\et{\textsc{e.t.}\xspace}
|
||||
|
||||
\newcommand\cf{{\text{\sc{cf}}}}
|
||||
\newcommand\cn{{\text{\sc{cn}}}}
|
||||
|
||||
\newcommand\ian{\textsc{ian}\xspace}
|
||||
\newcommand\iian{\textsc{iian}\xspace}
|
||||
|
||||
|
||||
|
||||
|
||||
\newcommand\cD{{\mathcal D}}
|
||||
\newcommand\cN{{\mathcal N}}
|
||||
\newcommand\cM{{\mathcal M}}
|
||||
\newcommand\cA{{\mathcal A}}
|
||||
\newcommand\cE{{\mathcal E}}
|
||||
\newcommand\cR{{\mathcal R}}
|
||||
\newcommand\cB{{\mathcal B}}
|
||||
\newcommand\cC{{\mathcal C}}
|
||||
\newcommand\cQ{{\mathcal Q}}
|
||||
\newcommand\cT{{\mathcal T}}
|
||||
\newcommand\cS{{\mathcal S}}
|
||||
\newcommand\cP{{\mathcal P}}
|
||||
\newcommand\cK{{\mathcal K}}
|
||||
\newcommand\cG{{\mathcal G}}
|
||||
\newcommand\cU{{\mathcal U}}
|
||||
\newcommand\cV{{\mathcal V}}
|
||||
\newcommand\cW{{\mathcal W}}
|
||||
\newcommand\cX{{\mathcal X}}
|
||||
\newcommand\cF{{\mathcal F}}
|
||||
\newcommand\cL{{\mathcal L}}
|
||||
\newcommand\cZ{{\mathcal Z}}
|
||||
\newcommand\cH{{\mathcal H}}
|
||||
\newcommand\Ss{{\mathbb S}}
|
||||
\newcommand\BB{{\mathbb B}}
|
||||
\newcommand\EE{{\mathbb E}}
|
||||
\newcommand\KK{{\mathbb K}}
|
||||
\newcommand\CC{{\mathbb C}}
|
||||
\newcommand\RR{{\mathbb R}}
|
||||
\newcommand\ZZ{{\mathbb Z}}
|
||||
\newcommand\MM{{\mathbb M}}
|
||||
\newcommand\NN{{\mathbb N}}
|
||||
\newcommand\QQ{{\mathbb Q}}
|
||||
\newcommand\PP{{\mathbb P}}
|
||||
\newcommand\FF{{\mathbb F}}
|
||||
\newcommand\TT{{\mathbb T}}
|
||||
\newcommand\HH{{\mathbb H}}
|
||||
\newcommand\SSS{{\mathbb S}}
|
||||
\newcommand\DD{{\mathbb D}}
|
||||
\newcommand\AAA{{\mathbb A}}
|
||||
\newcommand\fm{{\mathfrak m}}
|
||||
\newcommand\gm{{\mu}}
|
||||
\newcommand\gS{{\Sigma}}
|
||||
\newcommand\gG{{\Gamma}}
|
||||
\newcommand\gW{{\Omega}}
|
||||
\DeclareMathOperator{\mult}{\operatorname{mult}}
|
||||
\DeclareMathOperator{\im}{\operatorname{im}}
|
||||
\renewcommand\ge{{\abcd}}
|
||||
\DeclareMathOperator{\Char}{\operatorname{Char}}
|
||||
\DeclareMathOperator{\Sing}{\operatorname{Sing}}
|
||||
\DeclareMathOperator{\Supp}{\operatorname{Supp}}
|
||||
\DeclareMathOperator{\sop}{\operatorname{sop}}
|
||||
\DeclareMathOperator{\depth}{\operatorname{depth}}
|
||||
\DeclareMathOperator{\MaxSupp}{\operatorname{MaxSupp}}
|
||||
\DeclareMathOperator{\Hom}{\operatorname{Hom}}
|
||||
\DeclareMathOperator{\Spec}{\operatorname{Spec}}
|
||||
\DeclareMathOperator{\MaxSpec}{\operatorname{MaxSpec}}
|
||||
\DeclareMathOperator{\Desc}{\operatorname{Desc}}
|
||||
\DeclareMathOperator{\Asc}{\operatorname{Asc}}
|
||||
\DeclareMathOperator{\Int}{\operatorname{Int}}
|
||||
\DeclareMathOperator{\Adh}{\operatorname{Adh}}
|
||||
\DeclareMathOperator{\Fr}{\operatorname{Fr}}
|
||||
\DeclareMathOperator{\Sup}{\operatorname{Sup}}
|
||||
\DeclareMathOperator{\Cono}{\operatorname{Cono}}
|
||||
\DeclareMathOperator{\Cil}{\operatorname{Cil}}
|
||||
\DeclareMathOperator{\Ext}{\operatorname{Ext}}
|
||||
\DeclareMathOperator{\Ais}{\operatorname{Ais}}
|
||||
\DeclareMathOperator{\Lim}{\operatorname{\text{\rm Lím}}}
|
||||
\DeclareMathOperator{\Agl}{\operatorname{Agl}}
|
||||
\DeclareMathOperator{\Sat}{\operatorname{Sat}}
|
||||
\DeclareMathOperator{\Id}{\operatorname{Id}}
|
||||
\DeclareMathOperator{\rL}{\operatorname{L}}
|
||||
\DeclareMathOperator{\GL}{\operatorname{GL}}
|
||||
\DeclareMathOperator{\mat}{\operatorname{Mat}}
|
||||
\DeclareMathOperator{\SL}{\operatorname{SL}}
|
||||
\DeclareMathOperator{\U}{\operatorname{U}}
|
||||
\DeclareMathOperator{\diam}{\operatorname{\text{\rm diám}}}
|
||||
114
colorfulthm.sty
Normal file
114
colorfulthm.sty
Normal file
@ -0,0 +1,114 @@
|
||||
\RequirePackage{tikz}
|
||||
\RequirePackage{tikzpagenodes}
|
||||
|
||||
\usetikzlibrary{calc,tikzmark}
|
||||
|
||||
|
||||
\newtheorem{main}{XXX}[section]
|
||||
|
||||
\makeatletter
|
||||
\newcommand{\checkmarkpage}[4]% #1 = tikzmark label, #2 = less, #3 = equal, #4 = greater
|
||||
{\@ifundefined{save@pt@#1}{#2}{%
|
||||
\edef\markid{\csname save@pt@#1\endcsname}%
|
||||
\edef\markpage{\csname save@pg@\markid\endcsname}%
|
||||
\ifnum\thepage<\markpage\relax #2%
|
||||
\else
|
||||
\ifnum\thepage=\markpage\relax #3%
|
||||
\else #4%
|
||||
\fi
|
||||
\fi}%
|
||||
}
|
||||
\makeatother
|
||||
|
||||
\newcommand{\drawoutline}[3]{%
|
||||
\checkmarkpage{begin#1\csname theoutlinedone#1\endcsname}{}%
|
||||
{\begin{tikzpicture}[remember picture, overlay]
|
||||
\path ({pic cs:begin#1\csname theoutlinedone#1\endcsname}-| current page text area.west)
|
||||
++(0pt,\ht\strutbox) coordinate (A#1);
|
||||
\checkmarkpage{end#1\csname theoutlinedone#1\endcsname}%
|
||||
{\path (current page text area.south west) ++(0pt,-\dp\strutbox) coordinate(B#1);
|
||||
\path (current page text area.south east) ++(0pt,-\dp\strutbox) coordinate(C#1);}%
|
||||
{\path ({pic cs:end#1\csname theoutlinedone#1\endcsname}-| current page text area.west) ++(0pt,-\dp\strutbox) coordinate(B#1);
|
||||
\path ({pic cs:end#1\csname theoutlinedone#1\endcsname}-| current page text area.east) ++(0pt,-\dp\strutbox) coordinate(C#1);}%
|
||||
{}% this should not happen
|
||||
\fill[#2] ($(A#1) + (-3pt,0pt)$) rectangle ($(B#1) + (-4.5pt,0pt)$);
|
||||
\fill[#3] ($(A#1) + (-3pt,0pt)$) rectangle ($(C#1) + (3pt,0pt)$);
|
||||
\end{tikzpicture}}%
|
||||
{\begin{tikzpicture}[remember picture, overlay]
|
||||
\coordinate (A#1) at (current page text area.north west);
|
||||
\checkmarkpage{end#1\csname theoutlinedone#1\endcsname}%
|
||||
{\path (current page text area.south west) ++(0pt,-\dp\strutbox) coordinate(B#1);
|
||||
\path (current page text area.south east) ++(0pt,-\dp\strutbox) coordinate(C#1);}%
|
||||
{\path ({pic cs:end#1\csname theoutlinedone#1\endcsname}-| current page text area.west) ++(0pt,-\dp\strutbox) coordinate(B#1);
|
||||
\path ({pic cs:end#1\csname theoutlinedone#1\endcsname}-| current page text area.east) ++(0pt,-\dp\strutbox) coordinate(C#1);}%
|
||||
{}% this should not happen
|
||||
\fill[#2] ($(A#1) + (-3pt,0pt)$) rectangle ($(B#1) + (-4.5pt,0pt)$);
|
||||
\fill[#3] ($(A#1) + (-3pt,0pt)$) rectangle ($(C#1) + (3pt,0pt)$);
|
||||
\end{tikzpicture}}%
|
||||
\checkmarkpage{end#1\csname theoutlinedone#1\endcsname}{}%
|
||||
{\stepcounter{outlinedone#1}\drawoutline{#1}{#2}{#3}}%
|
||||
{}% this should not happen
|
||||
}
|
||||
|
||||
\def\cthBODYFONT{\itshape}
|
||||
\def\cthHEADFONT{\bfseries}
|
||||
|
||||
\makeatletter
|
||||
\newcommand{\colortheoremstyle}[1]{%
|
||||
\ifthenelse{\equal{#1}{plain}}%
|
||||
{%
|
||||
\def\cthBODYFONT{\itshape}%
|
||||
\def\cthHEADFONT{\bfseries}%
|
||||
}{%
|
||||
\ifthenelse{\equal{#1}{definition}}%
|
||||
{%
|
||||
\def\cthBODYFONT{\normalfont}%
|
||||
\def\cthHEADFONT{\bfseries}%
|
||||
}{%
|
||||
\def\cthBODYFONT{\itshape}%
|
||||
\def\cthHEADFONT{\itshape}%
|
||||
}%
|
||||
}%
|
||||
}%
|
||||
\makeatother
|
||||
|
||||
\newcommand\newctheorem[4][white]{%
|
||||
\newcounter{outlineid#2}%
|
||||
\newcounter{outlinedone#2}%
|
||||
\newcounter{outlinefinal#2}%
|
||||
\AddToHook{shipout/background}{
|
||||
\drawoutline{#2}{#4}{#1}
|
||||
}%
|
||||
\makeatletter
|
||||
\expandafter\let\csname color@th@BODYFONT@#2\endcsname\cthBODYFONT%
|
||||
\expandafter\let\csname color@th@HEADFONT@#2\endcsname\cthHEADFONT%
|
||||
\newtheoremstyle{thmcolor#2}
|
||||
{\topsep} % ABOVESPACE
|
||||
{\topsep} % BELOWSPACE
|
||||
{\csname color@th@BODYFONT@#2\endcsname} % BODYFONT
|
||||
{0pt} % INDENT (empty value is the same as 0pt)
|
||||
{\csname color@th@HEADFONT@#2\endcsname\color{#4}} % HEADFONT
|
||||
{.}
|
||||
{5pt plus 1pt minus 1pt}
|
||||
{}
|
||||
\makeatother
|
||||
\theoremstyle{thmcolor#2}%
|
||||
\newtheorem{i#2}[main]{%
|
||||
\stepcounter{outlinefinal#2}%
|
||||
\tikzmark{begin#2\csname theoutlineid#2\endcsname}#3%
|
||||
}%
|
||||
\newenvironment{#2}[1][]%
|
||||
{\begingroup%
|
||||
\def\finalaqui{%
|
||||
\tikzmark{end#2\csname theoutlineid#2\endcsname}%
|
||||
\stepcounter{outlineid#2}\ignorespaces}%
|
||||
\begin{i#2}[##1]}%
|
||||
{%
|
||||
\ifnum\csname theoutlinefinal#2\endcsname>\csname theoutlineid#2\endcsname%
|
||||
\tikzmark{end#2\csname theoutlineid#2\endcsname}%
|
||||
\stepcounter{outlineid#2}\ignorespaces%
|
||||
\fi\end{i#2}%
|
||||
\endgroup%
|
||||
}%
|
||||
}%
|
||||
|
||||
Loading…
Reference in New Issue
Block a user