Details

Time bar (total: 1.4s)

sample20.0ms

Algorithm
intervals
Results
7.0ms303×body80valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0163
1223
2333
3363
4423
5463
6543
72823
820723
950023

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.4b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
11.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:
5.0ms
(* x (+ y z))
6.0ms
(/ (* x (+ y z)) z)

series15.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0226206
11099177
25001177

prune58.0ms

Filtered
35 candidates to 52 candidates (-48.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New48452
Fresh000
Picked011
Done000
Total48553

Merged error: 0b

Counts
53 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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))
10.0ms
(/ x (/ z (+ y z)))

series16.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ z (+ y z))
10.0ms
(/ x (/ z (+ y z)))

simplify49.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0413869
11890835
25001832

prune97.0ms

Filtered
92 candidates to 129 candidates (-40.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1281129
Fresh213
Picked011
Done011
Total1304134

Merged error: 0b

Counts
134 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ y z) z)
2.0b
(* 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)
8.0ms
(* x (/ (+ y z) z))

series13.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0233344
11013313
23948313
35001313

prune53.0ms

Filtered
49 candidates to 74 candidates (-51.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh011
Picked011
Done022
Total74478

Merged error: 0b

Counts
78 → 4

localize5.0ms

Local error

Found 1 expressions with local error:

12.7b
(* (/ x z) (+ y z))

rewrite9.0ms

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

series10.0ms

Counts
1 → 3
Calls
1 calls:
10.0ms
(* (/ x z) (+ y z))

simplify33.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0315204
11176183
25001179

prune32.0ms

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New42042
Fresh000
Picked011
Done033
Total42446

Merged error: 0b

Counts
46 → 4

regimes179.0ms

Accuracy

0% (3.1b remaining)

Error of 3.2b against oracle of 0.0b and baseline of 3.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
073
173

end0.0ms

sample549.0ms

Algorithm
intervals
Results
237.0ms9597×body80valid

Profiling

Loading profile data...