Details

Time bar (total: 25.5s)

sample438.0ms

Algorithm
intervals
Results
102.0ms294×body80nan
77.0ms54×body10240exit
38.0ms255×body80valid
1.0msbody320valid

simplify9.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2229
3459
41179
54389
645409
done50019

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.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:
18.0ms
(pow (sqrt (atan2 b b)) (- b a))
21.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(sqrt (atan2 b b))

series144.0ms

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

simplify3.1s

Counts
57 → 57
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
075614
1188571
2654536
34107527
done5002527

prune180.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (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))

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod
78×unpow-prod-down
76×add-sqr-sqrt
25×unswap-sqr
23×swap-sqr
22×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r* associate-*l*
14×sqr-pow
12×unpow-prod-up
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
pow-sub add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 136
Calls
4 calls:
80.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
42.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series233.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
132.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
12.0ms
(sqrt (atan2 b b))
19.0ms
(sqrt (atan2 b b))

simplify1.6s

Counts
148 → 148
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01413640
13152631
214312461
done50002419

prune461.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
81×sqrt-prod
72×cbrt-prod
70×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
18×swap-sqr
16×unswap-sqr
14×pow1
12×associate-*r* associate-*l*
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 → 115
Calls
4 calls:
26.0ms
(* (cbrt (sqrt (sqrt (atan2 b b)))) (cbrt (sqrt (sqrt (atan2 b b)))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series238.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(* (cbrt (sqrt (sqrt (atan2 b b)))) (cbrt (sqrt (sqrt (atan2 b b)))))
20.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))
21.0ms
(sqrt (atan2 b b))

simplify1.2s

Counts
127 → 127
Iterations

Useful iterations: done (1.2s)

IterNodesCost
0821876
11411682
26731626
done50001568

prune506.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 46
Calls
4 calls:
138.0ms
(sin (* (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a))) (pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a))))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series303.0ms

Counts
4 → 12
Calls
4 calls:
249.0ms
(sin (* (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a))) (pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a))))
19.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))
14.0ms
(sqrt (atan2 b b))

simplify1.1s

Counts
58 → 58
Iterations

Useful iterations: 3 (384.0ms)

IterNodesCost
060716
1129674
2362532
31585518
done5001518

prune309.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.2b

regimes66.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
done920

end0.0ms

sample5.5s

Algorithm
intervals
Results
1.9s1832×body10240exit
1.6s7992×body80valid
1.2s10000×body80nan
1.0msbody2560valid
1.0msbody320valid
1.0msbody1280valid
1.0msbody160valid