Details

Time bar (total: 5.4s)

sample73.0ms

Algorithm
intervals
Results
38.0ms78×body1280valid
11.0ms39×body640valid
8.0ms22×body2560valid
4.0ms24×body320valid
3.0ms83×body80valid
1.0ms10×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0105
1105

prune2.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: 50.9b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ x (sqrt (+ (* x x) 1.0)))
3.2b
(log (+ x (sqrt (+ (* x x) 1.0))))
15.9b
(sqrt (+ (* x x) 1.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
add-exp-log log-prod
expm1-log1p-u fma-def flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
log-div sqrt-div distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow hypot-def
Counts
3 → 52
Calls
3 calls:
10.0ms
(+ x (sqrt (+ (* x x) 1.0)))
6.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
4.0ms
(sqrt (+ (* x x) 1.0))

series270.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(+ x (sqrt (+ (* x x) 1.0)))
170.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
41.0ms
(sqrt (+ (* x x) 1.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0331422
11127385
25002366

prune167.0ms

Filtered
61 candidates to 55 candidates (90.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New56561
Fresh000
Picked101
Done000
Total57562

Merged error: 0.0b

Counts
62 → 5

localize12.0ms

Local error

Found 1 expressions with local error:

0.1b
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
240×times-frac
220×associate-*r*
181×add-sqr-sqrt
140×unpow-prod-down cube-prod
117×add-cube-cbrt *-un-lft-identity
80×sqrt-prod
40×sqr-pow
30×cube-mult unpow3
25×unswap-sqr
24×add-exp-log
10×prod-exp
div-exp
pow-to-exp pow-exp add-cbrt-cube
pow1 associate-*l*
cbrt-unprod
cbrt-undiv expm1-log1p-u associate-*r/ pow-prod-down *-commutative log1p-expm1-u div-inv add-log-exp
Counts
1 → 272
Calls
1 calls:
59.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

series132.0ms

Counts
1 → 3
Calls
1 calls:
132.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

simplify90.0ms

Algorithm
egg-herbie
Counts
275 → 275
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07291769
138381380
250031380

prune315.0ms

Filtered
275 candidates to 97 candidates (35.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2750275
Fresh044
Picked011
Done000
Total2755280

Merged error: 0.0b

Counts
280 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot x (sqrt 1.0))
0.8b
(+ x (hypot x (sqrt 1.0)))
3.2b
(log (+ x (hypot x (sqrt 1.0))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
pow1 add-exp-log log-prod
expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u
log-div flip3-+ flip-+ distribute-lft-out
+-commutative hypot-udef rem-log-exp sum-log log-pow
Counts
3 → 44
Calls
3 calls:
1.0ms
(hypot x (sqrt 1.0))
3.0ms
(+ x (hypot x (sqrt 1.0)))
3.0ms
(log (+ x (hypot x (sqrt 1.0))))

series478.0ms

Counts
3 → 9
Calls
3 calls:
91.0ms
(hypot x (sqrt 1.0))
122.0ms
(+ x (hypot x (sqrt 1.0)))
264.0ms
(log (+ x (hypot x (sqrt 1.0))))

simplify87.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0268349
1886321
23696305
35001303

prune121.0ms

Filtered
53 candidates to 46 candidates (86.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New52153
Fresh123
Picked011
Done011
Total53558

Merged error: 0.0b

Counts
58 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ x (hypot x (sqrt 1.0)))
0.8b
(+ x (hypot x (sqrt 1.0)))
3.2b
(log (+ x (hypot x (sqrt 1.0))))
3.2b
(log (+ x (hypot x (sqrt 1.0))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod add-log-exp
pow1 add-exp-log fma-def
expm1-log1p-u log-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
+-commutative rem-log-exp sum-log log-pow
Counts
4 → 68
Calls
4 calls:
3.0ms
(+ x (hypot x (sqrt 1.0)))
3.0ms
(+ x (hypot x (sqrt 1.0)))
3.0ms
(log (+ x (hypot x (sqrt 1.0))))
3.0ms
(log (+ x (hypot x (sqrt 1.0))))

series794.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(+ x (hypot x (sqrt 1.0)))
127.0ms
(+ x (hypot x (sqrt 1.0)))
270.0ms
(log (+ x (hypot x (sqrt 1.0))))
266.0ms
(log (+ x (hypot x (sqrt 1.0))))

simplify82.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0238568
1786510
23259494
35001490

prune232.0ms

Filtered
80 candidates to 68 candidates (85.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New80080
Fresh022
Picked011
Done022
Total80585

Merged error: 0.0b

Counts
85 → 5

regimes33.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 32.0b

bsearch79.0ms

Steps
ItersRangePoint
7
4.240483494528851e-05
0.005370866090842012
0.0009503988119469446
10
-3.4402871636077537
-5.738045557766166e-18
-1.0185275619862584

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03924
13924

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.1s2327×body1280valid
456.0ms1593×body640valid
275.0ms782×body2560valid
136.0ms797×body320valid
88.0ms2083×body80valid
43.0ms418×body160valid