blob: 2be0b243fa1974beb84727153d97cf05af52e11f [file]
import Std.Tactic.Do
set_option sym.debug true
open Std.Do
set_option linter.deprecated.syntax false
axiom G (lt : Nat) : Id Unit
noncomputable def F : Id Unit := do
G 1
axiom P : Prop
@[spec]
axiom G_spec (h : P) :
⦃⌜True⌝⦄ G 1 ⦃⇓ _ => ⌜0 < 1⌝⦄
theorem F_spec (h : P) :
⦃⌜True⌝⦄ F ⦃⇓ _ => ⌜0 < 1⌝⦄ := by
mvcgen [F] -- should close (h : P ⊢ P) by trivial