Thursday, 8 November 2012

mg.metric geometry - Rectifying texture from image

By picking orthogonal coordinates in the given plane you can make an angle preserving projective map $mathbb{P}^2tomathbb{P}^3$ whose image is the given plane. Composing with your camera mapping, you now have a mapping $Gcolonmathbb{P}^2tomathbb{P}^2$ that does not preserve angles. Let $H=G^{-1}$. The composition $HG=I$ clearly preserves angles; hence so does $HP$ when restricted to the given plane.



(Reverse the order of composition if you follow the usual computer graphics convention of letting matrices act on the right.)

Wednesday, 7 November 2012

linear algebra - Surface of the cut of an ellipsoid / Marginal density of a multivariate normal over an affine space

So I'm trying to get the marginal density of a multivariate normal over an affine space
if $A$ is a matrix in $mathbb{R}^p times mathbb{R}^n$ for $p < n$ and $B in mathbb{R}^n$, $Sigma$ is a positive definite matrix.



We're looking at...
$$lim_{epsilon rightarrow 0}frac{1}{epsilon}int_{||Ax-B||<epsilon} e^{-frac{1}{2} x^t Sigma^{-1} x } dx$$



Edit
The space over which I integrate is wrong, see edit at the end... I should be controlling the distance to the projection, not something that depends on the scale of $A$ and $B$.



The first step is to get $$x_0 = hbox{argmin}_x left[ x^t Sigma^{-1} x | Ax-B = 0 right]$$



If one writes the Cholesky decomposition $Sigma^-1 = L^T L$ and $hbox{}^+$ is the Moore-Penrose pseudo inverse, then $$x0 = (A L^{-1})^{+} B$$



We substitute $x = x_0 + y$ in the integral, $y$ is orthogonal to $x_0$ with respect to $Sigma^-1$ so the $x Sigma^{-1} y$ terms disappear and we get something like



$$e^{-frac{1}{2} x_0^t Sigma^{-1} x_0} lim_{epsilon rightarrow 0}frac{1}{epsilon}int_{||Ay||<epsilon} e^{-frac{1}{2} y^t Sigma^{-1} y} dy$$



setting $z = Ly$



Edit
urrrr...
$$e^{-frac{1}{2} x_0^t Sigma^{-1} x_0} lim_{epsilon rightarrow 0}frac{1}{epsilon}int_{||A L^{-1}z||<epsilon} e^{-frac{1}{2} z^t z} frac{dy}{dz} dz$$



hum the $frac{dy}{dz}$ wouldn't be very nice...



At this point, I've gotten rid of the affine part by factoring the $x_0$ out ( yay.. ) but I can't quite get that last cut... It's likely going to involve the determinant of $Sigma$ and the rank of $A$ ( assume it's $p$ if needed ) but I can't figure out how.



a) Do you notice anything obviously wrong in the derivation of $x_0$ ?



b) What's the obviously right answer that has been eluding me ?



Edit
c) Possible way, orthonormalize the kernel of $A$ then the rest of the space. Then the problem boils down to finding the density of a multivariate normal conditional on some elements of the vector being known... that's not a nice formula, it involves slicing $Sigma$ and taking the Schur complement see
Wikipedia, Multivariate normal, Conditional distributions



Edit
It occurs to me that the $||Ay||<epsilon$ criterion isn't the right one, otherwise, the answer would depend on the scale of $A$ which is dumb. I guess the right criterion is
$||A^{t}(A A^{t})^{-1}A y||<epsilon$, which is the distance of vector $y$ to its orthogonal projection on the subspace $A. = $



Thanks!

Category and homotopy theoretic methods in set theory

There is an interaction between category theory and set theory. In 1965, one year after Cohen's proof of the independence of the continuum hypothesis, Vopenka gave a proof using sheaf theory, see here.



This is nowadays systematized in the topos theoretic interpretation of set theory, for which you should look up MacLane/Moerdijk, as Dylan Wilson pointed out. The authors give a proof of the independence of the continuum hypothesis.



