Details

Time bar (total: 3.6s)

sample56.0ms

Algorithm
intervals
Results
10.0ms193×body80valid
9.0ms27×body2560valid
7.0ms29×body1280valid
5.0ms95×body80nan
4.0ms19×body640valid
1.0msbody320valid
1.0msbody160valid
0.0msbody5120valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09116
19116

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 33.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
1.2b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.6b
(- (* b b) (* 4.0 (* a c)))
22.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×*-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
add-cube-cbrt
times-frac sqrt-prod associate-/l* difference-of-squares
pow1
flip3-- flip--
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 72
Calls
4 calls:
10.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
6.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
3.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series64.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
14.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
9.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049591319
149591319

prune160.0ms

Filtered
62 candidates to 84 candidates (-35.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New75984
Fresh000
Picked101
Done000
Total76985

Merged error: 5.2b

Counts
85 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

2.4b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
2.9b
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
9.2b
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
22.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
52×*-un-lft-identity
31×add-sqr-sqrt
30×add-cube-cbrt
21×associate-/l*
18×add-exp-log add-cbrt-cube
11×distribute-lft-out
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 associate-/r*
flip3-+ flip-+ div-inv
div-sub distribute-frac-neg sqrt-prod associate-/l/
flip3-- frac-2neg sub0-neg sqrt-div prod-exp clear-num flip-- cbrt-unprod
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 122
Calls
4 calls:
5.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
12.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
8.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series129.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
42.0ms
(/ (/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a 2.0))
58.0ms
(/ (- 0 (* 4.0 (* a c))) (+ b (sqrt (- (* b b) (* 4.0 (* a c))))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify67.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049183148
149183148

prune244.0ms

Filtered
102 candidates to 134 candidates (-31.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1304134
Fresh268
Picked101
Done000
Total13310143

Merged error: 5.2b

Counts
143 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

2.4b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
2.9b
(/ (neg (* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a c))) (* a 2.0))
9.2b
(* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a c))
22.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
21×add-exp-log add-cbrt-cube
18×times-frac associate-*l*
16×add-sqr-sqrt
15×add-cube-cbrt
10×pow1
prod-exp cbrt-unprod
associate-/l* add-log-exp
cbrt-undiv div-exp distribute-lft-out
pow-prod-down sqrt-prod
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ sqrt-div associate-*l/ associate-/r/ flip-+ div-inv
+-commutative neg-sub0 rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 div-sub distribute-frac-neg associate-*r* clear-num associate-/r* sum-log *-commutative flip-- associate-/l/ distribute-neg-frac
Counts
4 → 95
Calls
4 calls:
5.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
7.0ms
(/ (neg (* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a c))) (* a 2.0))
11.0ms
(* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a c))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series102.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
34.0ms
(/ (neg (* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a c))) (* a 2.0))
39.0ms
(* (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) (* a c))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify32.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050041912

prune175.0ms

Filtered
82 candidates to 107 candidates (-30.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1043107
Fresh459
Picked101
Done000
Total1098117

Merged error: 5.1b

Counts
117 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) 2.0) c)
1.6b
(- (* b b) (* 4.0 (* a c)))
2.4b
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
22.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
93×times-frac
69×*-un-lft-identity
59×add-sqr-sqrt
58×associate-*l*
49×add-cube-cbrt
13×add-exp-log add-cbrt-cube
10×distribute-lft-out
add-log-exp
pow1
associate-/r/
flip3-+ flip-+ div-inv
cbrt-undiv div-exp associate-*r* prod-exp sqrt-prod cbrt-unprod unswap-sqr
flip3-- sqrt-div flip--
+-commutative sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log pow-prod-down associate-*l/ sum-log *-commutative
Counts
4 → 119
Calls
4 calls:
17.0ms
(* (/ (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) 2.0) c)
4.0ms
(- (* b b) (* 4.0 (* a c)))
5.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (/ (/ 4.0 (+ b (sqrt (- (* b b) (* 4.0 (* a c)))))) 2.0) c)
8.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(+ b (sqrt (- (* b b) (* 4.0 (* a c)))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify52.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049742298
149742298

prune233.0ms

Filtered
105 candidates to 131 candidates (-24.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1292131
Fresh257
Picked011
Done000
Total1318139

Merged error: 5.0b

Counts
139 → 8

regimes292.0ms

Accuracy

95.4% (1.1b remaining)

Error of 6.7b against oracle of 5.6b and baseline of 29.5b

bsearch110.0ms

Steps
ItersRangePoint
9
9.19707175362887e+95
2.4714310794775493e+104
6.1921107765546395e+103
9
-6.695429941707738e-297
-7.676761036242019e-305
-1.1137175916725923e-303
9
-6.247250655316605e+139
-3.660489123272618e+133
-3.8900654094429814e+133

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05265
15265

end0.0ms

sample1.6s

Algorithm
intervals
Results
328.0ms1069×body2560valid
321.0ms5818×body80valid
230.0ms911×body1280valid
149.0ms2950×body80nan
93.0ms474×body640valid
41.0ms111×body5120valid
34.0ms216×body320valid
11.0ms116×body160valid

Profiling

Loading profile data...