Details

Time bar (total: 4.2s)

sample58.0ms

Algorithm
intervals
Results
21.0ms44×body1280valid
11.0ms38×body640valid
8.0ms135×body80valid
5.0ms23×body320valid
2.0ms16×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0209
1439
2939
31749
42699
52889
62889

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.8b

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

rewrite149.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:
62.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
24.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
59.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

series162.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0412862
12127656
25001637

prune214.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (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)))

rewrite101.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:
12.0ms
(/ (sin (* 0.5 x)) (sin x))
58.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin (* 0.5 x)) (sin x)))
27.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

series153.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04741006
12505814
25001799

prune277.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite66.0ms

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

series149.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04691030
12437847
25001823

prune269.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
63×add-exp-log
42×add-cbrt-cube
36×prod-exp
31×add-sqr-sqrt
28×times-frac
26×add-cube-cbrt *-un-lft-identity
20×cbrt-unprod
16×associate-*r*
14×pow1 associate-*l*
13×div-exp
cbrt-undiv
pow-prod-down
1-exp
associate-*l/
expm1-log1p-u associate-*r/ associate-/r* log1p-expm1-u div-inv associate-/l* add-log-exp
*-commutative unswap-sqr
frac-times frac-2neg clear-num
Counts
3 → 115
Calls
3 calls:
14.0ms
(/ (sin (* 0.5 x)) (sin x))
126.0ms
(* (* 1 (* (/ 8.0 3.0) (sin (* x 0.5)))) (/ (sin (* 0.5 x)) (sin x)))
24.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

series155.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05871179
12611939
25002903

prune249.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes32.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
0159
1179
2179

end0.0ms

sample1.7s

Algorithm
intervals
Results
722.0ms1523×body1280valid
390.0ms1274×body640valid
258.0ms4262×body80valid
128.0ms615×body320valid
51.0ms326×body160valid