Marta Bunge has given a topos theoretic proof of the independence of the Suslin hypothesis from ZFC in: Marta Bunge, Topos Theory and Souslin's Hypothesis. J.Pure & Applied Algebra 4 (1974) 159-187.



As for the reformulation of Vopenka's principle: It is equivalent to the statement that a locally presentable category can not have a large full discrete subcategory. This, and more, is nicely explained in Adamek/Rosicky's Locally Presentable and Accessible Categories



On the other hand I know of no worked out connection between homotopy theory and set theory, just the indirect one via type theory mentioned by Andrej.

ag.algebraic geometry - Is there a Whitney theorem type theorem for projective schemes?

This is a reply to a question posed in Georges' answer. It started as a comment, but I was worried about space limitations. Upon reflection, it's better to have it as an answer, because -- unlike the comment I posted to Georges' answer -- I will be automatically notified of any responses to it.



Since Georges asked for it, the [rough!] lecture notes where I discuss the facts that any smooth curve over an infinite field can be embedded in $mathbb{P}^3$ and "immersed" in $mathbb{P}^2$ with only ordinary double point singularities are available here (see Section 5):



http://www.math.uga.edu/~pete/8320notes6.pdf



As you will see, I am merely repeating the argument in Hartshorne -- omitting the trickier details of the immersion result -- and explaining why the ground field need not be algebraically closed but does need to be infinite.



Concerning Horrocks-Mumford and Van de Ven: I was not familiar with these results until Georges' post. But all the non-embeddability statements carry over immediately: if you have an embedding into $mathbb{P}^n$ over the ground field, then the base change to the algebraic closure is still an embedding, of course.



This leaves the question of the positive part of the Horrocks-Mumford result. In strongest form, the question is: is it true that for any field $k$, there is an abelian surface over $k$ that can be embedded in $mathbb{P}^4$? [I can certainly do it with $mathbb{P}^2 times mathbb{P}^2$ -- take a product of two elliptic curves -- and it is conceivable to me that one might be able to get from this an embedding into $mathbb{P}^4$ by composing with a well-chosen birational isomorphism, but I haven't even tried to decide whether this would work.]



I would have to see the proof of H-M to see whether it can be adapted to answer this question. Can you post a link to the paper? Or, if you need to know ASAP, ask Bjorn Poonen -- he eats questions like this for breakfast.



Finally, let me remark that over a non-algebraically closed field, a principal homogeneous space under an abelian variety may have higher embedding dimension than the (Albanese) abelian variety itself. The easy example of this is that if a smooth curve of genus one can be emedded in $mathbb{P}^2$, then for geometric reasons it must embed as a cubic and therefore has a rational point of degree at most $3$. [Actually, it is possible that this is the only example. By the same theorems Georges quoted above, the only other possibility is a phs which does not embed in $mathbb{P}^4$ while its Albanese abelian surface does.]

Tuesday, 6 November 2012

ag.algebraic geometry - Serre duality and low dimensional cohomology groups

Given a locally free sheaf $M$ on $mathbb{P}^2$ with $h^0(M)=1$.
Is it true that we have $h^2(M)=0$ in this case?



I got this idea from Friedman's book "Algebraic Surfaces and holomorphic vector bundles".
In Chapter 4, p.109, Ex. 4 he wrote: $h^0(Hom(V,V))=1$, by Serre duality $h^2(Hom(V,V))=h^0(Hom(V,V)otimes K)=0$ since $K=O(-3)subset O$.



But I don't see why $h^0(Hom(V,V)otimes K)=0$ follows from $K=O(-3)subset O$. I mean it could stil have dimension one or is it because $O(-3)$ has no global sections? Would $h^0(Hom(V,V)otimes O(-i))=0$ still be true for $i=1,2$? Can one generalize to arbitrary locally free sheaves or is this only correct in this special case, i.e. $V$ stable?



${bf Edit:}$ Given a simple sheaf $V$ on $mathbb{P}^2$, Bjorn's answer shows $H^0(Hom(V,V)otimes O(-i))=0$ for $i>0$ which can be written as $Hom(V,V(-i))=0$ for $i>0$. Can this be generalized?



For example given a sheaf of rings or algebras $R$ and a simple left $R$-module M, do we always have $Hom_R(M,M(-i))=0$ for $i>0$? Or do I need to be more careful in this case?



I remembered this question reading arxiv.org/abs/0810.0067, page 8, where such an equality shows up, without further explanation, so i thought the argumentation should carry over to this more general case.

iwasawa theory - When does a p-adic function have a Mahler expansion?

Let $f: mathbb{Z}_p rightarrow mathbb{C}_p$ be any continuous function. Then Mahler showed there are coefficients $a_n in mathbb{C}_p$ with



$$
f(x) = sum^{infty}_{n=0} a_n {x choose n}.
$$



This is known as the Mahler expansion of $f$. Here, to make sense of $x choose n$ for $x notin mathbb{Z}$ define



$$
{xchoose n} = frac{x(x-1)ldots(x-n+1)}{n!}.
$$



There's an important application to number theory: expressing a function in terms of its Mahler expansion is one step in translating the old fashioned interpolation-based language of $p$-adic $L$-functions into the more modern measure-theoretic language. This application is explained in Coates and Sujatha's book Cyclotomic Fields and Zeta Values.



However, when the $p$-adic $L$-function is more complicated than Kubota-Leopoldt's, it seems to me that this "translation" really requires one to be able to write down a Mahler expansion of a function $f$ with much larger domain, e.g. the ring of integers of the completion of the maximal unramified extension of $mathbb{Q}_p$ or some finitely ramified extension. (See, for instance, line (8), p. 19 of de Shalit's Iwasawa Theory of Elliptic Curves with Complex Multiplication).



