Details

Time bar (total: 8.5s)

sample23.0ms

Algorithm
intervals
Results
8.0ms310×body80valid

simplify45.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
1117
2227
3417
4597
5807
6907
done907

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- y z))
12.1b
(/ (* x (- y z)) y)

rewrite16.0ms

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

series18.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(* x (- y z))
11.0ms
(/ (* x (- y z)) y)

simplify2.0s

Counts
55 → 55
Iterations

Useful iterations: done (2.0s)

IterNodesCost
090481
1218457
2698399
33258399
done5000398

prune71.0ms

Filtered
36 candidates to 55 candidates (-52.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New50555
Fresh000
Picked011
Done000
Total50656

Merged error: 0.0b

Counts
56 → 6

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- y z))
2.2b
(/ x (/ y (- y z)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
102×add-sqr-sqrt *-un-lft-identity
70×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
6.0ms
(/ y (- y z))
9.0ms
(/ x (/ y (- y z)))

series17.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(/ y (- y z))
11.0ms
(/ x (/ y (- y z)))

simplify967.0ms

Counts
145 → 145
Iterations

Useful iterations: 2 (264.0ms)

IterNodesCost
02182050
14731914
216431842
done50001842

prune122.0ms

Filtered
108 candidates to 145 candidates (-34.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1432145
Fresh224
Picked011
Done011
Total1456151

Merged error: 0b

Counts
151 → 6

localize5.0ms

Local error

Found 1 expressions with local error:

2.2b
(* x (- 1 (/ z y)))

rewrite11.0ms

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

series8.0ms

Counts
1 → 3
Calls
1 calls:
7.0ms
(* x (- 1 (/ z y)))

simplify1.8s

Counts
32 → 32
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
062306
1148287
2325259
3837259
42799259
done5000259

prune40.0ms

Filtered
20 candidates to 32 candidates (-60.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New32032
Fresh033
Picked011
Done022
Total32638

Merged error: 0b

Counts
38 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (- y z))
0.5b
(* (sqrt x) (/ (sqrt x) (/ y (- y z))))
0.6b
(/ (sqrt x) (/ y (- y z)))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
474×times-frac
337×add-sqr-sqrt
305×*-un-lft-identity
219×add-cube-cbrt
141×sqrt-prod
131×associate-*r*
43×distribute-lft-out-- difference-of-squares
30×associate-/r/
26×associate-/r*
19×add-exp-log add-cbrt-cube
16×div-inv
14×flip3-- flip--
10×unswap-sqr
associate-/l*
cbrt-undiv div-exp
associate-*l*
pow1
prod-exp cbrt-unprod add-log-exp
frac-2neg clear-num
associate-*r/ pow-prod-down *-commutative
Counts
3 → 368
Calls
3 calls:
6.0ms
(/ y (- y z))
44.0ms
(* (sqrt x) (/ (sqrt x) (/ y (- y z))))
11.0ms
(/ (sqrt x) (/ y (- y z)))

series53.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(/ y (- y z))
19.0ms
(* (sqrt x) (/ (sqrt x) (/ y (- y z))))
22.0ms
(/ (sqrt x) (/ y (- y z)))

simplify2.1s

Counts
377 → 377
Iterations

Useful iterations: 2 (1.4s)

IterNodesCost
04216279
110275537
238035311
done50005311

prune215.0ms

Filtered
219 candidates to 377 candidates (-72.1%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New3770377
Fresh022
Picked011
Done033
Total3776383

Merged error: 0b

Counts
383 → 6

regimes229.0ms

Accuracy

40.9% (1.8b remaining)

Error of 1.9b against oracle of 0.0b and baseline of 3.1b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01841
12241
done2241

end0.0ms

sample641.0ms

Algorithm
intervals
Results
268.0ms9677×body80valid

Profiling

Loading profile data...