Details

Time bar (total: 10.3s)

sample25.0ms

Algorithm
intervals
Results
7.0ms202×body80valid
3.0ms17×body2560valid
3.0ms19×body1280valid
2.0msbody5120valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify12.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01215
12410
22910
33110
done3110

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.4b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

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

series238.0ms

Counts
2 → 6
Calls
2 calls:
182.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
56.0ms
(+ re (hypot re im))

simplify2.5s

Counts
38 → 38
Iterations

Useful iterations: 4 (1.5s)

IterNodesCost
075354
1173325
2446302
31277293
43884292
done5001292

prune99.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 11.3b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ re (hypot re im)))
0.3b
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
0.4b
(+ re (hypot re im))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×*-un-lft-identity sqrt-prod
add-cube-cbrt
pow1
associate-*l*
associate-*r*
add-exp-log add-cbrt-cube add-log-exp
sqrt-div unswap-sqr
expm1-log1p-u fma-def sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ log1p-expm1-u distribute-lft-out
associate-*l/
+-commutative rem-sqrt-square sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod hypot-def
Counts
3 → 71
Calls
3 calls:
4.0ms
(sqrt (+ re (hypot re im)))
15.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
3.0ms
(+ re (hypot re im))

series351.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(sqrt (+ re (hypot re im)))
180.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
52.0ms
(+ re (hypot re im))

simplify1.6s

Counts
80 → 80
Iterations

Useful iterations: done (1.6s)

IterNodesCost
0124838
1286767
2741726
32024715
done5000712

prune192.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 11.3b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt re)
0.6b
(cbrt re)
0.6b
(cbrt re)
12.9b
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(cbrt re)
0.0ms
(cbrt re)
0.0ms
(cbrt re)
0.0ms
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

series704.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(cbrt re)
174.0ms
(cbrt re)
179.0ms
(cbrt re)
177.0ms
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

simplify1.2s

Counts
61 → 61
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
042372
162360
2121286
3293244
41040244
done5000244

prune183.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 11.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (cbrt re))
0.6b
(cbrt (cbrt re))
0.6b
(cbrt (cbrt re))
12.8b
(fma (* (* (* (cbrt (cbrt re)) (cbrt (cbrt re))) (cbrt (cbrt re))) (cbrt re)) (cbrt re) (hypot re im))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
27×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 58
Calls
4 calls:
1.0ms
(cbrt (cbrt re))
1.0ms
(cbrt (cbrt re))
1.0ms
(cbrt (cbrt re))
0.0ms
(fma (* (* (* (cbrt (cbrt re)) (cbrt (cbrt re))) (cbrt (cbrt re))) (cbrt re)) (cbrt re) (hypot re im))

series891.0ms

Counts
4 → 12
Calls
4 calls:
237.0ms
(cbrt (cbrt re))
236.0ms
(cbrt (cbrt re))
242.0ms
(cbrt (cbrt re))
176.0ms
(fma (* (* (* (cbrt (cbrt re)) (cbrt (cbrt re))) (cbrt (cbrt re))) (cbrt re)) (cbrt re) (hypot re im))

simplify1.3s

Counts
70 → 70
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
054624
183609
2153485
3366443
41263443
done5001443

prune244.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 11.2b

regimes90.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11210
done1210

end0.0ms

sample689.0ms

Algorithm
intervals
Results
210.0ms5999×body80valid
130.0ms657×body2560valid
84.0ms524×body1280valid
73.0ms295×body5120valid
39.0ms308×body640valid
13.0ms142×body320valid
5.0ms75×body160valid