Details

Time bar (total: 2.1s)

sample22.0ms

Algorithm
intervals
Results
12.0ms318×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

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: 1.9b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
3.3b
(* (/ x y) z)

rewrite23.0ms

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

series94.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ (+ x 4.0) y)
43.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
25.0ms
(* (/ x y) z)

simplify144.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune176.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New83588
Fresh000
Picked011
Done000
Total83689

Merged error: 0b

Counts
89 → 6

localize7.0ms

Local error

Found 1 expressions with local error:

3.1b
(/ (- (+ x 4.0) (* x z)) y)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/l/
pow1 cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- div-inv add-log-exp
Counts
1 → 30
Calls
1 calls:
7.0ms
(/ (- (+ x 4.0) (* x z)) y)

series44.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0166252
1579234
22446234
35002234

prune73.0ms

Filtered
33 candidates to 26 candidates (78.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New32133
Fresh134
Picked101
Done011
Total34539

Merged error: 0b

Counts
39 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1 (/ y (- (+ x 4.0) (* x z))))
3.1b
(/ y (- (+ x 4.0) (* x z)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
15×add-exp-log
11×associate-/r/
add-cbrt-cube
div-exp
div-inv associate-/l*
flip3-- flip--
cbrt-undiv
pow1
rec-exp frac-2neg 1-exp clear-num add-log-exp
pow-flip inv-pow
Counts
2 → 113
Calls
2 calls:
9.0ms
(/ 1 (/ y (- (+ x 4.0) (* x z))))
7.0ms
(/ y (- (+ x 4.0) (* x z)))

series95.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ 1 (/ y (- (+ x 4.0) (* x z))))
56.0ms
(/ y (- (+ x 4.0) (* x z)))

simplify71.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04711204
123491088
250021002

prune164.0ms

Filtered
119 candidates to 66 candidates (55.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh033
Picked011
Done011
Total1195124

Merged error: 0b

Counts
124 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* x (/ z y)))
5.6b
(* x (/ z y))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r/ associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
5.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
6.0ms
(* x (/ z y))

series87.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ (+ x 4.0) y)
40.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
22.0ms
(* x (/ z y))

simplify45.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25001403

prune144.0ms

Filtered
88 candidates to 62 candidates (70.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh022
Picked011
Done022
Total88593

Merged error: 0b

Counts
93 → 5

regimes165.0ms

Accuracy

86.2% (0.2b remaining)

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

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample611.0ms

Algorithm
intervals
Results
386.0ms10089×body80valid