I can't find a published reference that these functions really have Mahler expansions. Mahler's paper uses in an essential way that the positive integers are dense in $mathbb{Z}_p$, so it doesn't instantly generalize.



So is it true or false that for a ring of integers $mathcal{O}$ in a finitely ramified complete extension of $mathbb{Q}_p$, and a function $f: mathcal{O} rightarrow mathbb{C}_p$, there is a Mahler expansion as above?

Monday, 5 November 2012

convexity - Existence of an extreme point of a compact convex set

Here is Greg's proof of the Krein-Milman theorem (only the existence part).



Proposition 1: Let $Asubseteq V$ be a non-empty compact convex set of an hausdorff locally convex semi-topological vector space (over some field which contains the reals topologically). Then $A$ has an extreme point.



Specifically we shall show that every non-empty convex open-in-$A$ proper subset $U^{-}$, has an extension to a convex open-in-$A$ proper subset $U^{+}supseteq U^{-}$, for which $Asetminus U^{+}={e}$ some extreme point $e$.



Proof (Prop 1): If $A$ is a singleton, we are done. So suppose otherwise. First notice we can separate two points by a convex open set, $U$, yielding $U^{-}=Ucap A$ a convex proper subset open in $A$. So fix such a set $U^{-}$.



Now let $mathbb{P}:={W:U^{-}subseteq Wmbox{ convex proper subset open in }A}$. We claim that the p.o. $(mathbb{P},subseteq)$ has the Zorn property. Clearly the union of any chain of convex subsets open in $A$, is again a convex subset open in $A$. Suppose it{per contra} that a union of a chain $mathcal{C}subseteqmathbb{P}$ is equal to $A$. Then since $A$ is compact, there must be a finite sub(chain) $mathcal{C}'subseteqmathcal{C}$ for which $operatorname{max}(mathcal{C}')=bigcupmathcal{C}'=A$, which contracts the properties of members of $mathbb{P}$. Thus $mathbb{P}$ is non-empty and has the Zorn property. So fix $U^{+}$ open such that $U^{+}cap Ainmathbb{P}$ maximal.



Sub-claim 1: $U^{+}cap Asubsetoperatorname{cl}_{A}U^{+}$ strictly.



Proof (sub-claim 1): Let $xin U^{+}cap A$ and $yin Asetminus U^{+}$. Consider the map (here we need the underlying field to contain the reals topologically)



$$begin{array}[t]{lrclll}
&f &: &mathbb{F} &to &V\
&&: &s &mapsto &s~x+(1-s)~y\
end{array}$$



