mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-10 06:51:13 +00:00
Medium syndication information
This commit is contained in:
parent
e5a96d735a
commit
c5ff5538a6
276 changed files with 371 additions and 80 deletions
|
@ -4,6 +4,7 @@ date: 2022-02-26T19:17:21-05:00
|
|||
draft: false
|
||||
tags: ["Formal Methods"]
|
||||
math: true
|
||||
medium_enabled: true
|
||||
---
|
||||
|
||||
Loop invariants are one of the more complicated concepts in Hoare Logic. One might say that we can simply unroll the loop, but there are many loops where we don't know the number of iterations in advanced. Therefore, we often consider what is called the loop invariant. These are statements that are true before, during, and after the loop. A useful loop invariant in combination of the negation of the loop condition can also prove some postcondition. Lets look at a multiplication example
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue