Details

Time bar (total: 4.5s)

sample325.0ms

Algorithm
intervals
Results
29.0ms57×body10240exit
16.0ms304×body80nan
14.0ms255×body80valid
0.0msbody640valid

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.3b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(pow (sqrt (atan2 b b)) (- b a))
0.3b
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

rewrite13.0ms

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

series112.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
62.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
30.0ms
(sqrt (atan2 b b))

simplify49.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune132.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.3b
(sin (* (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))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
15×sqrt-prod
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
pow1 unpow-prod-down
sqrt-pow1
add-exp-log pow-unpow pow-pow
pow1/2 add-cbrt-cube add-log-exp
unpow-prod-up rem-sqrt-square
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 66
Calls
4 calls:
5.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
9.0ms
(sin (* (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))

series138.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
88.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
10.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify71.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune223.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(log (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
0.3b
(sin (* (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))

rewrite23.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
log-prod
rem-sqrt-square sqrt-pow1 pow1/2
rem-log-exp log-pow
Counts
4 → 45
Calls
4 calls:
12.0ms
(log (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
8.0ms
(sin (* (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))

series230.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(log (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
91.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0121524
1298456
21208448
35002445

prune192.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
40×cbrt-prod
29×sqrt-prod
19×add-cube-cbrt *-un-lft-identity
14×pow1
11×swap-sqr
associate-*r* associate-*l* unswap-sqr
add-exp-log pow1/3
add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
10.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

series137.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
104.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

simplify118.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 4 (111.0ms)

IterNodesCost
099708
1349669
21184617
33417580
45001564

prune268.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

regimes88.0ms

Accuracy

0% (0.1b 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
01114

end0.0ms

sample2.2s

Algorithm
intervals
Results
839.0ms1845×body10240exit
465.0ms10015×body80nan
464.0ms7986×body80valid
3.0msbody5120valid
2.0msbody640valid
1.0msbody1280valid
1.0msbody2560valid
1.0msbody160valid
0.0msbody320valid