Details

Time bar (total: 5.3s)

sample68.0ms

Algorithm
intervals
Results
31.0ms62×body1280valid
12.0ms37×body640valid
9.0ms138×body80valid
3.0ms12×body320valid
1.0msbody160valid

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0209
1439
2939
31749
42699
52889
62889

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.7b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite167.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:
66.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
30.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
68.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

series202.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0412862
12127656
25001637

prune292.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

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

rewrite84.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:
39.0ms
(/ (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin x) (sin (* 0.5 x))))
12.0ms
(/ (sin x) (sin (* 0.5 x)))
28.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

series180.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05501204
127271016
25001992

prune400.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
49×times-frac
33×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
28×add-exp-log add-cbrt-cube
19×associate-/r*
13×cbrt-undiv div-exp
associate-/l*
div-inv
prod-exp cbrt-unprod
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-*r/ associate-/r/ associate-/l/
Counts
3 → 111
Calls
3 calls:
13.0ms
(/ (sin (* 0.5 x)) 3.0)
24.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin x) (sin (* 0.5 x))))
17.0ms
(/ (sin x) (sin (* 0.5 x)))

series183.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
05141168
125791010
25001984

prune365.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
269×times-frac
132×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
97×add-exp-log
63×associate-/r*
58×div-exp
49×add-cbrt-cube
26×cbrt-undiv
16×div-inv
14×prod-exp
10×associate-/l*
rec-exp 1-exp
cbrt-unprod
pow1
expm1-log1p-u frac-2neg clear-num associate-/r/ log1p-expm1-u add-log-exp
pow-flip associate-*r/ associate-/l/ inv-pow
Counts
4 → 269
Calls
4 calls:
12.0ms
(/ (sin (* 0.5 x)) 3.0)
11.0ms
(/ 1 (/ (sin (* 0.5 x)) (sin x)))
13.0ms
(/ (sin (* 0.5 x)) (sin x))
36.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ 1 (/ (sin (* 0.5 x)) (sin x))))

series228.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (sin (* 0.5 x)) 3.0)
45.0ms
(/ 1 (/ (sin (* 0.5 x)) (sin x)))
52.0ms
(/ (sin (* 0.5 x)) (sin x))
84.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ 1 (/ (sin (* 0.5 x)) (sin x))))

simplify65.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
011113284
150012865

prune704.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes40.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01710
11710

end0.0ms

sample1.8s

Algorithm
intervals
Results
749.0ms1477×body1280valid
405.0ms1283×body640valid
285.0ms4341×body80valid
127.0ms586×body320valid
59.0ms313×body160valid