Details

Time bar (total: 17.6s)

sample132.0ms

Algorithm
intervals
Results
21.0ms193×body80valid
12.0ms20×body2560valid
7.0ms17×body1280valid
6.0msbody5120valid
3.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify127.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.8b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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)
9.0ms
(- (hypot re im) re)

series553.0ms

Counts
3 → 9
Calls
3 calls:
323.0ms
(sqrt (* (- (hypot re im) re) 2.0))
96.0ms
(hypot re im)
133.0ms
(- (hypot re im) re)

simplify3.3s

Counts
62 → 62
Iterations

Useful iterations: done (3.3s)

IterNodesCost
0115686
1232572
2519489
31765434
done5000423

prune280.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 13.6b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
7.5b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
24×sqrt-prod
21×pow1
15×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u log1p-expm1-u unswap-sqr
prod-diff pow-prod-down pow-sqr
rem-sqrt-square
pow2 sub-neg flip3-- pow-plus fma-neg sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative flip-- cbrt-unprod difference-of-squares
Counts
4 → 100
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
1.0ms
(sqrt (hypot re im))
14.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
21.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series430.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(sqrt (hypot re im))
134.0ms
(sqrt (hypot re im))
72.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
100.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify4.8s

Counts
112 → 112
Iterations

Useful iterations: 4 (2.8s)

IterNodesCost
01241267
1244744
2569675
31551643
44853631
done5000631

prune435.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 13.6b

localize37.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (hypot re im)))
0.3b
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
0.8b
(pow (sqrt (sqrt (hypot re im))) 3)
11.4b
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod
71×add-sqr-sqrt
27×unpow-prod-down cube-prod
24×add-cube-cbrt *-un-lft-identity associate-*r* unswap-sqr
10×pow1 add-exp-log
associate-*l*
sqrt-pow1
add-cbrt-cube
add-log-exp
pow-pow sqr-pow
expm1-log1p-u pow1/2 log1p-expm1-u
pow-unpow prod-diff prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 pow-exp
sub-neg flip3-- fma-neg diff-log *-commutative pow-prod-up sqrt-pow2 flip-- cbrt-unprod rem-cube-cbrt
Counts
4 → 153
Calls
4 calls:
5.0ms
(sqrt (sqrt (hypot re im)))
35.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
10.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
48.0ms
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

series538.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(sqrt (sqrt (hypot re im)))
76.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
210.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
76.0ms
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

simplify1.3s

Counts
165 → 165
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01742600
13772193
211451508
done50001343

prune611.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 13.6b

localize44.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
0.8b
(pow (sqrt (sqrt (hypot re im))) 3)
12.1b
(- (* (sqrt (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im))))) (* (sqrt (sqrt (cbrt (hypot re im)))) (pow (sqrt (sqrt (hypot re im))) 3))) re)

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-prod
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1
cbrt-prod add-log-exp
add-exp-log pow-pow add-cbrt-cube
expm1-log1p-u sqrt-pow1 log1p-expm1-u
pow-unpow prod-diff
pow1/2 pow1/3
cube-mult pow-to-exp sub-neg flip3-- fma-neg diff-log unpow3 pow-exp sqrt-pow2 flip-- rem-cube-cbrt sqr-pow
Counts
4 → 86
Calls
4 calls:
2.0ms
(cbrt (hypot re im))
2.0ms
(cbrt (hypot re im))
12.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
94.0ms
(- (* (sqrt (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im))))) (* (sqrt (sqrt (cbrt (hypot re im)))) (pow (sqrt (sqrt (hypot re im))) 3))) re)

series669.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(cbrt (hypot re im))
181.0ms
(cbrt (hypot re im))
238.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
99.0ms
(- (* (sqrt (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im))))) (* (sqrt (sqrt (cbrt (hypot re im)))) (pow (sqrt (sqrt (hypot re im))) 3))) re)

simplify909.0ms

Counts
98 → 98
Iterations

Useful iterations: done (905.0ms)

IterNodesCost
01471489
13331201
28301074
done50001066

prune572.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 13.6b

regimes169.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.3s

Algorithm
intervals
Results
832.0ms691×body2560valid
650.0ms6054×body80valid
250.0ms297×body5120valid
159.0ms457×body1280valid
73.0ms266×body640valid
38.0ms163×body320valid
9.0ms72×body160valid