Better HN
topnewbestaskshowjobs
Log inSign up

throwawaymath

5,982 karma · joined Apr 20, 2018 (8y ago) · 1,603 submissions

I've left. This used to be an enjoyable place to debate, but now it's frustrating to see ideologically driven downvotes on valid and on-topic comments.

I no longer have access to this account. If you want to reach me for past comments, you can do so at throwawaymathhn@gmail.com.

Submissions

comment 7y ago · link · parent

I strongly disagree skipping determinants provides a more intuitive approach to linear algebra. I don't know your background, but I'd venture a guess you feel it does because the Laplace expansion formula for computing the determinant[1] feels uninspired and out of place.

The reason determinants are hard to teach (in my opinion) is because a rigorous derivation of their formula isn't possible without first teaching multilinear algebra and constructing the exterior algebra. Once you do those things, the natural geometric interpretation of the determinant basically falls onto your lap. But it's still very useful for e.g. computing eigenvalues and using the characteristic polynomial, so it's taught before that context can be formalized.

Professors shouldn't teach determinants in the context of matrices, at least not at first. That's heavily computation-focused, and the symbol pushing looks really unmotivated and strange to students. Instead they should teach the basis-free definition of determinants (i.e. focus on the linear map, not the matrix transformation representing the linear map for some basis). Then the determinant is "only" the volume of the image of the unit hypercube under the linear transformation, which is where the parallelepiped comes in. If the linear transformation is invertible, the unit hypercube is transformed from an n-dimensional cube into an n-dimensional parallelogram, from which you can geometrically see the way the linear map transforms the entire vector space it's defined over.

3Blue1Brown has a very good video on the geometry underlying the determinant[2]. For a more rigorous presentation which constructs the exterior algebra and derives the determinant formula using the wedge product, Noam Elkies has notes[3][4] for when he teaches Math 55A at Harvard. Incidentally Noam Elkies uses Axler's book, and while he obviously approves of it he's pretty upfront in asserting that the determinant should be taught anyway[5].

________________________

1. http://mathb.in/33068

2. https://www.youtube.com/watch?v=Ip3X9LOh2dk

3. http://www.math.harvard.edu/~elkies/M55a.10/p8.pdf

4. http://www.math.harvard.edu/~elkies/M55a.10/p9.pdf

5. http://www.math.harvard.edu/~elkies/M55a.10/index.html

comment 7y ago · link · parent

Following this to its logical conclusion, is anything worth doing if you don't have children?

comment 7y ago · link · parent

For starters:

1. All math and CS prerequisites to an intro computational complexity course.

2. An intro computational complexity course.

3. All math and CS prerequisites to an advanced, graduate-level computational complexity course. Let’s say by this point you have worked through two linear algebra courses, three calculus courses, one or two discrete mathematics courses, some graph theory, some combinatorics, some logic, and a couple of algorithms courses.

4. The advanced, graduate-level computational complexity course. Hopefully you work on probabilistic computation and, in particular, quantum computation.

5. Now read and understand the relevant papers advancing the field (not just this one problem) for the last two decades. That one paper from 1990 about reducing the permanent to the determinant? You should know about that.

6. Finally, to reach the temple you must walk the path littered with the bodies of would-be explorers before you. Read the papers of failed proofs, starting with the easily refutable ones. The most sophisticated failed proofs have errors so subtle that they are useful for the research community in their own right as an exercise in peer review.

As a rule, a grad student near their PhD in this area should know of everything Aaronson mentioned here: https://www.scottaaronson.com/talks/pvsnp.ppt. None of that should be unfamiliar or unknown. A postdoc and beyond should actively have ideas percolating on how to chip away at some small aspect of a lesser problem featured therein.

Here’s the reality: at almost every stage of a researcher’s career, “taking a stab at” a famous outstanding problem is the wrong way forward. Usually a problem is still outstanding because it actually needs a new theory - this is the practical utility in solving theoretical problems in the first place. Therefore the best bet for solving this problem is actually to chip away at it over a long period of time.

Think hacking through a rainforest to reach a goldmine, not managing to somehow parachute to the goldmine directly when it’s hidden beneath the trees.

comment 7y ago · link · parent

