Details

Time bar (total: 6.9s)

sample76.0ms

Algorithm
intervals
Results
18.0ms220×body80nan
17.0ms476×pre80overflowed
15.0ms140×body160valid
8.0ms116×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: 29.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.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:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
37.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series298.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
44.0ms
(- (* b b) (* (* 4.0 a) c))
105.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
79.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

prune197.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.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:
12.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
45.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
27.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series460.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(- (* b b) (* (* 4.0 a) c))
152.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
185.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

prune437.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (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.3b
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
0.5b
(* (* b b) (* b b))
0.7b
(pow (* (* 4.0 a) c) 3)

rewrite337.0ms

Algorithm
rewrite-expression-head
Rules
130×pow1
47×add-sqr-sqrt
36×pow-prod-up
35×*-un-lft-identity
33×add-exp-log add-cbrt-cube
32×pow-prod-down
28×times-frac
22×pow-sqr
19×add-cube-cbrt
18×pow-plus
17×prod-exp cbrt-unprod
13×pow2
12×difference-of-squares
associate-/r* sqrt-prod distribute-lft-out--
distribute-rgt-neg-in associate-*r* add-log-exp
pow-unpow pow-pow pow-exp associate-/l* rem-cube-cbrt
flip3-+ associate-*r/ associate-*l* associate-/r/ *-commutative flip-+ associate-/l/
cbrt-undiv distribute-rgt-in cube-mult pow-to-exp unpow-prod-down flip3-- frac-2neg distribute-lft-in unpow3 cube-prod swap-sqr div-exp clear-num flip-- div-inv unswap-sqr sqr-pow
Counts
4 → 164
Calls
4 calls:
264.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))))
46.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
12.0ms
(* (* b b) (* b b))
6.0ms
(pow (* (* 4.0 a) c) 3)

series455.0ms

Counts
4 → 12
Calls
4 calls:
285.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))))
78.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
31.0ms
(* (* b b) (* b b))
59.0ms
(pow (* (* 4.0 a) c) 3)

simplify193.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
06552360
142252113
250012113

prune542.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite213.0ms

Algorithm
rewrite-expression-head
Rules
130×pow1
128×add-exp-log
87×add-cbrt-cube
56×prod-exp
46×div-exp
37×cbrt-unprod
36×pow-prod-up
32×pow-prod-down
24×cbrt-undiv
22×pow-sqr
18×pow-plus
13×pow2
10×1-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* add-log-exp
pow-unpow pow-pow associate-*r/ pow-exp rem-cube-cbrt
associate-*l* *-commutative
distribute-rgt-in cube-mult pow-to-exp unpow-prod-down frac-2neg distribute-lft-in flip3-+ times-frac unpow3 cube-prod swap-sqr clear-num associate-/r* flip-+ div-inv associate-/l/ associate-/l* unswap-sqr sqr-pow
Counts
4 → 161
Calls
4 calls:
141.0ms
(/ (* 1 (/ (* 4.0 a) (/ (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))) c))) (* 2.0 a))
43.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
12.0ms
(* (* b b) (* b b))
10.0ms
(pow (* (* 4.0 a) c) 3)

series400.0ms

Counts
4 → 12
Calls
4 calls:
234.0ms
(/ (* 1 (/ (* 4.0 a) (/ (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))) c))) (* 2.0 a))
76.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
31.0ms
(* (* b b) (* b b))
58.0ms
(pow (* (* 4.0 a) c) 3)

simplify44.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08832379
150011648

prune357.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

regimes160.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
03826
14026
24026

end0.0ms

sample2.3s

Algorithm
intervals
Results
600.0ms16561×pre80overflowed
579.0ms8561×body80nan
483.0ms4366×body160valid
253.0ms3634×body80valid