Details

Time bar (total: 19.7s)

sample91.0ms

Algorithm
intervals
Results
73.0ms455×body80valid

simplify1.1s

Counts
1 → 1

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.8b

localize37.0ms

Local error

Found 4 expressions with local error:

4.8b
(* (- (* x.re x.re) (* x.im x.im)) x.re)
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
0.1b
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
0.0b
(- (* x.re x.re) (* x.im x.im))

rewrite129.0ms

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

series264.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
97.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
74.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)
48.0ms
(- (* x.re x.re) (* x.im x.im))
45.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)

simplify4.0s

Counts
86 → 86

prune817.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
19×flip3-+ flip-+
16×frac-sub
12×frac-times
11×pow1 add-cbrt-cube add-exp-log
10×flip3-- flip--
add-sqr-sqrt *-un-lft-identity
add-log-exp
associate-*l* add-cube-cbrt
associate-*r/
associate-*r* pow-prod-down prod-exp cbrt-unprod insert-posit16
*-commutative
+-commutative sum-log sub-neg diff-log distribute-lft-out unswap-sqr
Counts
4 → 90
Calls
4 calls:
Slowest
50.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
39.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))
32.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
15.0ms
(+ (* x.re x.im) (* x.im x.re))

series235.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
78.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))
75.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
55.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
27.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify1.5s

Counts
102 → 102

prune942.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize52.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.0ms

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

series678.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
204.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im)))
158.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))
158.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))
158.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.im))

simplify936.0ms

Counts
88 → 88

prune1.1s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize71.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube insert-posit16 add-log-exp unswap-sqr
pow-prod-down associate-*l/ associate-*r/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 99
Calls
4 calls:
Slowest
55.0ms
(* (cbrt (+ x.re x.im)) (cbrt (+ x.re x.im)))
5.0ms
(cbrt (+ x.re x.im))
5.0ms
(cbrt (+ x.re x.im))
5.0ms
(cbrt (+ x.re x.im))

series909.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
262.0ms
(* (cbrt (+ x.re x.im)) (cbrt (+ x.re x.im)))
238.0ms
(cbrt (+ x.re x.im))
227.0ms
(cbrt (+ x.re x.im))
181.0ms
(cbrt (+ x.re x.im))

simplify1.9s

Counts
111 → 111

prune1.5s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes170.0ms

Accuracy

0% (0.6b remaining)

Error of 0.7b against oracle of 0.1b and baseline of 0.7b

bsearch5.0ms

end0.0ms

sample3.0s

Algorithm
intervals
Results
2.7s14530×body80valid