Details

Time bar (total: 4.6s)

sample66.0ms

Algorithm
intervals
Results
30.0ms58×body1280valid
15.0ms50×body640valid
8.0ms129×body80valid
2.0msbody320valid
1.0ms10×body160valid

simplify20.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: 13.4b

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

rewrite207.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:
103.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
38.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
63.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

series173.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
40.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
79.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

prune263.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

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

rewrite108.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:
13.0ms
(/ (sin (* 0.5 x)) (sin x))
62.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin (* 0.5 x)) (sin x)))
29.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

series162.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04741006
12505814
25001799

prune321.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite68.0ms

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

series162.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0437968
12144808
25001786

prune290.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin (* 0.5 x)) (sin x))
0.2b
(log (exp (/ (sin (* 0.5 x)) (sin x))))
0.2b
(* (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (log (exp (/ (sin (* 0.5 x)) (sin x)))))
0.2b
(exp (/ (sin (* 0.5 x)) (sin x)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
39×exp-prod
37×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×times-frac
28×log-pow
17×associate-*r*
15×add-exp-log add-cbrt-cube
11×pow1
log-prod
prod-exp cbrt-unprod add-log-exp
expm1-log1p-u log1p-expm1-u div-inv
distribute-rgt-in distribute-lft-in pow-prod-down associate-/r* associate-/l*
cbrt-undiv div-exp
frac-2neg associate-*r/ rem-log-exp associate-*l* associate-*l/ clear-num *-commutative rem-exp-log
Counts
4 → 122
Calls
4 calls:
13.0ms
(/ (sin (* 0.5 x)) (sin x))
15.0ms
(log (exp (/ (sin (* 0.5 x)) (sin x))))
58.0ms
(* (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (log (exp (/ (sin (* 0.5 x)) (sin x)))))
11.0ms
(exp (/ (sin (* 0.5 x)) (sin x)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (sin (* 0.5 x)) (sin x))
40.0ms
(log (exp (/ (sin (* 0.5 x)) (sin x))))
80.0ms
(* (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (log (exp (/ (sin (* 0.5 x)) (sin x)))))
81.0ms
(exp (/ (sin (* 0.5 x)) (sin x)))

simplify63.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04511231
120031074
250011049

prune399.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes37.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01611
11611

end0.0ms

sample1.7s

Algorithm
intervals
Results
712.0ms1500×body1280valid
385.0ms1231×body640valid
259.0ms4306×body80valid
129.0ms634×body320valid
56.0ms329×body160valid