which is continuous and affine. Thus the set



$$S:={sin[0,1]:smapsto s~x+(1-s)~yin U^{+}cap A} =[0,1]cap f^{-1}U^{+}cap f^{-1}A)$$



is a convex. The set $f^{-1}A$ is closed convex and contains $0,1$, thus contains $[0,1]$. So $S=[0,1]cap f^{-1}U^{+}$ which is convex open in $[0,1]$. Since $0notin S$ and $1in S$, then $S=(a,1]$ some $ain[0,1)$. Clearly $f(a)=lim_{ssearrow a}f(s)$ which is a limit of vectors from $U^{+}cap A$, and thus lies in $operatorname{cl}U^{+}$. It also clearly lies in $A$, since $f^{-1}Asupseteq[0,1]$. We also have $f(a)notin U^{+}$. Thus $operatorname{cl}_{A}U^{+}setminus U^{+}=Acapoperatorname{cl}U^{+}setminus U^{+} supseteq{f(a)}$. Thus the containment is strict. QED (sub-claim 1)



Sub-claim 2: If $Wsubseteq A$ is convex, then $U^{+}cup W$ is convex.



Proof (sub-claim 2): Fix $xin U^{+}cap A,tin(0,1)$. Consider the map



$$begin{array}[t]{lrclll}
&T &: &V &to &V\
&&: &y &mapsto &t~x+(1-t)~y\
end{array}$$



This is continuous and affine. By the proposition below, we also see that $T(operatorname{cl}(U^{+}))subseteq U^{+}$. So $Acap T^{-1}U^{+}$ is convex, open in $A$, and contains $Acapoperatorname{cl}(U^{+})$ which strictly contains $U^{+}cap A$ by Claim 1. Thus by maximality of $U^{+}$ in $mathbb{P}$, $Acap T^{-1}U^{+}overset{mbox{must}}{=}A$. In particular, $T^{-1}U^{+}supseteq A$, and so $TWsubseteq TAsubseteq U^{+}$. Utilising such maps as $T$, we see that a convex-linear combination of any pair of elements from $U^{+}cup W$ is contained in $U^{+}cup W$. QED (sub-claim 2)



Sub-claim 3: $Asetminus U^{+}$ is a singleton.



Proof (sub-claim 3): Else, let $x_{1},x_{2}in Asetminus U^{+}$ distinct. Let $W$ be a convex open set separating $x_{1}$ from $x_{2}$. Then by Claim 3, $U^{+}cap Acup Wcap A$ is convex open in $A$. Since $x_{1}in Wsetminus U^{+}$, this convex set is strictly large than $U^{+}cap A$. By maximality of $U^{+}$ in $mathbb{P}$, we have that $U^{+}cap Acup Wcap A=Ani x_{2}$. But this contradicts the fact that $x_{2}notin U^{+}cup W$. QED (sub-claim 3)



At last, we claim that the point $ein Asetminus U^{+}$ is extreme in A. Consider $x,yin A$ and $tin(0,1)$ for which $tx+(1-t)y=e$. Case by case, we see that if $x,yin U^{+}$ then $e=tx+tyin U^{+}$. If $xin Asetminus U^{+}$, $y=frac{e-tx}{1-t}=frac{e-te}{1-t}=e=x$. If $yin Asetminus U^{+}$, then $x=e=y$ similarly. Thus $e$ is extreme. QED(Prop 1)



Proposition 2: Let $Asubseteq V$ be a convex subset of a semi-topological space, and $x,y$ be vectors lying respectively in the closure and interior of $A$. Then for any $tin(0,1)$, we have $tx+(1-t)yin A$.



Proof: Let $U$ be an open neighbourhood of $y$, contained in $A$. Observe that $x-t^{-1}(1-t)(U-y)$ is an open neighbourhood of $x$, and thus meets $A$, say at $x'$. Thus $xin x'+t^{-1}(1-t)(U-y)$ implying $tx+(1-t)yin tx'+(1-t)Usubseteq tA+(1-t)Asubseteq A$, since $A$ is convex. QED(Prop 2)