FStarLang / FStar

A Proof-oriented Programming Language
https://fstar-lang.org
Apache License 2.0
2.68k stars 231 forks source link

Assumed function should block tactic #3464

Open mtzguido opened 3 weeks ago

mtzguido commented 3 weeks ago

This should not work. It finishes correctly in either Dv or Tot.

assume val loop () : Dv unit

let _ = assert True by begin
  loop ();
  ()
end