Details

Time bar (total: 4.5s)

sample37.0ms

Algorithm
intervals
Results
9.0ms35×body1280valid
7.0ms185×body80valid
7.0ms41×body640valid
2.0ms13×body320valid
1.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0124
1244
2484
3714
4794
5794

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.3b

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

rewrite36.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*
associate-*l* div-inv add-log-exp
frac-2neg associate-*r/ clear-num unswap-sqr
pow-prod-down *-commutative associate-/l/
Counts
3 → 83
Calls
3 calls:
13.0ms
(* x (/ (sin y) y))
8.0ms
(/ (sin y) y)
13.0ms
(/ (* x (/ (sin y) y)) z)

series134.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(* x (/ (sin y) y))
22.0ms
(/ (sin y) y)
61.0ms
(/ (* x (/ (sin y) y)) z)

simplify43.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0326487
11643420
25001420

prune174.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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

rewrite57.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
associate-*l* prod-exp cbrt-unprod add-log-exp unswap-sqr
frac-2neg clear-num
associate-*r/ pow-prod-down *-commutative associate-/l/
Counts
3 → 162
Calls
3 calls:
13.0ms
(/ (/ (sin y) y) z)
8.0ms
(/ (sin y) y)
30.0ms
(* x (/ (/ (sin y) y) z))

series116.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ (/ (sin y) y) z)
22.0ms
(/ (sin y) y)
61.0ms
(* x (/ (/ (sin y) y) z))

simplify67.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06051176
128621100
250011100

prune384.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

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

rewrite53.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 frac-2neg clear-num add-log-exp
Counts
3 → 293
Calls
3 calls:
8.0ms
(/ z (/ (sin y) y))
8.0ms
(/ (sin y) y)
20.0ms
(/ x (/ z (/ (sin y) y)))

series163.0ms

Counts
3 → 9
Calls
3 calls:
63.0ms
(/ z (/ (sin y) y))
22.0ms
(/ (sin y) y)
78.0ms
(/ x (/ z (/ (sin y) y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
302 → 302
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011102950
150012830

prune750.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize15.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
frac-times associate-*r/ associate-*l/ 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 → 118
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
10.0ms
(* (cbrt z) (cbrt z))
24.0ms
(/ x (/ (* (cbrt z) (cbrt z)) (* (cbrt (/ (sin y) y)) (cbrt (/ (sin y) y)))))

series654.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(cbrt z)
171.0ms
(cbrt z)
193.0ms
(* (cbrt z) (cbrt z))
119.0ms
(/ x (/ (* (cbrt z) (cbrt z)) (* (cbrt (/ (sin y) y)) (cbrt (/ (sin y) y)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05041230
125361013
25003959

prune357.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes115.0ms

Accuracy

81.6% (0.3b remaining)

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

bsearch58.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0208
1208

end0.0ms

sample1.1s

Algorithm
intervals
Results
260.0ms5895×body80valid
259.0ms947×body1280valid
184.0ms1011×body640valid
72.0ms575×body320valid
26.0ms288×body160valid