Smooth maps before retractions
The Mathematics section used to define a retraction by its derivative at the origin before it said what a derivative on a manifold is. This entry reordered that foundation. The first note, now Smooth manifolds, smooth maps, and retractions, recalls smooth manifolds, smooth maps, tangent vectors and the tangent bundle from Lee. It then fixes a basis of each tangent space by a convention that asks no regularity and may be defined only on an open subset. That turns every differential into a matrix, and only after it does the note define a retraction, on the tangent bundle. The inverse function theorem makes the retraction's local inverses charts, and the chain rule shows that derivatives read through it are those the bases define. The note ends with an index of every abuse of notation the later notes make when they treat tangent vectors as columns, so that no later note speaks of coordinate-free objects. The third note keeps the gradient, the chart Hessian and the passes as Gradients and Hessians in tangent charts. The results that compare coordinates at nearby points now say that they assume is smooth.
The Mathematics section used to define a retraction by its derivative at the origin before it said what a derivative on a manifold is. This entry reordered that foundation. The first note, now Smooth manifolds, smooth maps, and retractions, recalls smooth manifolds, smooth maps, tangent vectors and the tangent bundle from Lee. It then fixes a basis of each tangent space by a convention that asks no regularity and may be defined only on an open subset. That turns every differential into a matrix, and only after it does the note define a retraction, on the tangent bundle. The inverse function theorem makes the retraction’s local inverses charts, and the chain rule shows that derivatives read through it are those the bases define. The note ends with an index of every abuse of notation the later notes make when they treat tangent vectors as columns, so that no later note speaks of coordinate-free objects. The third note keeps the gradient, the chart Hessian and the passes as Gradients and Hessians in tangent charts. The results that compare coordinates at nearby points now say that they assume is smooth.
Along the way, the note on models built forward gained a notation for augmenting a model, , and its section on the dependence graph became one on graphical representations. That section works one example through its dependence graph, probabilistic graph and factor graph, and reads its Markov blanket off the last.
Where it stands
- Writeup
- Publish
Documents
What it changed
The pages that say what this entry made true:
- Queries and programs A query names what to compute from a snapshot and what is observed; compiled for a device and a precision, it becomes a program whose passes give values, tangents, gradients and Hessian-vector products in tangent charts.
- Terms and the probabilistic graph A model's density is a sum of terms, each a log-density that scores one quantity or none; the terms and quantities together make the probabilistic graph inference reads, and a retirement removes some quantities, replaces their terms, and frees what it leaves needed by nothing.
The documents of finished entries whose references it brought up to date:
- The core: Implementation Three crates (skoro-tensor, skoro-core and skoro) in which a model is built inside a writer's scope from typed quantities and operations, read as two graphs, compiled per query for a device and a precision, and differentiated to second order in tangent charts.
- The core: Mathematics The mathematics the core rests on, from quantities, their charts and their products, through operations and their derivatives of first and second order composed over programs, to queries, terms, importance weights, random keys and retirement.
- Rotations and rigid motions Done skoro's first curved types of its own: the rotations , the rigid motions and the extended poses , a pose with a velocity, held as the unit quaternions and their semidirect products with one and two copies of , double covers of the three groups. The new crate skoro-spatial declares them as embedded types on the core's public interface, each with a global chart, stereographic in the rotation and moving the translations in the point's own frame, and a volume declared against Haar measure, so that an attitude, a pose or an extended pose is scored by the normal, observed and simulated like any other quantity. Every usual map is a composite of the core's operations, with no kernel and no derivative of its own: compositions and actions, matrices and adjoints, exponentials and logarithms, the Jacobians and their inverses with their removable singularities computed by series, interpolations and the angle between rotations, and the constructions from axes and angles, pairs of directions, matrices and Euler angles in all twelve conventions. The archive branch's matrix storage, exponential charts and fused kernels are not kept: the normal's need for a global chart decided the storage and the chart. The mathematics was reopened once, after the build, to treat the Euler angles at both of their singularities, the lock and the wrap at , which it proves cannot be removed; the residual of angles on the circle and a lock threshold set by its cost came of it, and the implementation was revised to say what each map gives within rounding of a row where it is undefined, rather than promise non-finite values there. No earth frame is assumed: frames are the user's to compose.
What it revises
- The Mathematics section, read start to finish Done The Mathematics section was a collection of notes, one idea to a note, linked by what each builds on, while most of the mathematics the pages relied on sat in the archive's frozen documents, argued in…
History
- Started at writeup
- Approved writeup
b5f6304 - Reopened writeup
146bdb4The chain-rule statement moved to the first note, so the writeup's reference to it no longer resolves. - Approved writeup
cac04b7 - Approved publish
2e5013c