For the sake of the OP, I will assume that some version of the analytic/synthetic distinction is defensible. More specifically, I will assume that we can differentiate between analyzing a question from the inside to get an answer and synthesizing information from "outside" a question to get an answer. For example:
- "Who is a bachelor?" has an analytic answer, "An unmarried man is a bachelor."
- "Who is a bachelor?" has a synthetic answer, "Sam is a bachelor."
This doesn't need a difference between "relations of ideas" and "matters of fact," since at least on a thin theory of facts, there are facts about relations of ideas or, then, meanings. That is:
- Bachelors are unmarried men.
... comes out to the same thing as:
- The word "bachelors" refers to unmarried men.
But (4) would be synthetic inasmuch as we can "deny without intrinsic contradiction" that the word "bachelors" is being used in a certain way (i.e. the word can be used in other ways).
With that out of the way: go to various mathematical questions. I will assess the following:
- 1 + 1 = 0 + 2?
- How many prime numbers are there?
- How many inaccessible cardinals are there?
(5) is, perhaps naively, a candidate for a question with an analytic answer. To see this, convert it into two questions:
- What does 1 + 1 equal?
- What does 0 + 2 equal?
Now 0 is the identity element for addition, since n + 0 = n for all n. Insofar as we correlate identity statements with triviality and hence analyticity, then, (9) seems to have an analytic answer, "2." Now assume that 1 + 1 = successor(successor(0)) or perhaps {{0}} or {0, 1}. In each case, we have two of something, over 0, so 1 + 1 = 2 looks analytic.
Oddly enough or not, if ultrafinitism is logically possible, then there aren't infinitely many numbers modulo ultrafinitism. So the answer to (6) would not be, "Infinitely many," without the background presupposition of infinitely many numbers whatsoever. Perhaps the conditional, "If there are infinitely many numbers at all, then there are infinitely many primes," can be determined analytically a priori, though.
Finally, see Hamkins[22] for examples of functions determining, "How many inaccessibles are there?" that answer the question possibly arbitrarily or "weirdly," but not, then, per the mere definition of an inaccessible, it seems. I.e. analyzing the definition of "inaccessible cardinal" will not tell you, from the inside of the query, what that "How many" should end up equaling, but it looks like you need some kind of outside information to get to the point.
Note: instead of the plainly erotetic account of the analytic/synthetic distinction, one might try out a functional one. E.g. take some function f(x) = x2 and differentiate between replacing x with constants or variables. One might style the constant assignments as yielding synthetic outputs, whereas plugging x back into itself, here, yields analytic outputs. Then one might adapt this picture to (5), (6), and (7) again, to check to see if this picture lines up with the other one here painted.
Now, for all that, how useful does the analytic/synthetic distinction end up being? If analytic knowledge is uniformly trivial, I suspect that it does not end up being of much use. Of course, there is also the too-simple-to-be-simple phenomenon to consider, or the joke (another contributor here told me this one) about the two mathematicians, one of whom said a proof was trivial and spent two hours explaining so to the other, at the end of which explanation the other went, "Ah! I see now that it is trivial!" in all seriousness.
Addendum 1: the cofinality of ℵω
To illustrate further how tortured this issue can become, consider the expression cf(ℵω). Offhand, it seems "true by definition" that this expression is to be evaluated to ω, and so that ℵω is not regular, but is singular. However, if 0♯ exists, then we say this curious thing, "Then ℵω is regular in L." The seemingly full-and-real ℵω is still singular, but we think then that L is off-key, etc. Yet do we say that this is all an analytic or synthetic matter? For we could ask the following questions:
- In L, is ℵω singular?
- In V, is ℵω regular?
... and so on. No doubt, such questions might be accommodated by the aforementioned descriptions of the analytic/synthetic distinction, but one wonders about the point of going through all the trouble to adapt such inquiries to such a metatheory (why not just see where L and so on go on their own terms?).
Addendum 2: diagram-chasing in category theory
I don't have much to say about this, mostly, except to ask: is checking whether a diagram commutes an analytic, synthetic, categorical, or hypothetical procedure? I don't know how to check that kind of thing, nor do I fully (if at all!) understand the significance of diagram-chasing, but I appreciate that category theorists have something important in mind by this practice. I will leave off this addendum with a link to Eugenia Cheng's "Mathematics, morally" for reflection on the relations and differences between mathematical proofs, truths, and "moral" aesthetics in a category-theoretic context.
Further reading (on the PhilosophySE):
- An answer to a question about the analytic/synthetic in algebra.
- An answer to a question about whether all logics have tautologies as well-formed.