Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
6.0ms318×body80valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023
done1023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.4b

localize8.0ms

Local error

Found 1 expressions with local error:

3.2b
(* x (- 1.0 (* y z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
prod-diff
distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in
pow1 add-exp-log associate-*r* associate-*l* add-cbrt-cube
sub-neg associate-*r/
expm1-log1p-u flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 32
Calls
1 calls:
17.0ms
(* x (- 1.0 (* y z)))

series50.0ms

Counts
1 → 3
Calls
1 calls:
50.0ms
(* x (- 1.0 (* y z)))

simplify69.0ms

Counts
35 → 35
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0151195
1598171
22506166
35003160
done5003160

prune64.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.2b

localize11.0ms

Local error

Found 2 expressions with local error:

3.2b
(* x (- 1.0 (* y z)))
51.3b
(fma (- z) y (* z y))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity prod-diff
distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u sub-neg associate-*r/ log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef unswap-sqr
Counts
2 → 42
Calls
2 calls:
18.0ms
(* x (- 1.0 (* y z)))
0.0ms
(fma (- z) y (* z y))

series77.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(* x (- 1.0 (* y z)))
27.0ms
(fma (- z) y (* z y))

simplify72.0ms

Counts
48 → 48
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0161245
1636214
22643209
35001198
done5001198

prune109.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.2b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
6.3b
(* x (- (* y z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
expm1-log1p-u log1p-expm1-u
+-commutative distribute-lft-neg-in neg-mul-1 fma-def distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 41
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* x (- (* y z))))
12.0ms
(* x (- (* y z)))

series88.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(+ (* x 1.0) (* x (- (* y z))))
31.0ms
(* x (- (* y z)))

simplify45.0ms

Counts
47 → 47
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0191224
11076197
25002193
done5002193

prune132.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
2.6b
(* (cbrt x) (- (* y z)))
3.8b
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log
13×add-sqr-sqrt
11×add-cbrt-cube
10×cbrt-prod
add-cube-cbrt *-un-lft-identity pow-prod-down prod-exp cbrt-unprod
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-neg-out
pow1/3 *-commutative unswap-sqr
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
Counts
4 → 79
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
21.0ms
(* (cbrt x) (- (* y z)))
77.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

series501.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt x)
171.0ms
(cbrt x)
113.0ms
(* (cbrt x) (- (* y z)))
48.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

simplify53.0ms

Counts
91 → 91
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0237512
11261419
25002376
done5002376

prune218.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes129.0ms

Accuracy

97.7% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 3.0b

bsearch2.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03415
13815
24515
34515
done4515

end0.0ms

sample437.0ms

Algorithm
intervals
Results
177.0ms9661×body80valid