Details

Time bar (total: 4.8s)

sample336.0ms

Algorithm
intervals
Results
24.0ms56×body10240exit
20.0ms325×body80nan
16.0ms256×body80valid

simplify57.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.1b

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

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
(sin (pow (sqrt (atan2 b b)) (- b a)))
3.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series107.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0148325
1425298
21341292
35001290

prune125.0ms

Pruning

3 alts after pruning (3 fresh and 0 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))

rewrite40.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))
27.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))

series87.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
37.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))

simplify53.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
02921754
113191646
250021602

prune348.0ms

Pruning

3 alts after pruning (3 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)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)))
0.0b
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
169×unpow-prod-down
133×add-sqr-sqrt
120×sqrt-prod
96×cbrt-prod
65×unswap-sqr
55×cube-prod
39×associate-*r*
35×sqr-pow
29×add-cube-cbrt *-un-lft-identity
15×associate-*l*
11×add-exp-log
10×unpow-prod-up
pow1 add-cbrt-cube
sub-neg pow-exp pow-sub
add-log-exp
cube-div pow-to-exp pow-unpow prod-exp
cube-mult rem-sqrt-square cbrt-div sqrt-pow1 pow1/2 unpow3
frac-times pow-pow associate-*r/ associate-*l/ *-commutative cbrt-unprod rem-cube-cbrt
Counts
4 → 210
Calls
4 calls:
53.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)))
6.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series109.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)))
50.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify88.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
04503134
121282691
250022611

prune411.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (exp (* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b)))))))
0.0b
(exp (* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b))))))
0.2b
(* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b)))))
1.0b
(sqrt (atan2 b b))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
39×sqrt-prod
36×log-prod
19×add-sqr-sqrt
18×distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in exp-sum
13×pow1
add-exp-log add-cbrt-cube
associate-*r*
add-log-exp
sqrt-pow1 log-pow
pow1/2 pow-prod-down prod-exp cbrt-unprod
associate-*r/ associate-*l/
rem-sqrt-square exp-prod flip3-- exp-to-pow associate-*l* *-commutative flip-- rem-exp-log
Counts
4 → 91
Calls
4 calls:
14.0ms
(sin (exp (* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b)))))))
13.0ms
(exp (* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b))))))
22.0ms
(* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b)))))
1.0ms
(sqrt (atan2 b b))

series251.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(sin (exp (* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b)))))))
29.0ms
(exp (* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b))))))
133.0ms
(* (* 2 (- b a)) (log (sqrt (sqrt (atan2 b b)))))
13.0ms
(sqrt (atan2 b b))

simplify53.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04051078
11498947
25001885

prune215.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

regimes45.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
01621
11621

end0.0ms

sample2.3s

Algorithm
intervals
Results
776.0ms1753×body10240exit
636.0ms9664×body80nan
469.0ms7986×body80valid
6.0msbody5120valid
1.0msbody640valid
1.0msbody160valid
1.0msbody1280valid
1.0msbody320valid