Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Proved properties

The simulator relies on mathematical facts about its own equations. A search for a balance point needs a balance point to exist. A function used to undo another has to undo it exactly. A quantity that must stay between 0 and 1 must never be pushed outside. This appendix lists those facts in plain words.

Each one has been proved with a proof assistant: a program that checks every step of a mathematical argument and accepts the argument only if no step is missing. The proofs are written in the Lean language and kept with the simulator’s source code. Each section below links to the file that holds its proofs.

What a proof here tells you

A proof here is about an equation, with real numbers. It says the equation has a property for every input the statement allows, with no exceptions.

Two things lie outside what these proofs say.

  • The computer’s arithmetic. A computer stores a number to about sixteen digits and rounds every result. The proofs are about exact numbers. The code that evaluates the same equations is compared with each proved property separately, at many sample inputs, and agrees to within rounding.
  • The body. A proof that the tendon equation always rises with length says nothing about whether a real tendon follows that equation. Whether the equations describe a body is settled by comparing the model with published measurements, which the chapters do one model at a time.

So the proofs answer one question: does the mathematics the simulator is built on hold together?

Muscle curves

A muscle fibre’s force is built from four curves. Each takes one number and returns a multiplier. Lengths are normalised: fibre length is divided by the length at which the fibre is strongest, tendon length by the length at which the tendon just starts to pull, and force by the largest force the muscle can hold still. The chapters on force and length, force and speed and the tendon introduce the curves.

Proofs: Muscle.lean

Force and speed

  • A fibre that lengthens faster always gives more force, and one that shortens faster always gives less. The force–velocity multiplier rises with fibre velocity everywhere, with no flat stretch and no dip. Used for: each force then belongs to exactly one velocity, which is what lets the simulator ask “at what speed must the fibre move to give this force?”.
  • The simulator’s formula for that speed is the exact inverse of the force–velocity curve. Going from velocity to force and back returns the starting velocity, and going from force to velocity and back returns the starting force, for every number. Used for: the muscle with a stretchy tendon, where the fibre’s speed is found from the force it must carry.
  • The slope the code reports for the curve is its true rate of change. Used for: any calculation that needs to know how quickly force changes with speed.

Tendon

  • A longer tendon always pulls harder. Tendon force rises with tendon length everywhere. Used for: the search for the balance between fibre and tendon can be made over tendon force, because each force belongs to exactly one tendon length.
  • The tendon pulls with exactly zero force at its slack length, and with exactly the muscle’s largest steady force at the reference strain. The reference strain is the stretch, 4.9 % by default, that the model’s tendon parameter names. Used for: the meaning of the two tendon parameters, slack length and reference strain.
  • The formula for tendon length from tendon force is the exact inverse of the tendon curve, for every force the curve can produce. Used for: turning a tendon force back into a tendon length when balancing fibre against tendon.
  • The slope the code reports for the tendon curve is its true rate of change. Used for: the rate at which tendon force changes as the tendon stretches, which drives the stretchy-tendon muscle forward in time.
  • The tendon’s stored energy is exactly the area under its force curve, starting from zero at slack length. Used for: the energy account of the muscle-driven arm, where work done on a tendon must come back out.

Passive fibre force

  • A fibre stretched further always resists harder. The passive multiplier rises with fibre length everywhere.
  • Passive force is exactly zero at one fifth of the optimal length, and exactly the muscle’s largest steady force at the reference strain (60 % beyond optimal length by default; 50 % for the arm’s line muscles). The four properties of the passive curve hold for any positive shape of its exponential, so they cover both the default curve and the arm’s measured one. Used for: the meaning of the passive strain parameter.
  • The slope the code reports for the passive curve is its true rate of change. Used for: the stiffness of muscle tissue in the deformable model.
  • The fibre’s stored passive energy is exactly the area under the passive curve, starting from zero at one fifth of the optimal length. Used for: the energy account of the muscle-driven arm.

Active fibre force

  • The active multiplier is always above zero and never above 1.348 (the sum of the heights of the three bumps it is made of). Used for: the stretchy-tendon muscle divides by this multiplier, which is safe because it is never zero.
  • The slope the code reports for the active curve is its true rate of change, at every fibre length above 0.15 of optimal. The two lengths left out are ones where a bump’s width shrinks to nothing; the muscle never works there. Used for: the stiffness of muscle tissue in the deformable model.
  • The active curve has no jumps, even at the lengths where a bump’s width shrinks to nothing. Used for: the search for the fibre–tendon balance, which needs every part of the force to change smoothly.

Activation

Excitation is the drive a nerve sends to a muscle and activation is how switched-on the muscle is; both run from 0 to 1. Activation follows excitation with a delay. See activation.

Proofs: Muscle.lean

  • Activation always moves towards excitation, and stands still only when the two are equal. It rises when it is below the excitation and falls when it is above. This holds for any positive time constants and any setting of the smoothing between the rising and falling behaviour.
  • Activation cannot leave the range 0 to 1. At 0 it can only rise or stay, and at 1 it can only fall or stay, for any excitation between 0 and 1. Used for: the muscle model accepts only activations in this range, so the equation that drives activation must never push it out.

Fibre and tendon in balance

Fibres attach to the tendon at an angle, the pennation angle, and the fibre’s pull along the tendon must equal the tendon’s pull. See pennation and balancing fibre against tendon.

Proofs: Muscle.lean

  • A fibre’s length changes at the cosine of the pennation angle times the rate at which its span along the tendon changes. That cosine is always above 0 and at most 1. Used for: converting between the speed of the whole muscle–tendon unit and the speed of its fibres.
  • A balance point exists whenever the simulator starts searching for one. The search starts from two tendon forces: a low one at which the fibres out-pull the tendon and a high one at which they do not. Between any two such forces there is one at which fibre and tendon pull equally. This holds for every pennation angle, speed and activation. Used for: the search halves the gap between the two forces again and again, and this fact guarantees that a balance point is still inside the gap after every halving.
  • The balance point is the only one whenever a harder-pulling tendon never makes the fibres pull harder along it. This is a sufficient condition, and it can fail. A stretched tendon leaves the fibres shorter, and on the falling side of the active curve a shorter fibre is stronger. With a tendon about thirty times longer than the fibres, far beyond any human muscle, three balance points can exist, and the search returns one of them.
  • Without pennation, the balance point is the only one whenever fibre force does not fall as the fibre lengthens, over the fibre lengths the search covers. This holds on the rising side of the active curve, and wherever passive force climbs faster than active force drops.
  • The fibre speed chosen for a stretchy tendon makes the forces balance exactly. Given the tendon’s force, the simulator picks the fibre speed at which the fibre’s pull along the tendon equals it. Used for: the muscle model with a stretchy tendon, whose equations assume this balance at every instant.

Ligaments

A ligament is slack below its resting length, stiffens gradually as it is first stretched, then stiffens no further. See ligaments.

Proofs: Ligament.lean

  • A ligament only pulls, and a longer ligament never pulls less.
  • The stiffness the code reports is the true rate of change of force with length at every length, and it has no jumps, including at the two lengths where the law changes from slack to curved and from curved to straight. Used for: solvers that take steps based on stiffness behave badly at a jump; there is none.
  • The ligament’s stored energy is exactly the area under its force curve, and is zero while the ligament is slack.
  • The forearm’s tension-only rods pull, never push, at the stiffness that was measured. The interosseous membrane’s two rods and the radius’s distal restraints are ligaments given a stiffness in newtons per metre and a toe that ends at a stretch (1 mm for the membrane). Such a rod carries no force at or below its resting length , and beyond the toe its force is the straight line , whose slope is exactly . Along any motion its energy changes at its force times the rate it lengthens. Used for: the forearm’s load paths in Stage 4: the real elbow cannot push the bones apart, and the force each rod puts on the joints agrees with the energy it reports.

Muscle paths

A muscle’s path is the line it takes over the skeleton. Its moment arm about a joint is the turning effect it produces per unit of pull. See moment arms and muscle on bone.

