Proving Invariant

  Рет қаралды 7,556

Matthew Hennegan

Matthew Hennegan

6 жыл бұрын

Пікірлер: 9
@komailbutt2998
@komailbutt2998 Жыл бұрын
You are using the assignment rule and substitution should be going using bottom up way.
@dennisyakovlev6197
@dennisyakovlev6197 4 жыл бұрын
Thanks for this video all my teachers skipped this because its "trivial" for them and they just don't understand we don't get it. Really good explanations on both videos!
@beatricesloan2720
@beatricesloan2720 4 жыл бұрын
Thank you very much! This helped a lot
@yashin2068
@yashin2068 5 жыл бұрын
Really thanks ;)
@KANKITHKUMAR
@KANKITHKUMAR 4 жыл бұрын
I wanted to verify these thing in VCC(Verifier for Concurrent C). But unfortunately, I'm not able to install VCC on my system. Therefore, I request you to help me to install VCC on my Ubuntu system if you have any idea about this.
@TruongNguyen-qp8hs
@TruongNguyen-qp8hs 5 жыл бұрын
excuse me, I don't know that where "P ^ -B" is, and why do you have the statement " a=y" ?
@matthewhennegan839
@matthewhennegan839 5 жыл бұрын
So P is the invariant (z = a*x), Since we just proved that doesn't change throughout the loop, that must be still true after the loop. The other thing which is true after the loop is the opposite of the loop condition. If we call the loop condition B, then (not) B must be true after the loop. The loop condition was while(a != y) - so we know for sure that after the loop ends, a = y must be true - otherwise we'd still be in the loop. So in summary P ^ -B is the common way of saying that after a while loop, any invariants are still true, and the opposite of the loop condition is true.
@sowmyakudva8649
@sowmyakudva8649 5 жыл бұрын
waste of 13 mins!! really annoying when you erase and rewrite..
@matthewhennegan839
@matthewhennegan839 5 жыл бұрын
You can pause and rewind if you're still having trouble understanding there buddy
Proving Termination
7:56
Matthew Hennegan
Рет қаралды 1,2 М.
Making an Invariant Hypothesis
5:37
Matthew Hennegan
Рет қаралды 2,3 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 32 МЛН
Special values of L-functions (RH Saga S1E9)
22:40
PeakMath
Рет қаралды 3,8 М.
Formally Proving Code Correctness: An Example
3:10
Zoran Horvat
Рет қаралды 40 М.
Solving iterative algorithm with 3 nested loops
11:17
Matthew Hennegan
Рет қаралды 12 М.
What is Euler's formula actually saying? | Ep. 4 Lockdown live math
51:16
The simpler quadratic formula | Ep. 1 Lockdown live math
52:11
3Blue1Brown
Рет қаралды 1,3 МЛН
Uneven steps for iterative algorithms
7:09
Matthew Hennegan
Рет қаралды 491
Solving Nested Algorithm 2
7:55
Matthew Hennegan
Рет қаралды 574
The Wallis product for pi, proved geometrically
26:38
3Blue1Brown
Рет қаралды 813 М.
Levy vs Hans aka YOUTUBE GUY vs USA's 1st World Chess Champ
11:35
Solving nested iterative algorithm
7:46
Matthew Hennegan
Рет қаралды 842
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 32 МЛН