You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can click on the <span style="color: ${incompleteColor}">orange</span> scissors button (✄) to <strong>detach</strong> a proof, i.e. to create a separate proof tree with the current branch and changing the original one into an incomplete one. You can also <strong>attach</strong> a separate proof on another one by <strong>dragging</strong> the subtree and <strong>dropping</strong> on the main one.
335
+
</p>
336
+
<p>
337
+
For rules with premises, you can click on the <span style="background: ${foldColor}">gray</span> hide button (⃠) to hide the premises of a proof rule, which shows each premise as an ellipses. Clicking the same button again will reveal the premises. You can use this feature to clean up your workspace while working on large proofs.
342
338
</p>
343
339
<p>
344
340
As you work on the proof, you can click on the buttons on the left bar to either copy the <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> output for a given proof, or to save that proof onto your computer as a file. You can later reload the proof file into the proof assistant by clicking the "Load proof file" button on the top bar.
@@ -694,6 +690,7 @@ ProofTree.prototype.image = function (root) {
694
690
deleteLabel.on('mousedown',async(e)=>{
695
691
constmsg=`Are you sure you want to <strong>unapply</strong> the ${this.unicodeName} rule
696
692
for the conclusion <br>${this.conclusion.unicode()}<br> and the rules applied after/above?`
693
+
console.log(this);
697
694
if(awaitmodalConfirm(msg)){
698
695
this.toDelete=true
699
696
refreshAll()
@@ -704,6 +701,7 @@ ProofTree.prototype.image = function (root) {
704
701
constmsg=`Are you sure you want to <strong>detach</strong> the proof at the ${this.unicodeName} rule
705
702
for the conclusion <br>${this.conclusion.unicode()} ?<br>
706
703
This will unapply the ${this.unicodeName} rule in the current proof tree, and also will create an extra proof tree with the ${this.unicodeName} rule at the bottom, followed by the rest of this branch of the proof tree.`
704
+
console.log(this);
707
705
if(awaitmodalConfirm(msg)){
708
706
letdeepCopy=eval(this.reconstructor())
709
707
addProof(deepCopy)
@@ -717,9 +715,9 @@ ProofTree.prototype.image = function (root) {
0 commit comments