Details

Time bar (total: 29.8s)

sample113.0ms

Algorithm
intervals
Results
96.0ms482×body80valid

simplify2.1s

Counts
1 → 1
Iterations
IterNodes
62754
51086
4382
3146
255
124
011

prune19.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.0b

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

rewrite122.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-+ insert-posit16 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 → 83
Calls
4 calls:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
35.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
33.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
46.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series238.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* x.re x.im) (* x.im x.re))
94.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
47.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
71.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify12.0s

Counts
95 → 95
Iterations
IterNodes
38327
21913
1434
0153

prune949.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

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

rewrite178.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 insert-posit16 log1p-expm1-u
*-commutative
+-commutative sum-log sub-neg fma-def fma-neg diff-log prod-diff distribute-lft-out unswap-sqr
Counts
4 → 101
Calls
4 calls:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
70.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
67.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))
30.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)

series202.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (* x.re x.im) (* x.im x.re))
70.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
62.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))
33.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)

simplify1.5s

Counts
113 → 113
Iterations
IterNodes
24313
1773
0215

prune1.2s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize47.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
associate-*r* associate-*l*
expm1-log1p-u associate-*r/ insert-posit16 log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef unswap-sqr
Counts
4 → 72
Calls
4 calls:
0.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* x.im (+ (* x.re x.im) (* x.im x.re)))))
44.0ms
(* x.im (+ (* x.re x.im) (* x.im x.re)))
27.0ms
(* x.im (+ (* x.re x.im) (* x.im x.re)))
0.0ms
(fma (- x.im) (+ (* x.re x.im) (* x.im x.re)) (* x.im (+ (* x.re x.im) (* x.im x.re))))

series255.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* x.im (+ (* x.re x.im) (* x.im x.re)))))
36.0ms
(* x.im (+ (* x.re x.im) (* x.im x.re)))
24.0ms
(* x.im (+ (* x.re x.im) (* x.im x.re)))
42.0ms
(fma (- x.im) (+ (* x.re x.im) (* x.im x.re)) (* x.im (+ (* x.re x.im) (* x.im x.re))))

simplify1.5s

Counts
84 → 84
Iterations
IterNodes
33209
2775
1213
086

prune1.2s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize96.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.im)
0.6b
(cbrt x.im)
0.6b
(cbrt x.im)
37.0b
(fma (- x.im) (+ (* x.re x.im) (* x.im x.re)) (* (* (cbrt x.im) (cbrt x.im)) (* (cbrt x.im) (+ (* x.re x.im) (* x.im x.re)))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 53
Calls
4 calls:
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)
1.0ms
(fma (- x.im) (+ (* x.re x.im) (* x.im x.re)) (* (* (cbrt x.im) (cbrt x.im)) (* (cbrt x.im) (+ (* x.re x.im) (* x.im x.re)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
280.0ms
(cbrt x.im)
643.0ms
(cbrt x.im)
257.0ms
(cbrt x.im)
91.0ms
(fma (- x.im) (+ (* x.re x.im) (* x.im x.re)) (* (* (cbrt x.im) (cbrt x.im)) (* (cbrt x.im) (+ (* x.re x.im) (* x.im x.re)))))

simplify2.5s

Counts
65 → 65
Iterations
IterNodes
45370
3896
2244
190
047

prune968.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes184.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations
IterNodes
433
333
228
122
014

end0.0ms

sample2.9s

Algorithm
intervals
Results
2.5s14517×body80valid