Details

Time bar (total: 4.6s)

sample59.0ms

Algorithm
intervals
Results
26.0ms55×body1280valid
11.0ms36×body640valid
8.0ms138×body80valid
5.0ms23×body320valid
1.0msbody160valid

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: 12.9b

localize16.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
0.3b
(* (/ 8.0 3.0) (sin (* x 0.5)))
12.7b
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

rewrite54.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)))
11.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
20.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

series176.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
41.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
81.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 (49.0ms)

IterNodesCost
0412862
12127656
25001637

prune259.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

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

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

series160.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04741006
12505814
25001799

prune316.0ms

Pruning

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

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

series157.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0437968
12144808
25001786

prune276.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

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

series584.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(/ (sin (* 0.5 x)) (sin x))
184.0ms
(log1p (expm1 (/ (sin (* 0.5 x)) (sin x))))
266.0ms
(* (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (log1p (expm1 (/ (sin (* 0.5 x)) (sin x)))))
90.0ms
(expm1 (/ (sin (* 0.5 x)) (sin x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0348766
11481629
25002614

prune229.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes37.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01611
11611

end0.0ms

sample1.9s

Algorithm
intervals
Results
755.0ms1541×body1280valid
492.0ms4308×body80valid
387.0ms1205×body640valid
137.0ms621×body320valid
47.0ms325×body160valid