Paperproof v1.7.0
Overview
Changes that make working on real formalization projects with Paperproof easier.
-
only show spawned
byboxes when we are working on themSuppose we have a tactic
apply (le_mul_inv_iff₀ (by positivity)).mpr, as seen below.
This tactic has a "spawned goal"0 < 2 ^ (100 * a), a goal that we're proving in theby positivityblock.
Previously, we were showing these spawned goals as normal subgoals (left picture).
Now we're hiding them (right picture), and only showing them when our cursor is directly in thatby positivityblock.BEFORE NOW
This is generally good UX for proofs of any size, but it's particularly important in real formalization projects, makes large proofs a lot more readable.
-
preliminary implementation of hide/show buttons for
haveboxesOn this image, you can see ⛶ and ▬ buttons.
⛶ expands the (collapsed) box, ▬ collapses the (expanded) box
This UI needs to be worked on (for example, nothing should move when we click these buttons!), but it's sure better than the collapsing logic we had before.
-
hide hypotheses with
✝in the name
When we dorcases h with ⟨h1, _⟩, Lean will give ush1 : J ∈ 𝓙 (t.𝔖₀ u₁ u₂)andright✝ : J ∈ Iic (𝓘 u₁).
From now on, we assume the user used_because they are not interested in seeingright✝ : J ∈ Iic (𝓘 u₁), and so we hide ✝-ed hypotheses.