Skip to content

Commit e5a6dbe

Browse files
committed
fmt
1 parent ee2a50f commit e5a6dbe

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/lib.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -645,13 +645,12 @@ P => (Q => R) should really be P /\ Q => R ?
645645
646646
*/
647647
struct Sequent {
648-
hyps : Vec<Formula>,
649-
conc : Formula
650-
// sig : Vec<String>
648+
hyps: Vec<Formula>,
649+
conc: Formula, // sig : Vec<String>
651650
}
652651
/* The only obligations that can be discharged via egglog are those of the form
653652
---------------------------------------- (egglog)
654-
atom, atom, hyp => conc, hyp => conc |- conj(q1,q2,q3), conj()
653+
atom, atom, hyp => conc, hyp => conc |- conj(q1,q2,q3), conj()
655654
which is indeed the form of a "Program".
656655
657656
enum Proof {
@@ -682,8 +681,8 @@ fn run_query(hyps, q) {
682681
match hyp {
683682
Atom(f) => prog.facts.push(f)
684683
Conj(fs) => hyps.extend(f) // Left And
685-
ForAll(vs, f) => patvarize(vs, f) //| is_prim_rewrite(f) =>
686-
//| otherwise =>
684+
ForAll(vs, f) => patvarize(vs, f) //| is_prim_rewrite(f) =>
685+
//| otherwise =>
687686
Impl(a,b) | is_prim_pat(a) && is_prim_applier(b) => ReWrite
688687
Impl(a,b) => proof( other_hyps, a ) and proof(hyps + b, q)
689688

0 commit comments

Comments
 (0)