Proofs: Path.lean

  • A straight path across a hinge has the length the triangle rule gives. With attachments at distances and from the hinge and joint angle , the length is .
  • Its moment arm is divided by its length. Used for: the exact answers the simulator’s path code is compared with.
  • A straight span lengthens at the rate its two ends move apart along it. Used for: this is why a muscle’s moment arm equals the rate at which its path shortens as the joint turns, the rule the simulator uses to turn muscle pull into joint torque in three dimensions.
  • Where a path meets a round obstacle, it meets it at a tangent. The meeting point the simulator computes lies on the surface, the path arrives at right angles to the radius, and the straight piece has length for an attachment at distance from the centre of an obstacle of radius .
  • Path length does not jump when a path first touches an obstacle. At the moment of first contact the wrapped path and the straight path have the same length. Used for: muscle length, and so muscle force, stays smooth as a joint moves a path onto a bone surface.
  • A path wrapped round a cylinder is a straight line on the unrolled surface. Its length is , with the length of its shadow across the cylinder’s axis and the distance it travels along the axis.
  • A tendon held on its curve changes length by the curve’s radius for every radian the joint turns, wound on the curve or turned past where a free tendon would lift off. Used for: a tendon held by a retinaculum keeps the moment arm of a pulley at every angle (Holding tendons down: retinacula).
  • Friction in a sheath scales the tension past a turn by , a factor between 0 and 1 when the tendon slides toward its muscle, and two turns cost as much as one turn of their summed angle. Used for: the capstan option of the wrist’s tendons.

The head of a bone and its neck. At the shoulder a path can wrap over the humerus’s head, a sphere of radius , or round its neck, a narrower cylinder of radius on the bone’s axis. The two meet in a crease at height along the axis.

  • A cord wrapped round a cylinder on the joint’s own axis has the cylinder’s radius for its moment arm, or less as it climbs. Turning one end about the axis by makes the unrolled path long, so the moment arm is divided by that length: never more than , and exactly when the two ends are level. Used for: a muscle that wraps the neck turns the arm about its long axis with a leverage set by the neck’s radius.
  • The test that keeps a straight piece of path outside the head and neck finds the piece’s nearest point. The simulator checks one point of each straight piece, the point nearest the sphere’s centre (or, across the neck, nearest the axis). No other point of the piece is nearer, so a piece that passes the test is outside along all its length, not only at the points checked.
  • The crease divides the surface between the head and the neck. Beyond the crease, a point on or outside the neck is on or outside the head, and a point of the head’s sphere is on or inside the neck. Used for: a path round the neck beyond the crease never enters the head, and a path over the head is kept below the crease, which is what the simulator checks.

Stepping through time

A simulator advances in small steps of length . Each stepping rule makes its own error. The cleanest place to see that error is a weight on a spring swinging at frequency , whose true energy never changes. See stepping through time.

Proofs: TimeStepping.lean

  • Explicit Euler multiplies the swing’s energy by exactly every step. The energy grows without limit, for every step size.
  • Semi-implicit Euler keeps the quantity exactly constant, where is position and velocity.
  • So under semi-implicit Euler the energy never exceeds times its starting value, however long the run, as long as . Used for: these three facts are what the time-stepping laboratory shows: one rule’s energy runs away, the other’s wobbles and stays put.
  • One Runge–Kutta step on the test equation multiplies by , with : the first five terms of the exact answer .
  • One Runge–Kutta step multiplies the swing’s energy by exactly , which is never above 1 while . The rule loses a little energy each step and never invents any.
  • One Dormand–Prince step on the test equation multiplies by a polynomial that matches through the term, and its error estimate starts at the term. Used for: the rule that picks the next step size assumes exactly this.
  • One Dormand–Prince step adds up exactly for up to 4, from any starting time.
  • One TR-BDF2 step on the test equation multiplies by with , and its error estimate starts at the term. Used for: the rule that picks its next step size assumes exactly this.
  • TR-BDF2 never makes a decaying or steadily swinging motion grow, whatever the step. The multiplier above has size at most 1 whenever the motion it is applied to is one that should not grow.
  • The same holds along pure decay, the special case with no swinging.
  • Backward Euler divides the swing’s energy by exactly every step. The energy dies away for every step size, whatever the material does. Used for: why a wobble of the soft tissue fades under backward Euler even in tissue with no damping of its own.
  • The trapezoidal rule keeps the swing’s energy exactly, for every step size. It adds no damping of its own.
  • A step of tissue with mass is a search for the lowest point of an energy whose answer obeys Newton’s second law. For one coordinate on a spring of stiffness , is least where . Used for: this is why the tissue’s step with inertia can use the same search for balance as the step without.
  • With a damper, the trapezoidal rule loses exactly the damper’s work and nothing more. For mass , damper and spring , one step of length lowers the energy by , with the mean of the speeds at the two ends of the step. Used for: the energy ledger books the damper’s work as the tissue’s viscous loss; with this rule nothing is left over for the integrator.
  • With a damper, backward Euler loses the damper’s work and more. One step lowers the energy by , with and the speeds and and the positions at the two ends of the step. The first term is the damper’s work; the other two are lost by the rule alone. Used for: the energy ledger books the two parts separately, as viscous and numerical; see keeping the books on energy.
  • The faster a motion should die away, the more completely one TR-BDF2 step removes it. The multiplier tends to zero as the decay rate grows. Used for: stiff systems, such as a muscle on a stiff tendon, where a rule without this property must take tiny steps or ring.

