Details

Time bar (total: 1.6s)

sample20.0ms

Algorithm
intervals
Results
10.0ms323×body80valid

simplify10.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.8b

Counts
2 → 1

localize11.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.2b
(* (/ x y) z)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*l/
15×frac-sub
12×frac-2neg
10×clear-num
associate-/l/
flip3-+ flip-+
div-inv sub-div
sub-neg flip3-- associate-*l* *-commutative flip--
Counts
3 → 31
Calls
3 calls:
3.0ms
(/ (+ x 4.0) y)
7.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
3.0ms
(* (/ x y) z)

series91.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0354299
11697271
25001262

prune92.0ms

Filtered
40 candidates to 30 candidates (75.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh000
Picked101
Done000
Total37441

Merged error: 0.0b

Counts
41 → 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)))
4.7b
(* x (/ z y))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/ frac-sub
17×clear-num
13×frac-2neg
10×associate-/l/
un-div-inv
flip3-+ flip-+
div-inv
associate-*r* sub-div
sub-neg flip3-- distribute-rgt-out-- *-commutative flip--
Counts
3 → 38
Calls
3 calls:
3.0ms
(/ (+ x 4.0) y)
7.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
3.0ms
(* x (/ z y))

series89.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0367358
11687330
25002316

prune90.0ms

Filtered
47 candidates to 29 candidates (61.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New46147
Fresh033
Picked011
Done000
Total46551

Merged error: 0b

Counts
51 → 5

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
neg-mul-1
associate-/l/ distribute-neg-frac
neg-sub0 flip3-- frac-2neg times-frac div-sub distribute-frac-neg clear-num associate-/r* flip-- div-inv associate-/l*
Counts
1 → 10
Calls
1 calls:
5.0ms
(/ (- (- (+ x 4.0) (* x z))) (- y))

series50.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
010572
136872
2149472
3500268

prune34.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New12113
Fresh123
Picked011
Done011
Total13518

Merged error: 0b

Counts
18 → 5

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg clear-num associate-/r* div-inv
neg-mul-1 flip3-- flip-- associate-/l*
neg-sub0 div-sub distribute-frac-neg
Counts
2 → 18
Calls
2 calls:
5.0ms
(/ -1 (/ (- y) (- (+ x 4.0) (* x z))))
4.0ms
(/ (- y) (- (+ x 4.0) (* x z)))

series98.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0157136
1603132
23040123
35001123

prune58.0ms

Filtered
24 candidates to 20 candidates (83.3%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New24024
Fresh022
Picked011
Done022
Total24529

Merged error: 0b

Counts
29 → 5

regimes99.0ms

Accuracy

97.2% (0.1b remaining)

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

bsearch69.0ms

Steps
ItersRangePoint
9
4.4247309415038125e+33
7.871107552332212e+42
1.662672792848544e+36
6
-0.2390566333155073
-0.023919459482322245
-0.12093481890030686

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03013
13013

end0.0ms

sample515.0ms

Algorithm
intervals
Results
311.0ms10045×body80valid