Details

Time bar (total: 6.6s)

sample76.0ms

Algorithm
intervals
Results
16.0ms90×body2560nan
15.0ms506×body80nan
10.0ms68×body1280nan
9.0ms256×body80valid
4.0ms33×body640nan
1.0ms15×body320nan
1.0ms14×body160nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.1b

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

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

series408.0ms

Counts
3 → 9
Calls
3 calls:
89.0ms
(+ x (sqrt (- (* x x) 1.0)))
247.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
71.0ms
(sqrt (- (* x x) 1.0))

simplify133.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0316409
11036379
24629366
35002365

prune221.0ms

Filtered
52 candidates to 43 candidates (17.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New50252
Fresh000
Picked101
Done000
Total51253

Merged error: 0b

Counts
53 → 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))))

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

series892.0ms

Counts
3 → 9
Calls
3 calls:
211.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
390.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
291.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0424932
11608865
25002852

prune408.0ms

Filtered
76 candidates to 58 candidates (23.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done000
Total76278

Merged error: 0b

Counts
78 → 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))

rewrite79.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)
34.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
4.0ms
(/ 0.09375 (pow x 4))

series296.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))
35.0ms
(/ (/ 0.25 x) x)
123.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
51.0ms
(/ 0.09375 (pow x 4))

simplify67.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07471406
127281293
250021288

prune1.5s

Filtered
187 candidates to 121 candidates (35.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1870187
Fresh000
Picked011
Done011
Total1872189

Merged error: 0b

Counts
189 → 2

regimes29.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.4s

Algorithm
intervals
Results
546.0ms3090×body2560nan
500.0ms16043×body80nan
361.0ms2457×body1280nan
297.0ms8000×body80valid
150.0ms1295×body640nan
56.0ms626×body320nan
21.0ms313×body160nan

Profiling

Loading profile data...