Details

Time bar (total: 3.9s)

sample420.0ms

Algorithm
intervals
Results
57.0ms67×body10240exit
18.0ms361×body80nan
14.0ms256×body80valid

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

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt unpow-prod-down sqrt-prod
pow1 pow-unpow
add-exp-log pow-pow
unpow-prod-up sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
2 → 41
Calls
2 calls:
7.0ms
(pow (sqrt (atan2 b b)) (- b a))
4.0ms
(sqrt (atan2 b b))

series40.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(pow (sqrt (atan2 b b)) (- b a))
17.0ms
(sqrt (atan2 b b))

simplify41.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0120239
1357224
21225224
35001222

prune102.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 1 expressions with local error:

0.0b
(pow (atan2 b b) (* 1/2 (- b a)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
unpow-prod-up
unpow-prod-down
pow1 add-exp-log distribute-rgt-in add-sqr-sqrt add-cube-cbrt sub-neg *-un-lft-identity distribute-lft-in
pow-to-exp pow-unpow pow-pow pow-exp add-cbrt-cube add-log-exp sqr-pow
Counts
1 → 19
Calls
1 calls:
4.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series19.0ms

Counts
1 → 3
Calls
1 calls:
19.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

simplify45.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0109147
1352138
21519134
35002131

prune43.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
93×sqrt-prod
87×unpow-prod-down
82×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
25×unswap-sqr
23×swap-sqr
17×add-exp-log
15×associate-*r* associate-*l* sqr-pow
14×unpow-prod-up
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
pow1/2 add-log-exp
rem-sqrt-square
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqrt-pow2 cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 162
Calls
4 calls:
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
43.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series84.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
36.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify51.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
02921754
113191646
250021602

prune344.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
12×sqrt-prod
unpow-prod-down
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
pow-pow sqrt-pow1
unpow-prod-up
add-exp-log pow1/2
distribute-rgt-in sub-neg distribute-lft-in add-cbrt-cube add-log-exp
pow-to-exp rem-sqrt-square pow-unpow pow-exp sqrt-pow2 sqr-pow
Counts
2 → 43
Calls
2 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
1.0ms
(sqrt (atan2 b b))

series39.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
10.0ms
(sqrt (atan2 b b))

simplify116.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0182348
1637321
23255301
35002281

prune114.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

regimes32.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01811
11811

end0.0ms

sample2.2s

Algorithm
intervals
Results
793.0ms1922×body10240exit
463.0ms9906×body80nan
450.0ms7983×body80valid
6.0msbody5120valid
4.0msbody2560valid
2.0msbody640valid
2.0msbody1280valid
1.0msbody320valid
0.0msbody160valid