Details

Time bar (total: 20.7s)

sample122.0ms

Algorithm
intervals
Results
16.0ms180×body80valid
11.0ms23×body2560valid
7.0ms18×body1280valid
7.0ms12×body5120valid
4.0ms14×body640valid
1.0msbody320valid
1.0msbody160valid

simplify96.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.3b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
10×add-cube-cbrt
prod-diff
pow1
add-log-exp
add-exp-log expm1-log1p-u fma-neg add-cbrt-cube log1p-expm1-u
flip3-- sqrt-pow1 sqrt-div associate-*l/ flip--
sub-neg hypot-udef pow1/2 diff-log pow-prod-down sqrt-prod distribute-lft-out-- difference-of-squares
Counts
3 → 53
Calls
3 calls:
11.0ms
(sqrt (* (- (hypot re im) re) 2.0))
0.0ms
(hypot re im)
12.0ms
(- (hypot re im) re)

series564.0ms

Counts
3 → 9
Calls
3 calls:
319.0ms
(sqrt (* (- (hypot re im) re) 2.0))
100.0ms
(hypot re im)
144.0ms
(- (hypot re im) re)

simplify2.8s

Counts
62 → 62
Iterations

Useful iterations: done (2.8s)

IterNodesCost
0115686
1232572
2519489
31765434
done5000423

prune212.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 15.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (expm1 (log1p (- (hypot re im) re))) 2.0))
0.0b
(hypot re im)
0.9b
(- (hypot re im) re)
3.4b
(expm1 (log1p (- (hypot re im) re)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
prod-diff
pow1
add-log-exp
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
sqrt-pow1
sub-neg expm1-log1p hypot-udef flip3-- pow1/2 diff-log pow-prod-down sqrt-prod flip-- distribute-lft-out-- expm1-udef difference-of-squares
Counts
4 → 62
Calls
4 calls:
7.0ms
(sqrt (* (expm1 (log1p (- (hypot re im) re))) 2.0))
0.0ms
(hypot re im)
7.0ms
(- (hypot re im) re)
0.0ms
(expm1 (log1p (- (hypot re im) re)))

series686.0ms

Counts
4 → 12
Calls
4 calls:
297.0ms
(sqrt (* (expm1 (log1p (- (hypot re im) re))) 2.0))
73.0ms
(hypot re im)
100.0ms
(- (hypot re im) re)
217.0ms
(expm1 (log1p (- (hypot re im) re)))

simplify3.3s

Counts
74 → 74
Iterations

Useful iterations: done (3.2s)

IterNodesCost
0141849
1289682
2662575
32369511
done5000495

prune389.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 15.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))
0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
18.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u sqrt-pow1 add-cbrt-cube log1p-expm1-u add-log-exp
pow1/2
rem-sqrt-square
pow-prod-down fma-udef
Counts
4 → 53
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
1.0ms
(sqrt (hypot re im))
5.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series882.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(sqrt (hypot re im))
123.0ms
(sqrt (hypot re im))
373.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
254.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify4.9s

Counts
65 → 65
Iterations

Useful iterations: 4 (3.5s)

IterNodesCost
093753
1201559
2507486
31529465
44452460
done5000460

prune285.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 15.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
18.5b
(fma (sqrt (hypot re im)) (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (- re))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×cbrt-prod add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* unswap-sqr
pow1/3
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 64
Calls
4 calls:
18.0ms
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
0.0ms
(fma (sqrt (hypot re im)) (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (- re))

series825.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
189.0ms
(cbrt (hypot re im))
178.0ms
(cbrt (hypot re im))
273.0ms
(fma (sqrt (hypot re im)) (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (- re))

simplify2.6s

Counts
76 → 76
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01361064
12931010
2867914
32653884
done5000882

prune462.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 15.0b

regimes210.0ms

Accuracy

0% (0.2b remaining)

Error of 13.0b against oracle of 12.7b and baseline of 13.0b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.0s6068×body80valid
386.0ms727×body2560valid
190.0ms450×body1280valid
186.0ms269×body5120valid
111.0ms238×body640valid
31.0ms167×body320valid
9.0ms81×body160valid