Details

Time bar (total: 4.5s)

sample291.0ms

Algorithm
intervals
Results
8.0ms179×body80valid
7.0ms41×body1280valid
5.0ms24×body2560valid
4.0ms111×body80nan
2.0ms17×body640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune4.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: 35.1b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.4b
(- (* b_2 b_2) (* a c))
1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
78×*-un-lft-identity
61×prod-diff
58×add-cube-cbrt
38×sqrt-prod
26×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
neg-mul-1 associate-/l*
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 171
Calls
4 calls:
14.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
17.0ms
(- (* b_2 b_2) (* a c))
11.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
35.0ms
(- (* b_2 b_2) (* a c))
66.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
76.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify72.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05493055
118262150
250022063

prune316.0ms

Filtered
183 candidates to 97 candidates (53.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New17310183
Fresh000
Picked101
Done000
Total17410184

Merged error: 6.4b

Counts
184 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.4b
(- (* b_2 b_2) (* a c))
1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite42.0ms

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

series245.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
35.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify79.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06092985
123341993
250021940

prune271.0ms

Filtered
181 candidates to 96 candidates (53.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1801181
Fresh189
Picked011
Done000
Total18110191

Merged error: 6.4b

Counts
191 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
13.3b
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
57×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
24×add-cube-cbrt *-un-lft-identity
18×pow1/2
15×swap-sqr
10×fma-neg prod-diff
flip3-- associate-*r* associate-*l* pow-prod-up flip-- unswap-sqr
add-log-exp
add-exp-log distribute-lft-neg-in distribute-rgt-neg-in add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u frac-times log1p-expm1-u
neg-mul-1 rem-sqrt-square diff-log associate-*r/ associate-*l/
associate--l- pow2 neg-sub0 sub-neg pow-plus sqrt-unprod neg-log prod-exp rem-square-sqrt *-commutative cbrt-unprod difference-of-squares
Counts
4 → 156
Calls
4 calls:
18.0ms
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
5.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))
68.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify68.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
03831788
115471498
250011387

prune297.0ms

Filtered
168 candidates to 96 candidates (57.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1680168
Fresh088
Picked011
Done011
Total16810178

Merged error: 6.4b

Counts
178 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt a)
0.5b
(cbrt a)
1.3b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
53×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
34×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
10×fma-neg
add-log-exp
neg-mul-1
cbrt-prod
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
flip3-- pow1/3 sqrt-div diff-log flip-- distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 133
Calls
4 calls:
1.0ms
(cbrt a)
1.0ms
(cbrt a)
10.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt a)
175.0ms
(cbrt a)
69.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04052447
112801575
250011488

prune234.0ms

Filtered
145 candidates to 77 candidates (53.1%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1450145
Fresh077
Picked011
Done022
Total14510155

Merged error: 6.4b

Counts
155 → 10

regimes233.0ms

Accuracy

82.3% (4.9b remaining)

Error of 10.4b against oracle of 5.5b and baseline of 33.1b

bsearch94.0ms

Steps
ItersRangePoint
8
2.8028278488416225e+79
7.17624026241226e+82
7.042361471685654e+82
9
-1.3800529096284603e-81
-1.8960304733955153e-90
-2.91890913136631e-83

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03415
13415

end0.0ms

sample1.1s

Algorithm
intervals
Results
228.0ms1055×body2560valid
214.0ms5922×body80valid
155.0ms896×body1280valid
101.0ms3037×body80nan
58.0ms423×body640valid
25.0ms96×body5120valid
21.0ms212×body320valid
8.0ms113×body160valid