Details

Time bar (total: 3.0s)

sample20.0ms

Algorithm
intervals
Results
10.0ms327×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2426
3496
4556
5616
6636
7636

prune5.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.4b

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

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

series90.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0399743
11422683
25001668

prune273.0ms

Filtered
126 candidates to 89 candidates (70.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1188126
Fresh000
Picked101
Done000
Total1198127

Merged error: 0b

Counts
127 → 8

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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)))
11.0ms
(* (/ x y) (- 1 z))

series94.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0402603
11761405
25002402

prune147.0ms

Filtered
79 candidates to 45 candidates (57.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New79079
Fresh077
Picked011
Done000
Total79887

Merged error: 0b

Counts
87 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
304×times-frac
226×*-un-lft-identity
163×add-sqr-sqrt
158×add-cube-cbrt
59×fma-neg prod-diff
34×distribute-lft-out
25×associate-/r/
22×add-exp-log associate-/r*
16×add-cbrt-cube
15×div-inv
13×associate-*l*
11×flip3-+ flip-+
div-exp
pow1
associate-/l* add-log-exp
cbrt-undiv
expm1-log1p-u log1p-expm1-u
associate-*r*
rec-exp frac-2neg 1-exp associate-*l/ prod-exp clear-num cbrt-unprod unswap-sqr
sub-neg flip3-- pow-flip diff-log pow-prod-down *-commutative frac-sub flip-- inv-pow
Counts
4 → 300
Calls
4 calls:
5.0ms
(/ y (+ x 4.0))
28.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
9.0ms
(/ 1 (/ y (+ x 4.0)))
6.0ms
(* (/ x y) z)

series126.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ y (+ x 4.0))
41.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
29.0ms
(/ 1 (/ y (+ x 4.0)))
20.0ms
(* (/ x y) z)

simplify94.0ms

Algorithm
egg-herbie
Counts
312 → 312
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
08102516
138912024
250011962

prune646.0ms

Filtered
312 candidates to 173 candidates (55.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3120312
Fresh066
Picked011
Done011
Total3128320

Merged error: 0b

Counts
320 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

2.3b
(* (/ x y) z)
13.3b
(cbrt (* (/ x y) z))
13.3b
(cbrt (* (/ x y) z))
13.3b
(cbrt (* (/ x y) z))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×associate-*l*
12×add-cube-cbrt *-un-lft-identity
10×times-frac
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
cbrt-prod cbrt-div pow1/3 associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
Counts
4 → 70
Calls
4 calls:
6.0ms
(* (/ x y) z)
4.0ms
(cbrt (* (/ x y) z))
4.0ms
(cbrt (* (/ x y) z))
4.0ms
(cbrt (* (/ x y) z))

series276.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (/ x y) z)
77.0ms
(cbrt (* (/ x y) z))
96.0ms
(cbrt (* (/ x y) z))
82.0ms
(cbrt (* (/ x y) z))

simplify59.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0222383
1730335
22840307
35001303

prune208.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New82082
Fresh055
Picked011
Done022
Total82890

Merged error: 0b

Counts
90 → 8

regimes105.0ms

Accuracy

83.4% (0.3b remaining)

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

bsearch69.0ms

Steps
ItersRangePoint
8
288352109824731.6
1.7996496416427061e+19
27486049406358176.0
7
-3.2164021495953464e-90
-2.902428354113019e-92
-3.164657010692361e-90

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03317
13317

end0.0ms

sample506.0ms

Algorithm
intervals
Results
303.0ms10121×body80valid