Details

Time bar (total: 12.6s)

sample58.0ms

Algorithm
intervals
Results
16.0ms273×body80valid
12.0ms252×body80nan

simplify273.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
01010
12110
2519
3859
41239
51429
61599
71779
81799
done1799

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (sqrt z)))
0.2b
(* y (sqrt z))
0.4b
(* (/ 1.0 2.0) (+ x (* y (sqrt z))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
16×associate-*l*
15×add-cube-cbrt *-un-lft-identity
10×add-exp-log times-frac add-cbrt-cube
associate-*r*
pow1
add-log-exp
sqrt-prod unswap-sqr
expm1-log1p-u fma-def flip3-+ prod-exp cbrt-unprod flip-+ log1p-expm1-u
frac-times associate-*r/ pow-prod-down *-commutative
cbrt-undiv +-commutative distribute-rgt-in distribute-lft-in div-exp associate-*l/ sum-log div-inv
Counts
3 → 80
Calls
3 calls:
10.0ms
(+ x (* y (sqrt z)))
17.0ms
(* y (sqrt z))
38.0ms
(* (/ 1.0 2.0) (+ x (* y (sqrt z))))

series154.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ x (* y (sqrt z)))
50.0ms
(* y (sqrt z))
69.0ms
(* (/ 1.0 2.0) (+ x (* y (sqrt z))))

simplify1.4s

Counts
89 → 89
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0163999
1519938
22259799
done5001796

prune389.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (sqrt z) y x)
0.4b
(* (fma (sqrt z) y x) (/ 1.0 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1
associate-*l*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv associate-*r/ div-exp pow-prod-down *-commutative fma-udef div-inv
Counts
2 → 44
Calls
2 calls:
0.0ms
(fma (sqrt z) y x)
20.0ms
(* (fma (sqrt z) y x) (/ 1.0 2.0))

series186.0ms

Counts
2 → 6
Calls
2 calls:
93.0ms
(fma (sqrt z) y x)
93.0ms
(* (fma (sqrt z) y x) (/ 1.0 2.0))

simplify653.0ms

Counts
50 → 50
Iterations

Useful iterations: done (650.0ms)

IterNodesCost
099604
1243581
2920505
done5000501

prune167.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt z))
0.3b
(* y (sqrt (sqrt z)))
0.3b
(* (* y (sqrt (sqrt z))) (sqrt (sqrt z)))
0.4b
(* (/ 1.0 2.0) (+ x (* (* y (sqrt (sqrt z))) (sqrt (sqrt z)))))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
31×sqrt-prod
21×add-cube-cbrt *-un-lft-identity associate-*r*
17×associate-*l*
16×add-exp-log add-cbrt-cube
15×pow1
10×times-frac
prod-exp cbrt-unprod
pow-prod-down unswap-sqr
expm1-log1p-u sqrt-pow1 log1p-expm1-u add-log-exp
*-commutative
frac-times rem-sqrt-square flip3-+ pow1/2 associate-*r/ flip-+
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-*l/ div-inv
Counts
4 → 115
Calls
4 calls:
4.0ms
(sqrt (sqrt z))
21.0ms
(* y (sqrt (sqrt z)))
61.0ms
(* (* y (sqrt (sqrt z))) (sqrt (sqrt z)))
40.0ms
(* (/ 1.0 2.0) (+ x (* (* y (sqrt (sqrt z))) (sqrt (sqrt z)))))

series364.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(sqrt (sqrt z))
101.0ms
(* y (sqrt (sqrt z)))
46.0ms
(* (* y (sqrt (sqrt z))) (sqrt (sqrt z)))
61.0ms
(* (/ 1.0 2.0) (+ x (* (* y (sqrt (sqrt z))) (sqrt (sqrt z)))))

simplify1.9s

Counts
127 → 127
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02301692
17161217
236121066
done50021053

prune441.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.5b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (* y (sqrt (fabs (cbrt z)))) (sqrt (sqrt (cbrt z)))) (sqrt (sqrt z)))
0.4b
(* (/ 1.0 2.0) (+ x (* (* (* y (sqrt (fabs (cbrt z)))) (sqrt (sqrt (cbrt z)))) (sqrt (sqrt z)))))
0.6b
(cbrt z)
0.6b
(cbrt z)

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×add-exp-log add-cbrt-cube
17×add-cube-cbrt *-un-lft-identity
15×pow1
14×associate-*l*
12×associate-*r*
10×times-frac
sqrt-prod
prod-exp cbrt-unprod
pow-prod-down
cbrt-prod
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times flip3-+ pow1/3 associate-*r/ *-commutative flip-+ unswap-sqr
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-*l/ div-inv
Counts
4 → 95
Calls
4 calls:
143.0ms
(* (* (* y (sqrt (fabs (cbrt z)))) (sqrt (sqrt (cbrt z)))) (sqrt (sqrt z)))
32.0ms
(* (/ 1.0 2.0) (+ x (* (* (* y (sqrt (fabs (cbrt z)))) (sqrt (sqrt (cbrt z)))) (sqrt (sqrt z)))))
1.0ms
(cbrt z)
1.0ms
(cbrt z)

series978.0ms

Counts
4 → 12
Calls
4 calls:
232.0ms
(* (* (* y (sqrt (fabs (cbrt z)))) (sqrt (sqrt (cbrt z)))) (sqrt (sqrt z)))
219.0ms
(* (/ 1.0 2.0) (+ x (* (* (* y (sqrt (fabs (cbrt z)))) (sqrt (sqrt (cbrt z)))) (sqrt (sqrt z)))))
269.0ms
(cbrt z)
258.0ms
(cbrt z)

simplify2.0s

Counts
107 → 107
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02282150
17051989
235711730
done50001721

prune620.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.5b

regimes230.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01111
1159
2169
done169

end0.0ms

sample2.3s

Algorithm
intervals
Results
818.0ms8553×body80nan
571.0ms8527×body80valid