Skip to content

Commit

Permalink
workaround needed because itauto lia seems to unfold definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgruetter committed Aug 27, 2020
1 parent 5316184 commit b521386
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/src/compilerExamples/FibCompiled.v
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Section FibCompiled.
apply Nat.lt_le_pred in H.
simpl in H.
specialize (Hinc H).
bomega.
Lia.lia.
Qed.

Local Notation instructionsH := (bedrock2.MetricLogging.instructions).
Expand Down
5 changes: 3 additions & 2 deletions end2end/src/end2end/End2EndLightbulb.v
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,9 @@ Proof.
}
SeparationLogic.seprewrite_in @Array.bytearray_append Hr.
SeparationLogic.seprewrite_in @SeparationLogic.sep_emp_True_r Hr0.
eexists _, _; split;
[exact Hr1|rewrite List.length_firstn_inbounds; blia]. }
eexists _, _; split; [exact Hr1|].
clear -Hl.
rewrite List.length_firstn_inbounds; blia. }
subst a; rewrite app_nil_r.
eexists; split; eauto.
change x0 with (List.app nil x0).
Expand Down

0 comments on commit b521386

Please sign in to comment.