Details

Time bar (total: 4.4s)

sample91.0ms

Algorithm
intervals
Results
32.0ms25×body2560valid
24.0ms38×body1280valid
10.0ms30×body640valid
10.0ms140×body80valid
4.0ms14×body320valid
2.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0117
1137
2137

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.8b

localize10.0ms

Local error

Found 3 expressions with local error:

8.4b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
26.3b
(sin (/ x (* y 2.0)))
26.6b
(tan (/ x (* y 2.0)))

rewrite9.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))))
2.0ms
(sin (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))

series84.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune167.0ms

Pruning

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

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune33.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 24.5b

localize16.0ms

Local error

Found 4 expressions with local error:

26.3b
(sin (/ x (* y 2.0)))
26.6b
(tan (/ x (* y 2.0)))
26.6b
(tan (/ x (* y 2.0)))
26.6b
(tan (/ x (* y 2.0)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
tan-quot
Counts
4 → 31
Calls
4 calls:
2.0ms
(sin (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))

series115.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
056224
1123196
2434196
31952196
45001196

prune174.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 24.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
8.4b
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
26.3b
(sin (/ x (* y 2.0)))
26.6b
(tan (/ x (* y 2.0)))

rewrite24.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))))
2.0ms
(sin (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))

series118.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
03751624
119871472
250011397

prune227.0ms

Pruning

19 alts after pruning (17 fresh and 2 done)

Merged error: 24.3b

regimes338.0ms

Accuracy

35% (1.7b remaining)

Error of 27.8b against oracle of 26.1b and baseline of 28.7b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01733
11733

end0.0ms

sample2.8s

Algorithm
intervals
Results
979.0ms626×body2560valid
826.0ms1374×body1280valid
379.0ms1059×body640valid
288.0ms4078×body80valid
129.0ms529×body320valid
59.0ms334×body160valid