Details

Time bar (total: 5.4s)

sample44.0ms

Algorithm
intervals
Results
11.0ms41×body640valid
10.0ms35×body1280valid
8.0ms185×body80valid
2.0ms13×body320valid
1.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0124
1244
2484
3714
4794
5794

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.3b

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (/ (sin y) y))
0.1b
(/ (sin y) y)
4.3b
(/ (* x (/ (sin y) y)) z)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×times-frac
21×add-cube-cbrt *-un-lft-identity
19×add-exp-log add-cbrt-cube
13×associate-*r*
cbrt-undiv div-exp associate-/r*
pow1
prod-exp cbrt-unprod associate-/l*
expm1-log1p-u associate-*l* log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ clear-num unswap-sqr
pow-prod-down *-commutative associate-/l/
Counts
3 → 89
Calls
3 calls:
15.0ms
(* x (/ (sin y) y))
9.0ms
(/ (sin y) y)
14.0ms
(/ (* x (/ (sin y) y)) z)

series175.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(* x (/ (sin y) y))
29.0ms
(/ (sin y) y)
81.0ms
(/ (* x (/ (sin y) y)) z)

simplify54.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0333511
11655443
25001443

prune227.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (sin y) y) z)
0.1b
(/ (sin y) y)
3.1b
(* x (/ (/ (sin y) y) z))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
153×times-frac
98×add-sqr-sqrt
89×add-cube-cbrt *-un-lft-identity
43×associate-*r*
19×add-exp-log add-cbrt-cube
16×associate-/l*
10×div-inv
cbrt-undiv div-exp
associate-/r*
pow1
expm1-log1p-u associate-*l* prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
frac-2neg clear-num
associate-*r/ pow-prod-down *-commutative associate-/l/
Counts
3 → 168
Calls
3 calls:
14.0ms
(/ (/ (sin y) y) z)
9.0ms
(/ (sin y) y)
35.0ms
(* x (/ (/ (sin y) y) z))

series147.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ (/ (sin y) y) z)
29.0ms
(/ (sin y) y)
82.0ms
(* x (/ (/ (sin y) y) z))

simplify98.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
06131200
128781122
250011122

prune478.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ z (/ (sin y) y))
0.1b
(/ (sin y) y)
3.1b
(/ x (/ z (/ (sin y) y)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
480×times-frac
238×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
60×associate-/r*
23×div-inv
19×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
associate-/l*
associate-/r/
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
3 → 299
Calls
3 calls:
9.0ms
(/ z (/ (sin y) y))
9.0ms
(/ (sin y) y)
24.0ms
(/ x (/ z (/ (sin y) y)))

series199.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(/ z (/ (sin y) y))
28.0ms
(/ (sin y) y)
92.0ms
(/ x (/ z (/ (sin y) y)))

simplify70.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
011172974
150022852

prune964.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.6b
(* (cbrt z) (cbrt z))
1.2b
(/ x (/ (* (cbrt z) (cbrt z)) (* (cbrt (/ (sin y) y)) (cbrt (/ (sin y) y)))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
28×times-frac
27×add-cube-cbrt *-un-lft-identity
24×add-exp-log
22×cbrt-prod
16×cbrt-div
14×add-cbrt-cube
13×associate-/r/
11×pow1
cbrt-undiv div-exp
pow1/3 associate-/r*
swap-sqr associate-*r* associate-*l*
prod-exp cbrt-unprod div-inv
expm1-log1p-u frac-times associate-*r/ associate-*l/ log1p-expm1-u add-log-exp unswap-sqr
associate-/l*
pow-prod-down pow-sqr pow-prod-up
pow2 frac-2neg pow-plus clear-num *-commutative
Counts
4 → 126
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
11.0ms
(* (cbrt z) (cbrt z))
23.0ms
(/ x (/ (* (cbrt z) (cbrt z)) (* (cbrt (/ (sin y) y)) (cbrt (/ (sin y) y)))))

series784.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(cbrt z)
201.0ms
(cbrt z)
228.0ms
(* (cbrt z) (cbrt z))
144.0ms
(/ x (/ (* (cbrt z) (cbrt z)) (* (cbrt (/ (sin y) y)) (cbrt (/ (sin y) y)))))

simplify90.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
05121272
125671053
25002999

prune474.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes131.0ms

Accuracy

81.6% (0.3b remaining)

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

bsearch69.0ms

Steps
ItersRangePoint
4
4.1351342342526247e-53
8.2676017341011695e-53
8.137178980191326e-53
9
-9.983389862352356e-25
-4.298748600199863e-30
-8.397767914593292e-25

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0208
1208

end0.0ms

sample1.1s

Algorithm
intervals
Results
274.0ms947×body1280valid
255.0ms5895×body80valid
187.0ms1011×body640valid
79.0ms575×body320valid
27.0ms288×body160valid