Details

Time bar (total: 20.5s)

sample63.0ms

Algorithm
intervals
Results
44.0ms470×body80valid

simplify4.8s

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

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.2b

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

rewrite145.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:
10.0ms
(+ (* x.re x.im) (* x.im x.re))
49.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
39.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
45.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series254.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (* x.re x.im) (* x.im x.re))
85.0ms
(- (* (- (* x.re x.re) (* x.im 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)
89.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.5s

Counts
95 → 95
Iterations
IterNodes
done5002
21872
1436
0153

prune490.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

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

rewrite213.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:
13.0ms
(+ (* x.re x.im) (* x.im x.re))
69.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
43.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
82.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

series250.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* x.re x.im) (* x.im x.re))
80.0ms
(- (* (+ x.re x.im) (* (- x.re 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)
99.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

simplify2.5s

Counts
113 → 113
Iterations
IterNodes
done5000
24142
1774
0215

prune656.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*l*
12×*-un-lft-identity
10×add-cube-cbrt
associate-*r*
pow1 add-cbrt-cube add-exp-log
add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in
flip3-+ distribute-rgt-out count-2 pow-prod-down associate-*l/ prod-exp associate-*r/ *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
distribute-lft-neg-out distribute-rgt-in +-commutative neg-mul-1 sum-log fma-def distribute-lft-in flip3-- fma-udef flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 90
Calls
4 calls:
9.0ms
(+ (* x.re x.im) (* x.re x.im))
32.0ms
(* (- x.re x.im) x.re)
46.0ms
(* (- x.im) (+ (* x.re x.im) (* x.re x.im)))
0.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (* (- x.im) (+ (* x.re x.im) (* x.re x.im))))

series211.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* x.re x.im) (* x.re x.im))
48.0ms
(* (- x.re x.im) x.re)
26.0ms
(* (- x.im) (+ (* x.re x.im) (* x.re x.im)))
110.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (* (- x.im) (+ (* x.re x.im) (* x.re x.im))))

simplify1.5s

Counts
102 → 102
Iterations
IterNodes
done5000
21293
1350
0131

prune565.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* x.re x.im) (* x.re x.im))) (cbrt (+ (* x.re x.im) (* x.re x.im))))
12.3b
(cbrt (+ (* x.re x.im) (* x.re x.im)))
12.3b
(cbrt (+ (* x.re x.im) (* x.re x.im)))
12.3b
(cbrt (+ (* x.re x.im) (* x.re x.im)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
46×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×*-un-lft-identity add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr associate-*r* associate-*l* flip-+
distribute-rgt-out count-2 distribute-lft-out
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 → 117
Calls
4 calls:
61.0ms
(* (cbrt (+ (* x.re x.im) (* x.re x.im))) (cbrt (+ (* x.re x.im) (* x.re x.im))))
9.0ms
(cbrt (+ (* x.re x.im) (* x.re x.im)))
17.0ms
(cbrt (+ (* x.re x.im) (* x.re x.im)))
10.0ms
(cbrt (+ (* x.re x.im) (* x.re x.im)))

series622.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(* (cbrt (+ (* x.re x.im) (* x.re x.im))) (cbrt (+ (* x.re x.im) (* x.re x.im))))
123.0ms
(cbrt (+ (* x.re x.im) (* x.re x.im)))
153.0ms
(cbrt (+ (* x.re x.im) (* x.re x.im)))
122.0ms
(cbrt (+ (* x.re x.im) (* x.re x.im)))

simplify2.1s

Counts
129 → 129
Iterations
IterNodes
done5002
32203
2792
1314
0139

prune821.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes157.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify13.0ms

Iterations
IterNodes
done33
433
331
224
120
013

end0.0ms

sample2.3s

Algorithm
intervals
Results
2.0s14339×body80valid