Details

Time bar (total: 10.0m)

sample70.0ms

Algorithm
intervals
Results
21.0ms47×body10240exit
19.0ms295×body80nan
14.0ms256×body80valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.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
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series96.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
22.0ms
(pow (sqrt (atan2 b b)) (- b a))
11.0ms
(sqrt (atan2 b b))

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune128.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite37.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:
4.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
25.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))

series89.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
42.0ms
(* (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))

simplify52.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
02921754
113191646
250021602

prune359.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
5.3b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
66×sqrt-prod
60×unpow-prod-down
55×log-prod
40×exp-sum
30×unswap-sqr
19×add-cube-cbrt *-un-lft-identity
18×associate-*r*
15×associate-*l*
14×sqr-pow
add-exp-log
pow1 unpow-prod-up add-cbrt-cube
pow-sub
add-log-exp
sub-neg log-div rem-log-exp prod-exp
pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 exp-diff pow-exp
frac-times associate-*r/ associate-*l/ log-pow *-commutative cbrt-unprod
Counts
4 → 131
Calls
4 calls:
36.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
4.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series142.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
82.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify45.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03161767
110691488
250011409

prune364.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.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 add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg distribute-lft-in
pow-to-exp rem-sqrt-square pow-unpow pow-exp sqrt-pow2 sqr-pow
Counts
3 → 50
Calls
3 calls:
9.0ms
(sin (* (pow (sqrt (sqrt 1)) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))
3.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
1.0ms
(sqrt (atan2 b b))

series7.2m

Counts
3 → 9
Calls
3 calls:
7.2m
(sin (* (pow (sqrt (sqrt 1)) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))
29.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
10.0ms
(sqrt (atan2 b b))

simplify122.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0223516
1830461
23955431
35001407

prune151.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes38.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
01214
11214

end0.0ms

sample2.0s

Algorithm
intervals
Results
744.0ms1850×body10240exit
444.0ms7990×body80valid
442.0ms9789×body80nan
5.0msbody2560valid
3.0msbody5120valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody160valid

end2.7m