Details

Time bar (total: 4.9s)

sample48.0ms

Algorithm
intervals
Results
9.0ms510×pre80true
9.0ms129×body160valid
9.0ms254×body80nan
5.0ms127×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.3b
(- (* b b) (* (* 4.0 a) c))
26.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
3.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series298.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
47.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0405779
11563685
25002674

prune196.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
0.3b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
82×add-sqr-sqrt *-un-lft-identity
38×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
11×distribute-rgt-neg-in sqrt-prod
10×add-log-exp
associate-/r*
cbrt-undiv div-exp
associate-/r/
flip3-- flip--
pow1 div-inv
diff-log associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 151
Calls
4 calls:
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
16.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
4.0ms
(- (* b b) (* (* 4.0 a) c))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series449.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
146.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
47.0ms
(- (* b b) (* (* 4.0 a) c))
182.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify114.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06422664
131752400
250032388

prune420.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.2b
(* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.3b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
15×add-sqr-sqrt *-un-lft-identity
10×add-log-exp
pow1
add-cube-cbrt associate-*r*
prod-exp cbrt-unprod
sub-neg flip3-- associate-*r/ flip-- distribute-lft-out-- difference-of-squares
cbrt-undiv times-frac diff-log div-exp pow-prod-down associate-/l*
distribute-rgt-in distribute-rgt-neg-in distribute-lft-in sqrt-prod associate-/r/ associate-/l/
associate--l- neg-sub0 frac-2neg flip3-+ associate-*l* neg-log clear-num associate-/r* *-commutative flip-+ div-inv
Counts
4 → 85
Calls
4 calls:
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
13.0ms
(* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

series380.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
106.0ms
(* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
47.0ms
(- (* b b) (* (* 4.0 a) c))
150.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify120.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
05221156
13447949
25002944

prune259.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* b b) (* (* 4.0 a) c))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))))
0.4b
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
0.5b
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
118×pow1
66×pow-prod-down
51×add-exp-log add-cbrt-cube
30×prod-exp cbrt-unprod
25×add-sqr-sqrt
21×times-frac
17×add-cube-cbrt *-un-lft-identity
12×difference-of-squares
pow-sqr pow-prod-up associate-/l*
add-log-exp
cbrt-undiv unpow-prod-down div-exp associate-/r* associate-/r/ associate-/l/ sqr-pow
flip3-+ pow-plus flip-+
flip3-- frac-2neg associate-*r/ clear-num flip-- div-inv
+-commutative pow2 div-sub swap-sqr associate-*r* associate-*l* sum-log *-commutative
Counts
4 → 142
Calls
4 calls:
4.0ms
(+ (* b b) (* (* 4.0 a) c))
26.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))))
10.0ms
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
11.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (* b b) (* (* 4.0 a) c))
183.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))))
89.0ms
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
41.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
07792057
150021646

prune398.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes141.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03221
13521
23521

end0.0ms

sample1.4s

Algorithm
intervals
Results
315.0ms4408×body160valid
301.0ms8654×body80nan
300.0ms16654×pre80true
132.0ms3592×body80valid