Details

Time bar (total: 8.5s)

sample112.0ms

Algorithm
intervals
Results
34.0ms81×body1280valid
23.0ms90×body640valid
20.0ms286×body80valid
7.0ms42×body320valid
2.0ms19×body160valid

simplify369.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 15.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0))) U)
0.0b
(* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)))
0.0b
(* J (- (exp l) (exp (- l))))
5.2b
(- (exp l) (exp (- l)))

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
associate-*r* add-log-exp
add-cube-cbrt
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
sub-neg flip3-- flip--
distribute-rgt-in distribute-lft-in associate-*l/ *-commutative distribute-lft-out-- difference-of-squares
+-commutative flip3-+ diff-log sum-log flip-+ unswap-sqr
Counts
4 → 71
Calls
4 calls:
57.0ms
(+ (* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0))) U)
59.0ms
(* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)))
47.0ms
(* J (- (exp l) (exp (- l))))
14.0ms
(- (exp l) (exp (- l)))

series380.0ms

Counts
4 → 12
Calls
4 calls:
196.0ms
(+ (* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0))) U)
90.0ms
(* (* J (- (exp l) (exp (- l)))) (cos (/ K 2.0)))
57.0ms
(* J (- (exp l) (exp (- l))))
36.0ms
(- (exp l) (exp (- l)))

simplify44.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0357755
11396660
25001654

prune271.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite181.0ms

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

series510.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0464817
12375697
25001697

prune359.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/60 (pow l 5))
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))
0.1b
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))

rewrite169.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:
11.0ms
(* 1/60 (pow l 5))
69.0ms
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))
13.0ms
(* 1/3 (pow l 3))
74.0ms
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))

series325.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* 1/60 (pow l 5))
81.0ms
(* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0)))
39.0ms
(* 1/3 (pow l 3))
155.0ms
(* J (* (+ (* 1/3 (pow l 3)) (+ (* 1/60 (pow l 5)) (* 2 l))) (cos (/ K 2.0))))

simplify66.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0444856
12079731
25001731

prune369.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize29.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)

rewrite15.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:
11.0ms
(* (cbrt J) (cbrt J))
1.0ms
(cbrt J)
1.0ms
(cbrt J)
1.0ms
(cbrt J)

series771.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(* (cbrt J) (cbrt J))
193.0ms
(cbrt J)
187.0ms
(cbrt J)
185.0ms
(cbrt J)

simplify89.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0115288
1472261
22959238
35003235

prune384.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes471.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03012
13012

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.1s2666×body1280valid
687.0ms2559×body640valid
483.0ms8387×body80valid
271.0ms1468×body320valid
81.0ms672×body160valid