Details

Time bar (total: 4.3s)

sample96.0ms

Algorithm
intervals
Results
30.0ms67×body10240exit
27.0ms340×body80nan
22.0ms256×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

series78.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 6 (61.0ms)

IterNodesCost
060132
1102120
2172114
3291114
4566114
52095114
65002113

prune62.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 82
Calls
4 calls:
4.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
23.0ms
(* (sqrt (sin (pow (sqrt (atan2 b b)) (- b a)))) (sqrt (sin (pow (sqrt (atan2 b b)) (- b a)))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series148.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
61.0ms
(* (sqrt (sin (pow (sqrt (atan2 b b)) (- b a)))) (sqrt (sin (pow (sqrt (atan2 b b)) (- b a)))))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify109.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0132640
1435562
22370518
35002495

prune205.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(* (cos 1) (log (sqrt (atan2 b b))))
2.0b
(log (sqrt (atan2 b b)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×log-prod
16×pow1 *-un-lft-identity
14×add-cube-cbrt
12×add-exp-log sqrt-prod
11×associate-*r* add-cbrt-cube
distribute-rgt-in distribute-lft-in
log-pow
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
sqrt-pow1 pow1/2
sub-neg associate-*r/ *-commutative
rem-sqrt-square flip3-- rem-log-exp flip-- distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
18.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
1.0ms
(sqrt (atan2 b b))
6.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
1.0ms
(log (sqrt (atan2 b b)))

series445.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
16.0ms
(sqrt (atan2 b b))
172.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
70.0ms
(log (sqrt (atan2 b b)))

simplify106.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0240758
11120651
24795634
35001634

prune196.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes84.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
075

end0.0ms

sample2.6s

Algorithm
intervals
Results
825.0ms1807×body10240exit
684.0ms7994×body80valid
672.0ms9777×body80nan
3.0msbody5120valid
2.0msbody1280valid
0.0msbody640valid
0.0msbody160valid