Details

Time bar (total: 2.5s)

analyze326.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14

sample32.0ms

Algorithm
intervals
Results
9.0ms194×body80valid
7.0ms26×body2560valid
4.0ms16×body1280valid
2.0msbody5120valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02215
12215

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 40.3b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.4b
(+ (sqrt (+ (* re re) (* im im))) re)
32.0b
(sqrt (+ (* re re) (* im im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity
add-sqr-sqrt
pow1 add-cube-cbrt
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div sum-log
rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 38
Calls
3 calls:
4.0ms
(+ (* re re) (* im im))
7.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
7.0ms
(sqrt (+ (* re re) (* im im)))

series17.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* re re) (* im im))
7.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify38.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05042458

prune85.0ms

Filtered
38 candidates to 47 candidates (-23.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New41647
Fresh000
Picked011
Done000
Total41748

Merged error: 20.0b

Counts
48 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

9.6b
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
32.0b
(sqrt (+ (* re re) (* im im)))
32.0b
(sqrt (+ (* re re) (* im im)))
32.0b
(sqrt (+ (* re re) (* im im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative sum-log
Counts
4 → 56
Calls
4 calls:
21.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify50.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05310612

prune103.0ms

Filtered
55 candidates to 68 candidates (-23.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New66268
Fresh145
Picked101
Done011
Total68775

Merged error: 20.0b

Counts
75 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

14.5b
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (exp (log (sqrt (+ (* re re) (* im im))))))) re)
32.0b
(sqrt (+ (* re re) (* im im)))
32.0b
(sqrt (+ (* re re) (* im im)))
32.0b
(sqrt (+ (* re re) (* im im)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative sum-log
Counts
4 → 56
Calls
4 calls:
25.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (exp (log (sqrt (+ (* re re) (* im im))))))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (exp (log (sqrt (+ (* re re) (* im im))))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
5.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify64.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
05148612

prune110.0ms

Filtered
55 candidates to 68 candidates (-23.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh145
Picked101
Done011
Total69675

Merged error: 20.0b

Counts
75 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (sqrt (+ (* re re) (* im im))) re)
5.7b
(sqrt (* 2.0 (/ (* im im) (- (sqrt (+ (* re re) (* im im))) re))))
23.8b
(/ (* im im) (- (sqrt (+ (* re re) (* im im))) re))
32.0b
(sqrt (+ (* re re) (* im im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×*-un-lft-identity
add-exp-log add-cbrt-cube
pow1
add-cube-cbrt sqrt-prod
times-frac associate-/r* add-log-exp difference-of-squares
sqrt-pow1 sqrt-div distribute-lft-out--
cbrt-undiv flip3-- pow1/2 div-exp associate-/r/ flip--
sub-neg rem-sqrt-square frac-2neg flip3-+ diff-log associate-*r/ pow-prod-down prod-exp clear-num cbrt-unprod flip-+ div-inv associate-/l*
Counts
4 → 70
Calls
4 calls:
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
10.0ms
(sqrt (* 2.0 (/ (* im im) (- (sqrt (+ (* re re) (* im im))) re))))
10.0ms
(/ (* im im) (- (sqrt (+ (* re re) (* im im))) re))
4.0ms
(sqrt (+ (* re re) (* im im)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
21.0ms
(sqrt (* 2.0 (/ (* im im) (- (sqrt (+ (* re re) (* im im))) re))))
11.0ms
(/ (* im im) (- (sqrt (+ (* re re) (* im im))) re))
8.0ms
(sqrt (+ (* re re) (* im im)))

simplify52.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049471144
149471144

prune98.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New76682
Fresh224
Picked101
Done101
Total80888

Merged error: 16.0b

Counts
88 → 8

regimes251.0ms

Accuracy

48.4% (13.5b remaining)

Error of 28.5b against oracle of 15.0b and baseline of 41.1b

bsearch53.0ms

Steps
ItersRangePoint
9
5.983163384489359e-27
9.413377566249406e-22
6.484290788128597e-27
6
-2.2414479971788564e-256
-5.197495970254032e-257
-7.599282262320009e-257
6
-2.79678333037385e+173
-6.260661590034211e+172
-6.362988283858864e+172

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05959
15959

end0.0ms

sample887.0ms

Algorithm
intervals
Results
282.0ms6073×body80valid
189.0ms672×body2560valid
113.0ms504×body1280valid
87.0ms267×body5120valid
49.0ms270×body640valid
18.0ms139×body320valid
7.0ms75×body160valid

Profiling

Loading profile data...