Knowledge Sprint SeriesMT24 Learning

Phase 4 · Summary · Sprints 9–12 of 90

Mathematical & Logical Foundations

Gradients, logic, axioms and tests: four sprints on the maths under machine learning, every claim checked by running it.

4 sprints, 4 checksVerified sourcesOne phase project

Phase 4 summary, a one-page catalog: Mathematical & Logical Foundations. The full text of the page follows.
Full resolution2160 × 2700 PNGPhase on GitHub

The part of the image you are reading lights up. Tap a part to jump to its text.

Figure in words

  • a window with a blueprint grid: a truth-table line p → q over T F T T, a zig-zag path down into rings that ends at a green dot, and a triangle marked 270°
  • labels: Gradients · Logic · Axioms · Tests

The Sprints

Calculus for ML

A hand-derived gradient matched finite differences: −5.0586.

Sprint 9

Logic & Inference

Valid is not true. Only E and 7 can break Wason's rule.

Sprint 10

Axioms Declared

Change the parallel axiom and the triangle changes: 270° on a sphere.

Sprint 11

Testing & Review

A property test broke (a+b)+c = a+(b+c) on floats. Compare with a tolerance.

Sprint 12

Now I Can Outcome

Check a gradient, test a form, list assumptions, write property tests.

Mistakes Avoided Lessons

Backprop as the learner, Gödel as "unprovable truths", floats with ==.

Habits Kept Practice

Shape beside every array. Ask what would falsify it. Assumptions first.

Phase Project

One NumPy model: gradient checked, assumptions listed, property tests in CI.

R Trusted Sources

  1. Deisenroth et al. 2020
  2. Goodfellow et al. 2016
  3. Wason 1968
  4. SEP
  5. Claessen & Hughes 2000
  6. Goldberg 1991

The Sprint Pages

  1. Sprint 9/90Linear Algebra & Calculus for Machine LearningData become vectors, layers become matrices, learning becomes a walk downhill.
  2. Sprint 10/90Logic, Propositions & InferenceLogic checks the form of an argument. The world checks its premises.
  3. Sprint 11/90Axioms & Declared AssumptionsEvery proof starts from something it does not prove. Say what it is.
  4. Sprint 12/90Testing & Phase ReviewEvery claim in this phase, checked by running it.

Cite this phase

Tahri, M. (2026). MT24 Learning — Knowledge Sprint Series, Phase 4: Mathematical & Logical Foundations (Version 1.0) [Educational resource]. Zenodo. https://doi.org/10.5281/zenodo.22999436

Version DOI 10.5281/zenodo.22999436 · all versions 10.5281/zenodo.22999435 · first published 25 September 2026