Details

Time bar (total: 1.0m)

sample70.0ms

Algorithm
intervals
Results
57.0ms468×body80valid

simplify324.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
324.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 3.4b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite97.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-+ flip3-- frac-sub flip-+ insert-posit16 flip--
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative sum-log sub-neg diff-log difference-of-squares
Counts
4 → 72
Calls
4 calls:
Slowest
42.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)
27.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
18.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
8.0ms
(+ (* x.re x.im) (* x.im x.re))

series212.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
68.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
64.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)
43.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
36.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify17.1s

Counts
91 → 84
Calls
91 calls:
Slowest
779.0ms
(* (* (- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im)) (- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))) (- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im)))
678.0ms
(+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))
527.0ms
(* (* (+ (* x.re x.im) (* x.im x.re)) (+ (* x.re x.im) (* x.im x.re))) (+ (* x.re x.im) (* x.im x.re)))
527.0ms
(- (* (* (- (* (* x.re x.re) (* x.re x.re)) (* (* x.im x.im) (* x.im x.im))) x.re) (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))) (* (+ (* x.re x.re) (* x.im x.im)) (* (+ (pow (* x.re x.im) 3) (pow (* x.im x.re) 3)) x.im)))
440.0ms
(- (* (+ (* x.re x.im) (* x.im x.re)) x.im))

prune676.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize52.0ms

Local error

Found 4 expressions with local error:

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

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*l/
18×flip3-+ flip-+
16×frac-sub
15×add-sqr-sqrt
13×pow1 *-un-lft-identity add-cbrt-cube add-exp-log
12×frac-times associate-*l*
11×flip3-- flip--
add-cube-cbrt
associate-*r*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
insert-posit16
*-commutative
unswap-sqr
sub-neg diff-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 101
Calls
4 calls:
Slowest
62.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
52.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))
28.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
16.0ms
(* (- x.re x.im) x.re)

series208.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
69.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))
54.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
52.0ms
(* (- x.re x.im) x.re)
33.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)

simplify27.5s

Counts
134 → 113
Calls
134 calls:
Slowest
990.0ms
(* (* (- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im)) (- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))) (- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im)))
919.0ms
(- (* (* (- (* x.re x.re) (* x.im x.im)) (* (- (pow x.re 3) (pow x.im 3)) x.re)) (- (* x.re x.im) (* x.im x.re))) (* (* (- x.re x.im) (+ (* x.re x.re) (+ (* x.im x.im) (* x.re x.im)))) (* (- (* (* x.re x.im) (* x.re x.im)) (* (* x.im x.re) (* x.im x.re))) x.im)))
870.0ms
(- (* (* (+ x.re x.im) (* (- (* x.re x.re) (* x.im x.im)) x.re)) (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))) (* (+ x.re x.im) (* (+ (pow (* x.re x.im) 3) (pow (* x.im x.re) 3)) x.im)))
739.0ms
(- (* (* (+ (pow x.re 3) (pow x.im 3)) (* (- (pow x.re 3) (pow x.im 3)) x.re)) (- (* x.re x.im) (* x.im x.re))) (* (* (+ (* x.re x.re) (- (* x.im x.im) (* x.re x.im))) (+ (* x.re x.re) (+ (* x.im x.im) (* x.re x.im)))) (* (- (* (* x.re x.im) (* x.re x.im)) (* (* x.im x.re) (* x.im x.re))) x.im)))
651.0ms
(* (* (+ (* x.re x.re) (- (* x.im x.im) (* x.re x.im))) (+ (* x.re x.re) (+ (* x.im x.im) (* x.re x.im)))) (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re)))))

prune1.1s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize46.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube insert-posit16 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:
Slowest
45.0ms
(* (cbrt (+ x.re x.im)) (cbrt (+ x.re x.im)))
6.0ms
(cbrt (+ x.re x.im))
5.0ms
(cbrt (+ x.re x.im))
5.0ms
(cbrt (+ x.re x.im))

series800.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
218.0ms
(cbrt (+ x.re x.im))
196.0ms
(cbrt (+ x.re x.im))
193.0ms
(cbrt (+ x.re x.im))
193.0ms
(* (cbrt (+ x.re x.im)) (cbrt (+ x.re x.im)))

simplify5.4s

Counts
141 → 111
Calls
141 calls:
Slowest
338.0ms
(* (cbrt (+ (pow x.re 3) (pow x.im 3))) (cbrt (+ x.re x.im)))
322.0ms
(- (+ (pow x.im 2/3) (* 2/3 (* (pow (/ 1 x.im) 1/3) x.re))) (* 1/9 (* (pow (/ 1 (pow x.im 4)) 1/3) (pow x.re 2))))
307.0ms
(* (cbrt (+ x.re x.im)) (cbrt (+ (pow x.re 3) (pow x.im 3))))
292.0ms
(* (cbrt (+ (pow x.re 3) (pow x.im 3))) (cbrt (+ (pow x.re 3) (pow x.im 3))))
238.0ms
(* (* (* (cbrt (+ x.re x.im)) (cbrt (+ x.re x.im))) (* (cbrt (+ x.re x.im)) (cbrt (+ x.re x.im)))) (* (cbrt (+ x.re x.im)) (cbrt (+ x.re x.im))))

prune1.4s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize49.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.re)
0.6b
(cbrt x.re)
0.6b
(cbrt x.re)
0.5b
(* (cbrt x.re) (cbrt x.re))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×*-un-lft-identity add-cube-cbrt
11×pow1
pow1/3
swap-sqr associate-*r* associate-*l* add-exp-log
add-cbrt-cube insert-posit16 add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 77
Calls
4 calls:
Slowest
8.0ms
(* (cbrt x.re) (cbrt x.re))
6.0ms
(cbrt x.re)
1.0ms
(cbrt x.re)
1.0ms
(cbrt x.re)

series1.2s

Counts
4 → 12
Calls
4 calls:
Slowest
320.0ms
(* (cbrt x.re) (cbrt x.re))
313.0ms
(cbrt x.re)
298.0ms
(cbrt x.re)
280.0ms
(cbrt x.re)

simplify1.3s

Counts
103 → 89
Calls
103 calls:
Slowest
155.0ms
(* (pow (cbrt -1) 2) (pow (pow x.re 2) 1/3))
152.0ms
(* (cbrt -1) (pow (* x.re -1) 1/3))
146.0ms
(* (cbrt -1) (pow (* x.re -1) 1/3))
131.0ms
(* (cbrt -1) (pow (* x.re -1) 1/3))
99.0ms
(* (* (* (cbrt x.re) (cbrt x.re)) (* (cbrt x.re) (cbrt x.re))) (* (cbrt x.re) (cbrt x.re)))

prune935.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes159.0ms

Accuracy

0% (0.7b remaining)

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

bsearch5.0ms

end0.0ms

sample2.9s

Algorithm
intervals
Results
2.1s14526×body80valid