Details

Time bar (total: 4.5s)

sample60.0ms

Algorithm
intervals
Results
23.0ms52×body1280valid
10.0ms35×body640valid
8.0ms140×body80valid
8.0ms23×body320valid
1.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0209
1439
2939
31749
42699
52889
62889

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

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
0.4b
(* (/ 8.0 3.0) (sin (* x 0.5)))
14.9b
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity associate-*l*
13×times-frac
12×prod-exp cbrt-unprod
10×pow1
cbrt-undiv div-exp
associate-*r*
associate-*l/
pow-prod-down
expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp
*-commutative div-inv unswap-sqr
frac-2neg clear-num associate-/l/ associate-/l*
Counts
3 → 85
Calls
3 calls:
9.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
7.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
11.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

series180.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
39.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
80.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

simplify68.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0412862
12127656
25001637

prune249.0ms

Filtered
94 candidates to 68 candidates (72.3%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New791594
Fresh000
Picked101
Done000
Total801595

Merged error: 0.1b

Counts
95 → 15

localize14.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (sin (* 0.5 x)) (sin x))
0.2b
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin (* 0.5 x)) (sin x)))
0.4b
(* (/ 8.0 3.0) (sin (* x 0.5)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log add-sqr-sqrt add-cbrt-cube
28×times-frac
26×add-cube-cbrt *-un-lft-identity
16×associate-*r*
14×associate-*l*
12×prod-exp cbrt-unprod
10×pow1
cbrt-undiv div-exp
pow-prod-down associate-*l/
expm1-log1p-u associate-/r* log1p-expm1-u div-inv associate-/l* add-log-exp
*-commutative unswap-sqr
frac-times frac-2neg associate-*r/ clear-num
Counts
3 → 104
Calls
3 calls:
4.0ms
(/ (sin (* 0.5 x)) (sin x))
11.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin (* 0.5 x)) (sin x)))
7.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

series161.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ (sin (* 0.5 x)) (sin x))
82.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin (* 0.5 x)) (sin x)))
39.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

simplify76.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
04741006
12505814
25001799

prune284.0ms

Filtered
113 candidates to 80 candidates (70.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh8614
Picked101
Done000
Total11810128

Merged error: 0b

Counts
128 → 10

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (sin (* 0.5 x)) 3.0)
0.2b
(/ (sin (* 0.5 x)) (sin x))
0.2b
(* (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin (* 0.5 x)) (sin x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log add-cbrt-cube
27×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×associate-*r*
10×prod-exp cbrt-unprod
pow1
cbrt-undiv div-exp
associate-/r* associate-/l*
expm1-log1p-u associate-*r/ pow-prod-down log1p-expm1-u div-inv add-log-exp
frac-2neg clear-num
frac-times associate-*l* associate-*l/ *-commutative
Counts
3 → 99
Calls
3 calls:
4.0ms
(/ (sin (* 0.5 x)) 3.0)
4.0ms
(/ (sin (* 0.5 x)) (sin x))
13.0ms
(* (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin (* 0.5 x)) (sin x)))

series155.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (sin (* 0.5 x)) 3.0)
38.0ms
(/ (sin (* 0.5 x)) (sin x))
78.0ms
(* (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin (* 0.5 x)) (sin x)))

simplify65.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0437968
12144808
25001786

prune234.0ms

Filtered
108 candidates to 78 candidates (72.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1080108
Fresh099
Picked011
Done000
Total10810118

Merged error: 0b

Counts
118 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (/ 1 (* (cbrt 3.0) (cbrt 3.0))) (* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5)))) (/ (sin (* 0.5 x)) (sin x)))
0.3b
(* (/ 1 (* (cbrt 3.0) (cbrt 3.0))) (* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5))))
0.4b
(* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5)))
1.0b
(/ 8.0 (cbrt 3.0))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
313×add-exp-log
178×prod-exp
122×add-cbrt-cube
81×div-exp
76×cbrt-unprod
50×add-sqr-sqrt times-frac
42×add-cube-cbrt *-un-lft-identity
39×cbrt-undiv
30×associate-*l*
22×cbrt-prod
20×pow1
18×rec-exp 1-exp
17×associate-*r*
13×associate-*l/
10×pow-prod-down
frac-times associate-/r*
expm1-log1p-u associate-*r/ log1p-expm1-u div-inv add-log-exp
*-commutative associate-/l* unswap-sqr
frac-2neg clear-num
Counts
4 → 236
Calls
4 calls:
26.0ms
(* (* (/ 1 (* (cbrt 3.0) (cbrt 3.0))) (* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5)))) (/ (sin (* 0.5 x)) (sin x)))
16.0ms
(* (/ 1 (* (cbrt 3.0) (cbrt 3.0))) (* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5))))
9.0ms
(* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5)))
4.0ms
(/ 8.0 (cbrt 3.0))

series441.0ms

Counts
4 → 10
Calls
4 calls:
183.0ms
(* (* (/ 1 (* (cbrt 3.0) (cbrt 3.0))) (* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5)))) (/ (sin (* 0.5 x)) (sin x)))
144.0ms
(* (/ 1 (* (cbrt 3.0) (cbrt 3.0))) (* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5))))
113.0ms
(* (/ 8.0 (cbrt 3.0)) (sin (* x 0.5)))
0.0ms
(/ 8.0 (cbrt 3.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
010493338
150022528

prune512.0ms

Filtered
246 candidates to 136 candidates (55.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2460246
Fresh088
Picked011
Done011
Total24610256

Merged error: 0b

Counts
256 → 10

regimes95.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0149
1149

end0.0ms

sample1.7s

Algorithm
intervals
Results
696.0ms1482×body1280valid
387.0ms1251×body640valid
275.0ms4328×body80valid
136.0ms629×body320valid
50.0ms310×body160valid