Details

Time bar (total: 1.7s)

sample16.0ms

Algorithm
intervals
Results
7.0ms313×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0163
1223
2333
3363
4423
5463
6543
72823
820723
950023

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.5b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
13.8b
(/ (* x (+ y z)) z)

rewrite13.0ms

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

series63.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* x (+ y z))
38.0ms
(/ (* x (+ y z)) z)

simplify36.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0226206
11099177
25001177

prune75.0ms

Filtered
52 candidates to 35 candidates (67.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh000
Picked101
Done000
Total49453

Merged error: 0b

Counts
53 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ y z))
2.7b
(/ x (/ z (+ y z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
94×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
16×distribute-lft-out
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 → 123
Calls
2 calls:
5.0ms
(/ z (+ y z))
8.0ms
(/ x (/ z (+ y z)))

series85.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(/ z (+ y z))
42.0ms
(/ x (/ z (+ y z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0413869
11890835
25001832

prune193.0ms

Filtered
129 candidates to 92 candidates (71.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh033
Picked011
Done000
Total1294133

Merged error: 0b

Counts
133 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ y z) z)
2.9b
(* x (/ (+ y z) z))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
25×add-sqr-sqrt times-frac
20×add-cube-cbrt
16×associate-*r*
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-/l*
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 68
Calls
2 calls:
5.0ms
(/ (+ y z) z)
9.0ms
(* x (/ (+ y z) z))

series57.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(/ (+ y z) z)
35.0ms
(* x (/ (+ y z) z))

simplify91.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0233344
11013313
23948313
35001313

prune94.0ms

Filtered
74 candidates to 49 candidates (66.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh022
Picked011
Done011
Total74478

Merged error: 0b

Counts
78 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
13.8b
(* (* x (+ y z)) (/ 1 z))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
17×associate-*r*
16×add-cbrt-cube
13×add-sqr-sqrt *-un-lft-identity prod-exp
11×add-cube-cbrt
pow1 times-frac
associate-*r/ cbrt-unprod
div-exp associate-*l* pow-prod-down
flip3-+ flip-+
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ *-commutative add-log-exp
distribute-rgt-in distribute-lft-in un-div-inv div-inv distribute-lft-out unswap-sqr
Counts
2 → 65
Calls
2 calls:
10.0ms
(* x (+ y z))
10.0ms
(* (* x (+ y z)) (/ 1 z))

series59.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* x (+ y z))
35.0ms
(* (* x (+ y z)) (/ 1 z))

simplify51.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0368342
12051282
25001270

prune84.0ms

Filtered
71 candidates to 42 candidates (59.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New71071
Fresh011
Picked011
Done022
Total71475

Merged error: 0b

Counts
75 → 4

regimes69.0ms

Accuracy

6.5% (2.9b remaining)

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

bsearch72.0ms

Steps
ItersRangePoint
9
4.933929068730498e-118
6.517165482680511e-113
2.0480837419760625e-113
9
-3.2879859331499605e-186
-3.6073950593708556e-194
-8.263445400705286e-187

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0247
1247

end0.0ms

sample425.0ms

Algorithm
intervals
Results
236.0ms9613×body80valid

Profiling

Loading profile data...