Details

Time bar (total: 14.3s)

sample43.0ms

Algorithm
intervals
Results
22.0ms482×body80valid

simplify69.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
0715
11414
22911
3508
4688
5748
done748

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 1 expressions with local error:

0.1b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
Counts
1 → 19
Calls
1 calls:
187.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series51.0ms

Counts
1 → 3
Calls
1 calls:
51.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify2.0s

Counts
22 → 22
Iterations

Useful iterations: done (2.0s)

IterNodesCost
043392
1125319
2454258
32203202
done5001201

prune59.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 3 (* y y) (* x x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma 3 (* y y) (* x x))

series46.0ms

Counts
1 → 3
Calls
1 calls:
46.0ms
(fma 3 (* y y) (* x x))

simplify3.0s

Counts
13 → 13
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
021140
132137
271121
3204121
4670121
53210121
done5000121

prune41.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
7.8b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
7.8b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+ hypot-def
fma-udef
Counts
3 → 46
Calls
3 calls:
0.0ms
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
44.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
35.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

series281.0ms

Counts
3 → 9
Calls
3 calls:
159.0ms
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
64.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
58.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify1.7s

Counts
55 → 55
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0611075
1133772
2385552
31250452
done5000438

prune229.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma y (* y 3) (* x x))
0.2b
(* (sqrt (fma y (* y 3) (* x x))) (sqrt (fma y (* y 3) (* x x))))
7.8b
(sqrt (fma y (* y 3) (* x x)))
7.8b
(sqrt (fma y (* y 3) (* x x)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 91
Calls
4 calls:
0.0ms
(fma y (* y 3) (* x x))
27.0ms
(* (sqrt (fma y (* y 3) (* x x))) (sqrt (fma y (* y 3) (* x x))))
3.0ms
(sqrt (fma y (* y 3) (* x x)))
3.0ms
(sqrt (fma y (* y 3) (* x x)))

series320.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(fma y (* y 3) (* x x))
56.0ms
(* (sqrt (fma y (* y 3) (* x x))) (sqrt (fma y (* y 3) (* x x))))
116.0ms
(sqrt (fma y (* y 3) (* x x)))
76.0ms
(sqrt (fma y (* y 3) (* x x)))

simplify4.0s

Counts
103 → 103
Iterations

Useful iterations: 4 (2.1s)

IterNodesCost
0731734
11191171
22791057
39081012
43698980
done5000980

prune268.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes181.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
11015
done1015

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.2s14191×body80valid