Details

Time bar (total: 2.5s)

analyze87.0ms

Algorithm
search

sample14.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
174

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
31.8b
(sqrt (+ (* re re) (* im im)))

rewrite7.0ms

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

series13.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(+ (* re re) (* im im))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify46.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0125177
1530163
21540163
35001162

prune45.0ms

Filtered
25 candidates to 32 candidates (-28.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New28432
Fresh000
Picked011
Done000
Total28533

Merged error: 10.1b

Counts
33 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* re re) (* im im))))
0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
32.8b
(cbrt (+ (* re re) (* im im)))
32.8b
(cbrt (+ (* re re) (* im im)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×cbrt-prod sqrt-prod
12×add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-div
pow1
add-exp-log add-cbrt-cube
flip3-+ sqrt-div flip-+ add-log-exp
pow1/3 associate-*l* unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r/
pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
4.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
8.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
3.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))

series97.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
34.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
21.0ms
(cbrt (+ (* re re) (* im im)))
21.0ms
(cbrt (+ (* re re) (* im im)))

simplify108.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0311925
11082871
24121841
35001813

prune118.0ms

Filtered
72 candidates to 86 candidates (-19.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New85186
Fresh033
Picked011
Done011
Total85691

Merged error: 10.1b

Counts
91 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* re re) (* im im))))
0.3b
(* (fabs (pow (+ (* re re) (* im im)) 1/3)) (sqrt (cbrt (+ (* re re) (* im im)))))
32.8b
(cbrt (+ (* re re) (* im im)))
34.8b
(pow (+ (* re re) (* im im)) 1/3)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
14×sqrt-prod
13×add-cube-cbrt *-un-lft-identity
11×cbrt-prod
associate-*r*
pow1
add-exp-log
cbrt-div add-cbrt-cube
sqrt-div add-log-exp
unpow-prod-down pow-unpow flip3-+ associate-*l* flip-+ unswap-sqr
rem-sqrt-square sqrt-pow1 pow1/3 associate-*r/
pow-to-exp pow-pow pow1/2 unpow1/3 pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod sqr-pow
Counts
4 → 79
Calls
4 calls:
4.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
8.0ms
(* (fabs (pow (+ (* re re) (* im im)) 1/3)) (sqrt (cbrt (+ (* re re) (* im im)))))
3.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(pow (+ (* re re) (* im im)) 1/3)

series99.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
36.0ms
(* (fabs (pow (+ (* re re) (* im im)) 1/3)) (sqrt (cbrt (+ (* re re) (* im im)))))
21.0ms
(cbrt (+ (* re re) (* im im)))
21.0ms
(pow (+ (* re re) (* im im)) 1/3)

simplify43.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0359914
11339842
25001801

prune142.0ms

Filtered
69 candidates to 91 candidates (-31.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New90191
Fresh033
Picked101
Done022
Total91697

Merged error: 10.1b

Counts
97 → 6

localize27.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt 1/3) (cbrt 1/3))
6.3b
(pow (pow (+ (* re re) (* im im)) (* (cbrt 1/3) (cbrt 1/3))) (cbrt 1/3))
32.8b
(cbrt (+ (* re re) (* im im)))
33.8b
(pow (+ (* re re) (* im im)) (* (cbrt 1/3) (cbrt 1/3)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×cbrt-prod
18×add-cube-cbrt *-un-lft-identity
13×unpow-prod-down
12×pow1
add-exp-log
pow-unpow pow1/3
swap-sqr associate-*r* associate-*l*
pow-exp
add-cbrt-cube add-log-exp unswap-sqr
pow-to-exp sqr-pow
cbrt-div pow-pow pow-prod-down pow-sqr pow-prod-up
pow2 flip3-+ pow-plus prod-exp *-commutative cbrt-unprod flip-+
Counts
4 → 94
Calls
4 calls:
5.0ms
(* (cbrt 1/3) (cbrt 1/3))
6.0ms
(pow (pow (+ (* re re) (* im im)) (* (cbrt 1/3) (cbrt 1/3))) (cbrt 1/3))
3.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(pow (+ (* re re) (* im im)) (* (cbrt 1/3) (cbrt 1/3)))

series106.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(* (cbrt 1/3) (cbrt 1/3))
50.0ms
(pow (pow (+ (* re re) (* im im)) (* (cbrt 1/3) (cbrt 1/3))) (cbrt 1/3))
21.0ms
(cbrt (+ (* re re) (* im im)))
35.0ms
(pow (+ (* re re) (* im im)) (* (cbrt 1/3) (cbrt 1/3)))

simplify48.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0357856
11455798
25001732

prune216.0ms

Filtered
75 candidates to 104 candidates (-38.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh033
Picked101
Done022
Total1046110

Merged error: 10.1b

Counts
110 → 6

regimes504.0ms

Accuracy

59.8% (9.5b remaining)

Error of 16.9b against oracle of 7.4b and baseline of 31.0b

bsearch48.0ms

Steps
ItersRangePoint
6
5.693365055063027e+149
2.5572264153950414e+150
5.762764879306503e+149
4
-2.926845128760278e+149
-1.699897758245427e+149
-1.8227820349801547e+149

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0175
1175

end0.0ms

analyze90.0ms

Algorithm
search

sample561.0ms

Algorithm
intervals
Results
436.0ms8000×body80valid

Profiling

Loading profile data...