Details

Time bar (total: 6.7s)

sample99.0ms

Algorithm
intervals
Results
23.0ms122×body2560nan
23.0ms612×body80nan
15.0ms96×body1280nan
10.0ms256×body80valid
6.0ms49×body640nan
3.0ms29×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: 31.4b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (+ x (sqrt (- (* x x) 1.0))))
0.0b
(+ x (sqrt (- (* x x) 1.0)))
0.0b
(- (* x x) 1.0)
29.2b
(sqrt (- (* x x) 1.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1
add-exp-log
expm1-log1p-u log-prod sqrt-prod add-cbrt-cube log1p-expm1-u
fma-def prod-diff
log-div flip3-- flip3-+ sqrt-div flip-- flip-+ distribute-lft-out difference-of-squares
+-commutative sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log rem-log-exp sum-log log-pow
Counts
4 → 71
Calls
4 calls:
6.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
6.0ms
(+ x (sqrt (- (* x x) 1.0)))
4.0ms
(- (* x x) 1.0)
5.0ms
(sqrt (- (* x x) 1.0))

series375.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
74.0ms
(+ x (sqrt (- (* x x) 1.0)))
40.0ms
(- (* x x) 1.0)
56.0ms
(sqrt (- (* x x) 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0384532
11355471
25001457

prune164.0ms

Filtered
83 candidates to 67 candidates (80.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New81283
Fresh000
Picked101
Done000
Total82284

Merged error: 0b

Counts
84 → 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.0b
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
0.5b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite20.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))))))
12.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series671.0ms

Counts
3 → 9
Calls
3 calls:
152.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
288.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
230.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

prune213.0ms

Filtered
85 candidates to 69 candidates (81.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh101
Picked011
Done000
Total85287

Merged error: 0b

Counts
87 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x))
0.1b
(fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)
0.5b
(cbrt (pow (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)) 3))
0.7b
(pow (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)) 3)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×pow1
unpow-prod-down cube-prod
add-exp-log
log-pow add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow log-prod
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 rem-log-exp pow-exp rem-cbrt-cube fma-udef rem-cube-cbrt
Counts
4 → 76
Calls
4 calls:
1.0ms
(log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x))
1.0ms
(fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)
2.0ms
(cbrt (pow (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)) 3))
2.0ms
(pow (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)) 3)

series2.2s

Counts
4 → 12
Calls
4 calls:
429.0ms
(log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x))
263.0ms
(fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)
436.0ms
(cbrt (pow (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)) 3))
1.1s
(pow (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)) 3)

simplify89.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
08721575
139111461
250011458

prune257.0ms

Filtered
88 candidates to 60 candidates (68.2%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh000
Picked011
Done011
Total88290

Merged error: 0b

Counts
90 → 2

regimes12.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample2.5s

Algorithm
intervals
Results
555.0ms2940×body2560nan
540.0ms16061×body80nan
395.0ms2511×body1280nan
318.0ms8000×body80valid
164.0ms1251×body640nan
63.0ms661×body320nan
20.0ms301×body160nan