Details

Time bar (total: 4.7s)

sample64.0ms

Algorithm
intervals
Results
23.0ms49×body1280valid
13.0ms43×body640valid
12.0ms132×body80valid
5.0ms22×body320valid
2.0ms10×body160valid

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

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series173.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0412862
12127656
25001637

prune240.0ms

Pruning

14 alts after pruning (14 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)))

rewrite39.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))
22.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin (* 0.5 x)) (sin x)))
10.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

series151.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ (sin (* 0.5 x)) (sin x))
76.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)))

simplify64.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04741006
12505814
25001799

prune282.0ms

Pruning

11 alts after pruning (11 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)))

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

series151.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04691030
12437847
25001823

prune301.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

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

series633.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(/ (sin (* 0.5 x)) (sin x))
182.0ms
(log1p (expm1 (/ (* 8.0 (sin (* x 0.5))) 3.0)))
339.0ms
(* (log1p (expm1 (/ (* 8.0 (sin (* x 0.5))) 3.0))) (/ (sin (* 0.5 x)) (sin x)))
69.0ms
(expm1 (/ (* 8.0 (sin (* x 0.5))) 3.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0310903
11237791
25001783

prune277.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

regimes40.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01711
11911
21911

end0.0ms

sample2.0s

Algorithm
intervals
Results
799.0ms1556×body1280valid
417.0ms1243×body640valid
411.0ms4276×body80valid
150.0ms641×body320valid
52.0ms284×body160valid