Details

Time bar (total: 6.9s)

sample56.0ms

Algorithm
intervals
Results
10.0ms149×body160valid
9.0ms265×body80nan
8.0ms521×pre80true
7.0ms107×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.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:
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
63.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
10.0ms
(- (* b b) (* (* 4.0 a) c))
20.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series279.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
40.0ms
(- (* b b) (* (* 4.0 a) c))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0405779
11563685
25002674

prune186.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.2b
(/ (/ (+ 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)))))

rewrite176.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:
21.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
82.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
8.0ms
(- (* b b) (* (* 4.0 a) c))
58.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series425.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
136.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
45.0ms
(- (* b b) (* (* 4.0 a) c))
171.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify117.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
06422664
131752400
250032388

prune424.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
0.4b
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
0.5b
(* (* b b) (* b b))
0.7b
(pow (* (* 4.0 a) c) 3)

rewrite309.0ms

Algorithm
rewrite-expression-head
Rules
130×pow1
49×add-sqr-sqrt
36×pow-prod-up
33×add-exp-log add-cbrt-cube
32×pow-prod-down
30×times-frac
29×*-un-lft-identity
24×difference-of-squares
22×pow-sqr
21×add-cube-cbrt sqr-pow
18×pow-plus
17×prod-exp cbrt-unprod
13×pow2
10×associate-/l*
unpow-prod-down
associate-*r* distribute-lft-out-- add-log-exp
pow-unpow pow-pow pow-exp associate-/r* rem-cube-cbrt
flip3-+ associate-*r/ associate-*l* associate-/r/ *-commutative flip-+ associate-/l/
cbrt-undiv distribute-rgt-in cube-mult pow-to-exp flip3-- frac-2neg distribute-lft-in unpow3 div-sub cube-prod swap-sqr div-exp clear-num flip-- div-inv unswap-sqr
Counts
4 → 173
Calls
4 calls:
100.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
158.0ms
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
28.0ms
(* (* b b) (* b b))
16.0ms
(pow (* (* 4.0 a) c) 3)

series278.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
120.0ms
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
35.0ms
(* (* b b) (* b b))
51.0ms
(pow (* (* 4.0 a) c) 3)

simplify146.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (125.0ms)

IterNodesCost
07022174
138412029
250012015

prune623.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ 1 (/ (+ (pow b 4) (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))) (- (pow b 6) (pow (* (* 4.0 a) c) 3)))))))
0.3b
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
0.3b
(/ (+ (pow b 4) (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))) (- (pow b 6) (pow (* (* 4.0 a) c) 3)))
0.7b
(pow (* (* 4.0 a) c) 3)

rewrite453.0ms

Algorithm
rewrite-expression-head
Rules
129×add-sqr-sqrt
87×times-frac
69×*-un-lft-identity
48×difference-of-squares
37×add-cube-cbrt
23×add-exp-log add-cbrt-cube
21×associate-/r* sqr-pow
20×sqrt-prod
19×pow1
12×distribute-lft-out--
unpow-prod-down pow-prod-down prod-exp cbrt-unprod
associate-/l*
distribute-rgt-neg-in associate-/r/ associate-/l/ add-log-exp
pow-unpow pow-pow flip3-+ associate-*r* pow-exp flip-+ rem-cube-cbrt
cbrt-undiv flip3-- frac-2neg associate-*r/ div-exp clear-num flip-- div-inv
distribute-rgt-in cube-mult pow-to-exp distribute-lft-in unpow3 cube-prod associate-*l* *-commutative
Counts
4 → 172
Calls
4 calls:
259.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ 1 (/ (+ (pow b 4) (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))) (- (pow b 6) (pow (* (* 4.0 a) c) 3)))))))
98.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
72.0ms
(/ (+ (pow b 4) (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))) (- (pow b 6) (pow (* (* 4.0 a) c) 3)))
15.0ms
(pow (* (* 4.0 a) c) 3)

series460.0ms

Counts
4 → 12
Calls
4 calls:
264.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ 1 (/ (+ (pow b 4) (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))) (- (pow b 6) (pow (* (* 4.0 a) c) 3)))))))
71.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
70.0ms
(/ (+ (pow b 4) (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))) (- (pow b 6) (pow (* (* 4.0 a) c) 3)))
54.0ms
(pow (* (* 4.0 a) c) 3)

simplify224.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08364334
149754058
250024058

prune843.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes147.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04225
14425
24425

end0.0ms

sample1.4s

Algorithm
intervals
Results
304.0ms4381×body160valid
279.0ms8520×body80nan
276.0ms16520×pre80true
132.0ms3619×body80valid