Details

Time bar (total: 25.9s)

sample41.0ms

Algorithm
intervals
Results
29.0ms435×body80valid

simplify6.6s

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

prune22.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.9b

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

rewrite99.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:
14.0ms
(- (* x.re x.re) (* x.im x.im))
26.0ms
(+ (* (- (* x.re x.re) (* x.im 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)
33.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series307.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* x.re x.re) (* x.im x.im))
114.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
113.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify2.3s

Counts
92 → 92
Iterations
IterNodes
done5006
21742
1436
0149

prune564.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
35×add-sqr-sqrt
33×*-un-lft-identity
31×add-cube-cbrt
24×associate-*l/ associate-*r/
22×distribute-rgt-in associate-+l+ distribute-lft-in
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×pow1 add-cbrt-cube add-exp-log
flip3-- flip--
associate-*r* add-log-exp
expm1-log1p-u sub-neg associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
+-commutative sum-log fma-def *-commutative
distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 140
Calls
4 calls:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
35.0ms
(+ (* (* x.im (+ x.re x.im)) (- x.re x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
22.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
55.0ms
(* (* x.im (+ x.re x.im)) (- x.re x.im))

series217.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (* x.re x.im) (* x.im x.re))
70.0ms
(+ (* (* x.im (+ x.re x.im)) (- x.re x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
77.0ms
(* (* x.im (+ x.re x.im)) (- x.re x.im))

simplify3.0s

Counts
152 → 152
Iterations
IterNodes
done5000
24687
1987
0269

prune1.1s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (* (* x.im 3) x.re) x.re)
0.1b
(* x.im (* x.im x.im))
0.2b
(* (* x.im 3) x.re)

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
31×pow1
22×add-cbrt-cube add-exp-log
12×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt associate-*r*
*-un-lft-identity add-cube-cbrt
associate-*l* pow-prod-up
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
pow2 pow-plus cube-unmult pow-sqr unswap-sqr
Counts
3 → 69
Calls
3 calls:
49.0ms
(* (* (* x.im 3) x.re) x.re)
19.0ms
(* x.im (* x.im x.im))
33.0ms
(* (* x.im 3) x.re)

series138.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(* (* (* x.im 3) x.re) x.re)
55.0ms
(* x.im (* x.im x.im))
25.0ms
(* (* x.im 3) x.re)

simplify4.1s

Counts
78 → 78
Iterations
IterNodes
done5001
34165
2881
1247
095

prune476.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (* (* x.im 3) x.re) x.re)
0.2b
(* (* x.im 3) x.re)

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-cbrt-cube add-exp-log
pow-prod-down prod-exp cbrt-unprod
associate-*r*
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u associate-*l* *-commutative log1p-expm1-u add-log-exp
Counts
2 → 43
Calls
2 calls:
90.0ms
(* (* (* x.im 3) x.re) x.re)
28.0ms
(* (* x.im 3) x.re)

series107.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(* (* (* x.im 3) x.re) x.re)
39.0ms
(* (* x.im 3) x.re)

simplify3.6s

Counts
49 → 49
Iterations
IterNodes
done5001
33043
2691
1183
065

prune257.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes110.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done11
111
08

end0.0ms

sample2.4s

Algorithm
intervals
Results
2.0s14483×body80valid