Details

Time bar (total: 6.4s)

analyze483.0ms

Algorithm
search

sample114.0ms

Algorithm
intervals
Results
20.0ms35×body1280valid
19.0ms52×body640valid
14.0ms38×body1280invalid
12.0ms45×body640invalid
9.0ms132×body80valid
8.0ms118×body80invalid
6.0ms32×body320invalid
4.0ms18×body320valid
3.0ms19×body160valid
1.0msbody160invalid

simplify187.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0239
1419
2839
31739
42849
55569
69199
712209
839189
950029

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.0b

Counts
2 → 1

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
associate-*r*
add-cube-cbrt
add-log-exp
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
diff-log unswap-sqr
Counts
3 → 60
Calls
3 calls:
7.0ms
(* J (- (exp l) (exp (neg l))))
9.0ms
(* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0)))
5.0ms
(- (exp l) (exp (neg l)))

series39.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(* J (- (exp l) (exp (neg l))))
22.0ms
(* (* J (- (exp l) (exp (neg l)))) (cos (/ K 2.0)))
6.0ms
(- (exp l) (exp (neg l)))

simplify35.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0265566
11128479
25001473

prune99.0ms

Filtered
47 candidates to 69 candidates (-46.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New67269
Fresh000
Picked101
Done000
Total68270

Merged error: 0.0b

Counts
70 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* 2 (* J l)) (cos (/ K 2.0))) U)
0.0b
(* 2 (* J l))
0.1b
(* (* 2 (* J l)) (cos (/ K 2.0)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
*-commutative
+-commutative flip3-+ sum-log flip-+
Counts
3 → 50
Calls
3 calls:
7.0ms
(+ (* (* 2 (* J l)) (cos (/ K 2.0))) U)
4.0ms
(* 2 (* J l))
7.0ms
(* (* 2 (* J l)) (cos (/ K 2.0)))

series38.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ (* (* 2 (* J l)) (cos (/ K 2.0))) U)
3.0ms
(* 2 (* J l))
14.0ms
(* (* 2 (* J l)) (cos (/ K 2.0)))

simplify39.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0244365
11034314
25002314

prune90.0ms

Filtered
35 candidates to 59 candidates (-68.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New55459
Fresh011
Picked011
Done000
Total55661

Merged error: 0b

Counts
61 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 2 (* J (* (cos (* 0.5 K)) l))) U)
0.0b
(* 2 (* J (* (cos (* 0.5 K)) l)))
0.1b
(* J (* (cos (* 0.5 K)) l))
0.1b
(* (cos (* 0.5 K)) l)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-exp-log add-cbrt-cube
10×add-sqr-sqrt pow-prod-down prod-exp cbrt-unprod
associate-*l*
add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r*
*-commutative
+-commutative flip3-+ sum-log flip-+ unswap-sqr
Counts
4 → 68
Calls
4 calls:
7.0ms
(+ (* 2 (* J (* (cos (* 0.5 K)) l))) U)
8.0ms
(* 2 (* J (* (cos (* 0.5 K)) l)))
5.0ms
(* J (* (cos (* 0.5 K)) l))
4.0ms
(* (cos (* 0.5 K)) l)

series54.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (* 2 (* J (* (cos (* 0.5 K)) l))) U)
13.0ms
(* 2 (* J (* (cos (* 0.5 K)) l)))
12.0ms
(* J (* (cos (* 0.5 K)) l))
8.0ms
(* (cos (* 0.5 K)) l)

simplify42.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0265514
11044433
25002433

prune108.0ms

Filtered
49 candidates to 80 candidates (-63.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh044
Picked011
Done011
Total80686

Merged error: 0b

Counts
86 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* (sqrt 2) (* (sqrt 2) (* J l))) (cos (/ K 2.0))) U)
0.1b
(* (* (sqrt 2) (* (sqrt 2) (* J l))) (cos (/ K 2.0)))
0.3b
(* (sqrt 2) (* J l))
0.4b
(* (sqrt 2) (* (sqrt 2) (* J l)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
32×pow1 add-exp-log add-cbrt-cube
19×pow-prod-down prod-exp cbrt-unprod
13×associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod add-log-exp
associate-*r*
*-commutative
+-commutative flip3-+ sum-log flip-+
Counts
4 → 80
Calls
4 calls:
14.0ms
(+ (* (* (sqrt 2) (* (sqrt 2) (* J l))) (cos (/ K 2.0))) U)
11.0ms
(* (* (sqrt 2) (* (sqrt 2) (* J l))) (cos (/ K 2.0)))
6.0ms
(* (sqrt 2) (* J l))
9.0ms
(* (sqrt 2) (* (sqrt 2) (* J l)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* (* (sqrt 2) (* (sqrt 2) (* J l))) (cos (/ K 2.0))) U)
18.0ms
(* (* (sqrt 2) (* (sqrt 2) (* J l))) (cos (/ K 2.0)))
5.0ms
(* (sqrt 2) (* J l))
8.0ms
(* (sqrt 2) (* (sqrt 2) (* J l)))

simplify55.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0337668
11617520
25001519

prune125.0ms

Filtered
56 candidates to 92 candidates (-64.3%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New92092
Fresh033
Picked011
Done022
Total92698

Merged error: 0b

Counts
98 → 6

regimes579.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0176
1176

end0.0ms

analyze480.0ms

Algorithm
search

sample3.6s

Algorithm
intervals
Results
698.0ms1188×body1280valid
671.0ms1401×body640valid
581.0ms1505×body1280invalid
345.0ms1275×body640invalid
269.0ms4077×body80valid
229.0ms3314×body80invalid
188.0ms858×body320valid
117.0ms624×body320invalid
64.0ms476×body160valid
38.0ms286×body160invalid

Profiling

Loading profile data...