Details

Time bar (total: 10.6s)

sample84.0ms

Algorithm
intervals
Results
69.0ms455×body80valid

simplify1.2s

Counts
1 → 1
Iterations
IterNodes
done2000
61781
5723
4268
3110
250
123
011

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.2b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x.re (* x.re 3)) (* x.im x.im))
0.1b
(* x.re (* x.re 3))
5.3b
(* (- (* x.re (* x.re 3)) (* x.im x.im)) x.im)

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt
*-un-lft-identity associate-*l* add-cube-cbrt
add-log-exp
associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u insert-posit16 log1p-expm1-u
flip3-- associate-*l/ *-commutative flip--
sub-neg fma-neg diff-log prod-diff unswap-sqr
Counts
3 → 61
Calls
3 calls:
26.0ms
(- (* x.re (* x.re 3)) (* x.im x.im))
28.0ms
(* x.re (* x.re 3))
89.0ms
(* (- (* x.re (* x.re 3)) (* x.im x.im)) x.im)

series175.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(- (* x.re (* x.re 3)) (* x.im x.im))
35.0ms
(* x.re (* x.re 3))
90.0ms
(* (- (* x.re (* x.re 3)) (* x.im x.im)) x.im)

simplify716.0ms

Counts
70 → 70
Iterations
IterNodes
done2002
2797
1239
097

prune272.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.2b

localize46.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.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
5.3b
(* (- (* x.re x.re) (* x.im x.im)) x.im)

rewrite140.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*
flip3-+ flip-+
expm1-log1p-u frac-add insert-posit16 log1p-expm1-u
flip3-- flip--
+-commutative sum-log fma-def pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 81
Calls
4 calls:
12.0ms
(+ (* x.re x.im) (* x.im x.re))
40.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
38.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
50.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series201.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (* x.re x.im) (* x.im x.re))
80.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
26.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
71.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify893.0ms

Counts
93 → 93
Iterations
IterNodes
done2000
21801
1430
0147

prune446.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

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

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt *-un-lft-identity flip3-- flip--
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 sum-log fma-def *-commutative
distribute-lft-out unswap-sqr
Counts
4 → 99
Calls
4 calls:
15.0ms
(+ (* x.re x.im) (* x.im x.re))
68.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
38.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
52.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series293.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(+ (* x.re x.im) (* x.im x.re))
97.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
39.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
117.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify826.0ms

Counts
111 → 111
Iterations
IterNodes
done2002
1754
0209

prune645.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize37.0ms

Local error

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt add-log-exp
expm1-log1p-u associate-*r* associate-*l* insert-posit16 log1p-expm1-u
flip3-+ associate-*l/ flip-+
+-commutative sum-log fma-def pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 49
Calls
3 calls:
7.0ms
(+ (* x.re x.im) (* x.im x.re))
22.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
1.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))

series187.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (* x.re x.im) (* x.im x.re))
22.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
140.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify653.0ms

Counts
58 → 58
Iterations
IterNodes
done2004
2658
1203
080

prune285.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes147.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done14
114
010

end0.0ms

sample2.9s

Algorithm
intervals
Results
2.2s14345×body80valid