Details

Time bar (total: 21.5s)

sample142.0ms

Algorithm
intervals
Results
81.0ms190×body1280valid
30.0ms130×body640valid
7.0ms45×body320valid
6.0ms136×body80valid
2.0ms17×body160valid

simplify9.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01112
12112
24312
39112
417812
528312
650912
764912
893912
9199912
10279512
11283112
12294412
13296712
done296712

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 57.5b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
216×prod-diff
119×add-sqr-sqrt *-un-lft-identity
115×add-cube-cbrt
110×exp-sum
44×distribute-rgt-in distribute-lft-in
14×fma-neg
13×sub-neg
pow1 add-exp-log add-cbrt-cube
associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 184
Calls
2 calls:
87.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
47.0ms
(- (exp (- 0.0 im)) (exp im))

series117.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
40.0ms
(- (exp (- 0.0 im)) (exp im))

simplify1.2s

Counts
190 → 190
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02847174
17154912
220523586
done50003505

prune258.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))
0.1b
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r*
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod fma-udef
expm1-log1p-u distribute-neg-in log1p-expm1-u add-log-exp
distribute-rgt-in neg-mul-1 distribute-lft-in associate-*l* *-commutative distribute-rgt-neg-out
Counts
2 → 40
Calls
2 calls:
0.0ms
(fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))
10.0ms
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))

series229.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))
173.0ms
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))

simplify893.0ms

Counts
46 → 46
Iterations

Useful iterations: done (891.0ms)

IterNodesCost
0101998
1275970
21102835
done5000830

prune170.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))) (cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
0.6b
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 66
Calls
4 calls:
11.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))) (cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))))
6.0ms
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
6.0ms
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
6.0ms
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))

series1.5s

Counts
4 → 12
Calls
4 calls:
555.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))) (cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))))
299.0ms
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
303.0ms
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
300.0ms
(cbrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))

simplify509.0ms

Counts
78 → 78
Iterations

Useful iterations: done (506.0ms)

IterNodesCost
01562776
13662567
212212275
done50002219

prune414.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
0.1b
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))
0.1b
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))
0.2b
(* (sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))) (sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
147×pow1
80×pow-prod-down
63×sqrt-pow1
24×associate-*r*
17×pow-prod-up
16×add-exp-log add-sqr-sqrt add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity
13×pow1/2
11×pow-sqr
prod-exp cbrt-unprod
distribute-lft-neg-in distribute-rgt-neg-in associate-*l*
sqrt-prod
expm1-log1p-u distribute-neg-in swap-sqr fma-udef log1p-expm1-u add-log-exp
*-commutative
distribute-rgt-in neg-mul-1 distribute-lft-in distribute-rgt-neg-out
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 142
Calls
4 calls:
7.0ms
(sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
9.0ms
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))
9.0ms
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))
47.0ms
(* (sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))) (sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))))

series773.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))))))
167.0ms
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))
168.0ms
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))
284.0ms
(* (sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))) (sqrt (* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))))

simplify994.0ms

Counts
154 → 154
Iterations

Useful iterations: done (989.0ms)

IterNodesCost
02094028
15653228
222602834
done50002829

prune426.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.0b

regimes239.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify7.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01719
12219
22519
33219
done3219

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.4s5731×body1280valid
870.0ms3610×body640valid
234.0ms1487×body320valid
201.0ms4420×body80valid
72.0ms683×body160valid