Details

Time bar (total: 4.0s)

sample245.0ms

Algorithm
intervals
Results
188.0msbody5120valid
10.0ms178×body80valid
9.0ms33×body2560valid
6.0ms26×body1280valid
4.0ms101×body80nan
4.0ms20×body640valid
2.0ms14×body320valid
0.0msbody160valid

simplify431.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04213
14213

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.7b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.8b
(- (* b_2 b_2) (* a c))
1.1b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
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 → 91
Calls
4 calls:
10.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
4.0ms
(- (* b_2 b_2) (* a c))
17.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
052711600

prune148.0ms

Filtered
72 candidates to 103 candidates (-43.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New9211103
Fresh000
Picked011
Done000
Total9212104

Merged error: 5.1b

Counts
104 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b_2 b_2) (* a c))
3.4b
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
9.4b
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
22.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
53×add-sqr-sqrt
40×*-un-lft-identity
28×add-cube-cbrt
18×add-exp-log add-cbrt-cube
13×associate-/l*
12×difference-of-squares
10×associate-/r/
associate-/r* sqrt-prod
cbrt-undiv flip3-- div-exp flip--
div-inv distribute-lft-out-- add-log-exp
pow1
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 124
Calls
4 calls:
4.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series117.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
42.0ms
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
53.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
15.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049912493
149912493

prune146.0ms

Filtered
102 candidates to 136 candidates (-33.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1324136
Fresh5510
Picked101
Done011
Total13810148

Merged error: 5.0b

Counts
148 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
0.2b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.8b
(- (* b_2 b_2) (* a c))
22.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×*-un-lft-identity
18×times-frac
16×add-cube-cbrt
10×difference-of-squares
sqrt-prod add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1 distribute-lft-out--
flip3-- flip--
associate-/l*
sub-neg sqrt-div diff-log associate-/r/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 83
Calls
4 calls:
8.0ms
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
6.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(- (* b_2 b_2) (* a c))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
7.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049541383
149541383

prune107.0ms

Filtered
69 candidates to 95 candidates (-37.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New94195
Fresh178
Picked011
Done011
Total9510105

Merged error: 4.9b

Counts
105 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

6.2b
(cbrt (* a (/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))))
22.8b
(sqrt (- (* b_2 b_2) (* a c)))
22.8b
(sqrt (- (* b_2 b_2) (* a c)))
22.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
cbrt-prod cbrt-div pow1/3 associate-*r/
Counts
4 → 55
Calls
4 calls:
10.0ms
(cbrt (* a (/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))))
4.0ms
(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)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(cbrt (* a (/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
14.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
04976768
14976768

prune83.0ms

Filtered
57 candidates to 67 candidates (-17.5%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New64367
Fresh167
Picked011
Done022
Total651277

Merged error: 4.9b

Counts
77 → 12

regimes418.0ms

Accuracy

95.1% (1.2b remaining)

Error of 6.9b against oracle of 5.7b and baseline of 29.7b

bsearch96.0ms

Steps
ItersRangePoint
7
4.3615889733450486e+108
1.0500909612496576e+110
8.774307758349226e+108
8
5.308770701153656e-296
1.2750363377371844e-292
1.70466835256157e-294
9
-1.6796181841493287e+154
-2.4052036288306873e+149
-2.641623564130735e+150

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03447
13447

end0.0ms

sample1.4s

Algorithm
intervals
Results
285.0ms1056×body2560valid
271.0ms5845×body80valid
193.0ms872×body1280valid
124.0ms2872×body80nan
81.0ms460×body640valid
35.0ms109×body5120valid
34.0ms229×body320valid
10.0ms110×body160valid

Profiling

Loading profile data...