Details

Time bar (total: 4.2s)

sample56.0ms

Algorithm
intervals
Results
19.0ms35×body1280valid
12.0ms41×body640valid
9.0ms144×body80valid
3.0ms18×body320valid
2.0ms18×body160valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0209
1439
2939
31749
42699
52889
62889

prune3.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: 14.5b

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.3b
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

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

series175.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0412862
12127656
25001637

prune251.0ms

Filtered
94 candidates to 68 candidates (72.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New801494
Fresh000
Picked101
Done000
Total811495

Merged error: 0.1b

Counts
95 → 14

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

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

series165.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(/ (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin x) (sin (* 0.5 x))))
40.0ms
(/ (sin x) (sin (* 0.5 x)))
43.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

simplify79.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05501204
127271016
25001992

prune318.0ms

Filtered
125 candidates to 94 candidates (75.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1205125
Fresh7613
Picked101
Done000
Total12811139

Merged error: 0b

Counts
139 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
59×times-frac
47×add-sqr-sqrt
42×add-cube-cbrt *-un-lft-identity
34×add-exp-log add-cbrt-cube
19×associate-/r*
14×cbrt-undiv div-exp
13×associate-*r*
associate-/l*
pow1 prod-exp cbrt-unprod div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*l* clear-num
associate-*r/ unswap-sqr
pow-prod-down associate-/r/ *-commutative associate-/l/
Counts
4 → 145
Calls
4 calls:
7.0ms
(* 8.0 (/ (sin (* 0.5 x)) 3.0))
4.0ms
(/ (sin (* 0.5 x)) 3.0)
10.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin x) (sin (* 0.5 x))))
4.0ms
(/ (sin x) (sin (* 0.5 x)))

series198.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* 8.0 (/ (sin (* 0.5 x)) 3.0))
35.0ms
(/ (sin (* 0.5 x)) 3.0)
78.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin x) (sin (* 0.5 x))))
46.0ms
(/ (sin x) (sin (* 0.5 x)))

simplify86.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05921396
129611212
250011189

prune336.0ms

Filtered
157 candidates to 117 candidates (74.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1552157
Fresh2810
Picked011
Done000
Total15711168

Merged error: 0b

Counts
168 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
79×add-exp-log
49×add-cbrt-cube
35×add-sqr-sqrt
31×div-exp
30×times-frac
29×*-un-lft-identity
28×add-cube-cbrt
26×prod-exp
18×cbrt-undiv
14×cbrt-unprod
13×associate-*r*
pow1 associate-/r* associate-/l*
rec-exp 1-exp
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num unswap-sqr
associate-/r/ un-div-inv
pow-flip pow-prod-down *-commutative associate-/l/ inv-pow
Counts
4 → 142
Calls
4 calls:
4.0ms
(/ (sin (* 0.5 x)) 3.0)
4.0ms
(/ 1 (sin (* 0.5 x)))
11.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (* (sin x) (/ 1 (sin (* 0.5 x)))))
9.0ms
(* (sin x) (/ 1 (sin (* 0.5 x))))

series198.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ (sin (* 0.5 x)) 3.0)
35.0ms
(/ 1 (sin (* 0.5 x)))
77.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (* (sin x) (/ 1 (sin (* 0.5 x)))))
47.0ms
(* (sin x) (/ 1 (sin (* 0.5 x))))

simplify91.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
05961321
130941049
25002990

prune250.0ms

Filtered
154 candidates to 89 candidates (57.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1531154
Fresh369
Picked011
Done011
Total1569165

Merged error: 0b

Counts
165 → 9

regimes96.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
0139
1139

end0.0ms

sample1.7s

Algorithm
intervals
Results
718.0ms1519×body1280valid
364.0ms1243×body640valid
275.0ms4304×body80valid
124.0ms628×body320valid
42.0ms306×body160valid