Details

Time bar (total: 8.5s)

sample26.0ms

Algorithm
intervals
Results
10.0ms336×body80valid

simplify2.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1149
2349
3789
41779
52889
63889
74869
87369
910819
1014769
1122139
1249709
done50009

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.6b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series23.0ms

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

simplify761.0ms

Counts
52 → 52
Iterations

Useful iterations: done (759.0ms)

IterNodesCost
093536
1216520
2693459
32678458
done5001454

prune80.0ms

Filtered
34 candidates to 52 candidates (-52.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New46652
Fresh000
Picked011
Done000
Total46753

Merged error: 0.0b

Counts
53 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in add-log-exp
add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
associate-*r/
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
9.0ms
(+ (* (* x z) (- y 1.0)) (* x 1.0))
11.0ms
(* (* x z) (- y 1.0))

series21.0ms

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

simplify427.0ms

Counts
47 → 47
Iterations

Useful iterations: done (426.0ms)

IterNodesCost
090593
1258567
21111463
done5000453

prune64.0ms

Filtered
30 candidates to 47 candidates (-56.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New45247
Fresh325
Picked011
Done011
Total48654

Merged error: 0b

Counts
54 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
*-un-lft-identity associate-*l*
add-cube-cbrt
add-log-exp
associate-*r* pow-prod-down associate-*l/ prod-exp cbrt-unprod
flip3-- associate-*r/ *-commutative flip--
+-commutative flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 53
Calls
3 calls:
7.0ms
(* (- y 1.0) x)
4.0ms
(+ (* 1.0 x) (* z (* (- y 1.0) x)))
8.0ms
(* z (* (- y 1.0) x))

series29.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* (- y 1.0) x)
15.0ms
(+ (* 1.0 x) (* z (* (- y 1.0) x)))
9.0ms
(* z (* (- y 1.0) x))

simplify1.5s

Counts
62 → 62
Iterations

Useful iterations: 3 (411.0ms)

IterNodesCost
099679
1261651
2986535
34887526
done5000526

prune83.0ms

Filtered
42 candidates to 62 candidates (-47.6%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New62062
Fresh033
Picked011
Done022
Total62668

Merged error: 0b

Counts
68 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- 1.0 y))
0.3b
(cbrt (- 1.0 y))
0.3b
(cbrt (- 1.0 y))
4.3b
(* x (- 1.0 (* (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (* (cbrt (- 1.0 y)) z))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×cbrt-prod *-un-lft-identity
add-cube-cbrt
pow1 add-exp-log cbrt-div add-cbrt-cube
flip3-- flip-- add-log-exp
pow1/3 associate-*r* associate-*l* distribute-lft-out-- difference-of-squares
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 69
Calls
4 calls:
4.0ms
(cbrt (- 1.0 y))
3.0ms
(cbrt (- 1.0 y))
3.0ms
(cbrt (- 1.0 y))
6.0ms
(* x (- 1.0 (* (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (* (cbrt (- 1.0 y)) z))))

series32.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(cbrt (- 1.0 y))
7.0ms
(cbrt (- 1.0 y))
7.0ms
(cbrt (- 1.0 y))
12.0ms
(* x (- 1.0 (* (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (* (cbrt (- 1.0 y)) z))))

simplify915.0ms

Counts
81 → 81
Iterations

Useful iterations: 3 (268.0ms)

IterNodesCost
01341434
13131379
29231037
33275862
done5000862

prune167.0ms

Filtered
65 candidates to 81 candidates (-24.6%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New81081
Fresh022
Picked011
Done033
Total81687

Merged error: 0b

Counts
87 → 6

regimes703.0ms

Accuracy

81.4% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 1.8b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02347
13147
23247
done3247

end0.0ms

sample699.0ms

Algorithm
intervals
Results
303.0ms10272×body80valid

Profiling

Loading profile data...