Details

Time bar (total: 4.1s)

sample95.0ms

Algorithm
intervals
Results
20.0ms100×body2560nan
18.0ms500×body80nan
18.0ms83×body1280nan
11.0ms256×body80valid
4.0ms30×body640nan
2.0ms20×body320nan
0.0msbody160nan

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0119
1119

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.9b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(log (+ x (sqrt (- (* x x) 1.0))))
30.5b
(sqrt (- (* x x) 1.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-cube-cbrt log-prod sqrt-prod
add-exp-log
log-div sqrt-div add-cbrt-cube add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 rem-log-exp log-pow flip-- flip-+ distribute-lft-out difference-of-squares
Counts
2 → 31
Calls
2 calls:
7.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
5.0ms
(sqrt (- (* x x) 1.0))

series23.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04955440
14955440

prune72.0ms

Filtered
30 candidates to 37 candidates (-23.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New35237
Fresh000
Picked011
Done000
Total35338

Merged error: 0.0b

Counts
38 → 3

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
15×sqrt-prod
12×sqrt-div
11×*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt associate-*l*
add-exp-log
frac-times flip3-+ add-cbrt-cube flip-+ unswap-sqr
log-prod flip3-- pow-prod-down flip--
log-div sqrt-pow1 pow1/2 associate-*r/ associate-*l/ add-log-exp difference-of-squares
sqrt-unprod rem-log-exp prod-exp log-pow *-commutative cbrt-unprod distribute-lft-out distribute-lft-out--
Counts
2 → 56
Calls
2 calls:
3.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series27.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify33.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
052481020

prune140.0ms

Filtered
44 candidates to 62 candidates (-40.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh011
Picked011
Done011
Total62365

Merged error: 0.0b

Counts
65 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))
0.1b
(/ 0.09375 (pow x 4))
0.2b
(+ (log 2) (- (log x) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))))
0.5b
(/ 0.25 (* x x))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
24×add-sqr-sqrt add-cube-cbrt times-frac
15×distribute-lft-out
14×add-exp-log
13×pow1
12×unpow-prod-down
11×add-cbrt-cube
10×add-log-exp
log-pow
associate-/r* distribute-lft-out--
log-prod associate-/l*
associate-+r+ div-exp sum-log
sqr-pow
cbrt-undiv associate-+l+ associate--l+
+-commutative frac-2neg flip3-+ diff-log clear-num flip-+ div-inv
pow-to-exp associate-+r- sub-neg frac-add pow-exp prod-exp cbrt-unprod
Counts
4 → 111
Calls
4 calls:
15.0ms
(+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))
5.0ms
(/ 0.09375 (pow x 4))
23.0ms
(+ (log 2) (- (log x) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))))
5.0ms
(/ 0.25 (* x x))

series31.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))
4.0ms
(/ 0.09375 (pow x 4))
14.0ms
(+ (log 2) (- (log x) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))))
3.0ms
(/ 0.25 (* x x))

simplify52.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049581430
149581430

prune187.0ms

Filtered
79 candidates to 123 candidates (-55.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1221123
Fresh000
Picked101
Done022
Total1233126

Merged error: 0b

Counts
126 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (log 2) (log (sqrt x)))
0.1b
(/ 0.09375 (pow x 4))
0.2b
(+ (+ (log 2) (log (sqrt x))) (- (log (sqrt x)) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))))
0.5b
(/ 0.25 (* x x))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
101×*-un-lft-identity
59×distribute-lft-out
38×pow1
34×log-pow
27×add-sqr-sqrt add-cube-cbrt
24×times-frac
20×distribute-lft-out--
15×log-prod add-log-exp
14×add-exp-log associate-+r+
12×unpow-prod-down sum-log
11×add-cbrt-cube
associate-/r*
associate--l+ sqrt-prod associate-/l*
div-exp
associate-+l+ flip3-+ diff-log frac-add flip-+ sqr-pow
cbrt-undiv
+-commutative flip3-- frac-2neg clear-num flip-- div-inv
pow-to-exp associate-+r- sub-neg pow-exp prod-exp cbrt-unprod
Counts
4 → 145
Calls
4 calls:
6.0ms
(+ (log 2) (log (sqrt x)))
8.0ms
(/ 0.09375 (pow x 4))
28.0ms
(+ (+ (log 2) (log (sqrt x))) (- (log (sqrt x)) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))))
5.0ms
(/ 0.25 (* x x))

series23.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (log 2) (log (sqrt x)))
4.0ms
(/ 0.09375 (pow x 4))
10.0ms
(+ (+ (log 2) (log (sqrt x))) (- (log (sqrt x)) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4)))))
3.0ms
(/ 0.25 (* x x))

simplify54.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049442207
149442207

prune227.0ms

Filtered
93 candidates to 157 candidates (-68.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1570157
Fresh000
Picked011
Done022
Total1573160

Merged error: 0b

Counts
160 → 3

regimes100.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
01314
11314

end0.0ms

sample2.8s

Algorithm
intervals
Results
629.0ms3003×body2560nan
590.0ms15817×body80nan
423.0ms2477×body1280nan
336.0ms8000×body80valid
166.0ms1227×body640nan
61.0ms596×body320nan
22.0ms304×body160nan

Profiling

Loading profile data...