Details

Time bar (total: 4.6s)

sample350.0ms

Algorithm
intervals
Results
33.0ms67×body10240exit
25.0ms340×body80nan
22.0ms256×body80valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite18.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)))
3.0ms
(sqrt (atan2 b b))

series80.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 6 (62.0ms)

IterNodesCost
060132
1102120
2172114
3291114
4566114
52095114
65002113

prune76.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

rewrite28.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)))
20.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))

series142.0ms

Counts
4 → 12
Calls
4 calls:
60.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))

simplify114.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0132640
1435562
22370518
35002495

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

rewrite24.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:
14.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)))

series424.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
10.0ms
(sqrt (atan2 b b))
165.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
72.0ms
(log (sqrt (atan2 b b)))

simplify109.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0240758
11120651
24795634
35001634

prune215.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes91.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
833.0ms1807×body10240exit
693.0ms7994×body80valid
675.0ms9777×body80nan
3.0msbody5120valid
2.0msbody1280valid
0.0msbody640valid
0.0msbody160valid