I can see a case for a trained mathematician contributing a legitimately new perspective to the community by withdrawing and spending time looking at things in an unorthodox manner. That's closer to that Grothendieck was describing than what you're posing.

In the early to mid 20th century, it was feasible for someone to pick up a book on number theory and apply relative genius to an open problem to quickly solve it. The bottom line is that prerequisites for doing so were often just basic calculus and high school algebra. An understanding of sequences and series went a long way.

This isn't the case in the 21st century. We're firmly out of that territory. You can't offer a profound new perspective on a thing which you can't understand, and the barrier to understanding research mathematics continually rises. The forefront of modern mathematics is so far removed from even graduate level mathematics course material that it's not going to just be intuited through untrained brilliance. You have to actively learn it, which is (unfortunately) vanishingly unlikely outside of academia.

If the tools available to you are basic real analysis and linear algebra, P/NP is beyond your reach - full stop. At this point we actually have proofs that a valid proof of P/NP (and similar problems) cannot be achieved through large swathes of elementary techniques.

We don't live in a world like Good Will Hunting where an amateur can succeed by being a genius. That's useful in the long term but not enough on its own.

comment 7y ago · link · parent

The point is that raw genius is insufficient for replicating Ramanujan-like accomplishments in the 21st century. It's almost irrelevant how brilliant someone is these days - if they haven't had the opportunity to learn a vast amount of theory, they can't really make significant progress towards theoretical problem.

The field simply has far less low hanging fruit than it did a century, or even a half-century ago. It's not reasonable to expect that a lone genius with little to no academic background in mathematics could resolve a famous open problem through sheer creativity. For literally generations the field's most intelligent researchers have spent their careers chipping away at this problem.

comment 7y ago · link · parent

Complex values (a unitary matrix) make sense if the stochastic matrix is representing a probability amplitude.

comment 7y ago · link · parent

