Details

Time bar (total: 13.1s)

sample51.0ms

Algorithm
intervals
Results
13.0ms193×body80valid
7.0ms19×body1280valid
6.0ms18×body2560valid
3.0msbody5120valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify12.0ms

Counts
1 → 1
Iterations
IterNodes
done32
332
230
124
012

prune42.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.6b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.0b
(sqrt (* (+ (hypot re im) re) 2.0))
0.9b
(+ (hypot re im) re)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 *-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
expm1-log1p-u fma-def add-cbrt-cube add-exp-log log1p-expm1-u
sqrt-pow1 flip3-+ sqrt-div associate-*l/ flip-+
+-commutative hypot-udef sum-log pow1/2 pow-prod-down sqrt-prod distribute-lft-out
Counts
3 → 42
Calls
3 calls:
0.0ms
(hypot re im)
6.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
4.0ms
(+ (hypot re im) re)

series428.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(hypot re im)
264.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
91.0ms
(+ (hypot re im) re)

simplify2.0s

Counts
51 → 51
Iterations
IterNodes
done5000
33673
2612
1187
086

prune350.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 13.3b

localize45.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ re (hypot re im)))
0.9b
(+ re (hypot re im))
0.9b
(+ re (hypot re im))
0.9b
(+ re (hypot re im))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
10×add-log-exp
fma-def
add-sqr-sqrt add-cube-cbrt
cbrt-prod expm1-log1p-u pow1 flip3-+ add-cbrt-cube add-exp-log flip-+ log1p-expm1-u distribute-lft-out
+-commutative sum-log
cbrt-div
pow1/3
Counts
4 → 67
Calls
4 calls:
6.0ms
(cbrt (+ re (hypot re im)))
9.0ms
(+ re (hypot re im))
9.0ms
(+ re (hypot re im))
10.0ms
(+ re (hypot re im))

series441.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(cbrt (+ re (hypot re im)))
97.0ms
(+ re (hypot re im))
63.0ms
(+ re (hypot re im))
73.0ms
(+ re (hypot re im))

simplify1.8s

Counts
79 → 79
Iterations
IterNodes
done5000
32969
2566
1184
082

prune597.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 13.3b

localize45.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
8.4b
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
22×pow1
19×sqrt-prod
12×*-un-lft-identity add-cube-cbrt
10×sqrt-pow1
pow1/2
swap-sqr
add-cbrt-cube associate-*r* associate-*l* add-exp-log add-log-exp
pow-prod-up
expm1-log1p-u pow-prod-down log1p-expm1-u unswap-sqr
pow-sqr
flip3-+ sqrt-div associate-*l/ flip-+
pow2 +-commutative hypot-udef sum-log rem-square-sqrt fma-def pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 90
Calls
4 calls:
0.0ms
(hypot re im)
23.0ms
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
21.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
18.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series475.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(hypot re im)
261.0ms
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
74.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
80.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify893.0ms

Counts
102 → 102
Iterations
IterNodes
done5000
21169
1291
0129

prune497.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 13.3b

localize30.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
10.6b
(+ (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))) re)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
add-log-exp
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u
pow1/3
+-commutative sum-log fma-def flip3-+ flip-+
Counts
4 → 53
Calls
4 calls:
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
26.0ms
(+ (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))) re)

series579.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(cbrt (hypot re im))
180.0ms
(cbrt (hypot re im))
160.0ms
(cbrt (hypot re im))
84.0ms
(+ (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))) re)

simplify1.8s

Counts
65 → 65
Iterations
IterNodes
done5000
33151
2523
1151
063

prune415.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 13.3b

regimes315.0ms

Accuracy

0% (0.2b remaining)

Error of 13.1b against oracle of 12.9b and baseline of 13.1b

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done12
112
09

end0.0ms

sample2.1s

Algorithm
intervals
Results
821.0ms6031×body80valid
378.0ms695×body2560valid
231.0ms300×body5120valid
170.0ms293×body640valid
146.0ms447×body1280valid
34.0ms151×body320valid
9.0ms83×body160valid