Details

Time bar (total: 3.0s)

analyze342.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14

sample37.0ms

Algorithm
intervals
Results
9.0ms188×body80valid
5.0ms19×body2560valid
5.0ms15×body5120valid
4.0ms17×body1280valid
3.0ms256×pre80true
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01515
11515

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.2b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (- (sqrt (+ (* re re) (* im im))) re))
0.2b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
1.0b
(- (sqrt (+ (* re re) (* im im))) re)
28.8b
(sqrt (+ (* re re) (* im im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
11×*-un-lft-identity
10×pow1
add-cube-cbrt
add-exp-log associate-*r* sqrt-prod add-cbrt-cube add-log-exp
sqrt-div associate-*r/ difference-of-squares
sub-neg flip3-- sqrt-pow1 associate-*l* flip--
pow1/2 pow-prod-down distribute-lft-out--
distribute-rgt-in rem-sqrt-square distribute-lft-in flip3-+ diff-log prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 67
Calls
4 calls:
12.0ms
(* 2.0 (- (sqrt (+ (* re re) (* im im))) re))
7.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
6.0ms
(- (sqrt (+ (* re re) (* im im))) re)
3.0ms
(sqrt (+ (* re re) (* im im)))

series45.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
04950936
14950936

prune127.0ms

Filtered
63 candidates to 79 candidates (-25.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New72779
Fresh000
Picked101
Done000
Total73780

Merged error: 8.6b

Counts
80 → 7

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(sqrt (* 2.0 (- im re)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls
1 calls:
4.0ms
(sqrt (* 2.0 (- im re)))

series15.0ms

Counts
1 → 3
Calls
1 calls:
15.0ms
(sqrt (* 2.0 (- im re)))

simplify32.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05318162

prune40.0ms

Filtered
13 candidates to 16 candidates (-23.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh066
Picked011
Done000
Total15823

Merged error: 8.6b

Counts
23 → 8

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (- im re)))
0.0b
(log (sqrt (* 2.0 (- im re))))
3.5b
(exp (log (sqrt (* 2.0 (- im re)))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1
log-prod log-pow
exp-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity sqrt-pow1 sqrt-div associate-*r/
add-exp-log log-div exp-sum
flip3-- pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
exp-diff
rem-log-exp rem-exp-log
Counts
3 → 52
Calls
3 calls:
4.0ms
(sqrt (* 2.0 (- im re)))
5.0ms
(log (sqrt (* 2.0 (- im re))))
6.0ms
(exp (log (sqrt (* 2.0 (- im re)))))

series46.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(sqrt (* 2.0 (- im re)))
17.0ms
(log (sqrt (* 2.0 (- im re))))
15.0ms
(exp (log (sqrt (* 2.0 (- im re)))))

simplify32.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
05208620

prune106.0ms

Filtered
45 candidates to 61 candidates (-35.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New60161
Fresh066
Picked101
Done011
Total61869

Merged error: 8.6b

Counts
69 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
11.0b
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
28.8b
(sqrt (+ (* re re) (* im im)))
28.8b
(sqrt (+ (* re re) (* im im)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
51×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
flip3-+ flip-+
add-exp-log add-cbrt-cube add-log-exp
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-*r/ associate-*l/
pow2 sub-neg flip3-- pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative flip-- cbrt-unprod difference-of-squares
Counts
4 → 125
Calls
4 calls:
14.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
15.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
3.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series25.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049251493
149251493

prune117.0ms

Filtered
74 candidates to 137 candidates (-85.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1352137
Fresh156
Picked011
Done011
Total1369145

Merged error: 8.6b

Counts
145 → 9

regimes313.0ms

Accuracy

42.6% (11.1b remaining)

Error of 20.7b against oracle of 9.7b and baseline of 28.9b

bsearch77.0ms

Steps
ItersRangePoint
9
2.6764312614606914e+50
9.800889802775413e+57
2.7223419195749627e+50
7
-9.218399617431092e-33
-1.0597130700650951e-34
-1.3272029508543682e-33

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03642
13642

end0.0ms

analyze337.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14

sample1.1s

Algorithm
intervals
Results
301.0ms6027×body80valid
202.0ms688×body2560valid
119.0ms501×body1280valid
100.0ms8000×pre80true
94.0ms277×body5120valid
50.0ms272×body640valid
26.0ms168×body320valid
6.0ms67×body160valid

Profiling

Loading profile data...