Details

Time bar (total: 15.9s)

sample35.0ms

Algorithm
intervals
Results
22.0ms488×body80valid

simplify3.4s

Counts
1 → 1
Iterations
IterNodes
done5001
51929
4533
3180
266
124
011

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.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))
23.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
18.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
24.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series207.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* x.re x.im) (* x.im x.re))
60.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
51.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
69.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.0s

Counts
91 → 91
Iterations
IterNodes
done5000
22926
1444
0149

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

rewrite156.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 log1p-expm1-u
*-commutative
+-commutative sum-log sub-neg fma-def fma-neg diff-log prod-diff distribute-lft-out unswap-sqr
Counts
4 → 97
Calls
4 calls:
12.0ms
(+ (* x.re x.im) (* x.im x.re))
57.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
18.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
61.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

series246.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (* x.re x.im) (* x.im x.re))
86.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
57.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
81.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

simplify937.0ms

Counts
109 → 109
Iterations
IterNodes
done5000
1773
0211

prune672.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 3 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-*r*
12×add-sqr-sqrt
10×pow1 *-un-lft-identity add-cbrt-cube add-exp-log
add-cube-cbrt
associate-*l*
pow-prod-down associate-*l/ prod-exp cbrt-unprod
distribute-lft-neg-in expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u add-log-exp
associate-*r/ *-commutative
neg-mul-1 flip3-+ flip3-- distribute-rgt-neg-out flip-+ fma-udef flip-- distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 64
Calls
3 calls:
31.0ms
(* (- x.re x.im) x.re)
0.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (* (* x.im (+ x.re x.re)) (- x.im)))
33.0ms
(* (* x.im (+ x.re x.re)) (- x.im))

series196.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(* (- x.re x.im) x.re)
123.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (* (* x.im (+ x.re x.re)) (- x.im)))
24.0ms
(* (* x.im (+ x.re x.re)) (- x.im))

simplify1.6s

Counts
73 → 73
Iterations
IterNodes
done5000
22230
1333
0122

prune415.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- x.re x.im)) (cbrt (- x.re x.im)))
0.6b
(cbrt (- x.re x.im))
0.6b
(cbrt (- x.re x.im))
0.6b
(cbrt (- x.re x.im))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
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 → 109
Calls
4 calls:
44.0ms
(* (cbrt (- x.re x.im)) (cbrt (- x.re x.im)))
3.0ms
(cbrt (- x.re x.im))
3.0ms
(cbrt (- x.re x.im))
4.0ms
(cbrt (- x.re x.im))

series769.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(* (cbrt (- x.re x.im)) (cbrt (- x.re x.im)))
197.0ms
(cbrt (- x.re x.im))
203.0ms
(cbrt (- x.re x.im))
204.0ms
(cbrt (- x.re x.im))

simplify1.3s

Counts
121 → 121
Iterations
IterNodes
done5000
21029
1295
0135

prune694.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes220.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify6.0ms

Iterations
IterNodes
done20
320
218
116
011

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.7s14404×body80valid