Details

Time bar (total: 2.5s)

sample19.0ms

Algorithm
intervals
Results
9.0ms315×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-*r* associate-*l/
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down *-commutative frac-sub flip-- div-inv sub-div
Counts
2 → 46
Calls
2 calls:
26.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
8.0ms
(* (/ x y) z)

series70.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0243262
1882237
23831236
35003236

prune124.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite51.0ms

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

series68.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0206339
1735314
23242314
35001314

prune110.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ x 4.0) (* x z))
0.2b
(/ 1 (/ y (- (+ x 4.0) (* x z))))
2.2b
(/ y (- (+ x 4.0) (* x z)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
55×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp add-log-exp
flip3-- flip-- div-inv associate-/l*
pow1 cbrt-undiv
rec-exp frac-2neg diff-log 1-exp clear-num
sub-neg pow-flip associate--l+ sum-log inv-pow
Counts
3 → 127
Calls
3 calls:
17.0ms
(- (+ x 4.0) (* x z))
20.0ms
(/ 1 (/ y (- (+ x 4.0) (* x z))))
16.0ms
(/ y (- (+ x 4.0) (* x z)))

series121.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04881291
123791168
250011082

prune226.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ x 4.0) (* x z))
0.2b
(/ 1 (* y (/ 1 (- (+ x 4.0) (* x z)))))
0.3b
(/ 1 (- (+ x 4.0) (* x z)))
1.9b
(* y (/ 1 (- (+ x 4.0) (* x z))))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
29×add-sqr-sqrt
23×*-un-lft-identity times-frac
22×add-cube-cbrt
20×div-exp add-cbrt-cube
16×prod-exp
15×associate-*r*
10×pow1 rec-exp 1-exp
add-log-exp
cbrt-undiv associate-/r/ associate-/l*
associate-/r* cbrt-unprod
flip3-- pow-flip associate-*l* flip-- div-inv unswap-sqr
frac-2neg diff-log associate-*r/ pow-prod-down clear-num un-div-inv inv-pow
sub-neg associate--l+ sum-log *-commutative
Counts
4 → 125
Calls
4 calls:
17.0ms
(- (+ x 4.0) (* x z))
27.0ms
(/ 1 (* y (/ 1 (- (+ x 4.0) (* x z)))))
17.0ms
(/ 1 (- (+ x 4.0) (* x z)))
39.0ms
(* y (/ 1 (- (+ x 4.0) (* x z))))

series163.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(- (+ x 4.0) (* x z))
47.0ms
(/ 1 (* y (/ 1 (- (+ x 4.0) (* x z)))))
36.0ms
(/ 1 (- (+ x 4.0) (* x z)))
60.0ms
(* y (/ 1 (- (+ x 4.0) (* x z))))

simplify60.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0486970
12353814
25001775

prune236.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes159.0ms

Accuracy

62.2% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 1.8b

bsearch77.0ms

Steps
ItersRangePoint
7
7.098827287593002e-142
1.0474405962160618e-139
7.438065996397021e-140
9
-6.582690336833318e+97
-4.6370901662035465e+92
-4.215108549341022e+93

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample495.0ms

Algorithm
intervals
Results
288.0ms10128×body80valid