Sharing load between muscles

More muscles cross a joint than it needs, so the simulator picks the activations with the least total squared effort that produce the wanted joint torque. See load sharing.

Proofs: Control.lean

  • Sharing in proportion to strength is the least-effort answer. If muscle can give torque at full activation, the activations give exactly the torque , and any other set that gives costs more, by exactly the squared distance between the two sets. So this answer is the best and the only best, for any number of muscles. Used for: the exact answer the load-sharing solver is compared with when no muscle reaches full activation.
  • The matrices the load-sharing solver works with are always safe to use. For a request beyond the muscles’ strength, each round solves a small set of equations with one row per joint, built from the muscles that are between their limits. Its matrix is symmetric, its diagonal entries are at least 1, and the equations have exactly one solution, even when two muscles are identical or one has no leverage.

Two more properties belong to an older solver, which improved one activation at a time (box_constrained_quadratic). Load sharing no longer uses it, but it is kept as the routine the present one is compared with, answer for answer.

  • Each small step of that solver is the best possible move for the one activation it changes. The step sets one activation to the bottom of a bowl-shaped curve, or to the nearest limit if the bottom lies outside 0 to 1, and no allowed value does better.
  • When that solver stops, it has the best answer. A set of activations that no such step can improve is the least-cost set within the limits, not merely a place where progress stalled.

Deformable tissue

Soft tissue is modelled as a solid that resists change of shape and, much more strongly, change of volume. The deformation gradient records how a small piece of tissue is stretched and turned, and is the ratio of its new volume to its old.

Proofs: Tissue.lean

  • The shape-change energy ignores a uniform change of size. Scaling a piece of tissue up or down equally in all directions leaves it unchanged. Used for: change of volume is charged by a separate term, so the two can be given very different stiffness.
  • The shape-change energy ignores a rigid rotation. Turning a deformed piece as a whole stores nothing.
  • A stretch with the sides drawn in by keeps the volume exactly, and along it the shape-change energy is for shear stiffness .
  • A block stretched by at constant volume must draw its sides in by exactly .
  • The pull needed to hold that stretch is per unit of original cross-section. This is the textbook answer for a rubber-like bar. Used for: the exact answers the tissue solver’s stretched block is compared with.
  • The unstretched shape has the least shape-change energy: zero there, above zero for every other stretch.
  • With straight fibres along the stretch, the pull is , for fibre stiffness , activation and active fibre stress . Held at its resting length the block pulls with per unit area: cross-section times activation times stress. Used for: the exact answers for the block that is held still while its fibres are switched on, and for the block that shortens against a weight.
  • The pressure and its rate of change used for volume are the true first and second derivatives of the volume energy , namely and for volume ratio .
  • Volume changes with each entry of at the rate times the matching entry of the inverse of , transposed. Used for: the force that resists volume change is built from this rate.
  • The stress the code computes for the ground substance is exactly the rate at which its energy changes with each entry of . Used for: the solver finds the resting shape by following forces downhill in energy, which works only if force and energy agree.
  • The viscous damping of the ground substance never puts energy in. The quantity it charges for a rate of shape change, for a symmetric matrix , is never negative. Used for: the tissue’s damping can only remove energy.
  • A rigid turn leaves the strain as it was: for a rotation . Used for: the damping is built on this strain, so a piece of tissue carried round by a bone without changing shape is never damped.
  • A decay per period and a damping ratio are one number. A swing with damping ratio between 0 and 1 shrinks each period by the factor with , and gives back exactly. Used for: turning a measured decay into the damping ratio the tissue’s viscosity is compared with; see tissue that loses energy.

Surfaces that touch, join and slide

A point of a body’s surface is carried by the corners of the brick that holds it, with weights that say how much each corner counts. Two surfaces in contact are tested at readings, places on one surface where the gap to the other is read. The chapters Surfaces that touch everywhere, Stuck, sliding, or free to part and Barriers that never let surfaces cross introduce them.

