Details

Time bar (total: 5.6s)

sample27.0ms

Algorithm
intervals
Results
6.0ms185×body80valid
4.0ms21×body2560valid
3.0ms12×body5120valid
3.0ms16×body1280valid
2.0ms13×body640valid
0.0msbody320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1308
2338
3338

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.5b

Counts
2 → 1

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
1.1b
(+ (sqrt (+ (* re re) (* im im))) re)
30.9b
(sqrt (+ (* re re) (* im im)))

rewrite21.0ms

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

series264.0ms

Counts
3 → 9
Calls
3 calls:
179.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
50.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify74.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0264372
1830337
22660322
35002320

prune166.0ms

Filtered
62 candidates to 56 candidates (90.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New59362
Fresh000
Picked101
Done000
Total60363

Merged error: 7.5b

Counts
63 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.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-*r/ flip-+
+-commutative hypot-udef pow1/2 pow-prod-down sum-log sqrt-prod distribute-lft-out
Counts
3 → 42
Calls
3 calls:
5.0ms
(sqrt (* 2.0 (+ (hypot re im) re)))
1.0ms
(hypot re im)
3.0ms
(+ (hypot re im) re)

series292.0ms

Counts
3 → 9
Calls
3 calls:
188.0ms
(sqrt (* 2.0 (+ (hypot re im) re)))
49.0ms
(hypot re im)
54.0ms
(+ (hypot re im) re)

simplify53.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0196197
1536180
21779174
35002172

prune131.0ms

Filtered
51 candidates to 47 candidates (92.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New46551
Fresh112
Picked011
Done000
Total47754

Merged error: 7.3b

Counts
54 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(log1p (sqrt (* 2.0 (+ (hypot re im) re))))
1.1b
(+ (hypot re im) re)
2.8b
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt expm1-log1p-u add-cube-cbrt
pow1 add-exp-log add-cbrt-cube log1p-expm1-u
fma-def
+-commutative log1p-udef expm1-log1p hypot-udef flip3-+ log1p-expm1 sum-log flip-+ distribute-lft-out expm1-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(hypot re im)
1.0ms
(log1p (sqrt (* 2.0 (+ (hypot re im) re))))
3.0ms
(+ (hypot re im) re)
1.0ms
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
53.0ms
(hypot re im)
481.0ms
(log1p (sqrt (* 2.0 (+ (hypot re im) re))))
53.0ms
(+ (hypot re im) re)
533.0ms
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))

simplify35.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0326377
11099327
25002305

prune190.0ms

Filtered
61 candidates to 55 candidates (90.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh055
Picked101
Done011
Total59968

Merged error: 7.3b

Counts
68 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (hypot re im) re)
2.8b
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))
2.8b
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))
2.8b
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
expm1-log1p fma-def expm1-udef
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
4 → 50
Calls
4 calls:
3.0ms
(+ (hypot re im) re)
1.0ms
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))
1.0ms
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))
1.0ms
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))

series1.7s

Counts
4 → 12
Calls
4 calls:
53.0ms
(+ (hypot re im) re)
545.0ms
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))
528.0ms
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))
529.0ms
(expm1 (log1p (sqrt (* 2.0 (+ (hypot re im) re)))))

simplify123.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0236523
1793442
23867409
35001405

prune260.0ms

Filtered
62 candidates to 57 candidates (91.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh077
Picked011
Done011
Total62971

Merged error: 7.3b

Counts
71 → 9

regimes118.0ms

Accuracy

24.1% (4.5b remaining)

Error of 11.3b against oracle of 6.8b and baseline of 12.7b

bsearch133.0ms

Steps
ItersRangePoint
10
-1.9003612051606162e-24
-1.0002625202821165e-38
-2.8486185678520585e-26
4
-4.411763548955001e+21
-2.512398608984434e+21
-4.352408394580921e+21
9
-1.0885082802572525e+92
-7.392779700790835e+83
-8.932262358816654e+87

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
03224
13512
23812
33812

end0.0ms

sample834.0ms

Algorithm
intervals
Results
347.0ms6080×body80valid
132.0ms657×body2560valid
82.0ms475×body1280valid
75.0ms299×body5120valid
35.0ms277×body640valid
13.0ms134×body320valid
5.0ms78×body160valid