Details

Time bar (total: 4.2s)

analyze260.0ms (6.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14

sample74.0ms (1.7%)

Algorithm
intervals
Results
35.0ms79×body1280valid
11.0ms41×body640valid
9.0ms28×body2560valid
9.0ms33×body320valid
3.0ms67×body80valid
1.0msbody160valid

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
199

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 52.8b

Counts
2 → 1

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.6b
(+ x (sqrt (+ (* x x) 1.0)))
2.0b
(log (+ x (sqrt (+ (* x x) 1.0))))
15.1b
(sqrt (+ (* x x) 1.0))

rewrite16.0ms (0.4%)

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:

6.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
6.0ms
(+ x (sqrt (+ (* x x) 1.0)))
4.0ms
(sqrt (+ (* x x) 1.0))

series16.0ms (0.4%)

Counts
3 → 9
Calls

3 calls:

8.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
4.0ms
(+ x (sqrt (+ (* x x) 1.0)))
4.0ms
(sqrt (+ (* x x) 1.0))

simplify40.0ms (1%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05075600

prune122.0ms (2.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New47451
Fresh000
Picked101
Done000
Total48452

Merged error: 0.0b

Counts
52 → 4

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite33.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
50×associate-*r*
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
add-log-exp
prod-exp add-cbrt-cube
cube-div associate-*r/ associate-*l*
pow1 diff-log pow-exp frac-sub div-inv sqr-pow
cube-mult pow-to-exp sub-neg flip3-- flip3-+ unpow3 div-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod flip-+
Counts
2 → 90
Calls

2 calls:

15.0ms
(* 1/6 (pow (/ x (sqrt 1.0)) 3))
14.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (pow (/ x (sqrt 1.0)) 3)))

series27.0ms (0.6%)

Counts
2 → 6
Calls

2 calls:

16.0ms
(* 1/6 (pow (/ x (sqrt 1.0)) 3))
11.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (pow (/ x (sqrt 1.0)) 3)))

simplify25.0ms (0.6%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
049981131
149981131

prune278.0ms (6.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh033
Picked011
Done000
Total964100

Merged error: 0.0b

Counts
100 → 4

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(/ 0.125 (pow x 3))
0.2b
(/ 0.0625 (pow x 5))
11.9b
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
17.2b
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))

rewrite83.0ms (2%)

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
71×times-frac
68×*-un-lft-identity
46×add-cube-cbrt
26×unpow-prod-down
19×associate-/r*
15×add-exp-log
14×cube-prod
11×log-prod
10×difference-of-squares sqr-pow
add-log-exp
add-cbrt-cube
div-exp frac-sub associate-/l* distribute-lft-out--
pow1 log-div
cube-mult unpow3 distribute-lft-out
cbrt-undiv pow-to-exp flip3-- frac-2neg flip3-+ diff-log frac-add pow-exp clear-num flip-- flip-+ div-inv
sub-neg rem-log-exp sum-log log-pow associate--r+
Counts
4 → 159
Calls

4 calls:

34.0ms
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
34.0ms
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))
5.0ms
(/ 0.125 (pow x 3))
4.0ms
(/ 0.0625 (pow x 5))

series22.0ms (0.5%)

Counts
4 → 12
Calls

4 calls:

9.0ms
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
5.0ms
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))
4.0ms
(/ 0.0625 (pow x 5))
3.0ms
(/ 0.125 (pow x 3))

simplify55.0ms (1.3%)

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
053612493

prune439.0ms (10.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1710171
Fresh022
Picked011
Done011
Total1714175

Merged error: 0.0b

Counts
175 → 4

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ 0.5 x))
0.0b
(+ x (- (+ x (/ 0.5 x)) (/ 0.125 (pow x 3))))
0.1b
(/ 0.125 (pow x 3))
10.2b
(log (+ x (- (+ x (/ 0.5 x)) (/ 0.125 (pow x 3)))))

rewrite59.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
36×times-frac
30×add-sqr-sqrt add-cube-cbrt
15×add-log-exp
12×unpow-prod-down cube-prod associate-/r*
10×add-exp-log
distribute-lft-out
log-prod add-cbrt-cube
pow1 sum-log
cube-mult unpow3 distribute-lft-out-- sqr-pow
flip3-+ div-exp flip-+ associate-/l*
+-commutative log-div associate-+r+ diff-log
cbrt-undiv pow-to-exp associate-+r- sub-neg frac-2neg rem-log-exp pow-exp associate--l+ clear-num log-pow div-inv
Counts
4 → 113
Calls

4 calls:

22.0ms
(+ x (- (+ x (/ 0.5 x)) (/ 0.125 (pow x 3))))
21.0ms
(log (+ x (- (+ x (/ 0.5 x)) (/ 0.125 (pow x 3)))))
6.0ms
(+ x (/ 0.5 x))
5.0ms
(/ 0.125 (pow x 3))

series21.0ms (0.5%)

Counts
4 → 12
Calls

4 calls:

9.0ms
(log (+ x (- (+ x (/ 0.5 x)) (/ 0.125 (pow x 3)))))
5.0ms
(+ x (- (+ x (/ 0.5 x)) (/ 0.125 (pow x 3))))
4.0ms
(+ x (/ 0.5 x))
3.0ms
(/ 0.125 (pow x 3))

simplify46.0ms (1.1%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050551415

prune287.0ms (6.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1250125
Fresh011
Picked011
Done022
Total1254129

Merged error: 0.0b

Counts
129 → 4

regimes86.0ms (2%)

Accuracy

Total 0.2b remaining (76.1%)

Threshold costs 0.2b (76.1%)

bsearch41.0ms (1%)

Steps
ItersRangePoint
9
0.00015376982843717858
26598.371815489856
0.8962476229902214
9
-157274.44498914763
-0.024100400356733092
-1.0076583790961935

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
011755
111755

end0.0ms (0%)

sample2.2s (51%)

Algorithm
intervals
Results
1.1s2328×body1280valid
416.0ms1492×body640valid
273.0ms813×body2560valid
138.0ms797×body320valid
89.0ms2187×body80valid
39.0ms383×body160valid

Profiling

Loading profile data...