Details

Time bar (total: 26.8s)

sample42.0ms

Algorithm
intervals
Results
16.0ms325×body80valid

simplify13.6s

Counts
1 → 1
Iterations

Useful iterations: 4 (59.0ms)

IterNodesCost
089
1149
2349
3929
41908
54098
65868
76958
89018
910518
1012568
1115008
1220718
1323498
1425648
1525728
done25728

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.8b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×*-un-lft-identity
11×add-cube-cbrt
prod-diff
associate-*l*
pow1 add-exp-log add-cbrt-cube
associate-*r*
distribute-rgt-in distribute-lft-in add-log-exp
expm1-log1p-u sub-neg flip3-- fma-neg flip-- log1p-expm1-u
associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
diff-log distribute-lft-out-- difference-of-squares
Counts
3 → 76
Calls
3 calls:
7.0ms
(- 1.0 (* (- 1.0 y) z))
31.0ms
(* (- 1.0 y) z)
27.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series141.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- 1.0 (* (- 1.0 y) z))
40.0ms
(* (- 1.0 y) z)
65.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify3.4s

Counts
85 → 85
Iterations

Useful iterations: done (3.4s)

IterNodesCost
01251011
1272980
2792857
33032774
done5000711

prune234.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite84.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:
24.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
53.0ms
(* (* x z) (- y 1.0))

series135.0ms

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

simplify2.3s

Counts
88 → 88
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01601547
14261254
213231004
done5001919

prune186.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- y 1.0))
0.2b
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
1.1b
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
2.7b
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

rewrite413.0ms

Algorithm
rewrite-expression-head
Rules
80×cbrt-div
44×associate-*r/
41×pow1
40×flip3-- flip--
38×cbrt-prod
36×add-exp-log frac-times
35×add-sqr-sqrt
33×*-un-lft-identity
23×pow-prod-down
22×prod-exp cbrt-unprod
21×add-cbrt-cube
18×associate-*l/
17×associate-*r*
15×add-cube-cbrt
10×swap-sqr associate-*l*
distribute-lft-out--
pow1/3
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
*-commutative
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 167
Calls
4 calls:
5.0ms
(cbrt (- y 1.0))
64.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
265.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
71.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

series606.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(cbrt (- y 1.0))
170.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
92.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
206.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

simplify1.9s

Counts
179 → 179
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02953638
17863400
227862933
done50002738

prune654.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (- y 1.0))
0.0b
(+ (* x 1.0) (pow (* z (* x (- y 1.0))) 1))
3.9b
(* z (* x (- y 1.0)))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
55×distribute-rgt-in distribute-lft-in
54×prod-diff
46×add-sqr-sqrt
44×*-un-lft-identity
42×add-cube-cbrt
10×pow1 add-exp-log add-cbrt-cube
sub-neg associate-*r/ associate-*r* associate-*l*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
flip3-- *-commutative flip--
+-commutative fma-def flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 126
Calls
3 calls:
41.0ms
(* x (- y 1.0))
26.0ms
(+ (* x 1.0) (pow (* z (* x (- y 1.0))) 1))
59.0ms
(* z (* x (- y 1.0)))

series186.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(* x (- y 1.0))
72.0ms
(+ (* x 1.0) (pow (* z (* x (- y 1.0))) 1))
76.0ms
(* z (* x (- y 1.0)))

simplify1.1s

Counts
135 → 135
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02182507
14761926
212561566
done50001476

prune226.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes353.0ms

Accuracy

88.8% (0.2b remaining)

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

bsearch2.0ms

simplify6.0ms

Iterations

Useful iterations: done (6.0ms)

IterNodesCost
02449
13549
done3547

end0.0ms

sample943.0ms

Algorithm
intervals
Results
416.0ms10167×body80valid