Details

Time bar (total: 10.0s)

sample56.0ms

Algorithm
intervals
Results
15.0ms229×body80nan
14.0ms256×body80valid

simplify46.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
01114
12212
24411
36311
46711
56811
done6811

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 20.6b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
0.3b
(fma y z (* x (+ y z)))
19.5b
(sqrt (fma y z (* x (+ y z))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u associate-*l* sqrt-prod log1p-expm1-u add-log-exp
associate-*r/
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 flip3-+ pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef distribute-lft-out unswap-sqr
Counts
3 → 50
Calls
3 calls:
19.0ms
(* x (+ y z))
0.0ms
(fma y z (* x (+ y z)))
2.0ms
(sqrt (fma y z (* x (+ y z))))

series192.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(* x (+ y z))
30.0ms
(fma y z (* x (+ y z)))
124.0ms
(sqrt (fma y z (* x (+ y z))))

simplify1.3s

Counts
59 → 59
Iterations

Useful iterations: done (1.3s)

IterNodesCost
091581
1220532
2621483
32012479
done5000478

prune165.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 20.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(fma y z (* x (+ y z)))
0.5b
(* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (sqrt (fma y z (* x (+ y z))))))
19.5b
(sqrt (fma y z (* x (+ y z))))
19.5b
(sqrt (fma y z (* x (+ y z))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 117
Calls
4 calls:
0.0ms
(fma y z (* x (+ y z)))
22.0ms
(* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (sqrt (fma y z (* x (+ y z))))))
1.0ms
(sqrt (fma y z (* x (+ y z))))
2.0ms
(sqrt (fma y z (* x (+ y z))))

series363.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(fma y z (* x (+ y z)))
112.0ms
(* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (sqrt (fma y z (* x (+ y z))))))
112.0ms
(sqrt (fma y z (* x (+ y z))))
114.0ms
(sqrt (fma y z (* x (+ y z))))

simplify1.1s

Counts
129 → 129
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01102711
12021644
24861506
315831452
done50001407

prune285.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 20.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
19.5b
(sqrt (fma y z (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z)))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 sqrt-prod
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
2.0ms
(sqrt (fma y z (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z)))))

series702.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(cbrt x)
193.0ms
(cbrt x)
185.0ms
(cbrt x)
131.0ms
(sqrt (fma y z (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z)))))

simplify2.2s

Counts
66 → 66
Iterations

Useful iterations: done (2.2s)

IterNodesCost
065570
1134515
2325417
3924359
43121356
done5000354

prune225.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 20.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma x (+ y z) (* y z))
0.8b
(fma x (+ y z) (* y z))
20.1b
(cbrt (fma x (+ y z) (* y z)))
20.1b
(cbrt (fma x (+ y z) (* y z)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 fma-udef
Counts
4 → 46
Calls
4 calls:
0.0ms
(fma x (+ y z) (* y z))
0.0ms
(fma x (+ y z) (* y z))
1.0ms
(cbrt (fma x (+ y z) (* y z)))
1.0ms
(cbrt (fma x (+ y z) (* y z)))

series555.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(fma x (+ y z) (* y z))
26.0ms
(fma x (+ y z) (* y z))
247.0ms
(cbrt (fma x (+ y z) (* y z)))
251.0ms
(cbrt (fma x (+ y z) (* y z)))

simplify1.4s

Counts
58 → 58
Iterations

Useful iterations: done (1.4s)

IterNodesCost
055718
1112694
2230624
3653614
42669598
done5001594

prune211.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 20.5b

regimes108.0ms

Accuracy

0% (0.1b remaining)

Error of 19.9b against oracle of 19.8b and baseline of 19.9b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11211
done1211

end0.0ms

sample954.0ms

Algorithm
intervals
Results
260.0ms8000×body80valid
242.0ms7931×body80nan