Details

Time bar (total: 11.4s)

sample32.0ms

Algorithm
intervals
Results
9.0ms274×body80nan
8.0ms256×body80valid

simplify39.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01114
12212
24211
35811
46211
56311
done6311

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.3b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
0.8b
(fma y z (* x (+ y z)))
20.2b
(sqrt (fma y z (* x (+ y z))))

rewrite12.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:
10.0ms
(* x (+ y z))
0.0ms
(fma y z (* x (+ y z)))
1.0ms
(sqrt (fma y z (* x (+ y z))))

series155.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(* x (+ y z))
21.0ms
(fma y z (* x (+ y z)))
108.0ms
(sqrt (fma y z (* x (+ y z))))

simplify3.0s

Counts
59 → 59
Iterations

Useful iterations: done (3.0s)

IterNodesCost
091581
1218532
2558483
31566479
44692476
done5000474

prune170.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 21.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma y z (* x (+ y z)))
0.8b
(fma y z (* x (+ y z)))
20.2b
(sqrt (fma y z (* x (+ y z))))
20.2b
(sqrt (fma y z (* x (+ y z))))

rewrite4.0ms

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

series261.0ms

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

simplify1.6s

Counts
62 → 62
Iterations

Useful iterations: done (1.6s)

IterNodesCost
051750
1105674
2242616
3729608
42542602
done5001598

prune244.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 21.3b

localize19.0ms

Local error

Found 4 expressions with local error:

20.2b
(sqrt (fma y z (* x (+ y z))))
20.7b
(cbrt (fma y z (* x (+ y z))))
20.7b
(cbrt (fma y z (* x (+ y z))))
20.7b
(cbrt (fma y z (* x (+ y z))))

rewrite4.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
(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))))
1.0ms
(cbrt (fma y z (* x (+ y z))))

series732.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(sqrt (fma y z (* x (+ y z))))
205.0ms
(cbrt (fma y z (* x (+ y z))))
207.0ms
(cbrt (fma y z (* x (+ y z))))
212.0ms
(cbrt (fma y z (* x (+ y z))))

simplify2.0s

Counts
66 → 66
Iterations

Useful iterations: done (2.0s)

IterNodesCost
071870
1158832
2327762
3806743
41719716
53313705
done5000699

prune304.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 21.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma y z (* x (+ y z)))
0.8b
(fma y z (* x (+ y z)))
20.7b
(cbrt (fma y z (* x (+ y z))))
20.7b
(cbrt (fma y z (* x (+ 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 y z (* x (+ y z)))
0.0ms
(fma y z (* x (+ y z)))
1.0ms
(cbrt (fma y z (* x (+ y z))))
1.0ms
(cbrt (fma y z (* x (+ y z))))

series472.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(fma y z (* x (+ y z)))
22.0ms
(fma y z (* x (+ y z)))
211.0ms
(cbrt (fma y z (* x (+ y z))))
216.0ms
(cbrt (fma y z (* x (+ y z))))

simplify1.1s

Counts
58 → 58
Iterations

Useful iterations: 4 (452.0ms)

IterNodesCost
055714
1111690
2215620
3580610
42222594
done5001594

prune218.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 21.3b

regimes114.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11211
done1211

end0.0ms

sample835.0ms

Algorithm
intervals
Results
260.0ms8000×body80valid
247.0ms8123×body80nan