Details

Time bar (total: 5.1s)

sample67.0ms

Algorithm
intervals
Results
29.0ms72×body1280valid
15.0ms51×body640valid
8.0ms30×body2560valid
3.0ms26×body320valid
2.0ms62×body80valid
1.0ms15×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: 52.8b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.4b
(+ x (sqrt (+ (* x x) 1.0)))
3.5b
(log (+ x (sqrt (+ (* x x) 1.0))))
14.5b
(sqrt (+ (* x x) 1.0))

rewrite17.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:
6.0ms
(+ x (sqrt (+ (* x x) 1.0)))
6.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
4.0ms
(sqrt (+ (* x x) 1.0))

series261.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(+ x (sqrt (+ (* x x) 1.0)))
163.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
44.0ms
(sqrt (+ (* x x) 1.0))

simplify36.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0331422
11127385
25002366

prune163.0ms

Filtered
61 candidates to 55 candidates (90.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New55661
Fresh000
Picked101
Done000
Total56662

Merged error: 0.1b

Counts
62 → 6

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
0.2b
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
240×times-frac
220×associate-*r*
184×add-sqr-sqrt
140×unpow-prod-down cube-prod
126×*-un-lft-identity
120×add-cube-cbrt
80×sqrt-prod
40×sqr-pow
30×cube-mult unpow3
25×add-exp-log unswap-sqr
10×prod-exp
div-exp
add-cbrt-cube
pow1 pow-to-exp pow-exp add-log-exp
fma-neg prod-diff
distribute-lft-out
associate-*r/ associate-*l*
expm1-log1p-u diff-log log-pow frac-sub cbrt-unprod log1p-expm1-u
cbrt-undiv sub-neg flip3-- flip3-+ pow-prod-down associate--l+ sum-log *-commutative flip-- flip-+ div-inv
Counts
2 → 300
Calls
2 calls:
14.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
56.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

series280.0ms

Counts
2 → 6
Calls
2 calls:
149.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
130.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

simplify122.0ms

Algorithm
egg-herbie
Counts
306 → 306
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
08882291
147681819
250011795

prune379.0ms

Filtered
306 candidates to 121 candidates (39.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3060306
Fresh055
Picked011
Done000
Total3066312

Merged error: 0.1b

Counts
312 → 6

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot x (sqrt 1.0))
0.4b
(+ x (hypot x (sqrt 1.0)))
3.5b
(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))))

series485.0ms

Counts
3 → 9
Calls
3 calls:
93.0ms
(hypot x (sqrt 1.0))
126.0ms
(+ x (hypot x (sqrt 1.0)))
265.0ms
(log (+ x (hypot x (sqrt 1.0))))

simplify88.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0268349
1886321
23696305
35001303

prune119.0ms

Filtered
53 candidates to 46 candidates (86.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh224
Picked101
Done011
Total54559

Merged error: 0.1b

Counts
59 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sqrt (+ x (hypot x (sqrt 1.0)))) (sqrt (+ x (hypot x (sqrt 1.0)))))
0.4b
(+ x (hypot x (sqrt 1.0)))
0.4b
(+ x (hypot x (sqrt 1.0)))
3.0b
(log (* (sqrt (+ x (hypot x (sqrt 1.0)))) (sqrt (+ x (hypot x (sqrt 1.0))))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
35×pow1
32×*-un-lft-identity
26×add-sqr-sqrt sqrt-prod
24×sqrt-div
16×sqrt-pow1 pow1/2
14×add-cube-cbrt flip3-+ log-pow flip-+
11×swap-sqr
10×pow-prod-up
add-exp-log
frac-times log-div distribute-lft-out add-log-exp
associate-*r* associate-*l*
fma-def pow-prod-down pow-sqr add-cbrt-cube
expm1-log1p-u associate-*r/ associate-*l/ log1p-expm1-u unswap-sqr
+-commutative pow2 pow-plus rem-log-exp prod-exp sum-log
log-prod sqrt-unprod rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 132
Calls
4 calls:
11.0ms
(* (sqrt (+ x (hypot x (sqrt 1.0)))) (sqrt (+ x (hypot x (sqrt 1.0)))))
3.0ms
(+ x (hypot x (sqrt 1.0)))
3.0ms
(+ x (hypot x (sqrt 1.0)))
9.0ms
(log (* (sqrt (+ x (hypot x (sqrt 1.0)))) (sqrt (+ x (hypot x (sqrt 1.0))))))

series652.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(* (sqrt (+ x (hypot x (sqrt 1.0)))) (sqrt (+ x (hypot x (sqrt 1.0)))))
130.0ms
(+ x (hypot x (sqrt 1.0)))
122.0ms
(+ x (hypot x (sqrt 1.0)))
277.0ms
(log (* (sqrt (+ x (hypot x (sqrt 1.0)))) (sqrt (+ x (hypot x (sqrt 1.0))))))

simplify58.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03551184
113441050
250021012

prune270.0ms

Filtered
144 candidates to 95 candidates (66.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1431144
Fresh033
Picked011
Done011
Total1436149

Merged error: 0.1b

Counts
149 → 6

regimes37.0ms

Accuracy

99.6% (0.1b remaining)

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

bsearch80.0ms

Steps
ItersRangePoint
9
1.2000045585397406e-10
0.001857967628030483
0.0010611615811147047
9
-164485.30314980465
-0.009598081335721272
-1.0094339040681148

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04130
14130

end0.0ms

sample1.9s

Algorithm
intervals
Results
958.0ms2339×body1280valid
357.0ms1534×body640valid
218.0ms800×body2560valid
105.0ms785×body320valid
64.0ms2143×body80valid
30.0ms399×body160valid