Details

Time bar (total: 16.0s)

sample45.0ms

Algorithm
intervals
Results
11.0ms278×body80nan
11.0ms256×body80valid

simplify72.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
01114
12212
24411
36411
46911
57011
done7011

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.1b

localize24.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.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:
30.0ms
(* x (+ y z))
1.0ms
(fma y z (* x (+ y z)))
3.0ms
(sqrt (fma y z (* x (+ y z))))

series250.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(* x (+ y z))
33.0ms
(fma y z (* x (+ y z)))
166.0ms
(sqrt (fma y z (* x (+ y z))))

simplify603.0ms

Counts
59 → 59
Iterations

Useful iterations: done (602.0ms)

IterNodesCost
091581
1235532
2851485
done5001479

prune355.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.1b

localize48.0ms

Local error

Found 4 expressions with local error:

0.3b
(fma y z (* x (+ y z)))
0.6b
(* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (sqrt (fma y z (* x (+ y z))))))
18.1b
(sqrt (fma y z (* x (+ y z))))
18.1b
(sqrt (fma y z (* x (+ y z))))

rewrite58.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:
1.0ms
(fma y z (* x (+ y z)))
42.0ms
(* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (sqrt (fma y z (* x (+ y z))))))
3.0ms
(sqrt (fma y z (* x (+ y z))))
4.0ms
(sqrt (fma y z (* x (+ y z))))

series590.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(fma y z (* x (+ y z)))
161.0ms
(* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (sqrt (fma y z (* x (+ y z))))))
207.0ms
(sqrt (fma y z (* x (+ y z))))
193.0ms
(sqrt (fma y z (* x (+ y z))))

simplify1.5s

Counts
129 → 129
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01102711
12331656
210781506
done50011476

prune730.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 19.0b

localize47.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (fabs (cbrt (fma y z (* x (+ y z))))))) (sqrt (sqrt (cbrt (fma y z (* x (+ y z)))))))
18.1b
(sqrt (fma y z (* x (+ y z))))
18.7b
(cbrt (fma y z (* x (+ y z))))
18.7b
(cbrt (fma y z (* x (+ y z))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-prod
13×pow1
12×add-sqr-sqrt associate-*r*
11×add-cube-cbrt *-un-lft-identity
add-exp-log cbrt-prod add-cbrt-cube
pow-prod-down
expm1-log1p-u sqrt-pow1 pow1/2 log1p-expm1-u add-log-exp
prod-exp cbrt-unprod
pow1/3 sqrt-unprod
rem-sqrt-square associate-*l* *-commutative
Counts
4 → 73
Calls
4 calls:
69.0ms
(* (* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (fabs (cbrt (fma y z (* x (+ y z))))))) (sqrt (sqrt (cbrt (fma y z (* x (+ y z)))))))
2.0ms
(sqrt (fma y z (* x (+ y z))))
1.0ms
(cbrt (fma y z (* x (+ y z))))
1.0ms
(cbrt (fma y z (* x (+ y z))))

series1.6s

Counts
4 → 12
Calls
4 calls:
426.0ms
(* (* (sqrt (sqrt (fma y z (* x (+ y z))))) (sqrt (fabs (cbrt (fma y z (* x (+ y z))))))) (sqrt (sqrt (cbrt (fma y z (* x (+ y z)))))))
145.0ms
(sqrt (fma y z (* x (+ y z))))
349.0ms
(cbrt (fma y z (* x (+ y z))))
703.0ms
(cbrt (fma y z (* x (+ y z))))

simplify1.2s

Counts
85 → 85
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01832189
14522009
217691801
done50001756

prune923.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 19.0b

localize74.0ms

Local error

Found 4 expressions with local error:

18.1b
(pow (* (sqrt (fma y z (* x (+ y z)))) (* (fabs (cbrt (fma y z (* x (+ y z))))) (sqrt (cbrt (fma y z (* x (+ y z))))))) 1/2)
18.1b
(sqrt (fma y z (* x (+ y z))))
18.7b
(cbrt (fma y z (* x (+ y z))))
18.7b
(cbrt (fma y z (* x (+ y z))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-exp-log
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-prod
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow pow-pow pow-prod-down pow-exp prod-exp sqrt-prod
pow1/3
pow-to-exp unpow-prod-down rem-sqrt-square sqrt-pow1 pow1/2 unpow1/2 sqr-pow
Counts
4 → 63
Calls
4 calls:
33.0ms
(pow (* (sqrt (fma y z (* x (+ y z)))) (* (fabs (cbrt (fma y z (* x (+ y z))))) (sqrt (cbrt (fma y z (* x (+ y z))))))) 1/2)
14.0ms
(sqrt (fma y z (* x (+ y z))))
2.0ms
(cbrt (fma y z (* x (+ y z))))
2.0ms
(cbrt (fma y z (* x (+ y z))))

series1.8s

Counts
4 → 12
Calls
4 calls:
811.0ms
(pow (* (sqrt (fma y z (* x (+ y z)))) (* (fabs (cbrt (fma y z (* x (+ y z))))) (sqrt (cbrt (fma y z (* x (+ y z))))))) 1/2)
197.0ms
(sqrt (fma y z (* x (+ y z))))
429.0ms
(cbrt (fma y z (* x (+ y z))))
337.0ms
(cbrt (fma y z (* x (+ y z))))

simplify2.1s

Counts
75 → 75
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01321507
13341395
29461285
333751268
done50001245

prune724.0ms

Pruning

10 alts after pruning (6 fresh and 4 done)

Merged error: 19.0b

regimes393.0ms

Accuracy

0% (0.1b remaining)

Error of 19.7b against oracle of 19.6b and baseline of 19.7b

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0911
11211
done1211

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.0s7862×body80nan
757.0ms8000×body80valid