Details

Time bar (total: 2.7s)

sample132.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 10.324097%

Guaranteed chance to sample good point: 98.713629%

Results
17.0ms256×body80valid
6.0ms121×body80invalid

simplify160.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21139
32775
47055
515715
644935
750025

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.4b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x.re x.re) (* x.im x.im))
0.2b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
0.2b
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
7.0b
(* (- (* x.re x.re) (* x.im x.im)) x.im)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l*
associate-*r*
flip3-- flip3-+ frac-add flip-- flip-+
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
+-commutative sub-neg diff-log sum-log
Counts
4 → 69
Calls
4 calls:
3.0ms
(- (* x.re x.re) (* x.im x.im))
6.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
7.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
6.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series35.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* x.re x.re) (* x.im x.im))
7.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
11.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
11.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify67.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0411707
12066630
25001535

prune116.0ms

Filtered
60 candidates to 81 candidates (-35.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New72981
Fresh011
Picked011
Done000
Total721183

Merged error: 0.1b

Counts
83 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x.re x.im) (* x.im x.re))
0.2b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
0.2b
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.2b
(* (+ x.re x.im) (* (- x.re x.im) x.im))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt flip3-- *-un-lft-identity flip--
add-log-exp
add-cube-cbrt associate-*l*
associate-*r/
associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative sum-log *-commutative
distribute-lft-out unswap-sqr
Counts
4 → 85
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
5.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
12.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
9.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series32.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
4.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
13.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
10.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify127.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (117.0ms)

IterNodesCost
07071230
141221070
25001752

prune140.0ms

Filtered
68 candidates to 97 candidates (-42.6%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New88997
Fresh549
Picked101
Done011
Total9414108

Merged error: 0.0b

Counts
108 → 14

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
22.3b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
22.3b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
22.3b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*l/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
associate-*r/ pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
7.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
4.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
4.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
5.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

series96.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
21.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
21.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
21.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0289935
1961852
25001770

prune130.0ms

Filtered
66 candidates to 84 candidates (-27.3%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh01212
Picked011
Done011
Total841498

Merged error: 0.0b

Counts
98 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* x.im (+ x.re x.re)) (cbrt x.re))
0.6b
(cbrt x.re)
0.6b
(cbrt x.re)
0.6b
(cbrt x.re)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-cbrt-cube
associate-*r*
add-log-exp
pow1/3 pow-prod-down prod-exp cbrt-unprod
associate-*r/ associate-*l/
flip3-+ associate-*l* *-commutative flip-+
Counts
4 → 56
Calls
4 calls:
8.0ms
(* (* x.im (+ x.re x.re)) (cbrt x.re))
1.0ms
(cbrt x.re)
1.0ms
(cbrt x.re)
1.0ms
(cbrt x.re)

series90.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* x.im (+ x.re x.re)) (cbrt x.re))
22.0ms
(cbrt x.re)
22.0ms
(cbrt x.re)
25.0ms
(cbrt x.re)

simplify39.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0252309
11045276
25002237

prune64.0ms

Filtered
51 candidates to 68 candidates (-33.3%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New68068
Fresh01111
Picked011
Done022
Total681482

Merged error: 0.0b

Counts
82 → 14

regimes224.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 0.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02122
12222
22222

end0.0ms

sample1.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 10.324097%

Guaranteed chance to sample good point: 98.713629%

Results
385.0ms8000×body80valid
226.0ms4827×body80invalid

Profiling

Loading profile data...