Details

Time bar (total: 15.9s)

sample55.0ms

Algorithm
intervals
Results
30.0ms489×body80valid

simplify2.4s

Counts
1 → 1
Iterations
IterNodes
done5001
51519
4433
3149
261
123
011

prune23.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.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-add flip-+ log1p-expm1-u flip--
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
+-commutative sum-log sub-neg fma-def fma-neg diff-log prod-diff
Counts
4 → 80
Calls
4 calls:
13.0ms
(- (* x.re x.re) (* x.im x.im))
18.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
23.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
30.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series270.0ms

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

simplify2.3s

Counts
92 → 92
Iterations
IterNodes
done5000
23046
1458
0149

prune594.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize47.0ms

Local error

Found 4 expressions with local error:

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

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*l/
19×flip3-+ flip-+
16×frac-add
15×add-sqr-sqrt
13×pow1 *-un-lft-identity add-cbrt-cube add-exp-log
12×frac-times associate-*l*
10×flip3-- flip--
add-cube-cbrt
associate-*r*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
*-commutative
unswap-sqr
+-commutative sum-log fma-def distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 105
Calls
4 calls:
18.0ms
(* (- x.re x.im) x.im)
51.0ms
(+ (* (+ x.re x.im) (* (- x.re 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)
58.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series282.0ms

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

simplify972.0ms

Counts
117 → 117
Iterations
IterNodes
done5001
1786
0218

prune733.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
pow1 add-cbrt-cube associate-*l* add-exp-log add-cube-cbrt
associate-*r* add-log-exp
expm1-log1p-u associate-*l/ log1p-expm1-u
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
+-commutative sum-log fma-def flip3-- fma-udef flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 70
Calls
4 calls:
6.0ms
(+ (* x.re x.im) (* x.im x.re))
22.0ms
(* (- x.re x.im) x.im)
43.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))

series273.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (* x.re x.im) (* x.im x.re))
64.0ms
(* (- x.re x.im) x.im)
39.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
148.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify1.6s

Counts
82 → 82
Iterations
IterNodes
done5000
21708
1283
0114

prune567.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize62.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.3b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
12.3b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
12.3b
(cbrt (+ (* x.re x.im) (* x.im x.re)))

rewrite52.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 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 → 95
Calls
4 calls:
38.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series632.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
119.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
176.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
129.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify1.5s

Counts
107 → 107
Iterations
IterNodes
done5001
21198
1315
0123

prune815.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes200.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations
IterNodes
done18
318
216
114
010

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.7s14252×body80valid