Details

Time bar (total: 3.8s)

sample22.0ms

Algorithm
intervals
Results
11.0ms330×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2426
3496
4556
5616
6636
7636

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

Counts
2 → 1

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r* associate-*l/ associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod 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 → 117
Calls
3 calls:
6.0ms
(/ (+ x 4.0) y)
10.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series96.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ x 4.0) y)
48.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
21.0ms
(* (/ x y) z)

simplify46.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0399743
11422683
25001668

prune267.0ms

Filtered
126 candidates to 89 candidates (70.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1206126
Fresh000
Picked101
Done000
Total1216127

Merged error: 0.0b

Counts
127 → 6

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
3.1b
(* (/ x y) (- 1 z))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
25×*-un-lft-identity
22×add-cube-cbrt
18×prod-diff
13×associate-*l*
11×distribute-rgt-in distribute-lft-in
10×times-frac
add-exp-log add-cbrt-cube
associate-*r*
pow1
expm1-log1p-u frac-times sub-neg flip3-- associate-*r/ prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp difference-of-squares unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv distribute-lft-out--
Counts
2 → 73
Calls
2 calls:
1.0ms
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
14.0ms
(* (/ x y) (- 1 z))

series94.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0402603
11761405
25002402

prune141.0ms

Filtered
79 candidates to 45 candidates (57.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New78179
Fresh145
Picked011
Done000
Total79685

Merged error: 0.0b

Counts
85 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.9b
(* (/ (cbrt x) y) z)
2.8b
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
66×add-exp-log
35×add-cbrt-cube
33×prod-exp
30×add-sqr-sqrt
29×associate-*l*
23×times-frac
22×add-cube-cbrt *-un-lft-identity
20×cbrt-unprod
18×div-exp
16×cbrt-prod
11×pow1
10×cbrt-undiv
1-exp
expm1-log1p-u associate-*r* pow-prod-down associate-*l/ log1p-expm1-u add-log-exp
unswap-sqr
pow1/3 *-commutative div-inv
frac-times associate-*r/
Counts
4 → 117
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
8.0ms
(* (/ (cbrt x) y) z)
13.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

series534.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt x)
188.0ms
(cbrt x)
119.0ms
(* (/ (cbrt x) y) z)
49.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

simplify65.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0479791
12318609
25002552

prune413.0ms

Filtered
129 candidates to 87 candidates (67.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1281129
Fresh044
Picked011
Done011
Total1287135

Merged error: 0b

Counts
135 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt (cbrt x))
1.1b
(* (/ (cbrt (* (cbrt x) (cbrt x))) 1) (* (/ (cbrt (cbrt x)) y) z))
2.8b
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt (* (cbrt x) (cbrt x))) 1) (* (/ (cbrt (cbrt x)) y) z)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
279×add-exp-log
160×prod-exp
99×add-cbrt-cube
94×div-exp
68×cbrt-unprod
38×1-exp
34×cbrt-undiv
23×associate-*l*
18×pow1
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×cbrt-prod times-frac
10×associate-*l/
pow-prod-down
frac-times associate-*r/
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* *-commutative div-inv
Counts
4 → 175
Calls
4 calls:
1.0ms
(cbrt x)
2.0ms
(cbrt (cbrt x))
12.0ms
(* (/ (cbrt (* (cbrt x) (cbrt x))) 1) (* (/ (cbrt (cbrt x)) y) z))
18.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt (* (cbrt x) (cbrt x))) 1) (* (/ (cbrt (cbrt x)) y) z)))

series590.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt x)
243.0ms
(cbrt (cbrt x))
115.0ms
(* (/ (cbrt (* (cbrt x) (cbrt x))) 1) (* (/ (cbrt (cbrt x)) y) z))
48.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt (* (cbrt x) (cbrt x))) 1) (* (/ (cbrt (cbrt x)) y) z)))

simplify99.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
08772544
139351898
250011724

prune323.0ms

Filtered
187 candidates to 85 candidates (45.5%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1870187
Fresh044
Picked011
Done022
Total1877194

Merged error: 0b

Counts
194 → 7

regimes160.0ms

Accuracy

88.5% (0.2b remaining)

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

bsearch119.0ms

Steps
ItersRangePoint
10
339896681489548.25
6.963813131926747e+24
2062453257231831.0
8
-2.688885396159133e+73
-4.203054179566972e+68
-1.0123827290335041e+70

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03317
13317

end0.0ms

sample558.0ms

Algorithm
intervals
Results
356.0ms10108×body80valid