Details

Time bar (total: 21.1s)

sample75.0ms

Algorithm
intervals
Results
51.0ms490×body80valid

simplify4.1s

Counts
1 → 1
Iterations

Useful iterations: 6 (2.5s)

IterNodesCost
01119
12418
25717
315717
442114
5122511
6311910
done500010

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma x.im (* -3 (* x.im x.re)) (pow x.re 3))
0.3b
(* -3 (* x.im x.re))

rewrite22.0ms

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

series134.0ms

Counts
2 → 6
Calls
2 calls:
106.0ms
(fma x.im (* -3 (* x.im x.re)) (pow x.re 3))
28.0ms
(* -3 (* x.im x.re))

simplify3.1s

Counts
36 → 36
Iterations

Useful iterations: 2 (130.0ms)

IterNodesCost
055338
1124327
2401282
31456282
done5000282

prune152.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma x.im (* (* -3 x.im) x.re) (pow x.re 3))
0.2b
(* (* -3 x.im) x.re)

rewrite44.0ms

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

series165.0ms

Counts
2 → 6
Calls
2 calls:
127.0ms
(fma x.im (* (* -3 x.im) x.re) (pow x.re 3))
38.0ms
(* (* -3 x.im) x.re)

simplify3.3s

Counts
36 → 36
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
059341
1134326
2497283
31865283
done5000283

prune104.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3))) (cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3))))
16.5b
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))
16.5b
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))
16.5b
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube 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 → 81
Calls
4 calls:
13.0ms
(* (cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3))) (cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3))))
1.0ms
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))
1.0ms
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))
1.0ms
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))

series865.0ms

Counts
4 → 12
Calls
4 calls:
237.0ms
(* (cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3))) (cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3))))
224.0ms
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))
195.0ms
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))
210.0ms
(cbrt (fma x.im (* (* -3 x.im) x.re) (pow x.re 3)))

simplify3.6s

Counts
93 → 93
Iterations

Useful iterations: done (3.6s)

IterNodesCost
0951990
11911849
24551692
311351447
436531406
done50001334

prune436.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (pow x.im 2) x.re) -3) (pow x.re 3))
0.2b
(* (* (pow x.im 2) x.re) -3)
7.7b
(* (pow x.im 2) x.re)

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log
13×add-sqr-sqrt
10×prod-exp add-cbrt-cube
associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r*
pow1 add-log-exp
unpow-prod-down cbrt-unprod unswap-sqr
expm1-log1p-u log1p-expm1-u
pow-to-exp pow-exp *-commutative unpow2 sqr-pow
+-commutative fma-def flip3-+ pow-prod-down sum-log flip-+
Counts
3 → 64
Calls
3 calls:
29.0ms
(+ (* (* (pow x.im 2) x.re) -3) (pow x.re 3))
36.0ms
(* (* (pow x.im 2) x.re) -3)
13.0ms
(* (pow x.im 2) x.re)

series191.0ms

Counts
3 → 9
Calls
3 calls:
126.0ms
(+ (* (* (pow x.im 2) x.re) -3) (pow x.re 3))
40.0ms
(* (* (pow x.im 2) x.re) -3)
25.0ms
(* (pow x.im 2) x.re)

simplify2.1s

Counts
73 → 73
Iterations

Useful iterations: done (2.1s)

IterNodesCost
0102753
1255661
2999591
done5000590

prune261.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes82.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

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11010
done1010

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.8s14161×body80valid