> Is all the good math institutionalized now (e.g., you can't do good math without all the benefit of learning background within the institution conventions)?

The short answer is yes. We haven't had a Ramanujan in decades, and they were more or less always extraordinary. Insofar as you can generalize all of its subfields together, it's reasonable to say mathematics is an extremely mature discipline now.

What I mean by that is there isn't much low hanging fruit around. Even when Ramanujan was dazzling Hardy with his results, many of them were already known. That was over a century ago. There just isn't much fertile ground left where a single brilliant mind can make significant headway based on raw talent or intuition, without first working through significant education in prerequisites. It's more and more commonplace for authors to collaborate on their work, because compelling problems at the forefront of mathematics research are increasingly requiring cross-disciplinary knowledge to resolve.

To focus on Ramanujan a bit in particular - one of the reasons Ramanujan was so talented was because he not only came up with novel results in complete isolation; rather, he also came up with original perspectives and theorems. That means he was capable of posing interesting questions, which is usually much more interesting and inspiring for further research. That's very inspiring, but the reason I point it out is because Ramanujan wasn't solving open problems in the West left and right so much as he was exercising ingenuity to pose - and resolve - open problems in fertile ground he could reach. But a century later, the amount of existing mathematics has increased so much in both breadth and depth that a burst of creativity is almost certainly not going to get an undergrad to find something that e.g. Rudin hasn't written down somewhere already. But more importantly, it's vanishingly unlikely they will resolve a famous open problem which is the subject of intense research interest. All the stories of untrained amateurs doing that are from the mid 20th century or earlier.

To turn your question on its head a bit: consider how astonishingly brilliant an untrained individual would have to be find a nontrivial result that the rest of the mathematical community hasn't found. Either they're inventing their own definitions and discovering entirely new mathematics in isolation (wow!), or they've somehow found a way to use the tools accessible to them (university analysis and algebra, at best) in a way every other trained mathematician has not. It's rare even for senior math undergrads to publish nontrivial research on their own. It's significantly rarer for that research to improve progress towards an open problem. The only example I can think of off the top of my head where undergrads actually resolved a well known open problem is AKS, and even then it wasn't a solo author.

comment 7y ago · link · parent

Unless I’m misunderstanding the parent commenter’s definition of a probabilistic gate - I’m assuming a unitary matrix - then that shouldn’t be an issue. Chaitin’s constant is in both R and C. More generally, all uncomputable real numbers are also in C, because C is complete over R.

In other words that shouldn't be the issue, because the correct "setting" for the stochastic matrix still allows for that possibility. It's not something you introduce by using real entries.

comment 7y ago · link · parent

> For example, when you define probabilistic computation, if you declare that a probabilistic gate is a stochastic matrix with real number entries, you will incorrectly find that there exists probabilistic programs that solve the halting problem.

Great example! Do you have an outline of this proof? I can see the error in defining a unitary matrix over R instead of C, but I'm not immediately seeing how you can exploit that error to bypass the halting problem.

I'm guessing the concrete error would be introduced by overlooking that the real-valued matrix won't preserve the correct probability amplitude? If so, what's the next step to (falsely) deciding that a given algorithm will complete?

comment 7y ago · link · parent

> but a fully-expressed typed proof outline is enough to quickly verify correctness of the proof.

Yes, implementing that is the difficult part. I'm not saying it's infeasible - I'm saying it's very difficult. Writing provably correct software is also very difficult. This kind of theorem checking is becoming more common for theorems in e.g. combinatorics, but it's still very uncommon due to the added effort.

comment 7y ago · link · parent

Note that my comment distinguishes between automated theorem proving and automated proof checking. I made remarks for each; I admit it may have been unclear, but my point about searching a language space refers to automated theorem proving in particular. My second point about the requirement to verify "dependencies" for a theorem is a comment on why automated verification is difficult.

As for what I meant by that last point - there is a huge amount of mathematics to encode, almost all of which has not been formally specified into types, and much of which is structurally redundant. Not only is it difficult to encode necessary prerequisite mathematics for a theorem, but that requires its own effort and care, which multiplies the effort required for a given nontrivial proof to be checked.

Also note that I'm distinguishing between the general infeasibility of automated theorem proving and the otherwise great (but ordinarily feasible) difficulty of automated proof checking.

comment 7y ago · link · parent

They don't do it because the technology just isn't there yet. Automated theorem checking is typically very difficult for any nontrivial theorem; automated theorem generation is so extraordinarily difficult, it's generally infeasible.

The steps to construct a proof of a theorem are as follows:

1. Formally define a language specification which will ostensibly contain the theorem statement and a proof.

2. Search the language space (the set of all strings of the language) for a proof of the theorem statement.

3. If step 2 fails, change the language specification to include prerequisite mathematics or an alternative statement of the theorem.

Even when you exploit clever structural properties of the theorem statement and the language definition, it's extremely easy to encounter a combinatorial explosion when you search for a proof.

On the other hand, suppose you already have a proof and simply want to verify it using a proof assistant. In order to do so, the language you define must be able to automatically verify all prerequisite mathematics which your proof depends on. Encoding that mathematics into a language is difficult and tedious, and dependency checking is itself vulnerable to combinatorial explosion.

It's a very active area of research in its own right, but it can't obviate this problem for the foreseeable future.

comment 7y ago · link · parent

On a related note, Scott Aaronson once wrote up a few heuristics he uses to quickly evaluate how likely a P/NP proof is to be incorrect: https://www.scottaaronson.com/blog/?p=458

Aaronson’s rules are more technical than the ones given in this article, the latter of which can be generally applied to most claimed (dis)proofs of famous open problems. In particular, poorly typeset papers from a solo, unknown authors are highly unlikely to be correct when they’re claiming to resolve well known open problems.

In regard to the P/NP problem specifically, Aaronson’s examples of weaker open problems which would likely be resolved first - or at least accounted for in some nontrivial way - are analogous to this article’s point about proving weaker theorems first. It would be very suspicious for a proof that P and NP are separable (or not separable) to work at such a high level that it doesn’t prove also new results about the lower bounds of a litany of other problems.

comment 7y ago · link · parent

> Clearly, not all infinite sequences can be summed. So e.g., 1, -1, 1, -1, … has no sum.

Your geometric series is not a summation of the steps or positions, but rather the time required to complete each step. Therefore your example is characterized by an identical geometric series to the model I used in my previous comment.

More generally, Zeno’s paradox can be succinctly resolved by citing the monotone convergence theorem. Every bounded, monotonically decreasing function converges. The time required to complete the infinite series of half steps converges, because (again, with the definition of a metric) the time required to complete each individual step decreases commensurate with the change in distance.

comment 7y ago · link · parent

There are many such books! It's hard to suggest something in particular because almost everything about computers comes from some area of theory. I'll try giving you a few specific suggestions while also touring some broad areas.

One really active area of research is type theory. Another easy one is differential geometry and linear algebra, which are fundamental to machine learning. Try searching for resources about manifolds and dimensionality reduction. While we're at it, any kind of vectorized computation can also be modeled through linear algebra. There's probably material somewhere that formalizes a lot of Intel CPU architecture algebraically.

Actually, we can basically just take linear algebra and talk about its applications to nearly any area of computing, since it's one of the most ubiquitous areas of mathematical theory. What are you interested in? Graphics? Algorithm design? Data analysis? Parallelism? Statistics?

Combinatorics is also a big one. Knuth's The Art of Computer Programming has a wealth of material on combinatorics and its applications to computing (and in particular, algorithms thereof). You also might like learning about the way complex numbers and quaternions are used to computing spatial rotations.

I'm not personally a fan of category theory, but if abstractions are your thing you might enjoy Bartosz Milewski's Category Theory for Programmers. Along similar lines (and circling back to type theory), there's CMU's Software Foundations series of books[1].

If you are interested in cryptography, you might really enjoy reading Chris Peikert's A Decade of Lattice Cryptography[2]. The author is a prominent researcher in post-quantum cryptography, and walks through the last decade or so of research in cryptography based on a type of structure in abstract algebra called a lattice. This is very technical material, since it's more like a survey than a book.

_________________

1. https://softwarefoundations.cis.upenn.edu/

2. https://web.eecs.umich.edu/~cpeikert/pubs/lattice-survey.pdf

comment 7y ago · link · parent

You could also just cite the Weierstrass function, which is continuous everywhere and differentiable nowhere. But that's separate from the meat of my point, which is that C(R) is a vector space.

comment 7y ago · link · parent

True, but that was kind of an afterthought of my point. All continuous functions still comprise a vector space.

comment 7y ago · link · parent

I think that was the point.

comment 7y ago · link · parent

While we're at it, doesn't the "universality theorem" (as the article calls it) basically follow immediately from the fact that the set of all continuous functions comprises a vector space?

If the continuous function is additive, it's linear. If it's nonlinear, you can differentiate it to obtain a linear approximation. A neural network computes linear transformations, so unless I'm missing something I'm a little surprised there's a substantive theorem for this. Is it not a corollary on the fact that we can construct a vector space of all continuous functions?

comment 7y ago · link · parent

No, calculus does in fact resolve them. More specifically, formalizing continuity and completeness obviates the issue. Like I said, if you distinguish between countable and uncountable infinities, there is no longer a paradox.

The only reason it appears to be paradoxical is because you're mandating someone move from a real coordinate (a, b, c) to another real coordinate (a', b', c') on the interval [x, y] while also passing through the set of all real points between them, without first defining a notion of distance of time. That's not possible for the same reason you can't ask someone to count all reals on an interval, because continuity implies uncountability. Between any pair of real numbers is another real number, and it takes an equal amount of effort (and time) to count any given number.

