Details

Time bar (total: 5.7s)

sample382.0ms

Algorithm
intervals
Results
48.0ms55×body10240exit
32.0ms334×body80nan
24.0ms256×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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

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

series78.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
17.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

prune68.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)))
21.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)))
62.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))

simplify112.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0132640
1435562
22370518
35002495

prune207.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (pow (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))) 5) (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))))
0.5b
(pow (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))) 5)
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
34×cbrt-prod
27×unpow-prod-down
23×sqrt-prod
17×add-cube-cbrt *-un-lft-identity
15×unswap-sqr
13×associate-*l*
10×add-exp-log
associate-*r*
pow1
add-cbrt-cube sqr-pow
add-log-exp
pow-unpow prod-exp
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow-exp
pow-plus pow1/3 *-commutative pow-prod-up cbrt-unprod
Counts
4 → 101
Calls
4 calls:
35.0ms
(* (pow (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))) 5) (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))))
6.0ms
(pow (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))) 5)
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series271.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (pow (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))) 5) (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))))
193.0ms
(pow (cbrt (sqrt (sin (pow (sqrt (atan2 b b)) (- b a))))) 5)
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify148.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
02631467
19521396
245061323
350011298

prune345.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes91.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.6s

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