Details

Time bar (total: 4.3s)

sample85.0ms

Algorithm
intervals
Results
42.0ms75×body1280valid
14.0ms45×body640valid
10.0ms26×body2560valid
5.0ms26×body320valid
3.0ms71×body80valid
1.0ms13×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
199

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 52.2b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ x (sqrt (+ (* x x) 1.0)))
3.4b
(log (+ x (sqrt (+ (* x x) 1.0))))
14.5b
(sqrt (+ (* x x) 1.0))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt
pow1 add-cube-cbrt add-log-exp
add-exp-log log-prod
flip3-+ sqrt-prod add-cbrt-cube flip-+
log-div sqrt-div distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow
Counts
3 → 42
Calls
3 calls:
5.0ms
(+ x (sqrt (+ (* x x) 1.0)))
5.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
4.0ms
(sqrt (+ (* x x) 1.0))

series17.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ x (sqrt (+ (* x x) 1.0)))
8.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
4.0ms
(sqrt (+ (* x x) 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05099600

prune115.0ms

Filtered
42 candidates to 51 candidates (-21.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New45651
Fresh000
Picked101
Done000
Total46652

Merged error: 0.1b

Counts
52 → 6

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
50×associate-*l*
49×add-sqr-sqrt
40×times-frac
30×add-cube-cbrt *-un-lft-identity
25×unpow-prod-down cube-prod
20×sqrt-prod
10×add-exp-log
unswap-sqr
prod-exp add-cbrt-cube add-log-exp
associate-*r*
pow1 cube-div associate-*l/ pow-exp div-inv sqr-pow
+-commutative cube-mult pow-to-exp flip3-+ unpow3 div-exp frac-add sum-log *-commutative cbrt-unprod flip-+
Counts
2 → 87
Calls
2 calls:
8.0ms
(+ (/ x (sqrt 1.0)) (* (pow (/ x (sqrt 1.0)) 3) -1/6))
13.0ms
(* (pow (/ x (sqrt 1.0)) 3) -1/6)

series45.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
051291007

prune166.0ms

Filtered
51 candidates to 93 candidates (-82.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh055
Picked011
Done000
Total92799

Merged error: 0.1b

Counts
99 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6)
0.0b
(+ (/ x (sqrt 1.0)) (log (pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6)))
0.0b
(exp (pow (/ x (sqrt 1.0)) 3))
1.9b
(log (pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
100×exp-prod
72×times-frac
66×*-un-lft-identity
64×add-sqr-sqrt add-cube-cbrt
53×unpow-prod-down
51×pow-pow
44×cube-prod
36×sqrt-prod
14×log-prod
associate-+r+
add-log-exp
pow1 add-exp-log sqr-pow
add-cbrt-cube div-inv
pow-unpow rem-log-exp
cube-mult pow-to-exp unpow3 pow-exp
+-commutative flip3-+ sum-log log-pow flip-+ rem-exp-log distribute-lft-out
Counts
4 → 162
Calls
4 calls:
14.0ms
(pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6)
18.0ms
(+ (/ x (sqrt 1.0)) (log (pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6)))
10.0ms
(exp (pow (/ x (sqrt 1.0)) 3))
8.0ms
(log (pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6))

series160.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6)
40.0ms
(+ (/ x (sqrt 1.0)) (log (pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6)))
6.0ms
(exp (pow (/ x (sqrt 1.0)) 3))
84.0ms
(log (pow (exp (pow (/ x (sqrt 1.0)) 3)) -1/6))

simplify56.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
054491630

prune391.0ms

Filtered
95 candidates to 174 candidates (-83.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1731174
Fresh055
Picked101
Done011
Total1747181

Merged error: 0.1b

Counts
181 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (pow (/ x (sqrt 1.0)) 3))
0.0b
(+ (+ (/ x (sqrt 1.0)) (* (pow (/ x (sqrt 1.0)) 3) -1/12)) (log (pow (sqrt (exp (pow (/ x (sqrt 1.0)) 3))) -1/6)))
0.1b
(* (pow (/ x (sqrt 1.0)) 3) -1/12)
1.9b
(log (pow (sqrt (exp (pow (/ x (sqrt 1.0)) 3))) -1/6))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
84×add-sqr-sqrt
76×times-frac
67×*-un-lft-identity
65×add-cube-cbrt
59×unpow-prod-down
50×exp-prod associate-*l*
47×cube-prod
44×sqrt-prod
20×log-prod
14×add-exp-log
10×associate-+r+
add-log-exp unswap-sqr
add-cbrt-cube
sqr-pow
pow1 prod-exp div-inv
rem-log-exp associate-*r* pow-exp sum-log
cube-mult pow-to-exp unpow3
+-commutative cube-div associate-+l+ flip3-+ div-exp associate-*l/ log-pow *-commutative cbrt-unprod flip-+ rem-exp-log distribute-lft-out
Counts
4 → 178
Calls
4 calls:
10.0ms
(exp (pow (/ x (sqrt 1.0)) 3))
18.0ms
(+ (+ (/ x (sqrt 1.0)) (* (pow (/ x (sqrt 1.0)) 3) -1/12)) (log (pow (sqrt (exp (pow (/ x (sqrt 1.0)) 3))) -1/6)))
13.0ms
(* (pow (/ x (sqrt 1.0)) 3) -1/12)
8.0ms
(log (pow (sqrt (exp (pow (/ x (sqrt 1.0)) 3))) -1/6))

series126.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(exp (pow (/ x (sqrt 1.0)) 3))
18.0ms
(+ (+ (/ x (sqrt 1.0)) (* (pow (/ x (sqrt 1.0)) 3) -1/12)) (log (pow (sqrt (exp (pow (/ x (sqrt 1.0)) 3))) -1/6)))
15.0ms
(* (pow (/ x (sqrt 1.0)) 3) -1/12)
86.0ms
(log (pow (sqrt (exp (pow (/ x (sqrt 1.0)) 3))) -1/6))

simplify57.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
051462292

prune488.0ms

Filtered
102 candidates to 190 candidates (-86.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1900190
Fresh055
Picked011
Done011
Total1907197

Merged error: 0.1b

Counts
197 → 7

regimes107.0ms

Accuracy

99.3% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 31.4b

bsearch21.0ms

Steps
ItersRangePoint
8
0.06592465963988953
1253.8160530937032
0.8954644157812223
5
-2.244380864214425
-0.6973264211480649
-1.015486663634488

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03955
13955

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.1s2272×body1280valid
439.0ms1578×body640valid
271.0ms820×body2560valid
132.0ms805×body320valid
86.0ms2093×body80valid
41.0ms432×body160valid

Profiling

Loading profile data...