Details

Time bar (total: 22.7s)

sample63.0ms

Algorithm
intervals
Results
50.0ms465×body80valid

simplify6.0s

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

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.5b

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

rewrite119.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-+ insert-posit16 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 → 84
Calls
4 calls:
16.0ms
(- (* x.re x.re) (* x.im x.im))
43.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
29.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
29.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series258.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* x.re x.re) (* x.im x.im))
100.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
28.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
90.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify2.0s

Counts
96 → 96
Iterations
IterNodes
done5001
21753
1439
0153

prune462.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

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

rewrite173.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 insert-posit16 log1p-expm1-u
*-commutative
unswap-sqr
+-commutative sum-log fma-def distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 109
Calls
4 calls:
30.0ms
(* (- x.re x.im) x.im)
66.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
20.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
54.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series282.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (- x.re x.im) x.im)
104.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
22.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
98.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify2.3s

Counts
121 → 121
Iterations
IterNodes
done5000
23850
1786
0222

prune623.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

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

rewrite63.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:
46.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)))
6.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series583.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
133.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
119.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
121.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify2.1s

Counts
111 → 111
Iterations
IterNodes
done5001
32077
2767
1313
0125

prune656.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize73.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
16.6b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
16.6b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
16.6b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

rewrite204.0ms

Algorithm
rewrite-expression-head
Rules
176×associate-*l/
168×cbrt-div
148×frac-times
63×flip3-+ flip3-- flip-+ flip--
50×associate-*r/
11×pow1
10×add-sqr-sqrt
pow1/3
*-un-lft-identity add-cube-cbrt
cbrt-prod
add-exp-log
expm1-log1p-u add-cbrt-cube swap-sqr associate-*r* associate-*l* insert-posit16 log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 174
Calls
4 calls:
87.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
24.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
42.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
43.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

series743.0ms

Counts
4 → 12
Calls
4 calls:
201.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
168.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
185.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
190.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

simplify1.6s

Counts
186 → 186
Iterations
IterNodes
done5001
21320
1504
0276

prune1.2s

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

regimes222.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done21
121
014

end0.0ms

sample2.7s

Algorithm
intervals
Results
2.4s14373×body80valid