Details

Time bar (total: 13.3s)

sample72.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
16.0ms241×body80nan

simplify48.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
01114
12212
24411
36311
46711
56811
done6811

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 21.8b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
1.3b
(fma y z (* x (+ y z)))
20.5b
(sqrt (fma y z (* x (+ y z))))

rewrite24.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:
21.0ms
(* x (+ y z))
0.0ms
(fma y z (* x (+ y z)))
2.0ms
(sqrt (fma y z (* x (+ y z))))

series212.0ms

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

simplify1.5s

Counts
59 → 59
Iterations

Useful iterations: done (1.5s)

IterNodesCost
091581
1220532
2621483
32012479
done5000478

prune249.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 21.8b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* y (+ z x))
1.3b
(fma x z (* y (+ z x)))
20.5b
(sqrt (fma x z (* y (+ z x))))

rewrite31.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:
27.0ms
(* y (+ z x))
0.0ms
(fma x z (* y (+ z x)))
2.0ms
(sqrt (fma x z (* y (+ z x))))

series251.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* y (+ z x))
35.0ms
(fma x z (* y (+ z x)))
179.0ms
(sqrt (fma x z (* y (+ z x))))

simplify2.0s

Counts
59 → 59
Iterations

Useful iterations: done (2.0s)

IterNodesCost
089581
1214532
2635483
32272479
done5000476

prune281.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 21.8b

localize18.0ms

Local error

Found 4 expressions with local error:

1.3b
(fma x z (* y (+ z x)))
1.3b
(fma x z (* y (+ z x)))
20.5b
(sqrt (fma x z (* y (+ z x))))
20.5b
(sqrt (fma x z (* y (+ z x))))

rewrite6.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 x z (* y (+ z x)))
0.0ms
(fma x z (* y (+ z x)))
2.0ms
(sqrt (fma x z (* y (+ z x))))
2.0ms
(sqrt (fma x z (* y (+ z x))))

series505.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(fma x z (* y (+ z x)))
50.0ms
(fma x z (* y (+ z x)))
200.0ms
(sqrt (fma x z (* y (+ z x))))
223.0ms
(sqrt (fma x z (* y (+ z x))))

simplify2.2s

Counts
62 → 62
Iterations

Useful iterations: done (2.2s)

IterNodesCost
050750
1103674
2261616
3990608
done5000602

prune384.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 21.8b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite5.0ms

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

series915.0ms

Counts
4 → 12
Calls
4 calls:
251.0ms
(cbrt x)
379.0ms
(cbrt x)
57.0ms
(fma y z (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))))
227.0ms
(sqrt (fma y z (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z)))))

simplify2.0s

Counts
63 → 63
Iterations

Useful iterations: done (2.0s)

IterNodesCost
076727
1154667
2388505
31238420
done5000417

prune295.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 21.8b

regimes172.0ms

Accuracy

0% (0.1b remaining)

Error of 19.5b against oracle of 19.4b and baseline of 19.5b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11211
done1211

end0.0ms

sample2.1s

Algorithm
intervals
Results
807.0ms8209×body80nan
711.0ms8000×body80valid