Details

Time bar (total: 11.6s)

sample85.0ms

Algorithm
intervals
Results
67.0ms447×body80valid

simplify850.0ms

Counts
1 → 1

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.4b

localize39.0ms

Local error

Found 4 expressions with local error:

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

rewrite95.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-+
expm1-log1p-u frac-add insert-posit16 log1p-expm1-u
flip3-- flip--
+-commutative sum-log fma-def pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 81
Calls
4 calls:
Slowest
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
25.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
21.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
14.0ms
(+ (* x.re x.im) (* x.im x.re))

series227.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
92.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
67.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
35.0ms
(+ (* x.re x.im) (* x.im x.re))
32.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

simplify631.0ms

Counts
97 → 93

prune912.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*l/
19×flip3-+ flip-+
16×frac-add
15×add-sqr-sqrt
13×pow1 *-un-lft-identity add-cbrt-cube add-exp-log
12×frac-times associate-*l*
10×flip3-- flip--
add-cube-cbrt
associate-*r*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u insert-posit16 log1p-expm1-u
*-commutative
unswap-sqr
+-commutative sum-log fma-def distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 109
Calls
4 calls:
Slowest
72.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))
70.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
40.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
31.0ms
(* (- x.re x.im) x.im)

series294.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
122.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
91.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))
60.0ms
(* (- x.re x.im) x.im)
21.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

simplify334.0ms

Counts
140 → 121

prune1.1s

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite86.0ms

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

series268.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
154.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
40.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
38.0ms
(* (- x.re x.im) x.im)
36.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify331.0ms

Counts
86 → 86

prune839.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize52.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×*-un-lft-identity add-cube-cbrt
11×pow1
flip3-+ pow1/3 flip-+
swap-sqr associate-*r* associate-*l* add-exp-log
expm1-log1p-u frac-times add-cbrt-cube insert-posit16 log1p-expm1-u 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
36.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
8.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
8.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
7.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series557.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
161.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
148.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
139.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
109.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify415.0ms

Counts
135 → 111

prune1.2s

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

regimes144.0ms

Accuracy

0% (0.2b remaining)

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

bsearch3.0ms

end0.0ms

sample2.8s

Algorithm
intervals
Results
2.4s14490×body80valid