~/talk

Principia Mathematica - The Foundations of Arithmetic in C++

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
links:none on file
slides:none on file

This work gives concrete, machine-checkable interfaces and proofs for C++ integer arithmetic: extended function syntax with a prologue/epilogue, formal preconditions for undefined behavior, and implementations of stability, substitutability, repeatability. It defines integer kinds, convert modular/convert narrowing and widening types, builds an add-with-carry reference and an axiom to avoid blown-up interfaces, and encodes proofs (e.g., commutativity of addition) as executable claims. Code and slides live on the CppCon2022 GitHub and the examples compile and check.

AI-written summary · about

  1. 0:00Start
  2. 5:37Function Interface
  3. 8:17Repeatability
  4. 8:46Stability
  5. 10:57Substitutability
  6. 16:52Interface for Assignment between Two Integers
  7. 18:45Integer Types
  8. 19:05Integral Types
  9. 26:04Convert Modular
  10. 29:18Interface
  11. 33:18Integral Promotion
  12. 40:01Arithmetic Conversions
  13. 40:57Integer Kinds
  14. 44:12Convert Modular to an Unsigned Type
  15. 45:06Uniform Arithmetic Conversions
  16. 50:24Shift Operations
  17. 57:25Widening Types
  18. 1:00:02Conversions to and from the Widening Types
  19. 1:00:32Break the Recursion
  20. 1:09:17The Axiom of Reducibility
  21. 1:11:59Split Bits and Join Bits
  22. 1:24:15One Bit Cases
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.