Details

Time bar (total: 6.8s)

analyze352.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
12.5%87.4%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
62.4%31.2%6.3%7
62.4%31.2%6.3%8
62.4%28.1%9.5%9
62.4%28.1%9.5%10
62.4%26.5%11%11
62.4%26.5%11%12
62.4%25.8%11.8%13
62.4%25.8%11.8%14

sample152.0ms

Algorithm
intervals
Results
64.0ms105×body1280valid
26.0ms80×body640valid
17.0ms50×body1280invalid
10.0ms42×body640invalid
9.0ms47×body320valid
5.0ms84×body80invalid
4.0ms22×body320invalid
2.0ms14×body160valid
2.0ms13×body160invalid
1.0ms10×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
0486111
1486111

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 43.4b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
5.5b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 add-sqr-sqrt_binary64
associate-*r*_binary64
add-log-exp_binary64
pow-prod-down_binary64 sub-neg_binary64 cbrt-unprod_binary64 add-cube-cbrt_binary64 prod-exp_binary64
flip3--_binary64 associate-*r/_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip--_binary64
diff-log_binary64 distribute-lft-in_binary64 associate-*l*_binary64 distribute-rgt-in_binary64 *-commutative_binary64
Counts
2 → 37
Calls
2 calls:
11.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
6.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series18.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
4.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify55.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04895465
14895465

prune38.0ms

Filtered
29 candidates to 43 candidates (-48.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New41243
Fresh000
Picked101
Done000
Total42244

Merged error: 0.2b

Counts
44 → 2

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(*.f64 1/60 (pow.f64 im 5))
0.1b
(*.f64 (pow.f64 im 3) -1/3)
0.2b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
18×add-exp-log_binary64
16×associate-*l*_binary64
13×associate-*r*_binary64
12×add-cbrt-cube_binary64
11×*-un-lft-identity_binary64 add-cube-cbrt_binary64
prod-exp_binary64
pow1_binary64 unpow-prod-down_binary64
unswap-sqr_binary64
cbrt-unprod_binary64
sqr-pow_binary64 cube-prod_binary64
pow-prod-down_binary64 add-log-exp_binary64 *-commutative_binary64
pow-to-exp_binary64 associate-*r/_binary64 pow-exp_binary64
flip3-+_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 flip-+_binary64 unpow3_binary64 cube-mult_binary64
Counts
3 → 78
Calls
3 calls:
5.0ms
(*.f64 1/60 (pow.f64 im 5))
6.0ms
(*.f64 (pow.f64 im 3) -1/3)
12.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))

series51.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(*.f64 1/60 (pow.f64 im 5))
4.0ms
(*.f64 (pow.f64 im 3) -1/3)
41.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04955921
14955921

prune82.0ms

Filtered
55 candidates to 87 candidates (-58.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New81687
Fresh011
Picked011
Done000
Total81889

Merged error: 0.1b

Counts
89 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))) (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
0.6b
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
0.6b
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
0.6b
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64
23×add-sqr-sqrt_binary64
18×cbrt-div_binary64
15×*-un-lft-identity_binary64 add-cube-cbrt_binary64
11×pow1_binary64
flip3-+_binary64 pow1/3_binary64 flip-+_binary64
swap-sqr_binary64 associate-*r*_binary64 add-exp-log_binary64 associate-*l*_binary64
add-log-exp_binary64 add-cbrt-cube_binary64 unswap-sqr_binary64 frac-times_binary64
pow-prod-down_binary64 pow-prod-up_binary64 associate-*r/_binary64 pow-sqr_binary64 associate-*l/_binary64
cbrt-unprod_binary64 pow-plus_binary64 prod-exp_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 87
Calls
4 calls:
19.0ms
(*.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))) (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
7.0ms
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
7.0ms
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
7.0ms
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))

series87.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(*.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))) (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
20.0ms
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
20.0ms
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
21.0ms
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
057982930

prune285.0ms

Filtered
80 candidates to 99 candidates (-23.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New95499
Fresh066
Picked101
Done011
Total9611107

Merged error: 0.1b

Counts
107 → 11

localize26.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
0.7b
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
0.7b
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
0.7b
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-prod_binary64
14×cbrt-div_binary64
11×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
flip3-+_binary64 add-log-exp_binary64 pow1_binary64 pow1/3_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 flip-+_binary64
Counts
4 → 61
Calls
4 calls:
7.0ms
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
8.0ms
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
8.0ms
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
8.0ms
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))

series103.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5)))))
27.0ms
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
30.0ms
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))
27.0ms
(cbrt.f64 (cbrt.f64 (+.f64 (*.f64 im -2) (-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 1/60 (pow.f64 im 5))))))

simplify46.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050342147

prune426.0ms

Filtered
69 candidates to 73 candidates (-5.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New72173
Fresh099
Picked011
Done011
Total721284

Merged error: 0.1b

Counts
84 → 12

regimes245.0ms

Accuracy

0% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 0.8b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05020
15020

end0.0ms

sample4.5s

Algorithm
intervals
Results
1.9s3239×body1280valid
843.0ms2603×body640valid
526.0ms1464×body1280invalid
293.0ms1204×body640invalid
269.0ms1294×body320valid
153.0ms2426×body80invalid
104.0ms610×body320invalid
77.0ms599×body160valid
40.0ms301×body160invalid
17.0ms265×body80valid

Profiling

Loading profile data...