Details

Time bar (total: 2.3s)

sample45.0ms

Algorithm
intervals
Results
20.0ms315×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.4b

Counts
2 → 1

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite150.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:
132.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
8.0ms
(* (/ x y) z)

series18.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ (+ x 4.0) y)
9.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
5.0ms
(* (/ x y) z)

simplify110.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0341425
11212395
24964394
35001394

prune120.0ms

Filtered
63 candidates to 88 candidates (-39.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85388
Fresh000
Picked011
Done000
Total85489

Merged error: 0b

Counts
89 → 4

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))

rewrite35.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:
9.0ms
(/ (+ x 4.0) y)
16.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
6.0ms
(* x (/ z y))

series30.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(/ (+ x 4.0) y)
16.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
8.0ms
(* x (/ z y))

simplify60.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0349430
11432403
25002403

prune129.0ms

Filtered
61 candidates to 88 candidates (-44.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh022
Picked011
Done011
Total88492

Merged error: 0b

Counts
92 → 4

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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)

series9.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0166252
1579234
22432234
35001234

prune46.0ms

Filtered
26 candidates to 33 candidates (-26.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New33033
Fresh011
Picked011
Done022
Total33437

Merged error: 0b

Counts
37 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
0.2b
(* (sqrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (sqrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
2.3b
(* (/ x y) z)
2.3b
(* (/ x y) z)

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
44×sqrt-div
32×associate-*l*
29×add-cube-cbrt *-un-lft-identity
28×associate-*l/
24×pow1
21×sqrt-prod
20×times-frac
16×add-exp-log frac-times add-cbrt-cube
12×associate-*r*
11×flip3-- frac-sub flip-- sub-div
sqrt-pow1 pow1/2
swap-sqr unswap-sqr
pow-prod-down prod-exp pow-prod-up cbrt-unprod
associate-*r/ add-log-exp
pow-sqr *-commutative
cbrt-undiv div-exp div-inv
pow2 rem-sqrt-square pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 154
Calls
4 calls:
7.0ms
(sqrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
19.0ms
(* (sqrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (sqrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
6.0ms
(* (/ x y) z)
6.0ms
(* (/ x y) z)

series65.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
9.0ms
(* (sqrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (sqrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
5.0ms
(* (/ x y) z)
7.0ms
(* (/ x y) z)

simplify64.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04261446
118071323
250021295

prune202.0ms

Filtered
101 candidates to 166 candidates (-64.4%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1660166
Fresh000
Picked011
Done033
Total1664170

Merged error: 0b

Counts
170 → 4

regimes318.0ms

Accuracy

94.9% (0.1b remaining)

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

bsearch28.0ms

Steps
ItersRangePoint
3
3.6018397507854407e+31
4.269331657746469e+31
3.9174399599152308e+31
9
-0.0004282894950389062
-1.4396512922480834e-11
-0.0002806152199865527

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample721.0ms

Algorithm
intervals
Results
376.0ms10122×body80valid

Profiling

Loading profile data...