Details

Time bar (total: 51.8s)

sample67.0ms

Algorithm
intervals
Results
53.0ms483×body80valid

simplify313.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
313.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: 7.1b

localize34.0ms

Local error

Found 4 expressions with local error:

7.2b
(* (- (* 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))

rewrite108.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-+
expm1-log1p-u frac-add insert-posit16 log1p-expm1-u
flip3-- flip--
+-commutative sum-log fma-def pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 81
Calls
4 calls:
Slowest
43.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.re) (* x.im x.im)) x.im)
21.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
14.0ms
(+ (* x.re x.im) (* x.im x.re))

series233.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
83.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
79.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
41.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
30.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify8.2s

Counts
46 → 93
Calls
46 calls:
Slowest
1.5s
(* (+ (* (* 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)))
560.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)))
455.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)
415.0ms
(- (* 3 (* x.im (pow x.re 2))) (pow x.im 3))
400.0ms
(- (* 3 (* x.im (pow x.re 2))) (pow x.im 3))

prune962.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
37×*-un-lft-identity
36×prod-diff
33×add-cube-cbrt
26×associate-*r/
24×associate-*l/
23×distribute-rgt-in distribute-lft-in
22×associate-+l+
20×flip3-+ flip-+
16×frac-add
13×pow1 add-cbrt-cube add-exp-log
12×frac-times associate-*r*
flip3-- flip--
associate-*l*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg insert-posit16 log1p-expm1-u
*-commutative
unswap-sqr
+-commutative sum-log fma-def distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 155
Calls
4 calls:
Slowest
61.0ms
(* (* x.im (+ x.re x.im)) (- x.re x.im))
33.0ms
(+ (* (* x.im (+ x.re x.im)) (- x.re x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
29.0ms
(* x.im (+ x.re x.im))
19.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

series263.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
95.0ms
(* (* x.im (+ x.re x.im)) (- x.re x.im))
87.0ms
(+ (* (* x.im (+ x.re x.im)) (- x.re x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
44.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
37.0ms
(* x.im (+ x.re x.im))

simplify29.0s

Counts
139 → 167
Calls
139 calls:
Slowest
1.3s
(* (* (- x.re x.im) (+ x.re x.im)) (- (* x.re x.im) (* x.im x.re)))
743.0ms
(* (+ (* x.re x.re) (+ (* x.im x.im) (* x.re x.im))) (- (* x.re x.im) (* x.im x.re)))
655.0ms
(* (fma (- (sqrt x.im)) (sqrt x.im) (* (sqrt x.im) (sqrt x.im))) (* x.im (+ x.re x.im)))
634.0ms
(+ (* (* (* x.im (+ x.re x.im)) (- (* x.re 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)))
622.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.9s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity
pow1 add-cbrt-cube add-exp-log add-cube-cbrt
associate-*r*
associate-*l* add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u
flip3-+ flip-+
pow-prod-down associate-*l/ prod-exp associate-*r/ *-commutative cbrt-unprod unswap-sqr
distribute-rgt-in +-commutative sum-log fma-def distribute-lft-in fma-udef distribute-lft-out
Counts
4 → 75
Calls
4 calls:
Slowest
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
18.0ms
(* x.im (+ x.re x.im))
7.0ms
(+ (* x.re x.im) (* x.im x.re))
1.0ms
(fma (* x.im (+ x.re x.im)) (- x.re x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))

series205.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
100.0ms
(fma (* x.im (+ x.re x.im)) (- x.re x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
47.0ms
(* x.im (+ x.re x.im))
29.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
27.0ms
(+ (* x.re x.im) (* x.im x.re))

simplify3.3s

Counts
39 → 87
Calls
39 calls:
Slowest
399.0ms
(- (* 3 (* x.im (pow x.re 2))) (pow x.im 3))
392.0ms
(- (* 3 (* x.im (pow x.re 2))) (pow x.im 3))
364.0ms
(- (* 3 (* x.im (pow x.re 2))) (pow x.im 3))
357.0ms
(* (sqrt x.im) (sqrt (+ x.re x.im)))
282.0ms
(* (+ (pow (* x.re x.im) 3) (pow (* x.im x.re) 3)) x.re)

prune848.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

rewrite15.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
expm1-log1p-u add-cbrt-cube insert-posit16 log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 85
Calls
4 calls:
Slowest
9.0ms
(* (cbrt x.re) (cbrt x.re))
2.0ms
(cbrt x.re)
1.0ms
(cbrt x.re)
1.0ms
(cbrt x.re)

series1.1s

Counts
4 → 12
Calls
4 calls:
Slowest
288.0ms
(cbrt x.re)
279.0ms
(cbrt x.re)
275.0ms
(cbrt x.re)
248.0ms
(* (cbrt x.re) (cbrt x.re))

simplify933.0ms

Counts
63 → 97
Calls
63 calls:
Slowest
144.0ms
(* (cbrt -1) (pow (* x.re -1) 1/3))
137.0ms
(* (cbrt -1) (pow (* x.re -1) 1/3))
120.0ms
(* (cbrt -1) (pow (* x.re -1) 1/3))
105.0ms
(* (pow (cbrt -1) 2) (pow (pow x.re 2) 1/3))
78.0ms
(* (* (cbrt (cbrt x.re)) (cbrt (cbrt x.re))) (* (cbrt (cbrt x.re)) (cbrt (cbrt x.re))))

prune1.1s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes137.0ms

Accuracy

0% (0.2b remaining)

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

bsearch3.0ms

end0.0ms

sample2.8s

Algorithm
intervals
Results
2.5s14344×body80valid