Details

Time bar (total: 4.5s)

sample42.0ms

Algorithm
intervals
Results
8.0ms201×body80valid
7.0ms23×body1280valid
5.0ms21×body2560valid
3.0ms87×body80nan
3.0ms20×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0299
1659
21219
31519
41609
51649
61649

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.3b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.7b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
15.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
10.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series295.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
78.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
49.0ms
(- (* b b) (* 4.0 (* a c)))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify77.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05903305
121012212
250022128

prune324.0ms

Filtered
169 candidates to 89 candidates (52.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15910169
Fresh000
Picked101
Done000
Total16010170

Merged error: 8.3b

Counts
170 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
0.7b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
61×prod-diff
60×add-sqr-sqrt
57×*-un-lft-identity
49×add-cube-cbrt
35×sqrt-prod
23×add-exp-log distribute-rgt-neg-in
21×distribute-lft-neg-in
13×add-cbrt-cube
11×fma-neg
10×prod-exp add-log-exp
pow1 neg-mul-1 associate-*r* associate-*l*
flip3-- flip--
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares
times-frac diff-log
cbrt-undiv frac-times sub-neg rec-exp sqrt-div 1-exp associate-*l/
associate--l- neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 165
Calls
4 calls:
15.0ms
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
14.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series295.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
79.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
45.0ms
(- (* b b) (* 4.0 (* a c)))
73.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify86.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06563422
125942238
250012193

prune305.0ms

Filtered
177 candidates to 89 candidates (50.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1743177
Fresh369
Picked101
Done000
Total1789187

Merged error: 8.2b

Counts
187 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
8.5b
(- (- b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
11×fma-neg prod-diff
10×add-log-exp
pow1 distribute-lft-neg-in distribute-rgt-neg-in sqrt-prod
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
diff-log
neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 pow1/2
associate--l- neg-sub0 neg-log difference-of-squares
Counts
4 → 87
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
5.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series270.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* 4.0 (* a c)))
80.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03131367
111391090
250011064

prune322.0ms

Filtered
99 candidates to 78 candidates (78.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New99099
Fresh088
Picked011
Done000
Total999108

Merged error: 8.2b

Counts
108 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt b)
1.0b
(- (* b b) (* 4.0 (* a c)))
19.4b
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-prod sqrt-prod
flip3-- sqrt-div flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg pow1/3 diff-log prod-diff fma-udef
Counts
4 → 56
Calls
4 calls:
1.0ms
(cbrt b)
4.0ms
(- (* b b) (* 4.0 (* a c)))
1.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series446.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt b)
44.0ms
(- (* b b) (* 4.0 (* a c)))
144.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify105.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0246491
1810444
23581426
35001423

prune210.0ms

Filtered
68 candidates to 59 candidates (86.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh077
Picked011
Done011
Total68977

Merged error: 8.2b

Counts
77 → 9

regimes238.0ms

Accuracy

81.9% (5.2b remaining)

Error of 11.2b against oracle of 6.0b and baseline of 34.7b

bsearch114.0ms

Steps
ItersRangePoint
7
6.184155830638016e+27
1.3306260697673677e+30
1.2919983862558445e+30
9
-7.983923007473122e-12
-3.7260100270962394e-17
-3.774134686283342e-17

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03820
13820

end0.0ms

sample1.1s

Algorithm
intervals
Results
238.0ms1038×body2560valid
225.0ms5870×body80valid
176.0ms900×body1280valid
109.0ms2910×body80nan
66.0ms434×body640valid
34.0ms115×body5120valid
29.0ms260×body320valid
9.0ms127×body160valid