Details

Time bar (total: 10.6s)

sample80.0ms

Algorithm
intervals
Results
20.0ms191×body80valid
14.0ms14×body640valid
10.0ms13×body5120valid
10.0ms18×body1280valid
9.0ms14×body2560valid
2.0msbody320valid
0.0msbody160valid

simplify29.0ms

Counts
1 → 1
Iterations
IterNodes
done31
331
229
124
012

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.3b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series423.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(hypot re im)
279.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
82.0ms
(+ (hypot re im) re)

simplify733.0ms

Counts
54 → 54
Iterations
IterNodes
done2000
31418
2487
1190
089

prune363.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 13.1b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
16×*-un-lft-identity
15×sqrt-prod
10×add-cube-cbrt
pow1
associate-*l*
add-cbrt-cube associate-*r* add-exp-log add-log-exp
expm1-log1p-u sqrt-div insert-posit16 log1p-expm1-u unswap-sqr
fma-def sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out
associate-*l/
+-commutative rem-sqrt-square hypot-udef sum-log sqrt-unprod prod-exp *-commutative cbrt-unprod hypot-def
Counts
4 → 85
Calls
4 calls:
10.0ms
(sqrt (+ (hypot re im) re))
0.0ms
(hypot re im)
33.0ms
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
9.0ms
(+ (hypot re im) re)

series621.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(sqrt (+ (hypot re im) re))
75.0ms
(hypot re im)
259.0ms
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
101.0ms
(+ (hypot re im) re)

simplify556.0ms

Counts
97 → 97
Iterations
IterNodes
done2008
2826
1311
0139

prune567.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 13.1b

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
22×pow1
19×sqrt-prod
12×*-un-lft-identity add-cube-cbrt
10×sqrt-pow1
pow1/2
swap-sqr
add-cbrt-cube associate-*r* associate-*l* add-exp-log add-log-exp
pow-prod-up
expm1-log1p-u pow-prod-down insert-posit16 log1p-expm1-u unswap-sqr
pow-sqr
flip3-+ sqrt-div associate-*l/ flip-+
pow2 +-commutative hypot-udef sum-log rem-square-sqrt fma-def pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 94
Calls
4 calls:
0.0ms
(hypot re im)
16.0ms
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
9.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
9.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series490.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(hypot re im)
244.0ms
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
75.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
89.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify479.0ms

Counts
106 → 106
Iterations
IterNodes
done2003
2695
1290
0133

prune498.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 13.1b

localize71.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
8.2b
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
8.2b
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
36×sqrt-prod
34×pow1
20×*-un-lft-identity add-cube-cbrt
16×sqrt-pow1 pow1/2 swap-sqr
12×associate-*r* associate-*l*
10×pow-prod-up
add-cbrt-cube add-exp-log add-log-exp unswap-sqr
pow-prod-down pow-sqr
expm1-log1p-u insert-posit16 log1p-expm1-u
pow2 +-commutative sum-log rem-square-sqrt fma-def flip3-+ pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod flip-+
Counts
4 → 134
Calls
4 calls:
9.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
9.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
9.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
9.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series319.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
67.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
104.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
72.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify1.2s

Counts
146 → 146
Iterations
IterNodes
done2005
31118
2396
1180
082

prune845.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 13.1b

regimes195.0ms

Accuracy

0% (0.3b remaining)

Error of 13.5b against oracle of 13.3b and baseline of 13.5b

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done12
112
09

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.2s5988×body80valid
599.0ms695×body2560valid
347.0ms481×body1280valid
307.0ms296×body5120valid
143.0ms302×body640valid
58.0ms158×body320valid
17.0ms80×body160valid