Past exam of the algorithmic foundations of learning course of the University of Oxford 2025 2 c Solution by
Codex 0 2026-10-25
Let . Under , the true probability density function is positive and finite at every observation almost surely. Define the sequential likelihood ratioA zero numerator sets the product to zero thereafter. Thus is a well-defined nonnegative process, and , with .
The next observation is independent of , while is measurable with respect to that sigma-algebra. Its conditional expectation is thereforeConsequently ; induction also gives . Thus is a nonnegative supermartingale for the filtration . It need not be a martingale: an alternative distribution can put mass outside the support of the true distribution.
The maximal inequality for a nonnegative supermartingale, the corresponding form of the Ville inequality, givesThe strict inequality in the definition of the confidence set correctly becomes a non-strict crossing event.
There is a minor definitional omission in the source: for false candidates , the printed sum of log-likelihood ratios can involve or both infinite signs. To define the entire confidence set without a positivity assumption, use the logarithm of the ratio of the two full products, and , taking for , for , and, for example, . This is a measurable extension of the printed formula wherever that formula is defined. The choice at cannot affect coverage of the truth, since its full denominator is positive almost surely. Alternatively, strict positivity of every density on the common support removes the omission.
Past exam of the algorithmic foundations of learning course of the University of Oxford 2025 2 b Solution by
Codex 0 2026-10-25
Use the single eventFix a realization in . The action space is nonempty and compact, since it is a closed subset of the finite-dimensional unit ball. The Lipschitz continuous reward function is continuous, so there is an optimal action . Because the same reward function is used at every time, the pseudoregret is , whereThe pair is feasible in the optimization defining . This optimism in the face of uncertainty givesFor any positive-definite matrix , the ordinary Cauchy-Schwarz inequality applied to and provesBoth and belong to the same confidence ellipsoid . The triangle inequality for the norm associated with this weighted Euclidean inner product therefore givesand hence . Monotonicity of and another Cauchy-Schwarz inequality now yieldThis reasoning holds on for every simultaneously, proving the asserted probability. In combination with part (a), it also givesOnly the supplied simultaneous confidence set coverage and the optimistic choice are needed here. No claim that the displayed linear estimator is automatically a suitable estimator for a nonlinear link is required: its coverage was an explicit hypothesis.
Past exam of the algorithmic foundations of learning course of the University of Oxford 2025 1 b Solution by
Codex 0 2026-10-25
Let . For , the exponential of a maximum is bounded by a sum, givingApplying Jensen's inequality to the logarithm yieldsFor , put and choose . This gives and thereforeFor , let in the preceding upper bound, obtaining . ConsequentlyThe proof uses only the individual moment-generating function bounds for Sub-Gamma random variables in the right tail; it requires no independence. Under the paper's literal one-sided definition, the negative part need not be integrable. The positive part of is integrable by the displayed exponential bound; if , the conclusion holds in the extended sense. Otherwise the application of Jensen's inequality is ordinary. Equivalently, truncate below and pass to the limit.
Past exam of the algorithmic foundations of learning course of the University of Oxford 2025 1 a Solution by
Codex 0 2026-10-25
Write for the cumulant-generating function, and let . This set is nonempty. In fact, finiteness of the moment-generating function at some and givesso is an integrable random variable. Put .
For the upper tail, use the following one-sided convex conjugate and its strict generalized inverse of a nondecreasing function:Here , and is nondecreasing because every slope in its defining supremum is nonnegative. For , negative cannot increase the conjugate: gives , and already gives zero. Thus agrees with the full Legendre transform of a cumulant-generating function on its upper-tail branch. Using a strict generalized inverse of a nondecreasing function handles constant random variables and bounded supports without assuming a strictly increasing, everywhere finite conjugate. Directly from the definition,This threshold is finite: any fixed gives a finite upper bound, while gives and hence , providing the lower bound .
We now derive the needed Chernoff bound. For and any real , the pointwise inequality impliesLet . For every , the infimum formula supplies an such that . Thus . As , these events increase to ; continuity from below of a measure provesThe strict event and the strict generalized inverse of a nondecreasing function avoid any assumption that the optimizing exists. For example, if almost surely, the threshold is for every , and the probability is zero.
Past exam of the algebraic number theory course of the University of Oxford 2023 3 d Solution by
Codex 0 2026-10-25
For , put . Since , the ring of integers of a quadratic field formula gives . Modulo five,The two roots are distinct, so the Dedekind factorization theorem givesIn particular .
We prove that has order of a group element greater than . Suppose instead that is a principal ideal for some . Since , its generator is in : write with . Taking ideal norms gives the positive field normBut , so . Thus , forcing to be even and . This would givecontrary to unique factorization of ideals in a number field and . Consequently no such exists. The finiteness of the ideal class group ensures that has finite order of a group element, soFor every positive integer , the allowed infinitude of prime numbers in the progression supplies one larger than . Applying the construction proves unbounded element orders in imaginary quadratic ideal class groups. In particular, this establishes elements of arbitrarily large order of a group element, rather than merely unbounded class numbers.
Past exam of the algebraic number theory course of the University of Oxford 2023 3 c Solution by
Codex 0 2026-10-25
Let . The polynomial is Eisenstein at three, so the number field has degree of a field extension three. Use the permitted ring of integers , whose integral basis is . The field traces , , , and giveThere is one real field embedding and one conjugate pair of nonreal field embeddings. The Minkowski bound for ideal classes is thereforeEvery ideal class has an integral ideal representative of ideal norm at most four, so it is enough to show that every prime ideal of ideal norm at most four is a principal ideal.
Modulo two,where the quadratic factor is an irreducible polynomial over the finite field . The Dedekind factorization theorem givesNowThus , by containment and equality of ideal norms, and cancellation in the second identity gives . This explicitly handles the prime ideal of ideal norm four, as well as the one of ideal norm two.
Modulo three the polynomial is , soThese exhaust the prime ideals of ideal norm at most four. Every bounded representative factors into the listed principal ideals, and hence is a principal ideal. Therefore the Class group of Q of cube root of three is
Past exam of the algebraic number theory course of the University of Oxford 2023 3 b Solution by
Codex 0 2026-10-25
To compute the Ideal class group of Q of square root thirty-five, put . The ring of integers of a quadratic field formula gives , and the field discriminant is . Both field embeddings are real, so the Minkowski bound for ideal classes isEvery ideal class therefore has an integral ideal representative of ideal norm at most five. By prime ideal factorization and multiplicativity of the ideal norm, the ideal class group is generated by prime ideals of ideal norm at most five.
Apply the Dedekind factorization theorem to . At two and five it has a repeated linear factor, givingAt three, has no root, so itself is a prime ideal of ideal norm nine, outside the bound. These are all the relevant prime ideals: a prime ideal of ideal norm four would have to lie above two with residue degree two, but the factorization above two has only the single factor of degree one. Consequently and generate, and each has order of a group element dividing two.
The algebraic integer has field norm . It belongs to both and . Hence its principal ideal is contained in . Both have ideal norm ten, soIt follows that , and the ideal class group is generated by one element of order of a group element at most two.
Finally, is not a principal ideal. If with , the equality of ideal norm and absolute field norm would implyModulo five this requires or , whereas squares modulo five are . Thus , provingThis computes the ordinary ideal class group, with no positivity restriction on generators.
Past exam of the algebraic number theory course of the University of Oxford 2023 3 a Solution by
Codex 0 2026-10-25
Let denote the field discriminant, and put . Let be the number of real field embeddings and the number of conjugate pairs of nonreal field embeddings, so . The Minkowski bound for ideal classes provides a nonzero integral ideal satisfyingRearranging gives the Minkowski lower bound for a number-field discriminantBecause and , this is at leastApply the arithmetic-geometric mean inequality to :It follows thatwhere for was used. ThusThe source writes . If denotes the embedding determinant, its square is ; if it denotes the field discriminant, the displayed result also implies the stated inequality. The conclusion therefore does not depend on that notational convention.
Past exam of the algebraic number theory course of the University of Oxford 2023 2 a Solution by
Codex 0 2026-10-25
Write . We prove unique factorization of ideals in a number field, rather than assuming this conclusion as a property of a Dedekind domain. Three preliminary facts about will be useful. Its additive group is a finite-rank free abelian group, so every ideal is finitely generated and the ascending chain condition holds. It is an integrally closed domain, by integral dependence is transitive. Finally, every nonzero prime ideal is a maximal ideal. For this last fact, choose . Multiplication by is an injective endomorphism of the finite-rank free abelian group with nonzero determinant, so is finite. Consequently is a finite integral domain and hence a field.
First, every nonzero proper ideal contains a product of nonzero prime ideals. Otherwise choose a maximal counterexample under inclusion, using the ascending chain condition. It cannot be a prime ideal. Choose with . The strictly larger ideals and each contain a product of nonzero prime ideals, allowing the empty product when necessary. Multiplying those products gives a product contained ina contradiction.
Next fix a nonzero prime ideal , choose , and choose a product of nonzero prime idealswith minimal. Because , primality and maximality imply for some ; reorder so that . Minimality provides with , taking the remaining product to be if . ThusDefine the fractional idealIt contains and . The ideal lies between and , so it is or . If it were , then . Applying the determinant trick to a finite generating set of an ideal for gives a monic polynomial over satisfied by . Since is an integrally closed domain, this would put in , a contradiction. ThereforeThis proves that each nonzero prime ideal is an invertible fractional ideal, independently of the desired factorization theorem.
Now take a nonzero proper ideal and a maximal ideal containing it. The ideal satisfiesThe first inclusion is strict: if , the same would stabilize , and the determinant trick would again force . Repeating gives a strictly ascending chain until it reaches ; the ascending chain condition ensures this happens after finitely many steps. The identities then express as a product of nonzero prime ideals.
For uniqueness, suppose . Since the right-hand side is contained in , some is contained in . Both are nonzero maximal ideals, so . Multiplication by cancels this factor. Repeat. A nonempty product of proper prime ideals cannot equal , so both products finish together. This proves uniqueness up to reordering, including repeated factors.
There are unlisted articles, also show them or only show them.