Details

Time bar (total: 25.6s)

sample142.0ms

Algorithm
intervals
Results
55.0ms85×body1280valid
29.0ms78×body640valid
23.0ms299×body80valid
9.0ms37×body320valid
3.0ms18×body160valid

simplify1.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011364
126364
263364
3125364
4204364
5797364
done5001364

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite263.0ms

Algorithm
rewrite-expression-head
Rules
14×fma-def *-un-lft-identity
11×exp-sum
10×add-sqr-sqrt add-cube-cbrt
prod-diff
pow1 add-cbrt-cube add-exp-log
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
distribute-rgt-in +-commutative sum-log sub-neg distribute-lft-in associate-*l* *-commutative
Counts
2 → 53
Calls
2 calls:
58.0ms
(+ (exp (- 0.0 im)) (exp im))
203.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

series131.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(+ (exp (- 0.0 im)) (exp im))
87.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))

simplify1.8s

Counts
59 → 59
Iterations

Useful iterations: done (1.8s)

IterNodesCost
09717702
129116058
2163215928
done500215530

prune391.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (sin re) (exp im))
0.0b
(fma (exp im) (sin re) (/ (sin re) (exp im)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube
associate-/r* add-exp-log associate-/l*
expm1-log1p-u pow1 log1p-expm1-u add-log-exp
cbrt-undiv clear-num frac-2neg div-exp fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
11.0ms
(/ (sin re) (exp im))
0.0ms
(fma (exp im) (sin re) (/ (sin re) (exp im)))

series182.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(/ (sin re) (exp im))
139.0ms
(fma (exp im) (sin re) (/ (sin re) (exp im)))

simplify2.2s

Counts
45 → 45
Iterations

Useful iterations: done (2.2s)

IterNodesCost
08013557
115512871
247312646
3207012576
done500012551

prune274.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize86.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp im) (exp im))
0.0b
(* (exp im) (exp im))
0.3b
(/ (* (* 0.5 (sin re)) (fma (exp im) (* (exp im) (exp im)) (exp (fma 2 (- 0.0 im) (- 0.0 im))))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))))
5.0b
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

rewrite338.0ms

Algorithm
rewrite-expression-head
Rules
36×exp-prod
30×add-sqr-sqrt
26×*-un-lft-identity add-cube-cbrt
18×pow1
17×add-cbrt-cube
13×add-exp-log
exp-diff pow-prod-down associate-/r/ pow-sqr pow-prod-up
swap-sqr associate-*r* associate-*l* frac-add add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u flip3-- log1p-expm1-u flip--
cbrt-undiv associate-/r* times-frac div-exp
pow2 frac-times pow-plus associate-*l/ associate-*r/ *-commutative unswap-sqr
clear-num sub-neg frac-2neg flip3-+ distribute-rgt-out-- fma-neg diff-log prod-diff flip-+ div-inv associate-/l*
Counts
4 → 122
Calls
4 calls:
13.0ms
(* (exp im) (exp im))
13.0ms
(* (exp im) (exp im))
284.0ms
(/ (* (* 0.5 (sin re)) (fma (exp im) (* (exp im) (exp im)) (exp (fma 2 (- 0.0 im) (- 0.0 im))))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))))
22.0ms
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

series441.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (exp im) (exp im))
21.0ms
(* (exp im) (exp im))
346.0ms
(/ (* (* 0.5 (sin re)) (fma (exp im) (* (exp im) (exp im)) (exp (fma 2 (- 0.0 im) (- 0.0 im))))) (+ (* (exp (- 0.0 im)) (exp (- 0.0 im))) (- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))))
60.0ms
(- (* (exp im) (exp im)) (* (exp (- 0.0 im)) (exp im)))

simplify4.7s

Counts
134 → 134
Iterations

Useful iterations: done (4.6s)

IterNodesCost
022655402
172547186
2479045426
done500045274

prune1.0s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))
0.0b
(sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
0.0b
(sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
0.3b
(* (sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))) (sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))))

rewrite690.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
20×associate-*r/
17×pow-prod-up
16×sqrt-div
14×pow1/2
11×add-sqr-sqrt *-un-lft-identity add-cbrt-cube add-exp-log pow-sqr
flip3-+ add-cube-cbrt flip-+
associate-*r*
sqrt-prod
associate-*l*
expm1-log1p-u frac-times swap-sqr prod-exp cbrt-unprod log1p-expm1-u add-log-exp
associate-*l/ *-commutative
pow2 distribute-rgt-in rem-square-sqrt distribute-lft-in pow-plus sqrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 133
Calls
4 calls:
173.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))
57.0ms
(sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
48.0ms
(sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
400.0ms
(* (sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))) (sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))))

series683.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))
178.0ms
(sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
227.0ms
(sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
203.0ms
(* (sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))) (sqrt (* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im)))))

simplify3.1s

Counts
145 → 145
Iterations

Useful iterations: done (3.1s)

IterNodesCost
017760325
149251310
2299750635
done500149749

prune641.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes400.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08268
19268
done9268

end0.0ms

sample6.9s

Algorithm
intervals
Results
2.4s3050×body1280valid
1.9s2621×body640valid
1.5s8522×body80valid
447.0ms1217×body320valid
119.0ms632×body160valid