Details

Time bar (total: 4.2s)

sample69.0ms

Algorithm
intervals
Results
23.0ms51×body10240exit
14.0ms255×body80valid
14.0ms306×body80nan
1.0msbody1280valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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:
7.0ms
(pow (sqrt (atan2 b b)) (- b a))
9.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0ms
(sqrt (atan2 b b))

series83.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(pow (sqrt (atan2 b b)) (- b a))
56.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
9.0ms
(sqrt (atan2 b b))

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune126.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.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:
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
27.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))

series131.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
80.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
12.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify69.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune215.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
0.3b
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
33×unpow-prod-down
24×sqrt-prod
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity cube-prod
pow1
unpow-prod-up add-exp-log add-cbrt-cube add-log-exp
sqr-pow
sub-neg rem-sqrt-square sqrt-pow1 pow1/2
cube-div cube-mult cbrt-div pow1/3 unpow3 rem-cbrt-cube pow-sub
Counts
4 → 79
Calls
4 calls:
37.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
10.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series129.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
25.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))
9.0ms
(sqrt (atan2 b b))
9.0ms
(sqrt (atan2 b b))

simplify107.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0307782
11014729
23748718
35001718

prune230.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
29×sqrt-prod
21×add-sqr-sqrt
19×*-un-lft-identity
18×unpow-prod-down
15×add-cube-cbrt
13×pow-unpow
12×pow1
10×pow-pow sqrt-pow1
add-exp-log pow1/2
add-cbrt-cube add-log-exp
unpow-prod-up pow-to-exp rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- difference-of-squares sqr-pow
sub-neg pow-sub
Counts
4 → 92
Calls
4 calls:
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (sqrt (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series252.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
207.0ms
(pow (sqrt (sqrt (atan2 b b))) (sqrt (- b a)))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify37.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0339771
11115720
25001678

prune302.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

regimes41.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
01314
11314

end0.0ms

sample2.2s

Algorithm
intervals
Results
775.0ms1896×body10240exit
457.0ms9745×body80nan
448.0ms7993×body80valid
2.0msbody5120valid
1.0msbody1280valid
1.0msbody2560valid
0.0msbody320valid
0.0msbody160valid