Details

Time bar (total: 1.9s)

sample30.0ms

Algorithm
intervals
Results
16.0ms330×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.6b

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))
4.6b
(* (/ 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:
5.0ms
(/ (+ x 4.0) y)
9.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series20.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24964394
35001394

prune123.0ms

Filtered
88 candidates to 63 candidates (28.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New83588
Fresh000
Picked101
Done000
Total84589

Merged error: 0.0b

Counts
89 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
22×*-un-lft-identity
21×times-frac
19×add-cube-cbrt
17×add-exp-log associate-*l*
16×associate-*r*
13×associate-*l/ add-cbrt-cube
pow1
prod-exp frac-sub
add-log-exp unswap-sqr
frac-times flip3-+ cbrt-unprod flip-+
associate-*r/ div-exp un-div-inv
cbrt-undiv pow-prod-down *-commutative div-inv sub-div
sub-neg rec-exp flip3-- diff-log 1-exp flip-- distribute-lft-out
Counts
3 → 93
Calls
3 calls:
8.0ms
(- (* (+ x 4.0) (/ 1 y)) (* (/ x y) z))
10.0ms
(* (+ x 4.0) (/ 1 y))
6.0ms
(* (/ x y) z)

series21.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0506559
12162502
25003481

prune116.0ms

Filtered
102 candidates to 70 candidates (31.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh044
Picked011
Done000
Total1025107

Merged error: 0.0b

Counts
107 → 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)))
7.2b
(* 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))

series18.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0349430
11432403
25002403

prune99.0ms

Filtered
88 candidates to 61 candidates (30.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh033
Picked011
Done011
Total87693

Merged error: 0b

Counts
93 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series15.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0206339
1735314
23228314
35001314

prune59.0ms

Filtered
50 candidates to 37 candidates (26.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New50050
Fresh033
Picked011
Done022
Total50656

Merged error: 0b

Counts
56 → 6

regimes222.0ms

Accuracy

92.6% (0.1b remaining)

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

bsearch42.0ms

Steps
ItersRangePoint
9
9.813416549028388e+26
1.3338725005592205e+33
2.3129864968969659e+30
9
-0.0032937832931808748
-3.89227502325704e-10
-2.2458629438716115e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample683.0ms

Algorithm
intervals
Results
346.0ms10065×body80valid

Profiling

Loading profile data...