Details

Time bar (total: 7.9s)

sample118.0ms

Algorithm
intervals
Results
44.0ms110×body1280valid
23.0ms95×body640valid
19.0ms277×body80valid
6.0ms37×body320valid
3.0ms30×body160valid

simplify367.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0239
1419
2839
31739
42719
55339
610239
713959
843699
950029

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.8b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)))
5.9b
(- (exp l) (exp (- l)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-log-exp
add-cube-cbrt associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- associate-*r/ associate-*l/ flip--
sub-neg diff-log associate-*l* *-commutative distribute-lft-out-- difference-of-squares
Counts
2 → 34
Calls
2 calls:
26.0ms
(* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)))
6.0ms
(- (exp l) (exp (- l)))

series134.0ms

Counts
2 → 6
Calls
2 calls:
94.0ms
(* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)))
40.0ms
(- (exp l) (exp (- l)))

simplify131.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0226370
1853307
24646306
35002306

prune131.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0))) U)
0.0b
(* 1/60 (pow l 5))
0.1b
(* 1/3 (pow l 3))
0.2b
(* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0)))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
22×associate-*r*
19×add-exp-log
13×add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1 prod-exp
unpow-prod-down
associate-*l* unswap-sqr
add-log-exp
cbrt-unprod
cube-prod sqr-pow
pow-prod-down *-commutative
pow-to-exp flip3-+ associate-*r/ associate-*l/ pow-exp flip-+
+-commutative cube-mult unpow3 sum-log
Counts
4 → 87
Calls
4 calls:
37.0ms
(+ (* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0))) U)
5.0ms
(* 1/60 (pow l 5))
7.0ms
(* 1/3 (pow l 3))
42.0ms
(* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0)))

series587.0ms

Counts
4 → 12
Calls
4 calls:
341.0ms
(+ (* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0))) U)
46.0ms
(* 1/60 (pow l 5))
39.0ms
(* 1/3 (pow l 3))
161.0ms
(* (* J (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l)))) (cos (/ K 2.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0465784
12234701
25003701

prune356.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/60 (pow l 5))
0.1b
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))
0.1b
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))
0.1b
(* 1/3 (pow l 3))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
23×associate-*r*
21×add-exp-log
15×add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity
12×associate-*l*
11×pow1
10×prod-exp
unpow-prod-down unswap-sqr
cbrt-unprod
cube-prod pow-prod-down associate-*l/ *-commutative add-log-exp sqr-pow
pow-to-exp flip3-+ associate-*r/ pow-exp flip-+
cube-mult unpow3
Counts
4 → 96
Calls
4 calls:
5.0ms
(* 1/60 (pow l 5))
31.0ms
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))
36.0ms
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))
7.0ms
(* 1/3 (pow l 3))

series350.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* 1/60 (pow l 5))
171.0ms
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))
91.0ms
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))
40.0ms
(* 1/3 (pow l 3))

simplify69.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0444856
12079731
25001731

prune390.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt J) (cbrt J))
0.6b
(cbrt J)
0.6b
(cbrt J)
0.6b
(cbrt J)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (cbrt J) (cbrt J))
0.0ms
(cbrt J)
1.0ms
(cbrt J)
1.0ms
(cbrt J)

series760.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(* (cbrt J) (cbrt J))
180.0ms
(cbrt J)
181.0ms
(cbrt J)
190.0ms
(cbrt J)

simplify91.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0115288
1472261
22959238
35003235

prune393.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 0b

regimes507.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03012
13012

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.1s2635×body1280valid
818.0ms2571×body640valid
462.0ms8452×body80valid
251.0ms1436×body320valid
87.0ms796×body160valid