-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Currently, contextual_simp_form simplifies conjunctions in an asymmetrical way. Plan:
- Fix The definition of
contextual_simp_form:
| φ1 ∧ φ2 =>
let ψ1 := choose_conj (contextual_simp_form Δ φ1) (contextual_simp_form (φ1 :: Δ) φ2) in
let ψ2 := choose_conj (contextual_simp_form (φ2 :: Δ) φ1) (contextual_simp_form Δ φ2) in
if decide (weight ψ1 ≤ weight ψ2) then ψ1 else ψ2
- Change the definition of
choose_conjto be symmetrical too (and much simpler ; currently usesProvable_dec) - prove
choose_conj_topR(likechoose_conj_topL) - fix the rest of the proofs
- Check with benchmarks that this improves the simplifiying process overall
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels