Details

Time bar (total: 8.2s)

sample142.0ms

Algorithm
intervals
Results
36.0ms115×body2560nan
28.0ms519×body80nan
24.0ms90×body1280nan
16.0ms256×body80valid
8.0ms37×body640nan
3.0ms17×body320nan
1.0ms10×body160nan

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0115
1125
2125

prune3.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: 32.9b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
4.0ms
(- (* x x) 1.0)
10.0ms
(+ x (sqrt (- (* x x) 1.0)))
10.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
8.0ms
(sqrt (- (* x x) 1.0))

series345.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* x x) 1.0)
68.0ms
(+ x (sqrt (- (* x x) 1.0)))
191.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
49.0ms
(sqrt (- (* x x) 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0384531
11360471
25002457

prune172.0ms

Filtered
83 candidates to 67 candidates (80.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New80383
Fresh000
Picked101
Done000
Total81384

Merged error: 0b

Counts
84 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x (sqrt 1.0)))
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
28×add-sqr-sqrt
20×sqrt-prod
17×*-un-lft-identity
14×sqrt-div
11×add-cube-cbrt
10×pow1
associate-*r*
add-exp-log associate-*l*
flip3-+ add-cbrt-cube flip-+ add-log-exp
expm1-log1p-u frac-times log1p-expm1-u unswap-sqr
log-prod flip3-- fma-def sqrt-pow1 pow1/2 pow-prod-down flip--
log-div associate-*r/ associate-*l/ hypot-def distribute-lft-out difference-of-squares
+-commutative rem-sqrt-square sqrt-unprod rem-log-exp prod-exp sum-log log-pow *-commutative cbrt-unprod distribute-lft-out--
Counts
4 → 96
Calls
4 calls:
4.0ms
(sqrt (+ x (sqrt 1.0)))
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))))

series856.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(sqrt (+ x (sqrt 1.0)))
320.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
275.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
200.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify52.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05241160
118471044
250011027

prune252.0ms

Filtered
108 candidates to 86 candidates (79.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1080108
Fresh022
Picked011
Done000
Total1083111

Merged error: 0b

Counts
111 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log x) (/ (/ 0.25 x) x))
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))

rewrite170.0ms

Algorithm
rewrite-expression-head
Rules
870×times-frac
804×add-sqr-sqrt
668×*-un-lft-identity
570×add-cube-cbrt
544×prod-diff
379×associate-+r+
183×associate--l+
124×pow1
120×log-pow
84×unpow-prod-down
78×difference-of-squares
62×distribute-lft-out--
46×div-inv
28×sqr-pow
16×associate-/l*
14×add-exp-log
11×add-cbrt-cube
10×associate-/r* add-log-exp
log-prod
distribute-lft-out
div-exp
cbrt-undiv expm1-log1p-u fma-def fma-neg diff-log log1p-expm1-u
sub-neg associate-+l+ sum-log
frac-2neg clear-num
+-commutative pow-to-exp associate-+r- flip3-- flip3-+ pow-exp flip-- flip-+ associate-/l/
Counts
4 → 727
Calls
4 calls:
24.0ms
(- (log x) (/ (/ 0.25 x) x))
6.0ms
(/ (/ 0.25 x) x)
70.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
4.0ms
(/ 0.09375 (pow x 4))

series456.0ms

Counts
4 → 12
Calls
4 calls:
299.0ms
(- (log x) (/ (/ 0.25 x) x))
23.0ms
(/ (/ 0.25 x) x)
99.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
34.0ms
(/ 0.09375 (pow x 4))

simplify191.0ms

Algorithm
egg-herbie
Counts
739 → 739
Iterations

Useful iterations: 1 (54.0ms)

IterNodesCost
0264714534
1500211801

prune1.7s

Filtered
739 candidates to 412 candidates (55.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New7390739
Fresh011
Picked011
Done011
Total7393742

Merged error: 0b

Counts
742 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(log (+ x (sqrt (- (* x x) 1.0))))
0.2b
(log1p (expm1 (log (+ x (sqrt (- (* x x) 1.0))))))
5.6b
(expm1 (log (+ x (sqrt (- (* x x) 1.0)))))
30.6b
(sqrt (- (* x x) 1.0))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-cube-cbrt
add-exp-log log1p-expm1-u
expm1-log1p-u log-prod sqrt-prod add-cbrt-cube add-log-exp
log-div sqrt-div
rem-sqrt-square log1p-udef expm1-log1p flip3-- sqrt-pow1 flip3-+ pow1/2 log1p-expm1 rem-log-exp log-pow flip-- flip-+ distribute-lft-out expm1-udef difference-of-squares
Counts
4 → 57
Calls
4 calls:
6.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
1.0ms
(log1p (expm1 (log (+ x (sqrt (- (* x x) 1.0))))))
1.0ms
(expm1 (log (+ x (sqrt (- (* x x) 1.0)))))
9.0ms
(sqrt (- (* x x) 1.0))

series827.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
354.0ms
(log1p (expm1 (log (+ x (sqrt (- (* x x) 1.0))))))
235.0ms
(expm1 (log (+ x (sqrt (- (* x x) 1.0)))))
49.0ms
(sqrt (- (* x x) 1.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0387591
11317540
25001507

prune172.0ms

Filtered
69 candidates to 59 candidates (85.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done022
Total69372

Merged error: 0b

Counts
72 → 3

regimes57.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample2.6s

Algorithm
intervals
Results
602.0ms3062×body2560nan
564.0ms16376×body80nan
412.0ms2500×body1280nan
324.0ms8000×body80valid
162.0ms1265×body640nan
59.0ms612×body320nan
21.0ms313×body160nan

Profiling

Loading profile data...