Details

Time bar (total: 4.4s)

sample120.0ms

Algorithm
intervals
Results
38.0ms39×body1280valid
25.0ms13×body2560valid
17.0ms31×body640valid
15.0ms135×body80valid
9.0ms24×body320valid
4.0ms14×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1137
2137

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.5b

localize9.0ms

Local error

Found 3 expressions with local error:

7.7b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
27.0b
(tan (/ x (* y 2.0)))
27.1b
(sin (/ x (* y 2.0)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
tan-quot
cbrt-undiv frac-2neg div-exp clear-num div-inv associate-/l/
Counts
3 → 43
Calls
3 calls:
4.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
1.0ms
(tan (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))

series82.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
35.0ms
(tan (/ x (* y 2.0)))
8.0ms
(sin (/ x (* y 2.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune194.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 24.5b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune37.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 24.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
7.7b
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
27.0b
(tan (/ x (* y 2.0)))
27.1b
(sin (/ x (* y 2.0)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
87×times-frac
55×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-exp-log associate-/r*
11×add-cbrt-cube
div-exp
tan-quot associate-/r/ div-inv associate-/l*
pow1
cbrt-undiv add-log-exp
rec-exp frac-2neg 1-exp clear-num
pow-flip inv-pow
Counts
4 → 123
Calls
4 calls:
8.0ms
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
8.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
1.0ms
(tan (/ x (* y 2.0)))
4.0ms
(sin (/ x (* y 2.0)))

series121.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
38.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
38.0ms
(tan (/ x (* y 2.0)))
8.0ms
(sin (/ x (* y 2.0)))

simplify60.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
03751624
119871472
250011397

prune266.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 24.4b

localize12.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ 1 (- 1 (* 0.125 (/ (pow x 2) (pow y 2)))))
16.5b
(/ (pow x 2) (pow y 2))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
73×times-frac
54×unpow-prod-down
46×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×add-exp-log unpow2 sqr-pow
11×div-exp associate-/r* associate-/l*
pow-to-exp pow-exp add-cbrt-cube
pow1
cbrt-undiv frac-2neg clear-num associate-/r/ div-inv add-log-exp
rec-exp flip3-- pow-flip 1-exp flip-- inv-pow
Counts
2 → 133
Calls
2 calls:
7.0ms
(/ 1 (- 1 (* 0.125 (/ (pow x 2) (pow y 2)))))
11.0ms
(/ (pow x 2) (pow y 2))

series86.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(/ 1 (- 1 (* 0.125 (/ (pow x 2) (pow y 2)))))
37.0ms
(/ (pow x 2) (pow y 2))

simplify44.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0368961
11736794
25002782

prune196.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 24.4b

regimes368.0ms

Accuracy

38.7% (1.6b remaining)

Error of 27.8b against oracle of 26.2b and baseline of 28.8b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02017
12017

end0.0ms

sample2.7s

Algorithm
intervals
Results
852.0ms1407×body1280valid
811.0ms638×body2560valid
359.0ms989×body640valid
301.0ms4057×body80valid
143.0ms593×body320valid
58.0ms316×body160valid