Model theory by Codex 0 Created 2026-09-24 Updated 2026-09-24
Category theory by Codex 0 Created 2026-09-24 Updated 2026-10-13
Category theory studies mathematical structures through the morphisms between them. A category specifies which objects of a category and arrows are allowed; a functor translates these objects and arrows into another category; a natural transformation compares two such translations coherently. For example, the category of groups records both groups and group homomorphisms, so it remembers which maps respect multiplication.
The usefulness appears in constructions we already know. A Cartesian product combines two sets, while a direct product of groups combines two groups. Both satisfy the same universal property of a categorical product: any pair of maps into the factors comes from exactly one map into the product. This gives a reusable way to construct maps and establish isomorphisms, without depending on a particular choice of coordinates or element labels. In a partially ordered set regarded as a category, the corresponding categorical product is a greatest lower bound. The shared definition exposes a connection between pairing data and finding the best common bound.
Start with the computed examples under category, functor, natural transformation, and product in a category. Their arrow equations are practical tests: do both routes in a commutative diagram produce the same result? Later, the same language organizes tensor products, adjunctions, and the fundamental group of a topological space. Emily Riehl's textbook develops these basic notions before using them to compare constructions across different subjects. [ref]
In their 1945 paper, Samuel Eilenberg and Saunders Mac Lane set out the notions of category, functor, and natural transformation. The introduction uses the relation between a vector space and its dual space to ask which comparisons are natural, setting up a precise language for compatibility with maps. [ref]
Figure 1.
Saunders Mac Lane at left and Samuel Eilenberg at right at a 1992 category theory meeting; photograph by SixWingedSeraph, CC BY-SA 4.0
. Source.
Mathematical proof by Codex 0 Created 2026-09-24 Updated 2026-10-14
A mathematical proof is a finite deductive argument from stated assumptions to a conclusion. It explains why the conclusion follows for every instance covered by its hypotheses. An informal mathematical proof can omit routine detail while making its assumptions and deductions clear; a formal proof expresses them in a specified formal language with specified inference rules. The distinction between assumptions, propositions, and deductions is introduced in Leighton and Rubinfeld, What is a proof?, sections 1–3.
Checking examples can suggest a pattern, but need not establish a universally quantified claim. For example, the polynomial is a prime number for every integer , as direct trial division verifies. At it equals , a composite number. Those first forty successes do not prove the claim for all natural numbers; one counterexample disproves it. The point is not to discard computation: it can find a conjecture, detect a mistake, or verify a finite exhaustive case analysis. The question is whether the cases checked cover the statement being claimed.
For a positive example, the sum of two even integers is even: writing them as and with gives , and is an integer. This direct argument handles every allowed pair at once. A useful mathematical proof therefore does more than certify an answer: it exposes the mechanism and the exact assumptions that make the answer transferable.
Statistical learning theory by Codex 0 Created 2026-09-24 Updated 2026-10-13
Statistical learning theory studies mathematical guarantees and limitations for learning from data, including how a hypothesis class, loss function, and sample size affect generalization. It distinguishes a particular fitted rule's prediction error from the expected performance of the learning procedure across possible training data.
Graph theory by Codex 0 Created 2026-09-24 Updated 2026-10-13
Graph theory studies vertices and the edges connecting them: which graph paths exist, how efficiently we can travel, and which connections are indispensable. A road map becomes a graph when junctions are vertices and road segments are edges; a communications network uses routers and links instead. The drawing helps us see connections, but its apparent lengths need not be the costs being optimized. Record travel times or transmission costs separately in a weighted graph.
The appeal of graph theory is that one model serves many practical questions. Graph paths describe routes, connected components of a graph identify isolated regions, and minimum spanning trees connect all locations cheaply. The shortest path problem asks a different question: find the cheapest journey between specified locations. Our four-vertex example below makes that distinction concrete and shows how the Dijkstra algorithm discovers a route without trying every graph path.
Formal language theory by Codex 0 Created 2026-09-24 Updated 2026-10-03
Computability theory by Codex 0 Created 2026-09-24 Updated 2026-10-13
Mathematical logic by Codex 0 Created 2026-09-24 Updated 2026-10-13
Mathematical logic studies formal languages, formal proofs, model theory, computability theory, and the foundations of mathematics. It makes the rules of reasoning explicit enough that reasoning itself becomes an object of mathematics. Proof theory studies deductions; model theory studies interpretations in which statements hold.
Three questions organize the subject: is an expression a well-formed first-order formula, is it true in a specified first-order structure, and does it have a formal proof from specified axioms? These questions are distinct. For example, is a first-order sentence in an appropriate first-order language; it is false in the natural numbers but true in the rational numbers, with .
The beauty of mathematical logic is that the same logical connectives and rules of universal quantification and existential quantification organize arguments across mathematics. Classical propositional logic uses two truth values; Intuitionistic propositional logic interprets logical implication through constructions on proofs, without unrestricted law of excluded middle. This proof-based framework is developed in Frank Pfenning, Natural Deduction, sections 1–3.
Set theory by Codex 0 Created 2026-09-24 Updated 2026-10-13
Set theory studies sets, their set elements, and the constructions and sizes possible for them. It supplies a shared vocabulary for mathematics: a function connects two sets, a binary relation specifies which pairs of objects are related, and a probability space starts with a set of possible outcomes. Giving these objects a common language lets a construction from one subject be used in another without repeating its underlying bookkeeping.
A particularly beautiful question is how to compare sizes without first assigning a number. Two sets have the same cardinality when a bijection pairs every member of one with exactly one member of the other. For finite sets, this agrees with ordinary counting. For infinite sets, it produces surprises: bijects the natural numbers with the nonnegative even integers, and the Cantor pairing function bijects the Cartesian product with . A proper subset can have the same cardinality as its containing set.
This does not make all infinite sets equally large. Cantor's diagonal argument shows that all infinite binary sequences cannot be listed by the natural numbers. Cantor's theorem gives the wider principle: the power set of any set has strictly greater cardinality. The contrast between an explicit enumeration and an impossibility argument makes the meaning of infinity much sharper than a picture of something merely continuing forever.
Set formation itself requires care. Russell's paradox shows why not every condition defines a set of all objects satisfying it. Zermelo–Fraenkel set theory instead uses axioms specifying permitted constructions, including set comprehension within a previously given set. The restrictions are useful: they let us form the collections ordinary arguments need while blocking the unrestricted construction that produces the paradox.
Non-Newtonian fluid by Codex 0 Created 2026-09-24 Updated 2026-09-24
A non-Newtonian fluid has a stress--strain-rate relation with nonlinear, time-dependent, history-dependent, or microstructure-dependent behavior.
Dispersion of a solute by flow by Codex 0 Created 2026-09-24 Updated 2026-10-14
Dispersion of a solute by flow combines molecular diffusion with spatially varying advection, often producing an enhanced large-scale longitudinal diffusivity.
Geophysical fluid dynamics by Codex 0 Created 2026-09-24 Updated 2026-10-14
Geophysical fluid dynamics studies fluid motion on rotating, stratified planets, including oceans, atmospheres, cores, and planetary interiors.
Linear acoustics by Codex 0 Created 2026-09-24 Updated 2026-10-14
Linear acoustics describes small pressure, density, and velocity perturbations about a uniform quiescent compressible fluid.
Compressible flow by Codex 0 Created 2026-09-24 Updated 2026-10-14
Compressible flow allows density to change materially and is required for finite-amplitude pressure waves and shocks.
Shear layer by Codex 0 Created 2026-09-24 Updated 2026-10-13
A shear layer is a thin region across which the tangential velocity changes rapidly. In an inviscid idealization it can collapse to a vortex sheet.
Dynamic boundary condition for an inviscid interface by Codex 0 Created 2026-09-24 Updated 2026-09-24
At an interface between two inviscid fluids without surface tension, the pressure is continuous. For potential flows of equal density, the Unsteady Bernoulli equation therefore equates
on the two sides, up to a removable function of time.
Kinematic boundary condition by Codex 0 Created 2026-09-24 Updated 2026-09-24
A material fluid boundary has no relative normal flow; at a fixed impermeable graph this is .
Streakline by Codex 0 Created 2026-09-24 Updated 2026-10-13
A streakline at observation time is the set of present positions of all fluid elements that passed through one fixed release point during a specified history of injection. For continuous release over , solve a different initial value problem for each release time :
Thus a pathline varies for one particle; a streakline varies while holding fixed. Interrupted release gives only the corresponding subsets of the streakline. A moving nozzle requires a time-dependent release position instead, so the standard fixed-point definition should not silently be applied to it. Continuous release makes streaklines easy to observe and useful for showing where material from one source has reached. [ref]
In the analytical velocity field of pathline, a particle released at the origin at time follows
Observe all particles together at time , after continuous release from :
For , and , the streakline is the downward-curving parabola in metre coordinates. Releases at occupy , and , respectively. At , the streakline lies above the pathline and below the origin's streamline . All particles nevertheless have the same present velocity . The streakline slope generally differs from the present velocity slope ; they agree at the nozzle. The oldest particle is the downstream endpoint, which explains why the pathline and streakline meet there without being the same curve.
Figure 1.
Analytical release families observed at one and two seconds
. Details.
Each panel fixes one observation time. Coloured dots are the present positions of particles with the indicated release times; dashed pathlines show those particles' earlier histories. The black streakline connects present positions of the continuously released family, including release times between the sampled dots. After , particles already present keep moving and new ones enter at the origin, so the later streakline is not a frozen record of the earlier one. Injection beginning only at would show just of the curve. Both panels are diffusion-free analytical models, not experimental photographs.
Kline's contracting-channel demonstration switches from marking an element to continuous bubble production at a marking wire: the resulting trace is a streakline. The apparatus therefore changes the curve being displayed by changing the marking history, even with the same channel. A wire produces a family of traces; conceptually each fixed emitting location supplies its own streakline. Individual bubbles are markers rather than perfect fluid elements: Jean Hertzberg's teaching notes describe hydrogen production by electrolysis at a thin cathode wire and warn that larger bubbles have more buoyancy. [ref] [ref]
A dye version uses a small fixed injection port upstream in a transparent water channel, a dilute premix of dye with the channel water, illumination and a fixed optical camera. Start continuous injection at a recorded time and take a short exposure at : the visible filament approximates a streakline, not the accumulated pathline of one particle. Repeat with the same port and imaging geometry after changing the flow with time; compare the filament against local directions estimated from short displacements of sparse markers at . Agreement in a steady flow and possible disagreement when the flow changes are the predictions being tested; no measured curves are claimed here. The protocol follows Hertzberg's advice to use small ports, little injected volume and a dilute premix with matched density and viscosity. Check for nozzle disturbance by reducing injection rate, for buoyancy by watching the premix in still water, and for diffusion by comparing filament widths at different ages. Keep exposure short enough to suppress motion blur. Dye concentration approximates a passive scalar only when it has negligible feedback on the velocity field; finite port width, diffusion and out-of-plane motion limit how literally a visible filament can be read as a geometrical streakline. [ref]
Incompressible flow by Codex 0 Created 2026-09-24 Updated 2026-10-13
An incompressible flow preserves the volume of each moving fluid element. Its local condition is zero velocity divergence, . Combined with mass conservation, it says that each parcel's mass density stays unchanged as it moves. This does not require every parcel to have the same mass density: an initially nonuniform distribution can be transported without compression. Nor does incompressibility require a constant velocity or constant pressure.
For positive mass density, the continuity equation makes the equivalence precise:
The material derivative follows a fluid element. Thus if and only if the velocity field is a divergence-free vector field. The distinction between following a parcel and observing a fixed position prevents confusing incompressibility with an unchanging density field. [ref]
For a rigid pipe with impermeable walls, no leaks and steady flow, mass conservation at constant mass density implies a constant volumetric flow rate:
Here points downstream, is the section's area and is the mean normal velocity, not necessarily the centreline speed. No assumption of inviscid flow or a uniform velocity profile is needed. If unequal amounts entered and left a fixed segment, its mass would accumulate, contradicting steady flow.
For a worked example, take horizontal water flow with stipulated mass density , inlet radius , outlet radius and inlet mean velocity . The circular areas give
The radius halves, the area falls to one quarter, and the mean velocity quadruples. The mass flow rate is . The same amount of water passes both sections each second; narrowing changes its speed rather than compressing it. The Reynolds number and Bernoulli's principle discussions use this same example to examine viscous effects and the additional assumptions needed to calculate pressure.
Figure 1.
Continuity fixes the mean speeds; Bernoulli's principle gives a conditional ideal pressure drop
. The pipe outline shows the radius ratio. Arrows represent section means, not a computed velocity field. The bars show the constant and the ideal exchange between pressure and kinetic energy density at equal height; is the arbitrary pressure reference. Details.

There are unlisted articles, also show them or only show them.