Details

Time bar (total: 21.0s)

sample18.0ms

Algorithm
intervals
Results
7.0ms314×body80valid

simplify14.4s

Counts
1 → 1
Iterations

Useful iterations: 4 (23.0ms)

IterNodesCost
089
1149
2349
3859
41988
53308
65068
76008
88178
99188
1010738
1114008
1222838
1326198
1428438
1528518
done28518

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.1b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
3.8b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
add-cube-cbrt associate-*l*
pow1 add-exp-log associate-*r* prod-diff add-cbrt-cube
distribute-rgt-in distribute-lft-in
expm1-log1p-u sub-neg flip3-- associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
2 → 56
Calls
2 calls:
10.0ms
(* (- 1.0 y) z)
9.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series91.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(* (- 1.0 y) z)
58.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify1.6s

Counts
62 → 62
Iterations

Useful iterations: 3 (552.0ms)

IterNodesCost
0114726
1245706
2731616
32822565
done5000565

prune141.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
88×distribute-rgt-in distribute-lft-in
72×prod-diff
51×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
44×associate-+r+
sub-neg
pow1 add-exp-log add-cbrt-cube
associate-*r/ add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ associate-*r* sum-log *-commutative flip-- flip-+
Counts
2 → 124
Calls
2 calls:
12.0ms
(+ (* 1.0 x) (* z (* x (- y 1.0))))
21.0ms
(* z (* x (- y 1.0)))

series123.0ms

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

simplify1.1s

Counts
130 → 130
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02342526
15051993
212941583
done50001437

prune238.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
29×add-sqr-sqrt *-un-lft-identity
27×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
sub-neg add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-*r/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 82
Calls
2 calls:
6.0ms
(+ (* 1.0 x) (* (* z x) (- y 1.0)))
14.0ms
(* (* z x) (- y 1.0))

series125.0ms

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

simplify895.0ms

Counts
88 → 88
Iterations

Useful iterations: done (892.0ms)

IterNodesCost
01601547
14201254
214421010
done5000986

prune182.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 y) z)
0.1b
(* (* x (fma z (- 1.0 y) 1.0)) (fma (- y 1.0) z 1.0))
3.8b
(* x (fma z (- 1.0 y) 1.0))
10.8b
(/ (* (* x (fma z (- 1.0 y) 1.0)) (fma (- y 1.0) z 1.0)) (+ 1.0 (* (- 1.0 y) z)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log add-cbrt-cube
17×add-sqr-sqrt
13×pow1 *-un-lft-identity
11×add-cube-cbrt
associate-*r* associate-*l*
prod-exp cbrt-unprod
pow-prod-down
expm1-log1p-u fma-udef log1p-expm1-u add-log-exp
cbrt-undiv times-frac div-exp associate-/r* *-commutative
distribute-rgt-in distribute-lft-in associate-*l/ associate-/r/ unswap-sqr
flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
4 → 95
Calls
4 calls:
13.0ms
(* (- 1.0 y) z)
7.0ms
(* (* x (fma z (- 1.0 y) 1.0)) (fma (- y 1.0) z 1.0))
3.0ms
(* x (fma z (- 1.0 y) 1.0))
10.0ms
(/ (* (* x (fma z (- 1.0 y) 1.0)) (fma (- y 1.0) z 1.0)) (+ 1.0 (* (- 1.0 y) z)))

series319.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (- 1.0 y) z)
99.0ms
(* (* x (fma z (- 1.0 y) 1.0)) (fma (- y 1.0) z 1.0))
48.0ms
(* x (fma z (- 1.0 y) 1.0))
131.0ms
(/ (* (* x (fma z (- 1.0 y) 1.0)) (fma (- y 1.0) z 1.0)) (+ 1.0 (* (- 1.0 y) z)))

simplify747.0ms

Counts
107 → 107
Iterations

Useful iterations: 2 (223.0ms)

IterNodesCost
01821933
14641852
220301506
done50011506

prune307.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes175.0ms

Accuracy

88.5% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.7b

bsearch1.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01947
12837
done2837

end0.0ms

sample425.0ms

Algorithm
intervals
Results
233.0ms9988×body80valid