Details

Time bar (total: 21.1s)

sample46.0ms

Algorithm
intervals
Results
29.0ms464×body80valid

simplify4.6s

Counts
1 → 1
Iterations
IterNodes
done5003
62763
51086
4382
3146
255
124
011

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 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))
3.9b
(* (- (* x.re 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-+ 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 → 79
Calls
4 calls:
11.0ms
(+ (* x.re x.im) (* x.im x.re))
36.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
47.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
35.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series213.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (* x.re x.im) (* x.im x.re))
32.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
88.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
68.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.3s

Counts
91 → 91
Iterations
IterNodes
done5002
21831
1431
0149

prune507.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize45.0ms

Local error

Found 4 expressions with local error:

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

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
99×distribute-rgt-in distribute-lft-in
91×prod-diff
75×add-sqr-sqrt
73×*-un-lft-identity
69×add-cube-cbrt
44×associate--l+
26×associate-*r/
24×associate-*l/
18×flip3-+ flip-+
16×frac-sub
13×pow1 add-cbrt-cube add-exp-log
12×frac-times
11×sub-neg flip3-- flip--
10×associate-*l*
associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
*-commutative
unswap-sqr
fma-neg diff-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 217
Calls
4 calls:
26.0ms
(* x.re (- x.re x.im))
24.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
47.0ms
(- (* (+ x.re x.im) (* x.re (- x.re x.im))) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
58.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

series249.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* x.re (- x.re x.im))
39.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
76.0ms
(- (* (+ x.re x.im) (* x.re (- x.re x.im))) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
82.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

simplify1.7s

Counts
229 → 229
Iterations
IterNodes
done5000
11295
0341

prune1.3s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.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 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 → 95
Calls
4 calls:
67.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
7.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
7.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
5.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series586.0ms

Counts
4 → 12
Calls
4 calls:
162.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)))
143.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
132.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify2.5s

Counts
107 → 107
Iterations
IterNodes
done5002
32077
2770
1311
0123

prune679.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize100.0ms

Local error

Found 4 expressions with local error:

16.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
16.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
16.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
16.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt cbrt-div *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 flip3-+ add-cbrt-cube pow1/3 add-exp-log flip-+ log1p-expm1-u add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
7.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
5.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series521.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
131.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
123.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
124.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify2.4s

Counts
72 → 72
Iterations
IterNodes
done5000
42665
3851
2376
1154
062

prune616.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes203.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify8.0ms

Iterations
IterNodes
done26
126
018

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.7s14370×body80valid