To a first glance, this seems like a paradox because we can clearly move from (a, b, c) to (a', b', c), yet we shouldn't be capable of any movement whatsoever. Calculus solves this problem by formalizing Zeno's demand as a geometric series with a notion of distance. The requirement is that you move from one position to another position while passing through every halfway position between them. Equip the vector space ℝ^3 with the Euclidean metric so you have a metric space (defined distance). Then we have the sequence of steps

    (a, b, c) -> |(a, b, c) - (a', b', c')|/2 -> ... -> (a', b', c')
which corresponds to the geometric series

    (1/2)^1 + (1/2)^2 + (1/2)^3 + ...
that series converges to 1: https://www.wolframalpha.com/input/?i=(1%2F2)%5E1+%2B+(1%2F2....

More concretely: an infinite expansion such as 0.99999999... is equal to 1. Each half step will take only half as long to traverse as the half step preceding it to it once you've defined Euclidean distance on a continuous space. The first step to formalizing sequences and series like this is by constructing the real numbers as a continuous set and distinguishing between different types of infinities. Then you can define limits, and from there you're essentially done.

Note that at no point am I talking about what happens when you reach 1, or (a', b', c'), or anywhere else. I'm just explaining how you reach it in finite time. If you can get arbitrarily close to a point, you can get to the point itself.

I guess I should be more technical and say that real analysis solves this problem, because what's really doing the heavy lifting here is the topology induced by defining a metric on ℝ^3 in combination with the notion of limits.

comment 7y ago · link · parent

Ah, good example. I guess that's fair.

comment 7y ago · link · parent

> To say nothing of the fact that comparing a number to physical stuff will eventually bring you head on against Zeno’s paradox, one way or the other.

Zeno's paradoxes are soluble by basic calculus. Once you distinguish between countable and uncountable infinities, the problem of crossing a bounded interval in finite time ceases to be paradoxical.

This is basically to say I don't think this is a particular problem for the resolution of outstanding inconsistencies in theoretical physics.

comment 7y ago · link · parent

In what circumstance does that not describe a paradox?

comment 7y ago · link · parent

What's wrong with NaCl?

comment 7y ago · link · parent

> Always remember that 50% of drivers are below average intelligence.

Well...technically not in this case, no.

It's usually misleading to use the median instead of arithmetic mean for measuring averages in population, because you can wind up with situations where, say, 90% of people are "above average."

That being said, IQ is specifically calibrated to follow a normal distribution. Ordinarily that would mean you're correct, and we can just call the arithmetic mean and median the same thing.

However! The normal distribution of IQ - average 100, standard deviation 15 - includes the bottom percentiles of the population who are severely mentally impaired. These people aren't usually drivers. It follows that when you're driving, the population of drivers around you will actually skew higher in percentile. In fact, it's probably more likely that the modal driver has intelligence equal to or greater than average.

Personally, I think safe driving, polite driving and technically skilled driving are all orthogonal with respect to each other and to overall intelligence. After a very serious accident years ago, I became the kind of person who will only drive at or below the speed limit. But I know several people at least as - and probably much more - intelligent than me who drive "erratically", to put it nicely. I don't think raw intelligence captures enough information to really dictate behavior here.

comment 7y ago · link · parent

People can follow the process. Many people (most?) won't follow the process.

comment 7y ago · link · parent

> So insider trading on non-public information is illegal and that's not news.

This is a frustratingly common misconception, but it is still incorrect. If you ascertain material nonpublic information without breaking a confidentiality agreement or fiduciary duty, you are fully allowed to trade on that research.

Price discovery is a core function of a financial market. Without information asymmetry, there exists no meaningful way to signal new prices to a market. In the abstract, the only way to achieve alpha is to have an informational advantage over the market consensus.

This is why the SEC is generally very careful in its terminology; to wit, you will usually see the terms "insider trading" and "illegal insider trading" distinguished. The "illegal" prefix is significant. Insider trading also refers more generally to the mundane, non-criminal trading activity of any corporate insiders. Legally trading with material nonpublic data is not insider trading by definition, because you can't legally trade on that kind of information as an insider.

Take a look at the SEC's spotlight of insider trading cases[1]. Note the commonalities - a confidentiality or agreement or fiduciary duty was broken directly (e.g. by an employee of the firm involved) or indirectly (e.g. by friends or family of the employee). Likewise, consider the SEC's definition of illegal insider trading[2].

As for what Munger has said about HFT - it frustrates me to hear that he's said those things, because of the coherent criticisms you can levy against the practice, frontrunning is not one of them. It's extraordinarily frustrating to me that you're characterizing this as something debatable - it isn't! "Frontrunning" has an established, precise definition which the SEC will happily and aggressively use for litigation - HFT or otherwise. Whatever Munger's problems with HFT are, his argument would be strictly better if he dropped the inaccurate jargon and simply criticized the practice directly.

In fact, I can't find a single citation in which Munger actually provides an argument for why HFT is bad or frontrunning. There are legitimate reasons you can be concerned about HFT, but Munger doesn't seem to mention them. Instead, every source I can find has him claiming HFT is wasteful or unproductive because he doesn't like the idea of people competing on nanoseconds. His overall dislike for the practice is extremely underspecified.

In contrast, Levine is actually far more neutral about the activity than you've given him credit for. He has written extensively about HFT, Flash Boys, IEX, the various players involved and the peripheral industries and incentives. He might not be as personally successful or wealthy as Munger, but his take on the subject is - objectively speaking - much more well-constructed and coherent.

___________________

1. https://www.sec.gov/spotlight/insidertrading/cases.shtml

2. https://www.sec.gov/fast-answers/answersinsiderhtm.html

comment 7y ago · link · parent

I'd push back against the idea of rich interiority personally, but ultimately I think that's more of a philosophical question. Practically speaking since we're engaging in this idea without the requirement to achieve continuity of consciousness, I'd argue it's potentially an unnecessary concern. If you will not continue after death, do you personally care if your replacement has interiority? On the other hand, if you want the things you care about to doing to continue getting done by a replacement, you do care that they are capable of everything you are and respond exactly as you would to every situation.

That being said I think your second challenge is more interesting. Albert Einstein's achievements are the product of both extreme knowledge/specialization, his experience and his personality. I think you'd likely have to have a "knowledge space" which can be mapped to the human "mind matrices." That does complicate things a fair bit, but in the abstract I think a "vanilla human" could plausibly be seeded with Einstein's personality and as much knowledge as you want.

comment 7y ago · link · parent

I can see why you're drawing a comparison between enumerating stimulus -> response correspondences and "breaking" encryption using a lookup table. But I don't agree that the two would be comparable in difficulty a priori. First, encryption schemes typically try to complicate their linear structure by design, such that inverting the sequence of linear transformations can't be done without (ostensibly) secret information. Second, encryption schemes also approximate maximal randomness, which is entirely foreign to human activity.

For a basic example off the top of my head, consider a hash function. A hash function h : {0, 1}^' --> {0, 1}^n is not actually* injective (it can't be, since the domain is effectively infinite-dimensional and the codomain is finite-dimensional). However, cryptographic security mandates that it should be infeasible to find a preimage message for any digest in the codomain. Moreover messages with very small differences in the domain should be mapped to digests with very large differences in the codomain. This artificial noise and complexity doesn't resemble human reactions whatsoever; it's fairly easy to say two things which will each elicit your regional-specific greeting. In general many human responses have common triggers, and I would further conjecture that you could categorically simplify this further by reducing human responses to broader equivalence classes based on language, geographical region, mood, etc.

