Details

Time bar (total: 23.3s)

sample113.0ms

Algorithm
intervals
Results
42.0ms61×body10240exit
23.0ms299×body80nan
21.0ms256×body80valid

simplify10.0s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41179
54389
645409
done50019

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.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:
15.0ms
(pow (sqrt (atan2 b b)) (- b a))
20.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
2.0ms
(sqrt (atan2 b b))

series153.0ms

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

simplify2.7s

Counts
57 → 57
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
075614
1188571
2654536
34107527
done5002527

prune265.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite147.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:
39.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
93.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
3.0ms
(sqrt (atan2 b b))
4.0ms
(sqrt (atan2 b b))

series240.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
55.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
13.0ms
(sqrt (atan2 b b))
25.0ms
(sqrt (atan2 b b))

simplify1.7s

Counts
148 → 148
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01413640
13152631
214302461
done50002419

prune571.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (sqrt (atan2 b b))) (- b a))
0.6b
(* (cos 1) (* (log (sqrt (atan2 b b))) (- b a)))
1.0b
(sqrt (atan2 b b))
2.0b
(log (sqrt (atan2 b b)))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1
15×add-sqr-sqrt
12×add-exp-log *-un-lft-identity
11×add-cbrt-cube
10×distribute-rgt-in add-cube-cbrt distribute-lft-in
associate-*l*
sub-neg log-prod associate-*r/ associate-*r* sqrt-prod log-pow
pow-prod-down prod-exp cbrt-unprod add-log-exp
sqrt-pow1 pow1/2
flip3-- *-commutative flip--
rem-sqrt-square rem-log-exp distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 87
Calls
4 calls:
26.0ms
(* (log (sqrt (atan2 b b))) (- b a))
52.0ms
(* (cos 1) (* (log (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
2.0ms
(log (sqrt (atan2 b b)))

series469.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (log (sqrt (atan2 b b))) (- b a))
255.0ms
(* (cos 1) (* (log (sqrt (atan2 b b))) (- b a)))
11.0ms
(sqrt (atan2 b b))
103.0ms
(log (sqrt (atan2 b b)))

simplify891.0ms

Counts
99 → 99
Iterations

Useful iterations: 2 (209.0ms)

IterNodesCost
01111232
12521180
210821027
done50001027

prune415.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes81.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0920
done920

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.1s1773×body10240exit
1.4s7996×body80valid
1.1s9770×body80nan
1.0msbody2560valid
1.0msbody160valid