Details

Time bar (total: 5.1s)

sample73.0ms

Algorithm
intervals
Results
20.0ms279×body80valid
13.0ms30×body1280valid
12.0ms37×body640valid
6.0ms26×body320valid
3.0ms16×body160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0348
1788
22618
38348
426008
550018

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 3.3b

Counts
2 → 1

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2)) R)
0.1b
(* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0)))
2.6b
(cos (/ (+ phi1 phi2) 2.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 53
Calls
3 calls:
3.0ms
(* (hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2)) R)
7.0ms
(* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0)))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))

series539.0ms

Counts
3 → 9
Calls
3 calls:
427.0ms
(* (hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2)) R)
85.0ms
(* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0)))
26.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify96.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0290525
11003448
24763442
35001440

prune204.0ms

Filtered
62 candidates to 49 candidates (79.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New511162
Fresh000
Picked101
Done000
Total521163

Merged error: 3.2b

Counts
63 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- lambda1 lambda2) (cbrt (pow (cos (/ (+ phi1 phi2) 2.0)) 3)))
0.5b
(cbrt (pow (cos (/ (+ phi1 phi2) 2.0)) 3))
0.5b
(pow (cos (/ (+ phi1 phi2) 2.0)) 3)
2.6b
(cos (/ (+ phi1 phi2) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod
26×add-sqr-sqrt
17×*-un-lft-identity
15×add-cube-cbrt associate-*r*
10×unpow-prod-down cube-prod
pow1 add-exp-log
add-cbrt-cube
associate-*l* unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
cube-mult pow-unpow unpow3
associate-*l/
pow-to-exp flip3-- pow-pow pow1/3 pow-prod-down pow-exp prod-exp *-commutative flip-- rem-cbrt-cube cbrt-unprod distribute-lft-out-- rem-cube-cbrt difference-of-squares
Counts
4 → 97
Calls
4 calls:
10.0ms
(* (- lambda1 lambda2) (cbrt (pow (cos (/ (+ phi1 phi2) 2.0)) 3)))
2.0ms
(cbrt (pow (cos (/ (+ phi1 phi2) 2.0)) 3))
2.0ms
(pow (cos (/ (+ phi1 phi2) 2.0)) 3)
5.0ms
(cos (/ (+ phi1 phi2) 2.0))

series187.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(* (- lambda1 lambda2) (cbrt (pow (cos (/ (+ phi1 phi2) 2.0)) 3)))
26.0ms
(cbrt (pow (cos (/ (+ phi1 phi2) 2.0)) 3))
47.0ms
(pow (cos (/ (+ phi1 phi2) 2.0)) 3)
29.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273715
11100668
25002655

prune296.0ms

Filtered
109 candidates to 68 candidates (62.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1072109
Fresh01010
Picked101
Done000
Total10812120

Merged error: 3.2b

Counts
120 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (cbrt (pow (pow (cos (/ (+ phi1 phi2) 2.0)) 3) 3)))
0.5b
(pow (cos (/ (+ phi1 phi2) 2.0)) 3)
0.5b
(pow (pow (cos (/ (+ phi1 phi2) 2.0)) 3) 3)
2.6b
(cos (/ (+ phi1 phi2) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
63×cbrt-prod
39×unpow-prod-down cube-prod
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log cube-mult unpow3 sqr-pow
pow-unpow add-cbrt-cube
pow1 pow-exp
expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp
pow-pow rem-cube-cbrt
pow1/3
Counts
4 → 122
Calls
4 calls:
6.0ms
(cbrt (cbrt (pow (pow (cos (/ (+ phi1 phi2) 2.0)) 3) 3)))
2.0ms
(pow (cos (/ (+ phi1 phi2) 2.0)) 3)
5.0ms
(pow (pow (cos (/ (+ phi1 phi2) 2.0)) 3) 3)
5.0ms
(cos (/ (+ phi1 phi2) 2.0))

series171.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(cbrt (cbrt (pow (pow (cos (/ (+ phi1 phi2) 2.0)) 3) 3)))
46.0ms
(pow (cos (/ (+ phi1 phi2) 2.0)) 3)
69.0ms
(pow (pow (cos (/ (+ phi1 phi2) 2.0)) 3) 3)
27.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0291976
1946906
25002872

prune283.0ms

Filtered
134 candidates to 59 candidates (44.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh11011
Picked011
Done000
Total13412146

Merged error: 3.2b

Counts
146 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (cos (/ (+ phi1 phi2) 2.0)))
0.1b
(* (- lambda1 lambda2) (log (exp (cos (/ (+ phi1 phi2) 2.0)))))
0.5b
(log (exp (cos (/ (+ phi1 phi2) 2.0))))
2.6b
(cos (/ (+ phi1 phi2) 2.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity
12×add-cube-cbrt
log-prod exp-prod
pow1 log-pow
associate-*r*
add-exp-log add-cbrt-cube
associate-*l* add-log-exp
expm1-log1p-u log1p-expm1-u
distribute-rgt-in distribute-lft-in
associate-*l/
flip3-- rem-log-exp pow-prod-down prod-exp *-commutative flip-- cbrt-unprod rem-exp-log distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 73
Calls
4 calls:
5.0ms
(exp (cos (/ (+ phi1 phi2) 2.0)))
12.0ms
(* (- lambda1 lambda2) (log (exp (cos (/ (+ phi1 phi2) 2.0)))))
6.0ms
(log (exp (cos (/ (+ phi1 phi2) 2.0))))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))

series186.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(exp (cos (/ (+ phi1 phi2) 2.0)))
85.0ms
(* (- lambda1 lambda2) (log (exp (cos (/ (+ phi1 phi2) 2.0)))))
29.0ms
(log (exp (cos (/ (+ phi1 phi2) 2.0))))
26.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0224596
1703507
23169501
35002501

prune241.0ms

Filtered
85 candidates to 67 candidates (78.8%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New83285
Fresh1910
Picked011
Done011
Total841397

Merged error: 3.2b

Counts
97 → 13

regimes365.0ms

Accuracy

0% (0.2b remaining)

Error of 3.9b against oracle of 3.7b and baseline of 3.9b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02212
12212

end0.0ms

sample2.0s

Algorithm
intervals
Results
620.0ms8392×body80valid
432.0ms1301×body640valid
378.0ms815×body1280valid
170.0ms726×body320valid
62.0ms371×body160valid

Profiling

Loading profile data...