Details

Time bar (total: 12.8s)

sample220.0ms

Algorithm
intervals
Results
114.0ms97×body1280valid
52.0ms59×body640valid
14.0ms63×body80valid
13.0ms23×body320valid
6.0ms14×body160valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
07430
119327
270427
3299427
4500127

prune22.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize33.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.5b
(- (cos x) (cos y))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
133×add-sqr-sqrt
123×prod-diff
119×*-un-lft-identity
109×add-cube-cbrt
56×times-frac
52×distribute-rgt-in distribute-lft-in
14×sqrt-prod
12×associate-*r* associate-*l*
flip3-- flip--
pow1 add-exp-log add-cbrt-cube add-log-exp difference-of-squares
sub-neg fma-neg div-inv
distribute-lft-out--
expm1-log1p-u frac-times associate-*r/ log1p-expm1-u
unswap-sqr
diff-log pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod diff-cos
Counts
4 → 234
Calls
4 calls:
36.0ms
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
37.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series243.0ms

Counts
4 → 10
Calls
4 calls:
94.0ms
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
90.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
58.0ms
(- (cos x) (cos y))

simplify122.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
010794683
143433463
250013456

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize43.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.5b
(- (cos x) (cos y))
1.6b
(log (exp (- (cos x) (cos y))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
120×add-sqr-sqrt
114×prod-diff
111×*-un-lft-identity
103×add-cube-cbrt
55×times-frac
41×distribute-rgt-in distribute-lft-in
14×log-prod sqrt-prod
11×exp-sum
add-log-exp
pow1 log-pow
add-exp-log exp-prod fma-neg associate-*r* associate-*l* add-cbrt-cube div-inv difference-of-squares
sub-neg
expm1-log1p-u log1p-expm1-u distribute-lft-out--
flip3-- flip--
diff-log associate-*r/ diff-cos unswap-sqr
log-div exp-diff rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 210
Calls
4 calls:
35.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- (cos x) (cos y))
9.0ms
(log (exp (- (cos x) (cos y))))

series199.0ms

Counts
4 → 10
Calls
4 calls:
88.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
57.0ms
(- (cos x) (cos y))
54.0ms
(log (exp (- (cos x) (cos y))))

simplify102.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
09493958
133292838
250022581

prune776.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize56.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 16.0)
1.0b
(cbrt 16.0)
1.5b
(- (cos x) (cos y))
1.6b
(log (exp (- (cos x) (cos y))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt *-un-lft-identity
21×add-cube-cbrt
18×prod-diff
14×log-prod
11×exp-sum
log-pow
cbrt-prod exp-prod add-log-exp
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
sub-neg pow1/3 diff-cos distribute-lft-out-- difference-of-squares
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 87
Calls
4 calls:
0.0ms
(cbrt 16.0)
0.0ms
(cbrt 16.0)
4.0ms
(- (cos x) (cos y))
9.0ms
(log (exp (- (cos x) (cos y))))

series108.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(cbrt 16.0)
0.0ms
(cbrt 16.0)
50.0ms
(- (cos x) (cos y))
57.0ms
(log (exp (- (cos x) (cos y))))

simplify133.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0321763
1877560
24004458
35001456

prune678.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize39.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (cos x) (cos y)) (- (sin y) (/ (sin x) 16.0))) 2.0) 3.0) (fma (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y) (fma (/ (- (sqrt 5.0) 1.0) 2.0) (cos x) 1.0)))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.5b
(- (cos x) (cos y))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
152×add-sqr-sqrt
143×*-un-lft-identity
137×add-cube-cbrt
130×times-frac
105×prod-diff
41×distribute-rgt-in distribute-lft-in
14×sqrt-prod
13×associate-/l*
11×add-exp-log add-cbrt-cube div-inv
add-log-exp
pow1 fma-neg associate-*r* associate-*l*
difference-of-squares
expm1-log1p-u sub-neg log1p-expm1-u
cbrt-undiv flip3-- div-exp associate-/r* flip-- distribute-lft-out--
diff-log associate-*r/ unswap-sqr
frac-2neg pow-prod-down prod-exp clear-num *-commutative cbrt-unprod diff-cos associate-/l/
Counts
4 → 250
Calls
4 calls:
6.0ms
(/ (/ (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (cos x) (cos y)) (- (sin y) (/ (sin x) 16.0))) 2.0) 3.0) (fma (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y) (fma (/ (- (sqrt 5.0) 1.0) 2.0) (cos x) 1.0)))
34.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series1.1s

Counts
4 → 10
Calls
4 calls:
1.0s
(/ (/ (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (cos x) (cos y)) (- (sin y) (/ (sin x) 16.0))) 2.0) 3.0) (fma (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y) (fma (/ (- (sqrt 5.0) 1.0) 2.0) (cos x) 1.0)))
92.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
52.0ms
(- (cos x) (cos y))

simplify81.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
014057108
150015926

prune1.0s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes261.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05652
16052
26052

end0.0ms

sample6.2s

Algorithm
intervals
Results
3.4s2819×body1280valid
1.5s1824×body640valid
532.0ms2270×body80valid
450.0ms762×body320valid
135.0ms325×body160valid