Proofs: Interfaces.lean

Sharing a point’s force among the corners

  • The eight weights of a point in a brick add up to one, wherever the point lies in the brick.
  • A force shared among the corners by those weights adds back up to the whole force, and the corners’ shares turn the body exactly as the whole force would at the point. Used for: contact and ties push on corners, not on the points themselves, and neither adds nor removes any push or twist by doing so.

Penalties and ties

  • The penalty energy has a slope at every gap, and its force is minus that slope, including at the gap of zero where a point first touches. The force does not jump there; only its rate of change does. Used for: Newton’s method needs the force to be the exact slope of the energy it minimises.
  • A tie’s energy is never negative, is zero exactly when the two tied points coincide, and does not change when both move together. Used for: a tie resists only the separation of what it joins, never a motion of the two as one.

A uniform pressure across a face

  • However the readings are placed, the forces a uniform pressure gives the nodes add up to the pressure times the area the readings stand for, provided each reading’s interpolation weights add up to one. Used for: the contact patch test: every way of placing readings carries the right total force, so a way that fails the test fails it by how the force is spread, not by how much there is.
  • The Gauss points of a segment cut into pieces stand for exactly the segment’s length.

The barrier

  • The slope and the curvature the code uses for the barrier are its true first and second derivatives.
  • The barrier, its slope and its curvature are all zero at the reach , and all three are continuous, so the barrier switched off beyond joins zero without a jump in value, slope or curvature. Used for: Newton’s method meets no kink as two surfaces come within reach.
  • The barrier grows without limit as the distance falls to zero, so no finite energy brings two surfaces into touch.
  • Inside its reach the barrier falls as the distance grows and curves upwards: it pushes harder the nearer the surfaces come, and has no negative curvature to trouble the search.

A step that never crosses

  • A step cut short of its time of impact keeps the distance positive all along it. If the distance between two surfaces changes in a straight line over a step, from to , every fraction of the step below keeps it positive; and a distance positive at both ends is positive in between. Used for: the barrier’s search never takes a step that would carry a surface through another, so the barrier is never asked for its value at a crossing.

How good is the answer?

The chapters of the part How good is the answer? rely on facts about orders of convergence, stresses, and the weights and ties of elements.

Proofs: Convergence.lean, Stress.lean, Elements.lean

Order of convergence

  • If an answer’s error is exactly a constant times the brick size to a power , three answers on sizes , and give back: it is the logarithm of the ratio of their two differences divided by the logarithm of . Used for: reading the order of a method from its own answers.
  • Under the same condition, Richardson extrapolation gives the exact answer: the last answer plus its last change divided by .

Stress

  • The Cauchy stress of the ground substance and the fibres is symmetric for every deformation: the nominal stress has the form , and that times is symmetric.
  • The normal stress along any direction, a fibre’s included, lies between the smallest and the largest principal stress.
  • von Mises stress does not change when a pressure is added: it cannot see the pressure.
  • Averaging a checkerboard of brick pressures to an interior node of a regular lattice gives exactly zero. Used for: pictures of pressure averaged to the corners show no checkerboard.
  • A weighted least-squares fit returns exactly any field its basis can represent, when the points determine the fit. Used for: patch recovery reproduces a linear stress at every node.

Elements

  • The weights of the nine-node square and of the 27-node brick add up to 1 and carry a uniform deformation exactly.
  • A brick’s mean volume ratio lies between the volume ratios of its sample points; and a mean of 1 does not need any point to keep its volume. Used for: why one volume ratio per brick lets a brick bend.
  • On a block clamped on one face, keeping the volume at eight sample points of every brick puts conditions on the free coordinates in a ratio that rises to 8/3 as the bricks across become more numerous; with one condition per brick, to 1/3. Used for: why smaller bricks do not cure locking.
  • With the middle node of a large square’s edge tied to the mean of its ends, the small squares’ edges follow the large one exactly, and a uniform deformation is carried on both sides. Used for: a refined mesh stays in one piece.
  • The three weights of a uniform quadratic B-spline are never negative and add up to 1, so the spline lies within its control values. Used for: the smooth distance used for deep contact.

Rigid skeleton

