303def modelWord64SubtractChecked =
304 (lambda unrestricted left : (family ModelWord64) . unrestricted right : (family ModelWord64) .
305 nat-eliminate
306 (lambda unrestricted current : Nat . family ModelWord64CheckedResult)
307 (constructor
308 ModelWord64CheckedResult
309 ModelWord64CheckedSucceeded
310 (modelWord64Subtract left right))
311 (lambda unrestricted predecessor : Nat .
312 unrestricted induction : (family ModelWord64CheckedResult) .
313 constructor
314 ModelWord64CheckedResult
315 ModelWord64CheckedFailed
316 (constructor ModelWord64ArithmeticErrorCode ModelWord64SubtractionUnderflow))
317 (modelWord64LessThan left right))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.