Details

Time bar (total: 15.5s)

sample67.0ms

Algorithm
intervals
Results
15.0ms185×body80valid
14.0ms30×body2560valid
7.0ms18×body1280valid
5.0msbody5120valid
3.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01215
12410
23010
33210
done3210

prune27.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.1b

localize25.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

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

series414.0ms

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

simplify2.4s

Counts
51 → 51
Iterations

Useful iterations: done (2.4s)

IterNodesCost
086414
1187377
2617354
33785345
done5000344

prune358.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 15.9b

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
23×add-sqr-sqrt
20×associate-*l/
18×cbrt-div sqrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
swap-sqr associate-*r* associate-*l* sqrt-prod
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 101
Calls
4 calls:
54.0ms
(* (cbrt (sqrt (* (+ re (hypot re im)) 2.0))) (cbrt (sqrt (* (+ re (hypot re im)) 2.0))))
8.0ms
(cbrt (sqrt (* (+ re (hypot re im)) 2.0)))
12.0ms
(cbrt (sqrt (* (+ re (hypot re im)) 2.0)))
16.0ms
(cbrt (sqrt (* (+ re (hypot re im)) 2.0)))

series2.0s

Counts
4 → 12
Calls
4 calls:
606.0ms
(* (cbrt (sqrt (* (+ re (hypot re im)) 2.0))) (cbrt (sqrt (* (+ re (hypot re im)) 2.0))))
500.0ms
(cbrt (sqrt (* (+ re (hypot re im)) 2.0)))
456.0ms
(cbrt (sqrt (* (+ re (hypot re im)) 2.0)))
456.0ms
(cbrt (sqrt (* (+ re (hypot re im)) 2.0)))

simplify904.0ms

Counts
113 → 113
Iterations

Useful iterations: done (899.0ms)

IterNodesCost
01692431
13712241
212782090
done50011935

prune938.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 15.9b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*l/
16×cbrt-div
13×add-sqr-sqrt
11×cbrt-prod *-un-lft-identity
add-cube-cbrt flip3-+ flip-+
sqrt-div
associate-*r*
pow1 add-exp-log add-log-exp
expm1-log1p-u frac-times pow1/3 associate-*l* add-cbrt-cube log1p-expm1-u
fma-def
associate-*r/ pow-prod-down sqrt-prod unswap-sqr
+-commutative prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out
Counts
4 → 81
Calls
4 calls:
6.0ms
(+ re (hypot re im))
36.0ms
(* (cbrt (* (+ re (hypot re im)) 2.0)) (cbrt (sqrt (* (+ re (hypot re im)) 2.0))))
13.0ms
(cbrt (* (+ re (hypot re im)) 2.0))
9.0ms
(cbrt (sqrt (* (+ re (hypot re im)) 2.0)))

series1.7s

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ re (hypot re im))
797.0ms
(* (cbrt (* (+ re (hypot re im)) 2.0)) (cbrt (sqrt (* (+ re (hypot re im)) 2.0))))
270.0ms
(cbrt (* (+ re (hypot re im)) 2.0))
494.0ms
(cbrt (sqrt (* (+ re (hypot re im)) 2.0)))

simplify1.1s

Counts
93 → 93
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02031663
14671596
216021506
done50001472

prune661.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 15.9b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
23×pow1
22×sqrt-prod
14×add-cube-cbrt *-un-lft-identity
11×sqrt-pow1
10×pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u pow-prod-down log1p-expm1-u unswap-sqr
fma-def pow-sqr
flip3-+ sqrt-div associate-*l/ flip-+
+-commutative pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 97
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
8.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
14.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
6.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

series559.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(sqrt (hypot re im))
268.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
79.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
71.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

simplify1.2s

Counts
109 → 109
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01431359
1337767
21439698
done5001689

prune512.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 15.8b

regimes187.0ms

Accuracy

0% (2.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01523
12023
done2023

end0.0ms

sample2.1s

Algorithm
intervals
Results
680.0ms6022×body80valid
545.0ms472×body1280valid
272.0ms671×body2560valid
167.0ms308×body5120valid
79.0ms300×body640valid
29.0ms149×body320valid
10.0ms78×body160valid