Details

Time bar (total: 4.5s)

sample57.0ms

Algorithm
intervals
Results
25.0ms54×body1280valid
12.0ms41×body640valid
8.0ms140×body80valid
3.0ms13×body320valid
1.0msbody160valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0209
1439
2939
31749
42699
52889
62889

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.6b

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

rewrite52.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:
20.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
10.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
19.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

series170.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0412862
12127656
25001637

prune258.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.1b

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

rewrite42.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))
21.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin (* 0.5 x)) (sin x)))
13.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

series156.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04741006
12505814
25001799

prune308.0ms

Pruning

12 alts after pruning (12 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.2b
(/ (sin (* 0.5 x)) (sin x))
0.2b
(* (/ (* 8.0 (sin (* x 0.5))) 3.0) (/ (sin (* 0.5 x)) (sin x)))

rewrite27.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:
5.0ms
(/ (* 8.0 (sin (* x 0.5))) 3.0)
4.0ms
(/ (sin (* 0.5 x)) (sin x))
15.0ms
(* (/ (* 8.0 (sin (* x 0.5))) 3.0) (/ (sin (* 0.5 x)) (sin x)))

series154.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04691030
12437847
25001823

prune305.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin (* 0.5 x)) (sin x))
0.2b
(expm1 (/ (sin (* 0.5 x)) (sin x)))
0.2b
(* (/ (* 8.0 (sin (* x 0.5))) 3.0) (log1p (expm1 (/ (sin (* 0.5 x)) (sin x)))))
0.2b
(log1p (expm1 (/ (sin (* 0.5 x)) (sin x))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
12×times-frac
associate-*l*
pow1
log1p-expm1-u
expm1-log1p-u prod-exp cbrt-unprod add-log-exp
cbrt-undiv div-exp associate-*r* associate-/r* associate-/l*
div-inv
log1p-udef expm1-log1p frac-2neg log1p-expm1 pow-prod-down associate-*l/ clear-num *-commutative expm1-udef unswap-sqr
Counts
4 → 80
Calls
4 calls:
4.0ms
(/ (sin (* 0.5 x)) (sin x))
0.0ms
(expm1 (/ (sin (* 0.5 x)) (sin x)))
12.0ms
(* (/ (* 8.0 (sin (* x 0.5))) 3.0) (log1p (expm1 (/ (sin (* 0.5 x)) (sin x)))))
0.0ms
(log1p (expm1 (/ (sin (* 0.5 x)) (sin x))))

series559.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (sin (* 0.5 x)) (sin x))
87.0ms
(expm1 (/ (sin (* 0.5 x)) (sin x)))
254.0ms
(* (/ (* 8.0 (sin (* x 0.5))) 3.0) (log1p (expm1 (/ (sin (* 0.5 x)) (sin x)))))
180.0ms
(log1p (expm1 (/ (sin (* 0.5 x)) (sin x))))

simplify54.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0377838
11616690
25001668

prune268.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes46.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02112
12312
22312

end0.0ms

sample1.7s

Algorithm
intervals
Results
754.0ms1541×body1280valid
399.0ms1276×body640valid
261.0ms4215×body80valid
133.0ms649×body320valid
45.0ms319×body160valid