Details

Time bar (total: 15.2s)

sample72.0ms

Algorithm
intervals
Results
51.0ms455×body80valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 5 (338.0ms)

IterNodesCost
011362
120322
251322
3127322
4335282
51115203
done5000203

prune20.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.9b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.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
flip3-- flip--
+-commutative sum-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 67
Calls
4 calls:
13.0ms
(+ (* x.re x.im) (* x.im x.re))
33.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
23.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
26.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series254.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (* x.re x.im) (* x.im x.re))
84.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
39.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
107.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify2.6s

Counts
79 → 79
Iterations

Useful iterations: done (2.6s)

IterNodesCost
013529187
141921099
2276120343
done500018212

prune428.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite141.0ms

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

series251.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* x.re x.im) (* x.im x.re))
89.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)
88.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify1.0s

Counts
97 → 97
Iterations

Useful iterations: done (998.0ms)

IterNodesCost
019753116
171536675
done500134858

prune520.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize64.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.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 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 → 87
Calls
4 calls:
47.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
6.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
6.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
6.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series525.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
98.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
100.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
147.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify1.3s

Counts
99 → 99
Iterations

Useful iterations: done (1.2s)

IterNodesCost
011940460
130331254
2107130974
done500028776

prune685.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
26.3b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
26.3b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
26.3b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*l/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
*-un-lft-identity add-cube-cbrt
cbrt-prod
add-exp-log
frac-times add-cbrt-cube swap-sqr associate-*r* associate-*l* add-log-exp
pow-prod-down associate-*r/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
33.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
11.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
11.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
7.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

series618.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
150.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
167.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
128.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify1.5s

Counts
84 → 84
Iterations

Useful iterations: done (1.5s)

IterNodesCost
012435494
131528009
2112627768
done500125170

prune602.0ms

Pruning

14 alts after pruning (11 fresh and 3 done)

Merged error: 0.0b

regimes199.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
011362
117322
219322
321322
done21322

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.6s14556×body80valid