Details

Time bar (total: 21.3s)

sample40.0ms

Algorithm
intervals
Results
22.0ms464×body80valid

simplify4.6s

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

prune22.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.1b

localize41.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)

rewrite121.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:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
19.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
46.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
46.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series271.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ (* x.re x.im) (* x.im x.re))
55.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
94.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
83.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.4s

Counts
91 → 91
Iterations
IterNodes
done5002
21831
1431
0149

prune570.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize41.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)))

rewrite236.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:
29.0ms
(* x.re (- x.re x.im))
35.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
98.0ms
(- (* (+ x.re x.im) (* x.re (- x.re x.im))) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
63.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* x.re (- x.re x.im))
33.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
96.0ms
(- (* (+ x.re x.im) (* x.re (- x.re x.im))) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
74.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

simplify1.6s

Counts
229 → 229
Iterations
IterNodes
done5000
11295
0341

prune1.3s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize52.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)))

rewrite89.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:
70.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)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series642.0ms

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

simplify2.3s

Counts
107 → 107
Iterations
IterNodes
done5002
32077
2770
1311
0123

prune743.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize114.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)))

rewrite24.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:
10.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)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series542.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
152.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
142.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
127.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify2.4s

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

prune575.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes266.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done26
126
018

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.7s14370×body80valid