@@ -285,7 +285,7 @@ let st_equiv_post (#g:env) (#t:st_term) (#c:comp_st) (d:st_typing g t c)
285285 slprop_equiv ( push_binding g x ppname_default ( comp_res c ))
286286 ( open_term ( comp_post c ) x )
287287 ( open_term post x )))
288- : st_typing g t ( comp_st_with_post c post )
288+ : Dv ( st_typing g t ( comp_st_with_post c post ) )
289289 = if eq_tm post ( comp_post c ) then d
290290 else
291291 let c' = comp_st_with_post c post in
@@ -298,7 +298,7 @@ let st_equiv_post (#g:env) (#t:st_term) (#c:comp_st) (d:st_typing g t c)
298298
299299let simplify_post (# g : env ) (# t : st_term ) (# c : comp_st ) ( d : st_typing g t c )
300300 ( post : term { comp_post c == tm_star post tm_emp })
301- : st_typing g t ( comp_st_with_post c post )
301+ : Dv ( st_typing g t ( comp_st_with_post c post ) )
302302 = st_equiv_post d post ( fun x -> ve_unit_r ( push_binding g x ppname_default ( comp_res c )) ( open_term post x ))
303303
304304let simplify_lemma ( c : comp_st ) ( c' : comp_st ) ( post_hint : option post_hint_t )
@@ -329,7 +329,7 @@ let comp_with_pre (c:comp_st) (pre:term) =
329329let st_equiv_pre (# g : env ) (# t : st_term ) (# c : comp_st ) ( d : st_typing g t c )
330330 ( pre : term )
331331 ( veq : slprop_equiv g ( comp_pre c ) pre )
332- : st_typing g t ( comp_with_pre c pre )
332+ : Dv ( st_typing g t ( comp_with_pre c pre ) )
333333 = if eq_tm pre ( comp_pre c ) then d
334334 else
335335 let c' = comp_with_pre c pre in
@@ -476,7 +476,7 @@ let st_comp_typing_with_post_hint
476476 ( ctxt_typing : tot_typing g ctxt tm_slprop )
477477 ( post_hint : post_hint_opt g { Some ? post_hint })
478478 ( c : comp_st { comp_pre c == ctxt /\ comp_post_matches_hint c post_hint })
479- : st_comp_typing g ( st_comp_of_comp c )
479+ : Dv ( st_comp_typing g ( st_comp_of_comp c ) )
480480= let st = st_comp_of_comp c in
481481 let Some ph = post_hint in
482482 let post_typing_src
@@ -582,7 +582,7 @@ let emp_inames_included (g:env) (i:term) (_:tot_typing g i tm_inames)
582582let return_in_ctxt ( g : env ) ( y : var ) ( y_ppname : ppname ) ( u : universe ) ( ty : term ) ( ctxt : slprop )
583583 ( ty_typing : universe_of g ty u )
584584 ( post_hint0 : post_hint_opt g { Some ? post_hint0 /\ checker_res_matches_post_hint g post_hint0 y ty ctxt })
585- : Pure ( st_typing_in_ctxt g ctxt post_hint0 )
585+ : Div ( st_typing_in_ctxt g ctxt post_hint0 )
586586 ( requires lookup g y == Some ty )
587587 ( ensures fun _ -> True )
588588= let Some post_hint = post_hint0 in
0 commit comments