Details

Time bar (total: 6.7s)

sample24.0ms

Algorithm
intervals
Results
8.0ms316×body80valid

simplify26.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
077
1117
2247
3467
4647
5727
done727

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

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series19.0ms

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

simplify1.3s

Counts
42 → 42
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
060399
1146392
2412352
31225350
44127350
done5001350

prune81.0ms

Filtered
28 candidates to 42 candidates (-50.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New33942
Fresh000
Picked101
Done000
Total34943

Merged error: 4.4b

Counts
43 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1.0 x) (* x (neg (* y z))))
6.2b
(* x (neg (* y z)))

rewrite10.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
+-commutative distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
2 → 35
Calls
2 calls:
4.0ms
(+ (* 1.0 x) (* x (neg (* y z))))
5.0ms
(* x (neg (* y z)))

series18.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(+ (* 1.0 x) (* x (neg (* y z))))
7.0ms
(* x (neg (* y z)))

simplify2.4s

Counts
41 → 41
Iterations

Useful iterations: 3 (517.0ms)

IterNodesCost
066413
1186395
2782315
34622310
done5000310

prune60.0ms

Filtered
28 candidates to 41 candidates (-46.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh268
Picked011
Done000
Total42850

Merged error: 0.0b

Counts
50 → 8

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1.0 x) (* (* (neg x) y) z))
5.8b
(* (* (neg x) y) z)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
distribute-lft-neg-out
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 32
Calls
2 calls:
5.0ms
(+ (* 1.0 x) (* (* (neg x) y) z))
6.0ms
(* (* (neg x) y) z)

series17.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(+ (* 1.0 x) (* (* (neg x) y) z))
7.0ms
(* (* (neg x) y) z)

simplify504.0ms

Counts
38 → 38
Iterations

Useful iterations: done (503.0ms)

IterNodesCost
069405
1203374
2883332
done5001300

prune59.0ms

Filtered
24 candidates to 38 candidates (-58.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New36238
Fresh156
Picked011
Done011
Total37946

Merged error: 0.0b

Counts
46 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.6b
(* (cbrt z) (cbrt z))
0.8b
(* (* (* (neg x) y) (* (cbrt z) (cbrt z))) (cbrt z))
5.2b
(* (* (neg x) y) (* (cbrt z) (cbrt z)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
41×pow1
36×add-exp-log
23×add-sqr-sqrt pow-prod-down
22×cbrt-prod prod-exp cbrt-unprod
21×add-cbrt-cube
15×add-cube-cbrt *-un-lft-identity
13×associate-*r*
associate-*l*
pow1/3
swap-sqr
distribute-lft-neg-out
add-log-exp unswap-sqr
*-commutative
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 105
Calls
4 calls:
1.0ms
(cbrt z)
6.0ms
(* (cbrt z) (cbrt z))
14.0ms
(* (* (* (neg x) y) (* (cbrt z) (cbrt z))) (cbrt z))
11.0ms
(* (* (neg x) y) (* (cbrt z) (cbrt z)))

series99.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(cbrt z)
28.0ms
(* (cbrt z) (cbrt z))
10.0ms
(* (* (* (neg x) y) (* (cbrt z) (cbrt z))) (cbrt z))
36.0ms
(* (* (neg x) y) (* (cbrt z) (cbrt z)))

simplify548.0ms

Counts
117 → 117
Iterations

Useful iterations: done (542.0ms)

IterNodesCost
01501365
13961263
21715987
done5000960

prune109.0ms

Filtered
73 candidates to 117 candidates (-60.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1152117
Fresh156
Picked101
Done022
Total1179126

Merged error: 0.0b

Counts
126 → 9

regimes615.0ms

Accuracy

95.5% (0.2b remaining)

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

bsearch1.0ms

simplify7.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01942
13733
24733
35133
done5133

end0.0ms

sample657.0ms

Algorithm
intervals
Results
268.0ms9724×body80valid

Profiling

Loading profile data...