Proofs: Rigid.lean

  • The mass matrix of two swinging links gives their true energy of motion. For two point masses on rods, the kinetic energy worked out from the speeds of the two masses equals the one the matrix gives, at every pose.
  • That mass matrix can always be inverted. For positive masses and rod lengths it is positive definite at every angle, with determinant . Used for: finding accelerations from forces means solving with this matrix, and the method used works exactly when the matrix has this property.
  • A swinging weight that obeys the simulator’s equation of motion keeps its energy. Used for: any change in the energy of a simulated swing is therefore error made by the stepping rule, which is what the time-stepping laboratory measures.

Lattice of bricks

A body is laid on a lattice of bricks, and every point of it is carried by the eight corners of its brick, each with a weight that depends on where the point lies in the brick (A muscle from its surface).

Proofs: Lattice.lean

  • The eight weights add up to one at every point. Used for: a point’s mass or force, shared among the corners, is handed out exactly once.
  • The weights carry every affine motion exactly. When every corner of a brick is moved by one stretch, shear, turn and shift, every point the brick carries is moved by the same one.
  • A brick’s weight, shared among its corners, adds up to its weight, whatever its sample points and however its tissue lies in it; for a brick filled to the fraction , the corner loads add up to . Used for: the tissue’s weight in Tissue that has weight, where only the filled part of a cut brick weighs.
  • Copies of a brick, one for each piece of its material, hold what the brick held: their filled fractions add up to the brick’s. Used for: giving two pieces of tissue in one brick their own copies, in A muscle from its surface, adds no tissue and loses none.
  • A copy of a brick moves its points as the brick would when every node, copies included, is moved by one affine motion.

Steps near a saddle

Proofs: Newton.lean

  • A mass term larger than the worst downward curvature makes the stiffness positive definite. If a symmetric stiffness curves downward by at most along any direction, and every node’s mass is at least , then is positive definite whenever . The same holds for a shift larger than . Used for: the shifted Newton step and the time step’s mass term of Steps near a saddle, whose factorisation then succeeds. Whether the arm’s matrices have a small enough for a 5 ms step is a measurement, not a proof: for most of the failed factorisations measured, they do not.

Shapes from numbers

A muscle can be described by a few numbers: a cross-section at each place along an axis, written as a Fourier series, and a map from a unit cube onto the muscle whose Jacobian carries fibres drawn in the cube into it. The chapters A muscle from a few numbers, Coordinates that live in the muscle and Meshes that follow the muscle introduce them.

Proofs: Shape.lean

  • The area of a section whose radius is a Fourier series is , for any number of harmonics: half the integral of the radius squared over a whole turn. Used for: the area of every fitted section, and so the volume of a swept muscle.
  • Cavalieri’s rule: a body’s volume is the integral along an axis of the areas of its sections square to it. Used for: the volume of a swept shape and of a sliced surface, which the simulator takes by the midpoint rule.
  • A fibre pushed through a map whose Jacobian determinant is not zero is never the zero arrow, so its direction is always defined.
  • A fibre drawn along a face of the cube is carried onto the image of that face: fibres that start on a muscle’s surface stay on it.
  • If all 27 Bernstein coefficients of a brick’s Jacobian determinant are positive, the determinant is positive everywhere in the brick. Used for: certifying the bricks of a mesh before the solver is given them. Positive values at the eight corners alone do not suffice, which a brick in the chapter shows.
  • A potential whose values are each a weighted mean of their neighbours’, with weights never negative, stays between its smallest and largest boundary values, as long as every part of the body is joined to the boundary. Used for: the fibre potential stays between 0 and 1. The potential that conducts more along a direction does not have weights of this kind and is not covered.

Sheets and rods

A thin sheet of tissue is described by its stretches in its own plane, and a sleeve of it round a pressed body is in balance by Laplace’s law. A tendon described as a rod gives back a stress across its section from its force and moment. See sheets that only pull and rods.

Proofs: Sheets.lean

  • A sheet that keeps its volume has its thickness fixed by its two stretches in the plane: if , then . Used for: the sheet law needs no unknown for the thickness.
  • With that thickness put into the energy, the sheet’s stress is the solid’s stress with its faces free. The slope of with is , and times it is . Used for: the sheet law’s slope is the one the code returns.
  • A ring of straight sides pressed from inside balances exactly when its tension is the pressure times the distance from its centre to the middle of a side, for sides. Used for: the check that the sleeve laboratory’s balanced ring meets Laplace’s law.
  • Beam theory’s stress across a rectangular section integrates back to the force and moment it was made from, when heights are measured from the centre. Used for: the laboratory that compares a tendon slice’s stress with a rod’s builds beam theory’s line from the slice’s own force and moment; this guarantees the two carry the same resultants.

