Details

Time bar (total: 5.1s)

sample80.0ms

Algorithm
intervals
Results
19.0ms506×body80nan
16.0ms90×body2560nan
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))

rewrite17.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))))
4.0ms
(sqrt (- (* x x) 1.0))

series19.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0316408
11042379
24663366
35002365

prune229.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

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

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

series33.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0426932
11622865
25001852

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

rewrite81.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:
28.0ms
(- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))
6.0ms
(/ (/ 0.25 x) x)
35.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
5.0ms
(/ 0.09375 (pow x 4))

series23.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))
3.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))

simplify70.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
07571422
129291357
250021318

prune1.4s

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

regimes27.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
565.0ms3090×body2560nan
496.0ms16043×body80nan
358.0ms2457×body1280nan
295.0ms8000×body80valid
149.0ms1295×body640nan
55.0ms626×body320nan
19.0ms313×body160nan

Profiling

Loading profile data...