Details

Time bar (total: 15.1s)

sample73.0ms

Algorithm
intervals
Results
57.0ms475×body80valid

simplify1.3s

Counts
1 → 1
Iterations
IterNodes
done2012
62012
51086
4382
3146
255
124
011

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

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

rewrite123.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:
11.0ms
(+ (* x.re x.im) (* x.im x.re))
55.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
20.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
36.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series199.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* x.re x.im) (* x.im x.re))
69.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
36.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
64.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify1.4s

Counts
95 → 95
Iterations
IterNodes
done2006
32006
21872
1436
0153

prune467.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

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

rewrite528.0ms

Algorithm
rewrite-expression-head
Rules
88×distribute-rgt-in distribute-lft-in
73×prod-diff
57×add-sqr-sqrt *-un-lft-identity
55×add-cube-cbrt
44×associate--l+
24×associate-*l/ associate-*r/
19×flip3-+ flip-+
16×frac-sub
12×frac-times
11×pow1 add-cbrt-cube add-exp-log
10×flip3-- flip--
sub-neg
add-log-exp
associate-*l*
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod insert-posit16 log1p-expm1-u
*-commutative
+-commutative sum-log fma-def fma-neg diff-log distribute-lft-out unswap-sqr
Counts
4 → 189
Calls
4 calls:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
424.0ms
(- (* (+ x.re x.im) (* x.re (- x.re x.im))) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
37.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
55.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (* x.re x.im) (* x.im x.re))
64.0ms
(- (* (+ x.re x.im) (* x.re (- x.re x.im))) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
30.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
88.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

simplify1.3s

Counts
201 → 201
Iterations
IterNodes
done2000
22000
11209
0334

prune1.1s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize59.0ms

Local error

Found 4 expressions with local error:

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

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log
12×cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
add-cbrt-cube
associate-*r* pow-prod-down associate-*l/ prod-exp cbrt-unprod
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
pow1/3
flip3-+ associate-*l* *-commutative flip-+
Counts
4 → 71
Calls
4 calls:
191.0ms
(* (* (* (+ (* x.im x.re) (* x.im x.re)) (cbrt x.im)) (cbrt x.im)) (cbrt x.im))
1.0ms
(cbrt x.im)
1.0ms
(cbrt x.im)
2.0ms
(cbrt x.im)

series915.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* (* (* (+ (* x.im x.re) (* x.im x.re)) (cbrt x.im)) (cbrt x.im)) (cbrt x.im))
292.0ms
(cbrt x.im)
252.0ms
(cbrt x.im)
315.0ms
(cbrt x.im)

simplify1.1s

Counts
83 → 83
Iterations
IterNodes
done2003
32003
2996
1243
085

prune473.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

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

rewrite84.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 insert-posit16 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 → 99
Calls
4 calls:
58.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
8.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
8.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
8.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series571.0ms

Counts
4 → 12
Calls
4 calls:
201.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
129.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
105.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
137.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify1.1s

Counts
111 → 111
Iterations
IterNodes
done2003
32003
2767
1313
0125

prune646.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0.0b

regimes174.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done16
116
011

end0.0ms

sample2.9s

Algorithm
intervals
Results
2.5s14444×body80valid