Details

Time bar (total: 20.7s)

sample132.0ms

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

simplify116.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (54.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.3b

localize21.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)

rewrite57.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:
21.0ms
(sqrt (* (- (hypot re im) re) 2.0))
1.0ms
(hypot re im)
18.0ms
(- (hypot re im) re)

series433.0ms

Counts
3 → 9
Calls
3 calls:
246.0ms
(sqrt (* (- (hypot re im) re) 2.0))
76.0ms
(hypot re im)
111.0ms
(- (hypot re im) re)

simplify2.8s

Counts
62 → 62
Iterations

Useful iterations: done (2.8s)

IterNodesCost
0115686
1232572
2519489
31765434
done5000423

prune172.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 15.0b

localize20.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)))

rewrite29.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:
10.0ms
(sqrt (* (expm1 (log1p (- (hypot re im) re))) 2.0))
1.0ms
(hypot re im)
14.0ms
(- (hypot re im) re)
1.0ms
(expm1 (log1p (- (hypot re im) re)))

series759.0ms

Counts
4 → 12
Calls
4 calls:
385.0ms
(sqrt (* (expm1 (log1p (- (hypot re im) re))) 2.0))
71.0ms
(hypot re im)
103.0ms
(- (hypot re im) re)
199.0ms
(expm1 (log1p (- (hypot re im) re)))

simplify2.9s

Counts
74 → 74
Iterations

Useful iterations: done (2.9s)

IterNodesCost
0141849
1289682
2662575
32369511
done5000495

prune385.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 15.0b

localize31.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))

rewrite18.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:
3.0ms
(sqrt (hypot re im))
3.0ms
(sqrt (hypot re im))
10.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series960.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(sqrt (hypot re im))
143.0ms
(sqrt (hypot re im))
403.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
252.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify5.3s

Counts
65 → 65
Iterations

Useful iterations: 4 (3.8s)

IterNodesCost
093753
1201559
2507486
31529465
44452460
done5000460

prune280.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 15.0b

localize20.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))

rewrite29.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:
24.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))

series771.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
149.0ms
(cbrt (hypot re im))
150.0ms
(cbrt (hypot re im))
274.0ms
(fma (sqrt (hypot re im)) (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (- re))

simplify3.0s

Counts
76 → 76
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01361064
12931010
2867914
32653884
done5000882

prune516.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 15.0b

regimes201.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

sample1.8s

Algorithm
intervals
Results
560.0ms6068×body80valid
410.0ms727×body2560valid
232.0ms450×body1280valid
190.0ms269×body5120valid
60.0ms238×body640valid
30.0ms167×body320valid
11.0ms81×body160valid