Before you run
A successful run ends with boundary checks passed. A traceback is a failed assert — a failed claim, not a rounding nuisance. Use this starter only as an output shape; the derivation is yours.
def check():
# 1. define the constants and the constraint
# 2. assert the stated benchmarks
# 3. assert the undefined / boundary case explicitly
print("boundary checks passed")
if __name__ == "__main__":
check()
The full worked asserts follow. Type them out; do not paste them.
[MATHEMATICAL] · [MODEL-DEPENDENT] · ASSERT CHECK
Free Fall Manifold — challenge
This is not a quiz. Reproduce the dimensionless manifold, assert the exact curvature values and the lunar impact time, name the undefined case, and show where the model stops. If you cannot assert it, you have not derived it.
[MATHEMATICAL] The target is Φ(y,v) = v² − 2gy = 0 scaled by y₀ = 10.0 m, v₀ = √(2gy₀) = 14.004749 m/s at g = 9.80665 m/s², giving y˜ = v˜2 and κ(y˜) = 2/(1 + 4y˜)3/2. The energy level set is E = ½mv² − mgy = 0.
Reproduce the verification suite
[MATHEMATICAL] Pure Python, no dependencies. Type it out; do not paste it. Every assert is a claim you are making about the model.
import math
G = 9.80665
Y0 = 10.0
V0 = math.sqrt(2 * G * Y0)
FRACTIONS = (0.0, 0.25, 0.5, 0.75, 1.0)
def kappa(y_tilde):
return 2.0 / ((1.0 + 4.0 * y_tilde) ** 1.5)
def residual(y):
v = math.sqrt(2 * G * y)
y_tilde = y / Y0
v_tilde = v / V0
return abs(y_tilde - v_tilde * v_tilde)
for f in FRACTIONS:
assert residual(f * Y0) < 1e-15
assert abs(kappa(0.0) - 2.0) < 1e-15
assert abs(kappa(0.75) - 0.25) < 1e-15
G_MOON = 1.625
t_impact = math.sqrt(2 * 1.60 / G_MOON)
assert abs(t_impact - 1.4033) < 1e-4
assert abs(G_MOON * t_impact - 2.2804) < 1e-4
def characteristic_velocity(g, y0):
if g == 0 or y0 <= 0:
return None
return math.sqrt(2 * g * y0)
assert characteristic_velocity(0, Y0) is None
assert characteristic_velocity(G, Y0) is not None
print("boundary checks passed")
[MATHEMATICAL] None encodes ⊥: with g = 0 there is no characteristic velocity and no scale ratio. Substituting zero is a different, false claim. [MATHEMATICAL] The asserted curvature values are 2.000000, 0.707107, 0.384900, 0.250000, 0.178885 at y˜ = 0, 0.25, 0.5, 0.75, 1.
[MODEL-DEPENDENT] The unbounded ideal solution can return a negative height when extrapolated past the floor. The lab does not print that as an observed state: it clamps the display and reports BOUNDARY_VIOLATION — ground reached, because y < 0 is forbidden. [EXPERIMENTAL] A Lab Evidence Record proves a recorded session, not mastery.
Rubric
[MATHEMATICAL] Four rungs, mapped to Book III’s description, prediction and explanation tiers. Passing a rung means satisfying its pass condition and avoiding its failure signature.
| Rung | Tier | Pass condition | Failure signature |
|---|---|---|---|
| Observe | Description | Names y as displacement fallen, v, g, the null form Φ = 0, and the y < 0 boundary. |
Treats the canvas as a photograph of reality; records a trace with no state labels. |
| Manipulate | Description → Prediction | Rescales y/y₀ and v/v₀ and obtains y˜ = v˜2 for more than one value of g. |
Moves a slider without recording the state; keeps metres or seconds attached to κ. |
| Predict | Prediction | Foresees κ(0) = 2, κ(0.75) = 0.25, timpact = 1.4033 s, and g = 0 as ⊥. |
Substitutes zero for an undefined ratio, or predicts a mass-dependent lunar fall time. |
| Construct | Explanation | Writes all asserts above, including residual < 1e-15, and explains the energy level set plus symmetry under v → −v versus directed time. |
Confuses a source observation with model validity; calls the physical-axis parabola intrinsic without dimensionless scaling. |