Details

Time bar (total: 1.6m)

sample74.0ms

Algorithm
intervals
Results
46.0ms441×body80valid

simplify238.0ms

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

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

localize53.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.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-+ flip-+
frac-add insert-posit16
flip3-- flip--
+-commutative sum-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 71
Calls
4 calls:
Slowest
29.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)
25.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
10.0ms
(+ (* x.re x.im) (* x.im x.re))

series236.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
89.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
86.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
31.0ms
(+ (* x.re x.im) (* x.im x.re))
29.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

simplify6.9s

Counts
45 → 83
Calls
45 calls:
Slowest
475.0ms
(* (+ (* (* x.re x.re) (* x.re x.re)) (+ (* (* x.im x.im) (* x.im x.im)) (* (* x.re x.re) (* x.im x.im)))) (- (* x.re x.im) (* x.im x.re)))
474.0ms
(+ (* (* (- (* (* x.re x.re) (* x.re x.re)) (* (* x.im x.im) (* x.im x.im))) 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))))) (* (+ (* x.re x.re) (* x.im x.im)) (* (+ (pow (* x.re x.im) 3) (pow (* x.im x.re) 3)) x.re)))
387.0ms
(- (* 3 (* x.im (pow x.re 2))) (pow x.im 3))
371.0ms
(- (* 3 (* x.im (pow x.re 2))) (pow x.im 3))
361.0ms
(- (* 3 (* x.im (pow x.re 2))) (pow x.im 3))

prune821.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×add-sqr-sqrt pow1 add-cbrt-cube add-exp-log
*-un-lft-identity flip3-- flip--
associate-*l* add-log-exp
add-cube-cbrt
associate-*r/
associate-*r* pow-prod-down prod-exp cbrt-unprod insert-posit16
+-commutative sum-log *-commutative
distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 90
Calls
4 calls:
Slowest
64.0ms
(* (- x.re x.im) (* (+ x.re x.im) x.im))
45.0ms
(+ (* (- x.re x.im) (* (+ x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
40.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
16.0ms
(+ (* x.re x.im) (* x.im x.re))

series251.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
104.0ms
(+ (* (- x.re x.im) (* (+ x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
80.0ms
(* (- x.re x.im) (* (+ x.re x.im) x.im))
37.0ms
(+ (* x.re x.im) (* x.im x.re))
30.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

simplify18.1s

Counts
78 → 102
Calls
78 calls:
Slowest
899.0ms
(+ (* (* (- (* x.re x.re) (* x.im x.im)) (* (- (* x.re x.re) (* x.im x.im)) 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))))) (* (* (+ x.re x.im) (- x.re x.im)) (* (+ (pow (* x.re x.im) 3) (pow (* x.im x.re) 3)) x.re)))
688.0ms
(+ (* (* (- (pow x.re 3) (pow x.im 3)) (* (+ x.re x.im) x.im)) (- (* x.re x.im) (* x.im x.re))) (* (+ (* 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)))
650.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)))))
637.0ms
(* (- (pow x.re 3) (pow x.im 3)) (* (- (* x.re x.re) (* x.im x.im)) x.im))
628.0ms
(+ (* (* (- (* x.re x.re) (* x.im x.im)) (* (+ x.re x.im) 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))))) (* (+ x.re x.im) (* (+ (pow (* x.re x.im) 3) (pow (* x.im x.re) 3)) x.re)))

prune1.1s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize48.0ms

Local error

Found 4 expressions with local error:

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

rewrite83.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
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 → 91
Calls
4 calls:
Slowest
68.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
5.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
5.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series592.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
192.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
141.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
132.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
126.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify10.2s

Counts
83 → 103
Calls
83 calls:
Slowest
672.0ms
(cbrt (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re)))))
609.0ms
(* (cbrt (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))) (cbrt (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))))
560.0ms
(* (cbrt (- (* x.re x.im) (* x.im x.re))) (cbrt (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))))
549.0ms
(* (cbrt (+ (* (* x.re x.im) (* x.re x.im)) (- (* (* x.im x.re) (* x.im x.re)) (* (* x.re x.im) (* x.im x.re))))) (cbrt (- (* x.re x.im) (* x.im x.re))))
460.0ms
(* (exp (* 1/3 (+ (log x.im) (log x.re)))) (cbrt 2))

prune1.2s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize59.0ms

Local error

Found 4 expressions with local error:

15.6b
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))
15.6b
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))
15.6b
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))
0.3b
(* (cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im))) (cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im))))

rewrite199.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
add-cbrt-cube swap-sqr associate-*r* associate-*l* insert-posit16 add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 166
Calls
4 calls:
Slowest
94.0ms
(* (cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im))) (cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im))))
42.0ms
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))
35.0ms
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))
22.0ms
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))

series809.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
224.0ms
(* (cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im))) (cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im))))
205.0ms
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))
195.0ms
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))
184.0ms
(cbrt (* (- x.re x.im) (* (+ x.re x.im) x.im)))

simplify47.5s

Counts
213 → 178
Calls
213 calls:
Slowest
1.1s
(cbrt (* (- (pow x.re 3) (pow x.im 3)) (* (- (* x.re x.re) (* x.im x.im)) x.im)))
743.0ms
(cbrt (* (- (* x.re x.re) (* x.im x.im)) (* (+ (pow x.re 3) (pow x.im 3)) x.im)))
738.0ms
(* (cbrt (* (- (pow x.re 3) (pow x.im 3)) (* (- (* x.re x.re) (* x.im x.im)) x.im))) (cbrt (* (- (pow x.re 3) (pow x.im 3)) (* (- (* x.re x.re) (* x.im x.im)) x.im))))
736.0ms
(cbrt (* (- (pow x.re 3) (pow x.im 3)) (* (- (* x.re x.re) (* x.im x.im)) x.im)))
728.0ms
(cbrt (* (- (pow x.re 3) (pow x.im 3)) (* (- (* x.re x.re) (* x.im x.im)) x.im)))

prune3.0s

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.0b

regimes249.0ms

Accuracy

0% (0.5b remaining)

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

bsearch4.0ms

end0.0ms

sample2.8s

Algorithm
intervals
Results
2.6s14286×body80valid