Details

Time bar (total: 6.1s)

sample71.0ms

Algorithm
intervals
Results
18.0ms275×body80valid
14.0ms37×body640valid
12.0ms29×body1280valid
5.0ms24×body320valid
2.0ms12×body160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0348
1788
22618
38348
426008
550018

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.8b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*l* 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
hypot-udef flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 63
Calls
4 calls:
0.0ms
(hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2))
3.0ms
(* (hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2)) R)
10.0ms
(* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0)))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))

series951.0ms

Counts
4 → 12
Calls
4 calls:
375.0ms
(hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2))
460.0ms
(* (hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2)) R)
88.0ms
(* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0)))
28.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0328677
11130579
25001569

prune274.0ms

Filtered
75 candidates to 62 candidates (82.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 2.6b

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (cos (/ (+ phi1 phi2) 2.0)))
2.0b
(cos (/ (+ phi1 phi2) 2.0))
2.0b
(cos (/ (+ phi1 phi2) 2.0))
2.0b
(cos (/ (+ phi1 phi2) 2.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
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
cbrt-prod
pow1/3
Counts
4 → 40
Calls
4 calls:
1.0ms
(cbrt (cos (/ (+ phi1 phi2) 2.0)))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))
6.0ms
(cos (/ (+ phi1 phi2) 2.0))

series193.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(cbrt (cos (/ (+ phi1 phi2) 2.0)))
27.0ms
(cos (/ (+ phi1 phi2) 2.0))
30.0ms
(cos (/ (+ phi1 phi2) 2.0))
27.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify179.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 4 (51.0ms)

IterNodesCost
088284
1165254
2433252
31255252
44860243
55001243

prune259.0ms

Filtered
52 candidates to 46 candidates (88.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 2.6b

localize22.0ms

Local error

Found 4 expressions with local error:

2.0b
(cos (/ (+ phi1 phi2) 2.0))
2.0b
(cos (/ (+ phi1 phi2) 2.0))
2.0b
(cos (/ (+ phi1 phi2) 2.0))
2.0b
(cos (/ (+ phi1 phi2) 2.0))

rewrite24.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 log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
7.0ms
(cos (/ (+ phi1 phi2) 2.0))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))

series109.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(cos (/ (+ phi1 phi2) 2.0))
26.0ms
(cos (/ (+ phi1 phi2) 2.0))
26.0ms
(cos (/ (+ phi1 phi2) 2.0))
27.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify96.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 4 (29.0ms)

IterNodesCost
054240
197212
2247212
3653212
42670204
55001204

prune285.0ms

Filtered
48 candidates to 44 candidates (91.7%)
Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 2.6b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- lambda1 lambda2))
0.5b
(cbrt (- lambda1 lambda2))
0.5b
(cbrt (- lambda1 lambda2))
2.0b
(cos (/ (+ phi1 phi2) 2.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 60
Calls
4 calls:
2.0ms
(cbrt (- lambda1 lambda2))
2.0ms
(cbrt (- lambda1 lambda2))
2.0ms
(cbrt (- lambda1 lambda2))
5.0ms
(cos (/ (+ phi1 phi2) 2.0))

series476.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(cbrt (- lambda1 lambda2))
150.0ms
(cbrt (- lambda1 lambda2))
144.0ms
(cbrt (- lambda1 lambda2))
31.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify124.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 4 (118.0ms)

IterNodesCost
0199399
1419377
21147368
33713347
45001342

prune314.0ms

Filtered
72 candidates to 65 candidates (90.3%)
Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 2.6b

regimes576.0ms

Accuracy

0% (0.3b remaining)

Error of 4.0b against oracle of 3.6b and baseline of 4.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02119
12119

end0.0ms

sample1.9s

Algorithm
intervals
Results
566.0ms8398×body80valid
384.0ms1289×body640valid
345.0ms796×body1280valid
161.0ms733×body320valid
53.0ms380×body160valid