Details

Time bar (total: 16.5s)

sample63.0ms

Algorithm
intervals
Results
21.0ms51×body1280valid
10.0ms211×body80valid
8.0ms37×body640valid
5.0ms31×body320valid
2.0ms16×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055
165
done65

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (exp re) (cos im))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
add-exp-log
expm1-log1p-u pow-prod-down prod-exp *-commutative cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 20
Calls
1 calls:
43.0ms
(* (exp re) (cos im))

series52.0ms

Counts
1 → 3
Calls
1 calls:
52.0ms
(* (exp re) (cos im))

simplify2.6s

Counts
23 → 23
Iterations

Useful iterations: 4 (321.0ms)

IterNodesCost
040169
182164
2210145
3350145
4490144
5868144
62183144
done5000144

prune74.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp re))
0.0b
(sqrt (exp re))
0.0b
(* (sqrt (exp re)) (* (sqrt (exp re)) (cos im)))
0.0b
(* (sqrt (exp re)) (cos im))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
13×pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
12×associate-*l*
11×add-exp-log add-cbrt-cube
sqrt-pow1
exp-prod
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square pow1/2 *-commutative unswap-sqr
Counts
4 → 83
Calls
4 calls:
3.0ms
(sqrt (exp re))
3.0ms
(sqrt (exp re))
63.0ms
(* (sqrt (exp re)) (* (sqrt (exp re)) (cos im)))
25.0ms
(* (sqrt (exp re)) (cos im))

series147.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(sqrt (exp re))
13.0ms
(sqrt (exp re))
50.0ms
(* (sqrt (exp re)) (* (sqrt (exp re)) (cos im)))
65.0ms
(* (sqrt (exp re)) (cos im))

simplify5.0s

Counts
95 → 95
Iterations

Useful iterations: 4 (1.3s)

IterNodesCost
081775
1159616
2449560
3884554
41186547
52651547
done5000547

prune324.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (exp re) (cos im))
0.1b
(log1p (expm1 (* (exp re) (cos im))))
0.4b
(expm1 (* (exp re) (cos im)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity add-cbrt-cube
add-exp-log log1p-expm1-u
expm1-log1p-u associate-*r* associate-*l* add-log-exp
log1p-udef expm1-log1p log1p-expm1 pow-prod-down prod-exp *-commutative cbrt-unprod expm1-udef unswap-sqr
Counts
3 → 42
Calls
3 calls:
15.0ms
(* (exp re) (cos im))
0.0ms
(log1p (expm1 (* (exp re) (cos im))))
1.0ms
(expm1 (* (exp re) (cos im)))

series195.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* (exp re) (cos im))
93.0ms
(log1p (expm1 (* (exp re) (cos im))))
65.0ms
(expm1 (* (exp re) (cos im)))

simplify2.3s

Counts
51 → 51
Iterations

Useful iterations: 4 (763.0ms)

IterNodesCost
067411
1130372
2318329
3646327
41514325
done5001325

prune173.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(sqrt (expm1 (* (exp re) (cos im))))
0.4b
(expm1 (* (exp re) (cos im)))
0.4b
(expm1 (* (exp re) (cos im)))
0.4b
(* (sqrt (expm1 (* (exp re) (cos im)))) (sqrt (expm1 (* (exp re) (cos im)))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u
pow-prod-up
expm1-log1p-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
expm1-log1p expm1-udef
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 88
Calls
4 calls:
2.0ms
(sqrt (expm1 (* (exp re) (cos im))))
1.0ms
(expm1 (* (exp re) (cos im)))
1.0ms
(expm1 (* (exp re) (cos im)))
21.0ms
(* (sqrt (expm1 (* (exp re) (cos im)))) (sqrt (expm1 (* (exp re) (cos im)))))

series379.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(sqrt (expm1 (* (exp re) (cos im))))
94.0ms
(expm1 (* (exp re) (cos im)))
65.0ms
(expm1 (* (exp re) (cos im)))
66.0ms
(* (sqrt (expm1 (* (exp re) (cos im)))) (sqrt (expm1 (* (exp re) (cos im)))))

simplify2.0s

Counts
100 → 100
Iterations

Useful iterations: done (2.0s)

IterNodesCost
0961437
1190962
2515858
31664818
done5000791

prune307.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes152.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1910
done910

end0.0ms

sample2.4s

Algorithm
intervals
Results
768.0ms6894×body80valid
695.0ms1538×body1280valid
345.0ms1222×body640valid
136.0ms635×body320valid
82.0ms326×body160valid