Details

Time bar (total: 16.2s)

sample97.0ms

Algorithm
intervals
Results
79.0ms494×body80valid

simplify1.6s

Counts
1 → 1

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.9b

localize37.0ms

Local error

Found 4 expressions with local error:

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

rewrite130.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*
expm1-log1p-u flip3-+ flip3-- frac-sub flip-+ insert-posit16 log1p-expm1-u flip--
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative sum-log sub-neg fma-def fma-neg diff-log prod-diff difference-of-squares
Counts
4 → 83
Calls
4 calls:
Slowest
54.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
44.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)
21.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
9.0ms
(+ (* x.re x.im) (* x.im x.re))

series227.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
83.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)
80.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
40.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
24.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify674.0ms

Counts
95 → 95

prune921.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.1b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite144.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/
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod insert-posit16 log1p-expm1-u
*-commutative
+-commutative sum-log sub-neg fma-def fma-neg diff-log prod-diff distribute-lft-out unswap-sqr
Counts
4 → 101
Calls
4 calls:
Slowest
64.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
44.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))
19.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
14.0ms
(+ (* x.re x.im) (* x.im x.re))

series229.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
79.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
77.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))
41.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
31.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify1.4s

Counts
113 → 113

prune1.1s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
pow1 add-cbrt-cube associate-*r* associate-*l* add-exp-log add-cube-cbrt
add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u
flip3-+ distribute-rgt-out pow-prod-down associate-*l/ prod-exp associate-*r/ *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
distribute-rgt-in +-commutative sum-log fma-def distribute-lft-in flip3-- fma-udef flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 80
Calls
4 calls:
Slowest
33.0ms
(* x.im (+ (* x.re x.im) (* x.re x.im)))
15.0ms
(* (- x.re x.im) x.re)
9.0ms
(+ (* x.re x.im) (* x.re x.im))
0.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* x.im (+ (* x.re x.im) (* x.re x.im)))))

series253.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
117.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* x.im (+ (* x.re x.im) (* x.re x.im)))))
69.0ms
(* (- x.re x.im) x.re)
38.0ms
(+ (* x.re x.im) (* x.re x.im))
29.0ms
(* x.im (+ (* x.re x.im) (* x.re x.im)))

simplify1.4s

Counts
92 → 92

prune979.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize44.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×cbrt-prod
10×*-un-lft-identity add-cube-cbrt
pow1 associate-*l* add-exp-log
add-cbrt-cube associate-*r*
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
pow1/3
associate-*r/ unswap-sqr
distribute-rgt-in distribute-lft-in flip3-+ distribute-rgt-out pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out
Counts
4 → 73
Calls
4 calls:
Slowest
26.0ms
(* (cbrt x.im) (+ (* x.re x.im) (* x.re x.im)))
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)

series989.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
302.0ms
(cbrt x.im)
290.0ms
(cbrt x.im)
213.0ms
(cbrt x.im)
183.0ms
(* (cbrt x.im) (+ (* x.re x.im) (* x.re x.im)))

simplify1.6s

Counts
85 → 85

prune1.2s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes174.0ms

Accuracy

0% (0.2b remaining)

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

bsearch6.0ms

end0.0ms

sample2.8s

Algorithm
intervals
Results
2.4s14404×body80valid