Details

Time bar (total: 24.5s)

sample485.0ms

Algorithm
intervals
Results
416.0ms239×body10240exit
27.0ms261×body80valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid
1.0msbody1280valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.1b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(* K (+ m n))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
32.1b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite1.1s

Algorithm
rewrite-expression-head
Rules
178×add-sqr-sqrt
153×*-un-lft-identity
141×prod-diff
123×exp-sum
71×add-cube-cbrt
66×unpow-prod-down
52×distribute-rgt-neg-in
50×distribute-lft-neg-in
47×difference-of-squares
41×distribute-lft-out--
23×cos-sum
20×times-frac
15×add-log-exp
11×sqr-pow
exp-prod
pow1 add-exp-log
diff-log add-cbrt-cube
neg-mul-1 rem-exp-log
expm1-log1p-u associate-*r* log1p-expm1-u
pow-unpow associate-*l* div-inv
sub-neg associate-*r/ neg-log
distribute-rgt-in cos-diff pow-to-exp pow-pow distribute-lft-in flip3-+ exp-diff pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr
Counts
4 → 226
Calls
4 calls:
9.0ms
(* K (+ m n))
30.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
1.1s
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series455.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* K (+ m n))
258.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
116.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
53.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify98.0ms

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
010156007
128254853
250034363

prune551.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.9b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.0b
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

rewrite1.8s

Algorithm
rewrite-expression-head
Rules
330×add-sqr-sqrt
277×*-un-lft-identity
249×prod-diff
138×unpow-prod-down
123×exp-sum
115×add-cube-cbrt
114×distribute-rgt-neg-in
110×distribute-lft-neg-in
96×difference-of-squares
83×distribute-lft-out--
24×fma-neg add-log-exp
23×times-frac sqr-pow
12×diff-log
11×neg-mul-1 associate--r+
exp-prod
rem-exp-log
pow1 add-exp-log neg-log
expm1-log1p-u sub-neg pow-unpow add-cbrt-cube log1p-expm1-u
associate--r-
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow exp-diff pow-exp flip--
Counts
3 → 347
Calls
3 calls:
655.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
32.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
1.1s
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

series558.0ms

Counts
3 → 9
Calls
3 calls:
180.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
257.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
121.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

simplify107.0ms

Algorithm
egg-herbie
Counts
356 → 356
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07839869
122277499
250015146

prune500.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.9b

localize43.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
31.8b
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
32.0b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 fma-udef
cos-sum sin-sum
Counts
4 → 46
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
1.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
1.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

series412.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
207.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
205.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

simplify127.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
0162538
1381481
2991472
33226466
45001466

prune463.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.9b

localize52.0ms

Local error

Found 4 expressions with local error:

31.8b
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
32.0b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
32.0b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
32.0b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
cos-sum
sin-sum
Counts
4 → 40
Calls
4 calls:
1.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
1.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
1.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
1.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

series834.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
210.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
206.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
207.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

simplify56.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0108754
1251653
2596652
31348652
45002652

prune499.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.9b

regimes224.0ms

Accuracy

0% (0.3b remaining)

Error of 1.3b against oracle of 1.1b and baseline of 1.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample16.0s

Algorithm
intervals
Results
14.4s8258×body10240exit
890.0ms8111×body80valid
70.0ms107×body1280valid
63.0ms154×body640valid
28.0ms92×body320valid
10.0ms50×body160valid
4.0msbody2560valid