Details

Time bar (total: 5.5s)

sample91.0ms

Algorithm
intervals
Results
41.0ms101×body1280valid
16.0ms283×body80valid
15.0ms69×body640valid
4.0ms31×body320valid
1.0ms15×body160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0237
1607
21127
32367
45206
57026
615146
722846
850016

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp (- im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt associate-*r* add-log-exp
fma-def pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u distribute-lft-out
+-commutative distribute-rgt-in distribute-lft-in associate-*l* sum-log *-commutative
Counts
2 → 42
Calls
2 calls:
9.0ms
(+ (exp (- im)) (exp im))
26.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

series86.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ (exp (- im)) (exp im))
63.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

simplify39.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0258374
11276311
25002307

prune122.0ms

Filtered
48 candidates to 35 candidates (72.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (- im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
0.3b
(cbrt (pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3))
0.3b
(pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3)

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log add-cbrt-cube
12×*-un-lft-identity
cbrt-prod add-sqr-sqrt add-cube-cbrt
associate-*r/ pow-prod-down prod-exp cbrt-unprod add-log-exp
cube-div expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u
pow-unpow pow-pow fma-def pow-exp rem-cube-cbrt
cube-mult unpow-prod-down cbrt-div unpow3 cube-prod distribute-lft-out sqr-pow
+-commutative distribute-rgt-in pow-to-exp distribute-lft-in pow1/3 associate-*l* sum-log *-commutative rem-cbrt-cube
Counts
4 → 92
Calls
4 calls:
9.0ms
(+ (exp (- im)) (exp im))
25.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
3.0ms
(cbrt (pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3))
15.0ms
(pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3)

series233.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp (- im)) (exp im))
61.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
62.0ms
(cbrt (pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3))
88.0ms
(pow (* (* 0.5 (cos re)) (+ (exp (- im)) (exp im))) 3)

simplify67.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0397875
12043824
25001822

prune273.0ms

Filtered
104 candidates to 71 candidates (68.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp im) 3)
0.3b
(cbrt (pow (/ (* (* 0.5 (cos re)) (+ (pow (exp (- im)) 3) (pow (exp im) 3))) (+ (* (exp (- im)) (exp (- im))) (- (* (exp im) (exp im)) (* (exp (- im)) (exp im))))) 3))
0.3b
(pow (/ (* (* 0.5 (cos re)) (+ (pow (exp (- im)) 3) (pow (exp im) 3))) (+ (* (exp (- im)) (exp (- im))) (- (* (exp im) (exp im)) (* (exp (- im)) (exp im))))) 3)
5.4b
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

rewrite215.0ms

Algorithm
rewrite-expression-head
Rules
80×associate-/r/
72×frac-add
60×cbrt-prod
57×unpow-prod-down cube-prod
56×exp-neg
48×neg-sub0 exp-diff
37×flip3-- flip--
32×frac-times
18×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-*r/ associate-*l/
15×add-cbrt-cube
14×add-exp-log
12×times-frac
un-div-inv
pow1 pow-unpow add-log-exp
pow-pow pow-exp rem-cube-cbrt
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u div-inv
cbrt-undiv cube-mult exp-prod unpow3 div-exp prod-exp cbrt-unprod sqr-pow
cube-div pow-to-exp
sub-neg cbrt-div distribute-rgt-out-- fma-neg pow1/3 diff-log prod-diff rem-cbrt-cube
Counts
4 → 197
Calls
4 calls:
2.0ms
(pow (exp im) 3)
86.0ms
(cbrt (pow (/ (* (* 0.5 (cos re)) (+ (pow (exp (- im)) 3) (pow (exp im) 3))) (+ (* (exp (- im)) (exp (- im))) (- (* (exp im) (exp im)) (* (exp (- im)) (exp im))))) 3))
109.0ms
(pow (/ (* (* 0.5 (cos re)) (+ (pow (exp (- im)) 3) (pow (exp im) 3))) (+ (* (exp (- im)) (exp (- im))) (- (* (exp im) (exp im)) (* (exp (- im)) (exp im))))) 3)
7.0ms
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

series581.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp im) 3)
210.0ms
(cbrt (pow (/ (* (* 0.5 (cos re)) (+ (pow (exp (- im)) 3) (pow (exp im) 3))) (+ (* (exp (- im)) (exp (- im))) (- (* (exp im) (exp im)) (* (exp (- im)) (exp im))))) 3))
301.0ms
(pow (/ (* (* 0.5 (cos re)) (+ (pow (exp (- im)) 3) (pow (exp im) 3))) (+ (* (exp (- im)) (exp (- im))) (- (* (exp im) (exp im)) (* (exp (- im)) (exp im))))) 3)
46.0ms
(- (* (exp im) (exp im)) (* (exp (- im)) (exp im)))

simplify78.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
011887746
150026098

prune557.0ms

Filtered
209 candidates to 97 candidates (46.4%)
Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes105.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0137
1137

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.4s3092×body1280valid
514.0ms2400×body640valid
363.0ms8517×body80valid
174.0ms1234×body320valid
55.0ms583×body160valid