Details

Time bar (total: 16.4s)

sample67.0ms

Algorithm
intervals
Results
52.0ms428×body80valid

simplify2.6s

Counts
1 → 1

prune19.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.3b

localize49.0ms

Local error

Found 4 expressions with local error:

6.3b
(* (- (* x.re x.re) (* x.im x.im)) x.im)
0.2b
(* (+ (* 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.re) (* x.im x.im))

rewrite133.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-+ flip3-- frac-add flip-+ insert-posit16 flip--
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
+-commutative sum-log sub-neg diff-log
Counts
4 → 73
Calls
4 calls:
Slowest
44.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
40.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
35.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
13.0ms
(- (* x.re x.re) (* x.im x.im))

series304.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
125.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
95.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
62.0ms
(- (* x.re x.re) (* x.im x.im))
22.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

simplify641.0ms

Counts
85 → 85

prune697.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize30.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ x.re x.im) (* (- x.re x.im) x.im))
0.2b
(* (+ (* 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)

rewrite166.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
insert-posit16
*-commutative
unswap-sqr
+-commutative sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 100
Calls
4 calls:
Slowest
69.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
35.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
34.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))
26.0ms
(* (- x.re x.im) x.im)

series257.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
107.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
84.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))
43.0ms
(* (- x.re x.im) x.im)
23.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

simplify1.4s

Counts
112 → 112

prune1.1s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.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
37.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
17.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
8.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
7.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

series650.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
206.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
157.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
156.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
130.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify869.0ms

Counts
88 → 88

prune1.1s

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 0.0b

localize46.0ms

Local error

Found 4 expressions with local error:

25.5b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
25.5b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
16.0b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
0.6b
(cbrt x.re)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt cbrt-div *-un-lft-identity add-cube-cbrt
pow1 add-cbrt-cube pow1/3 associate-*l/ add-exp-log insert-posit16 add-log-exp
flip3-+ flip-+
Counts
4 → 50
Calls
4 calls:
Slowest
8.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
7.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
7.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
1.0ms
(cbrt x.re)

series711.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
285.0ms
(cbrt x.re)
156.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
149.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
121.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify1.8s

Counts
62 → 62

prune946.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 0.0b

regimes202.0ms

Accuracy

0% (0.5b remaining)

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

bsearch4.0ms

end0.0ms

sample2.5s

Algorithm
intervals
Results
2.1s14527×body80valid