Details

Time bar (total: 4.9s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.996948%

Guaranteed chance to sample good point: 50.015258%

Results
18.0ms87×body2560nan
12.0ms76×body1280nan
10.0ms256×body80valid
7.0ms56×body640nan
1.0ms15×body320nan
1.0ms16×body160nan
0.0ms11×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.4b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (sqrt (- (* x x) 1.0)))
0.2b
(log (+ x (sqrt (- (* x x) 1.0))))
28.2b
(sqrt (- (* x x) 1.0))

rewrite16.0ms

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

series20.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0316408
11042379
24663366
35002365

prune87.0ms

Filtered
43 candidates to 52 candidates (-20.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New50252
Fresh000
Picked101
Done000
Total51253

Merged error: 0b

Counts
53 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))
0.1b
(/ (/ 0.25 x) x)
0.2b
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
0.3b
(/ 0.09375 (pow x 4))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
99×times-frac
92×*-un-lft-identity
75×add-sqr-sqrt
65×add-cube-cbrt
16×associate--l+ associate-/l*
15×distribute-lft-out--
14×add-exp-log
13×unpow-prod-down add-log-exp
11×pow1 add-cbrt-cube
10×associate-/r*
log-prod
distribute-lft-out
associate-+r+ log-pow
diff-log div-exp div-inv
sqr-pow
cbrt-undiv sub-neg difference-of-squares
associate-+l+ sum-log
flip3-- frac-2neg clear-num frac-sub flip--
+-commutative associate--l- pow-to-exp associate-+r- flip3-+ pow-exp flip-+ associate-/l/
Counts
4 → 175
Calls
4 calls:
27.0ms
(- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))
6.0ms
(/ (/ 0.25 x) x)
32.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
4.0ms
(/ 0.09375 (pow x 4))

series27.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))
5.0ms
(/ (/ 0.25 x) x)
10.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
4.0ms
(/ 0.09375 (pow x 4))

simplify67.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
07581413
127961305
250021288

prune262.0ms

Filtered
121 candidates to 187 candidates (-54.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1870187
Fresh011
Picked011
Done000
Total1872189

Merged error: 0b

Counts
189 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
0.2b
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
0.5b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×sqrt-prod
12×*-un-lft-identity sqrt-div
associate-*r*
pow1 add-cube-cbrt
associate-*l*
add-exp-log
flip3-+ add-cbrt-cube flip-+ add-log-exp
frac-times unswap-sqr
log-prod flip3-- pow-prod-down flip--
log-div sqrt-pow1 pow1/2 associate-*r/ associate-*l/ difference-of-squares
+-commutative sqrt-unprod rem-log-exp prod-exp sum-log log-pow *-commutative cbrt-unprod distribute-lft-out distribute-lft-out--
Counts
3 → 67
Calls
3 calls:
2.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
2.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
12.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series34.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0426933
11611866
25001852

prune166.0ms

Filtered
58 candidates to 76 candidates (-31.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh000
Picked011
Done011
Total76278

Merged error: 0b

Counts
78 → 2

regimes24.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0159
1159

end0.0ms

sample2.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.996948%

Guaranteed chance to sample good point: 50.015258%

Results
551.0ms2970×body2560nan
380.0ms2461×body1280nan
319.0ms8000×body80valid
161.0ms1292×body640nan
56.0ms611×body320nan
20.0ms313×body160nan
9.0ms283×body80nan

Profiling

Loading profile data...