Details

Time bar (total: 4.9s)

sample113.0ms

Algorithm
intervals
Results
43.0ms55×body10240exit
28.0ms334×body80nan
26.0ms256×body80valid

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

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

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

series74.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 6 (60.0ms)

IterNodesCost
060132
1102120
2172114
3291114
4566114
52095114
65002113

prune60.0ms

Pruning

2 alts after pruning (1 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:
61.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
57.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))
14.0ms
(sqrt (atan2 b b))

simplify108.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0132640
1435562
22370518
35002495

prune201.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))) 4)
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite9.0ms

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

series181.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(pow (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))) 4)
10.0ms
(sqrt (atan2 b b))
14.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify75.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0180485
1520460
21944449
35002446

prune248.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes86.0ms

Accuracy

0% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
075

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.5s1813×body10240exit
845.0ms9828×body80nan
713.0ms7983×body80valid
8.0msbody1280valid
6.0msbody5120valid
3.0msbody2560valid
2.0msbody160valid
2.0msbody640valid
1.0msbody320valid