Skip to content

Commit

Permalink
Merge pull request #18 from DistributedComponents/transparent-have
Browse files Browse the repository at this point in the history
make key have sentences transparent to enable extraction in 8.20
  • Loading branch information
palmskog authored Jul 26, 2024
2 parents df89c4a + 87d0560 commit 4ae4c20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions theories/Examples/Calculator/DelegatingCalculatorServer.v
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,21 @@ Proof. by move=>????; rewrite dom0. Qed.

Next Obligation.
rewrite -(unitR V)/V.
have V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
have @V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
apply: (injectL V); do?[apply: hook_complete_unit | apply: hooks_consistent_unit].
by move=>??????; rewrite dom0.
Defined.

Next Obligation.
rewrite -(unitR V)/V.
have V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
have @V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
apply: (injectR V); do?[apply: hook_complete_unit | apply: hooks_consistent_unit].
by move=>??????; rewrite dom0.
Qed.

Next Obligation.
rewrite -(unitR V)/V.
have V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
have @V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
apply: (injectL V); do?[apply: hook_complete_unit | apply: hooks_consistent_unit].
by move=>??????; rewrite dom0.
Defined.
Expand Down
4 changes: 2 additions & 2 deletions theories/Examples/Calculator/SimpleCalculatorApp.v
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Program Definition client_run (u : unit) :

Next Obligation.
rewrite -(unitR V)/V.
have V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
have @V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
apply: (injectL V); do?[apply: hook_complete_unit | apply: hooks_consistent_unit].
by move=>??????; rewrite dom0.
Qed.
Expand Down Expand Up @@ -282,7 +282,7 @@ Program Definition server2_run (u : unit) :

Next Obligation.
rewrite -(unitR V)/V.
have V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
have @V: valid (W1 \+ W2 \+ Unit) by rewrite unitR validV.
apply: (injectR V); do?[apply: hook_complete_unit | apply: hooks_consistent_unit].
by move=>??????; rewrite dom0.
Qed.
Expand Down

0 comments on commit 4ae4c20

Please sign in to comment.