Bone as a hollow beam

A long bone’s shaft is a tube of cortical bone round a hollow. Its bending stiffness comes from the second moment of its section (How much does a bone bend?).

Proofs: Bone.lean

  • For a round tube, the simulator’s hollow factor is exact. A hollow of radius , with , leaves exactly the wall’s area , and the tube’s second moment is the solid disc’s times . Used for: every bone section’s stiffness, worked out from its outline and its wall.
  • A hollow section keeps at least its area’s share of the stiffness, and less the thinner its wall. , and falls as grows.
  • For a round outline, the rule for the wall’s area gives exactly the ring inside the outline. The cortex of a wall thick is taken as for an outline of perimeter ; for a circle of radius that is , and the hollow is the circle of radius .
  • For a round tube, the thin-walled tube’s twisting stiffness is never more than the hollow section’s polar moment. The thin-walled formula is with the radius of the middle of the wall; the polar moment is ; the first is the smaller, equal only for a wall of no thickness. Used for: the two settings of twisting stiffness bracket the tube’s, the thin-walled one the softer.
  • The strain the simulator gives a section carries exactly the load on it. Strain along the shaft rises linearly across each bone, with one slope shared by bones side by side. Added up over the bones’ sections, the stress it gives is the axial force, and its turning effect about the area-weighted centre is the bending moment. Used for: the largest strain, read off each bone’s outline, is the strain the section’s load produces.
  • The beam element of the forearm’s frame is exact for every beam with no load along its length. Such a beam bends as a cubic, and the element’s end forces for a cubic are those of the beam equation, so a bone cut into one element or forty carries a load at its ends the same way.
  • Two equal bars apart, clamped at one end and joined by a rigid plate at the other, twist as the closed form per radian. Used for: the check that the forearm’s frame of two bones gives the right answer where one is known.

Binding tissue to bone

An attachment holds the nodes of a body of tissue to a bone. Binding by area holds the corners of every cube that holds at least a set area of the attachment (Tissue pulling on bone).

Proofs: Attachment.lean

  • Binding by area binds no more cubes than the attachment’s area allows. If the cubes hold areas adding up to , the number of cubes holding at least satisfies . Used for: the number of cubes an attachment binds is bounded by its area and the size of the cubes, however finely its surface is cut into triangles.
  • With its fallback, binding by area binds at most one cube more than none. When no cube holds , the rule binds the one that holds the most, so a small attachment still holds; either way at most the larger of 1 and cubes are bound.

Holding a handle

The hand squeezes a held handle with a force planned from the load the coming motion puts on it: the load across the squeeze, held by friction, times a gain, plus half the load along it, plus an offset, kept between a small numerical guard and the hand’s greatest grip (Holding a weight with the fingers).

Proofs: Grasp.lean

  • The squeeze never goes above the hand’s greatest grip, and never below the guard while the guard is below that grip.
  • More load never asks for less squeeze. A larger load across the squeeze, a larger load along it or a larger offset never lowers it.
  • Below the greatest grip, the squeeze holds the handle with at least the safety factor. The weaker contact’s margin against slipping, , is at least the safety factor (1.67) whenever the squeeze the law wants is within the hand’s greatest grip. A margin of 1 is the edge of slipping, so the handle does not slip.
  • The squeeze that holds a still weight in any orientation is exactly the largest the law asks of it. For a weight at angle to the squeeze the law asks , never more than , and equal to it at one angle.

Strength tests

Each strength study is compared with the model driven as its own subjects drove their muscles: each muscle gets an activation from a table of measured and judged values, and the one specific tension is fitted to every study at once (Stage 3: the whole arm in one dimension).

Proofs: Strength.lean

  • Every activation the rule gives lies between rest (0.01) and full activation (1). The drive of the prime movers near the end of the range lies between 0.4 and 1 of their voluntary activation and never rises toward the end. That the table’s own values are at most 1 is data, not a proof: the paired test runs the rule over the whole table.
  • The fitted specific tension is the weighted least-squares factor. No other factor on the model’s moments brings them closer to the measurements, weighted as the fit weights them. This is about the fit, not the muscles: the fit treats each moment as proportional to the specific tension, which is exact with stiff tendons and close with stretching ones.