1/15
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
What is the fundamental limitation of dynamic testing?
-Executes program on finite subset of inputs to locate flaws
Can prove presence of bugs but cannot guarantee absence
Formal verification uses mathematical proofs for all valid inputs
What is a Hoare Triple?
-{P} S {Q} where P = precondition (before statement)
What is the problem with manual assertions in Hoare logic?
-Requires humans to guess intermediate assertions to bridge gaps between statements
What is Dijkstra's Weakest Precondition (wp)?
-Complete, deterministic strategy working backward through program structure
What are the Guarded Command Language rules for wp?
-Assignment: wp(x:=E, Q) = Q[x→E] (substitute E for x in Q)
What is the Verification Condition (VC)?
-After wp(S,Q) calculated, compiler checks if declared precondition P implies wp(S,Q) (P ⇒ wp(S,Q))
What is the Pointer Aliasing Problem?
-Standard Hoare logic assumes changing one variable doesn't affect others
What is the Shared-Memory Concurrency Explosion?
-Multiple processes read/write same memory simultaneously
What is the Cyber-Physical Continuous Divide?
-Standard Hoare logic operates on discrete state steps only
What is Separation Logic?
-Solved: pointer aliasing and mutable heap allocation problem
What is Rely/Guarantee Reasoning?
-Solved: state-space explosion of shared-memory concurrent systems
What is the Rely/Guarantee composition rule?
-Concurrent execution proven safe if each thread's Guarantee satisfies Rely conditions of all neighboring threads
What is Dynamic Logic?
-Solved: verification for cyber-physical, continuous, and hybrid systems
What are Probabilistic Predicate Transformers?
-Solved: validation of stochastic, randomized, non-deterministic systems
What is Stepwise Refinement/Refinement Calculus?
-Solved: difficulty of verifying completed program after the fact
What is the benefit of correct-by-construction?
-Final generated code guaranteed correct (no subsequent verification passes needed)