Details

Time bar (total: 9.7s)

sample86.0ms

Algorithm
intervals
Results
19.0ms105×body2560nan
17.0ms516×body80nan
15.0ms80×body1280nan
10.0ms256×body80valid
5.0ms41×body640nan
1.0ms15×body320nan
1.0msbody160nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1125
2125

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: 34.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))))
32.0b
(sqrt (- (* x x) 1.0))

rewrite19.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 sqrt-prod
expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u
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 → 52
Calls
3 calls:
7.0ms
(+ x (sqrt (- (* x x) 1.0)))
6.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
5.0ms
(sqrt (- (* x x) 1.0))

series330.0ms

Counts
3 → 9
Calls
3 calls:
73.0ms
(+ x (sqrt (- (* x x) 1.0)))
202.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
55.0ms
(sqrt (- (* x x) 1.0))

simplify36.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0339437
11134401
25001389

prune136.0ms

Filtered
61 candidates to 53 candidates (86.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New59261
Fresh000
Picked101
Done000
Total60262

Merged error: 0.0b

Counts
62 → 2

localize11.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))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
15×sqrt-prod
13×*-un-lft-identity
12×sqrt-div
add-cube-cbrt associate-*r*
pow1
associate-*l*
add-exp-log
flip3-+ add-cbrt-cube flip-+ add-log-exp
frac-times unswap-sqr
expm1-log1p-u log-prod flip3-- fma-def pow-prod-down flip-- log1p-expm1-u
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 → 76
Calls
3 calls:
3.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))))))
16.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series658.0ms

Counts
3 → 9
Calls
3 calls:
148.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
306.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
204.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify48.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04671012
11665907
25001894

prune402.0ms

Filtered
85 candidates to 69 candidates (81.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New85085
Fresh011
Picked011
Done000
Total85287

Merged error: 0.0b

Counts
87 → 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.4b
(/ 0.09375 (pow x 4))

rewrite234.0ms

Algorithm
rewrite-expression-head
Rules
1176×add-sqr-sqrt
1116×times-frac
887×*-un-lft-identity
744×prod-diff
707×add-cube-cbrt
379×associate-+r+
360×associate--l+
157×unpow-prod-down difference-of-squares
149×pow1
145×log-pow
117×distribute-lft-out--
54×div-inv
53×sqr-pow
16×associate-/l*
14×add-exp-log
13×add-log-exp
11×add-cbrt-cube
10×associate-/r*
log-prod
fma-neg distribute-lft-out
diff-log div-exp
cbrt-undiv expm1-log1p-u sub-neg fma-def log1p-expm1-u
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 → 939
Calls
4 calls:
54.0ms
(- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))
6.0ms
(/ (/ 0.25 x) x)
74.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
5.0ms
(/ 0.09375 (pow x 4))

series233.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))
25.0ms
(/ (/ 0.25 x) x)
97.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
45.0ms
(/ 0.09375 (pow x 4))

simplify211.0ms

Algorithm
egg-herbie
Counts
951 → 951
Iterations

Useful iterations: 1 (50.0ms)

IterNodesCost
0288420064
1500116939

prune2.4s

Filtered
951 candidates to 543 candidates (57.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New9501951
Fresh000
Picked101
Done011
Total9512953

Merged error: 0b

Counts
953 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 0.25 x) x)
0.2b
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
0.4b
(/ 0.09375 (pow x 4))
1.1b
(expm1 (log1p (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
610×add-sqr-sqrt
603×times-frac
480×*-un-lft-identity
385×add-cube-cbrt
379×associate-+r+
372×prod-diff
180×associate--l+
84×unpow-prod-down
79×pow1
75×log-pow difference-of-squares
60×distribute-lft-out--
30×div-inv
28×sqr-pow
16×associate-/l*
14×add-exp-log
11×add-cbrt-cube
10×associate-/r*
add-log-exp
distribute-lft-out
log-prod div-exp
cbrt-undiv expm1-log1p-u fma-def log1p-expm1-u
associate-+l+ diff-log sum-log
sub-neg frac-2neg clear-num
+-commutative pow-to-exp associate-+r- expm1-log1p flip3-+ pow-exp flip-+ associate-/l/ expm1-udef
Counts
4 → 540
Calls
4 calls:
6.0ms
(/ (/ 0.25 x) x)
74.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
5.0ms
(/ 0.09375 (pow x 4))
1.0ms
(expm1 (log1p (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))))

series439.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ (/ 0.25 x) x)
101.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
44.0ms
(/ 0.09375 (pow x 4))
269.0ms
(expm1 (log1p (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))))

simplify121.0ms

Algorithm
egg-herbie
Counts
552 → 552
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
025468616
150017571

prune1.7s

Filtered
552 candidates to 347 candidates (62.9%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New5520552
Fresh000
Picked011
Done011
Total5522554

Merged error: 0b

Counts
554 → 2

regimes16.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample2.5s

Algorithm
intervals
Results
556.0ms2971×body2560nan
550.0ms16447×body80nan
390.0ms2541×body1280nan
319.0ms8000×body80valid
165.0ms1329×body640nan
60.0ms644×body320nan
19.0ms296×body160nan