Details

Time bar (total: 3.3s)

sample65.0ms

Algorithm
intervals
Results
20.0ms53×body10240exit
16.0ms360×body80nan
14.0ms256×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
2 → 20
Calls
2 calls:
4.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0ms
(sqrt (atan2 b b))

series69.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
11.0ms
(sqrt (atan2 b b))

simplify65.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 6 (62.0ms)

IterNodesCost
060132
1102120
2172114
3291114
4566114
52095114
65002113

prune69.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a)))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
3 → 33
Calls
3 calls:
4.0ms
(sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series80.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a)))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify118.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 6 (114.0ms)

IterNodesCost
065229
1130201
2246195
3587195
41394195
54296195
65001193

prune113.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a))))
0.3b
(log (exp (sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a)))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
exp-prod sqrt-prod
add-log-exp
add-exp-log log-pow add-cbrt-cube
log-prod
rem-sqrt-square sqrt-pow1 pow1/2
rem-log-exp rem-exp-log
Counts
4 → 52
Calls
4 calls:
6.0ms
(exp (sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a))))
4.0ms
(log (exp (sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a)))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series167.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(exp (sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a))))
57.0ms
(log (exp (sin (pow (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))) (- b a)))))
10.0ms
(sqrt (atan2 b b))
14.0ms
(sqrt (atan2 b b))

simplify111.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (43.0ms)

IterNodesCost
0118522
1245450
2531444
31447439
43668433
55001433

prune229.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes31.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
0910

end0.0ms

sample2.1s

Algorithm
intervals
Results
787.0ms1826×body10240exit
450.0ms7990×body80valid
442.0ms9797×body80nan
6.0msbody5120valid
2.0msbody2560valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody160valid