How to resolve a contradiction using Hoare-Logic in LinearSearch

前端 未结 0 883
孤独总比滥情好
孤独总比滥情好 2020-12-22 04:19

I\'m trying to proof the following LinearSearch using the Hoare-Logic, but I get a contradiction proofing (1) => (2). I belive that my invariant should be different.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题