File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 11#lang racket
22
3- (require pkg/lib)
3+ (require pkg/lib racket/lazy-require )
44(require "../common.rkt " "../programs.rkt " "../timeline.rkt " "../errors.rkt "
55 "../syntax/rules.rkt " "../alternative.rkt " )
66
9191 out)
9292
9393(lazy-require
94- [regraph
95- make-regraph rule-phase precompute-phase prune-phase extractor-phase
96- regraph-count regraph-cost regraph-extract])
94+ [regraph (make-regraph rule-phase precompute-phase prune-phase extractor-phase
95+ regraph-count regraph-cost regraph-extract)])
9796
9897(define/contract (simplify-batch-regraph exprs #:rules rls #:precompute precompute?)
9998 (-> (listof expr?) #:rules (listof rule?) #:precompute boolean? (listof (listof expr?)))
126125 (map list (map unmunge (regraph-extract rg))))
127126
128127(lazy-require
129- [egg-herbie
130- with-egraph egraph-add-exprs egraph-run
131- egraph-is-unsound-detected egraph-get-times-applied egraph-get-simplest egraph-get-cost
132- egg-expr->expr make-ffi-rules free-ffi-rules iteration-data-num-nodes iteration-data-time])
128+ [egg-herbie (with-egraph egraph-add-exprs egraph-run
129+ egraph-is-unsound-detected
130+ egraph-get-times-applied egraph-get-simplest egraph-get-cost
131+ egg-expr->expr make-ffi-rules free-ffi-rules
132+ iteration-data-num-nodes iteration-data-time)])
133133
134134(define/contract (simplify-batch-egg exprs #:rules rls #:precompute precompute?)
135135 (-> (listof expr?) #:rules (listof rule?) #:precompute boolean? (listof (listof expr?)))
You can’t perform that action at this time.
0 commit comments