Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
7.0ms304×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (13.0ms)

IterNodesCost
0163
1243
2383
3453
4533
5573
6673
73092
821252
950012

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize8.0ms

Local error

Found 1 expressions with local error:

3.4b
(fma (/ y z) x x)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (/ y z) x x)

series27.0ms

Counts
1 → 3
Calls
1 calls:
26.0ms
(fma (/ y z) x x)

simplify143.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02644
16239
220539
384939
4478539
5500139

prune25.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh011
Picked011
Done000
Total12315

Merged error: 0.1b

Counts
15 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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 expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u 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 → 50
Calls
2 calls:
6.0ms
(* x (+ y z))
7.0ms
(/ (* x (+ y z)) z)

series65.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0234220
11134191
25001188

prune86.0ms

Filtered
56 candidates to 39 candidates (69.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New53356
Fresh101
Picked011
Done011
Total54559

Merged error: 0.0b

Counts
59 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.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 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 127
Calls
2 calls:
5.0ms
(/ z (+ y z))
8.0ms
(/ x (/ z (+ y z)))

series89.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ z (+ y z))
44.0ms
(/ x (/ z (+ y z)))

simplify55.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0420883
11912847
25002841

prune211.0ms

Filtered
133 candidates to 96 candidates (72.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1321133
Fresh112
Picked101
Done022
Total1344138

Merged error: 0b

Counts
138 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ z (+ y z))
0.3b
(/ 1 (/ (/ z (+ y z)) x))
2.9b
(/ (/ z (+ y z)) x)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
648×times-frac
398×*-un-lft-identity
294×add-sqr-sqrt add-cube-cbrt
65×associate-/r*
52×distribute-lft-out
35×associate-/r/
31×add-exp-log
24×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
17×flip3-+ flip-+
10×cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 389
Calls
3 calls:
5.0ms
(/ z (+ y z))
19.0ms
(/ 1 (/ (/ z (+ y z)) x))
9.0ms
(/ (/ z (+ y z)) x)

series149.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(/ z (+ y z))
38.0ms
(/ 1 (/ (/ z (+ y z)) x))
68.0ms
(/ (/ z (+ y z)) x)

simplify68.0ms

Algorithm
egg-herbie
Counts
398 → 398
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
012153761
150013348

prune593.0ms

Filtered
398 candidates to 246 candidates (61.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3980398
Fresh011
Picked011
Done022
Total3984402

Merged error: 0b

Counts
402 → 4

regimes116.0ms

Accuracy

91% (0.3b remaining)

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

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
02524
12824
23417
33717
44317
55417
66117
76217
86217

end0.0ms

sample461.0ms

Algorithm
intervals
Results
252.0ms9634×body80valid