Details

Time bar (total: 22.3s)

sample48.0ms

Algorithm
intervals
Results
28.0ms439×body80valid

simplify4.0s

Counts
1 → 1
Iterations

Useful iterations: 5 (458.0ms)

IterNodesCost
01119
12119
25217
314017
434614
593011
6215011
done500011

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 3 expressions with local error:

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

rewrite190.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
*-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
70.0ms
(- (pow x.re 3) (* 3 (* (* x.im x.re) x.im)))
19.0ms
(* (* x.im x.re) x.im)
98.0ms
(* 3 (* (* x.im x.re) x.im))

series141.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(- (pow x.re 3) (* 3 (* (* x.im x.re) x.im)))
31.0ms
(* (* x.im x.re) x.im)
42.0ms
(* 3 (* (* x.im x.re) x.im))

simplify4.3s

Counts
60 → 60
Iterations

Useful iterations: done (4.3s)

IterNodesCost
083672
1221610
2839530
33875530
done5000528

prune181.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log
11×prod-exp
10×add-cbrt-cube
pow1 add-sqr-sqrt
associate-*r*
add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*l* pow-prod-down cbrt-unprod
pow-exp
*-commutative unswap-sqr sqr-pow
pow-to-exp sub-neg unpow-prod-down flip3-- diff-log flip--
Counts
3 → 55
Calls
3 calls:
39.0ms
(- (pow x.re 3) (* 3 (pow (* (* x.im x.re) x.im) 1)))
28.0ms
(* (* x.im x.re) x.im)
28.0ms
(* 3 (pow (* (* x.im x.re) x.im) 1))

series131.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(- (pow x.re 3) (* 3 (pow (* (* x.im x.re) x.im) 1)))
20.0ms
(* (* x.im x.re) x.im)
36.0ms
(* 3 (pow (* (* x.im x.re) x.im) 1))

simplify1.7s

Counts
64 → 64
Iterations

Useful iterations: 2 (293.0ms)

IterNodesCost
0102803
1240635
2934580
done5001580

prune264.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (pow x.re 3) (* (* 3 (* x.im x.re)) x.im))
0.2b
(* (* 3 (* x.im x.re)) x.im)
0.3b
(* 3 (* x.im x.re))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
*-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
90.0ms
(- (pow x.re 3) (* (* 3 (* x.im x.re)) x.im))
63.0ms
(* (* 3 (* x.im x.re)) x.im)
25.0ms
(* 3 (* x.im x.re))

series142.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(- (pow x.re 3) (* (* 3 (* x.im x.re)) x.im))
39.0ms
(* (* 3 (* x.im x.re)) x.im)
35.0ms
(* 3 (* x.im x.re))

simplify5.5s

Counts
60 → 60
Iterations

Useful iterations: 3 (2.9s)

IterNodesCost
083672
1222604
2915532
34775528
done5001528

prune144.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
associate-*r*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*l* *-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
87.0ms
(- (pow x.re 3) (* (* (* x.im 3) x.re) x.im))
86.0ms
(* (* (* x.im 3) x.re) x.im)
22.0ms
(* (* x.im 3) x.re)

series150.0ms

Counts
3 → 9
Calls
3 calls:
101.0ms
(- (pow x.re 3) (* (* (* x.im 3) x.re) x.im))
26.0ms
(* (* (* x.im 3) x.re) x.im)
23.0ms
(* (* x.im 3) x.re)

simplify2.6s

Counts
60 → 60
Iterations

Useful iterations: done (2.5s)

IterNodesCost
087673
1231607
21056531
done5001527

prune167.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes103.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11111
done1111

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s14496×body80valid