This is not to say it isn't challenging. I would expect building a linear approximation of a human mind using input -> output mappings to be extraordinarily difficult. But it's not artificially difficult, like well-designed cryptography. Breaking well-designed cryptography is intended to be, in a mathematical sense, a maximally difficult endeavor - much more difficult than basically anything else you can possibly do in nature.

More to my original point you and I can at least entertain a coherent conversation about building a matrix representation of a human mind using finite stimulus and response spaces. We're in familiar territory, even if it's not ultimately possible or feasible. It's mathematically sound to approach this, given a few well-defined assumptions.

In contrast, I don't know (nor am I confident anyone else knows) how to 1) replicate a human mind via as of yet nonexistent direct brain-interface technology, or 2) how to upload a human mind, using even more nonexistent technology so as to preserve continuity of consciousness. Not only are there rampant unknowns unknowns involved in the engineering efforts entailed here, there are unresolved questions and rampant philosophical disagreements in the fundamental assumptions. We're not in familiar territory here.

comment 7y ago · link · parent

If you are okay with that, you no longer need to upload anything, and your problem becomes one of imitation rather than continuity. You can dispense with the philosophical question of identity entirely and obviate away the problem of interfacing with a mind.

Find a way to decompose an individual's personality into progressively more granular dimensions of behavior. Model stimulus -> response reactions as transformations. Sample enough responses from each type of behavior, make linear approximations of the transformations until you achieve a 1:1 simulacra, and derive a basis for the response basis. Your human mind will be a matrix representation of the map between the stimulus and response spaces.

As unrealistic as all of that sounds, it still sounds significantly easier to me than uploading (or even interfacing with) a mind.

1
101112
54