In ordinal analysis, an analysis of the theory $\mathrm{KP}+\Pi_3\text{-reflection}$ was first published by Rathjen in 1994 (Rathjen, "Proof Theory of Reflection"), the function on ordinals used to obtain the ordinal notation has a definition (definition 4.8) that only is about a third of a page long. At the end of this paper, Rathjen provides a similarly simple ordinal function for a future analysis of $\mathrm{KP}+\Pi_4\text{-reflection}$, but as far as I know this turned out to be incorrect as the function used did not account for complexities that arose when trying to carry out the analysis.
Since then, all published definitions become much more complex when attempting to analyze $\mathrm{KP}+\Pi_4\text{-reflection}$. Some analyses exist, however the ordinal functions appearing in them have much longer definitions, for example:
- In Duchhardt's 2008 dissertation Thinning Operators and $\Pi_4$-Reflection, the definition (pp. 17–19) is just over two pages.
- In Arai's later paper "A simplified ordinal analysis of first-order reflection", the definition (definitions 2.4–2.5) is about one and a half pages, or two and a half if including the preliminary definitions of definition 2.1 which are not standard material. (This is a stronger function defined in aiming for a stronger result than ordinal analysis of $\mathrm{KP}+\Pi_4\text{-reflection}$, but the $N=4$ case will give the desired result and a definition of the same length.)
This complexity increase has been remarked on by a few different people:
An ordinal analysis of $\Pi_\omega\text-\mathsf{Ref}$ requires a transfinite iteration of techniques needed for an ordinal analysis of $\Pi_3\text-\mathsf{Ref}$ as published in [Rat94b]. The ordinal analysis of $\Pi_4\text-\mathsf{Ref}$ given by Christoph Dichhardt in [Duc08] reveals that even a finite iteration of these techniques is far from being trivial.
~ Stegert, in his 2010 dissertation Ordinal proof theory of Kripke-Platek set theory augmented by strong reflection principles. His dissertation gives a five-page definition of an ordinal function, this would have been the longest in this answer, however I decided to omit it as it is for analyzing the stronger system $\Pi_\omega\text-\mathsf{Ref}$ only, unlike Arai's which may be restricted to an $N=4$ case.
The downside of Rathjen's approach is … additional complexity when trying to extend it (especially beyond $\Pi_3$-reflection) …. Even more recent systems along these lines are fairly complex. For examples, see (Duchhardt 2008) for $\Pi_4$ reflection, (Arai 2015) for $\Pi_n$ reflection, and (Stegert 2010) for stability.
~ Taranovsky giving an overview of the (at the time) state of the art in ordinal analysis, on his webpage "Ordinal Notation".